@loopstack/loopstack-studio 0.25.1 → 0.26.0

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 (1691) hide show
  1. package/dist/_virtual/rolldown_runtime.js +20 -0
  2. package/dist/api/auth.js +2 -4
  3. package/dist/api/client.js +7 -9
  4. package/dist/api/config.js +2 -4
  5. package/dist/api/dashboard.js +2 -4
  6. package/dist/api/documents.js +2 -4
  7. package/dist/api/environments.js +4 -0
  8. package/dist/api/index.js +23 -21
  9. package/dist/api/processor.js +2 -4
  10. package/dist/api/secrets.js +2 -4
  11. package/dist/api/workflows.js +2 -4
  12. package/dist/api/workspaces.js +2 -4
  13. package/dist/app/EnvironmentEmbedRoot.js +41 -24
  14. package/dist/components/ai-elements/code-block.js +71 -53
  15. package/dist/components/ai-elements/message.js +82 -41
  16. package/dist/components/ai-elements/prompt-input.js +253 -162
  17. package/dist/components/ai-elements/reasoning.js +116 -78
  18. package/dist/components/ai-elements/shimmer.js +35 -23
  19. package/dist/components/ai-elements/sources.js +58 -29
  20. package/dist/components/data-table/ConfirmDialog.js +30 -14
  21. package/dist/components/data-table/DataList.js +200 -138
  22. package/dist/components/data-table/DataTable.js +236 -168
  23. package/dist/components/data-table/DataTableBatchAction.js +27 -18
  24. package/dist/components/data-table/DataTableFilters.js +78 -53
  25. package/dist/components/data-table/DataTablePagination.js +104 -72
  26. package/dist/components/data-table/DataTableToolbar.js +65 -53
  27. package/dist/components/dynamic-form/ArrayController.js +103 -85
  28. package/dist/components/dynamic-form/CodeContent.js +36 -28
  29. package/dist/components/dynamic-form/Form.js +56 -43
  30. package/dist/components/dynamic-form/FormBody.js +10 -12
  31. package/dist/components/dynamic-form/FormElement.js +41 -31
  32. package/dist/components/dynamic-form/FormElementHeader.js +20 -12
  33. package/dist/components/dynamic-form/InputController.js +38 -36
  34. package/dist/components/dynamic-form/MarkdownContent.js +74 -53
  35. package/dist/components/dynamic-form/MermaidDiagram.js +24 -22
  36. package/dist/components/dynamic-form/ObjectController.js +32 -24
  37. package/dist/components/dynamic-form/fields/BaseFieldWrapper.js +47 -35
  38. package/dist/components/dynamic-form/fields/CheckboxField.js +48 -39
  39. package/dist/components/dynamic-form/fields/CodeViewField.js +50 -42
  40. package/dist/components/dynamic-form/fields/InputField.js +90 -62
  41. package/dist/components/dynamic-form/fields/MarkdownViewField.js +19 -16
  42. package/dist/components/dynamic-form/fields/RadioField.js +62 -46
  43. package/dist/components/dynamic-form/fields/SelectField.js +58 -40
  44. package/dist/components/dynamic-form/fields/SliderField.js +100 -94
  45. package/dist/components/dynamic-form/fields/SwitchField.js +61 -42
  46. package/dist/components/dynamic-form/fields/TextareaField.js +72 -53
  47. package/dist/components/dynamic-form/fields/utils/text-validation-utils.js +2 -4
  48. package/dist/components/dynamic-form/hooks/useArrayDefaultValue.js +5 -6
  49. package/dist/components/dynamic-form/hooks/useFieldConfig.js +20 -19
  50. package/dist/components/dynamic-form/hooks/useMergeParentKey.js +2 -4
  51. package/dist/components/dynamic-form/hooks/useSortPropertyNames.js +2 -4
  52. package/dist/components/feedback/ErrorAlert.js +17 -11
  53. package/dist/components/feedback/ErrorBoundary.js +14 -16
  54. package/dist/components/feedback/ErrorSnackbar.js +30 -13
  55. package/dist/components/feedback/LoadingCentered.js +28 -15
  56. package/dist/components/feedback/Snackbar.js +44 -43
  57. package/dist/components/feedback/index.js +5 -5
  58. package/dist/components/index.js +47 -47
  59. package/dist/components/layout/MainLayout.js +25 -17
  60. package/dist/components/layout/StudioSidebar.js +203 -140
  61. package/dist/components/lists/CustomListView.js +74 -49
  62. package/dist/components/lists/ListView.js +102 -66
  63. package/dist/components/loopstack-elements/link.js +104 -65
  64. package/dist/components/loopstack-elements/tool.js +142 -70
  65. package/dist/components/messages/CompletionMessagePaper.js +85 -53
  66. package/dist/components/page/PageBreadcrumbs.js +83 -64
  67. package/dist/components/ui/DiscordLogo.js +22 -16
  68. package/dist/components/ui/GoogleLogo.js +44 -40
  69. package/dist/components/ui/accordion.js +52 -31
  70. package/dist/components/ui/alert-dialog.js +109 -59
  71. package/dist/components/ui/alert.js +36 -22
  72. package/dist/components/ui/avatar.js +35 -21
  73. package/dist/components/ui/badge.js +17 -13
  74. package/dist/components/ui/breadcrumb.js +82 -46
  75. package/dist/components/ui/button-group.js +5 -5
  76. package/dist/components/ui/button.js +21 -17
  77. package/dist/components/ui/card.js +74 -40
  78. package/dist/components/ui/checkbox.js +23 -17
  79. package/dist/components/ui/collapsible.js +25 -17
  80. package/dist/components/ui/command.js +2 -1
  81. package/dist/components/ui/context-menu.js +52 -32
  82. package/dist/components/ui/dialog.js +107 -62
  83. package/dist/components/ui/drawer.js +99 -54
  84. package/dist/components/ui/dropdown-menu.js +159 -91
  85. package/dist/components/ui/hover-card.js +2 -1
  86. package/dist/components/ui/input-group.js +56 -36
  87. package/dist/components/ui/input.js +15 -11
  88. package/dist/components/ui/label.js +15 -11
  89. package/dist/components/ui/popover.js +38 -25
  90. package/dist/components/ui/radio-group.js +33 -22
  91. package/dist/components/ui/scroll-area.js +43 -28
  92. package/dist/components/ui/select.js +134 -73
  93. package/dist/components/ui/separator.js +17 -13
  94. package/dist/components/ui/sheet.js +105 -60
  95. package/dist/components/ui/sidebar.js +451 -269
  96. package/dist/components/ui/skeleton.js +14 -10
  97. package/dist/components/ui/slider.js +41 -32
  98. package/dist/components/ui/switch.js +21 -15
  99. package/dist/components/ui/table.js +85 -46
  100. package/dist/components/ui/tabs.js +45 -26
  101. package/dist/components/ui/textarea.js +14 -10
  102. package/dist/components/ui/tooltip.js +41 -26
  103. package/dist/components/ui-widgets/UiActions.js +37 -30
  104. package/dist/components/ui-widgets/UiWidget.js +46 -34
  105. package/dist/components/ui-widgets/widgets/AiPromptInput.js +42 -28
  106. package/dist/components/ui-widgets/widgets/ButtonFullWidth.js +21 -16
  107. package/dist/components/ui-widgets/widgets/SandboxRun.js +28 -19
  108. package/dist/components/ui-widgets/widgets/SubmitButton.js +20 -15
  109. package/dist/events/api-client-events.js +2 -4
  110. package/dist/events/sse-client-events.js +2 -4
  111. package/dist/features/code-explorer/CodeExplorer.js +2 -1
  112. package/dist/features/code-explorer/components/CodeExplorerTree.js +3 -2
  113. package/dist/features/code-explorer/components/CodeExplorerTreeNode.js +29 -31
  114. package/dist/features/code-explorer/components/FileContentViewer.js +148 -108
  115. package/dist/features/code-explorer/components/FileTabsBar.js +2 -1
  116. package/dist/features/code-explorer/components/FileTabsBarBase.js +169 -134
  117. package/dist/features/code-explorer/index.js +1 -1
  118. package/dist/features/code-explorer/providers/CodeExplorerProvider.js +4 -4
  119. package/dist/features/code-explorer/utils/fileIcons.js +39 -41
  120. package/dist/features/dashboard/Dashboard.js +121 -79
  121. package/dist/features/dashboard/RunItem.js +70 -50
  122. package/dist/features/dashboard/RunList.js +28 -17
  123. package/dist/features/debug/components/ConfigFlowViewer.js +67 -49
  124. package/dist/features/debug/components/WorkflowDebugHeader.js +46 -30
  125. package/dist/features/debug/components/WorkflowDebugLegend.js +68 -56
  126. package/dist/features/debug/components/WorkflowFlowViewer.js +96 -76
  127. package/dist/features/debug/components/workflow-flow/StateNode.js +102 -73
  128. package/dist/features/debug/components/workflow-flow/WorkflowGraph.js +40 -35
  129. package/dist/features/debug/components/workflow-flow/WorkflowTransitionEdge.js +94 -61
  130. package/dist/features/debug/index.js +3 -3
  131. package/dist/features/debug/lib/edge-paths.js +31 -33
  132. package/dist/features/debug/lib/flow-utils.js +145 -147
  133. package/dist/features/documents/DocumentRenderer.js +73 -68
  134. package/dist/features/documents/components/DocumentItem.js +24 -21
  135. package/dist/features/documents/components/DocumentList.js +45 -39
  136. package/dist/features/documents/components/DocumentMetadataPills.js +59 -44
  137. package/dist/features/documents/document-details/DocumentDetails.js +413 -298
  138. package/dist/features/documents/document-details/PromptDetails.js +142 -105
  139. package/dist/features/documents/index.js +4 -4
  140. package/dist/features/documents/renderers/AiMessage.js +48 -39
  141. package/dist/features/documents/renderers/AiMessageContent.js +164 -108
  142. package/dist/features/documents/renderers/ChoicesRenderer.js +89 -77
  143. package/dist/features/documents/renderers/ClaudeMessage.js +91 -74
  144. package/dist/features/documents/renderers/ConfirmPromptRenderer.js +53 -44
  145. package/dist/features/documents/renderers/DocumentDebugRenderer.js +30 -26
  146. package/dist/features/documents/renderers/DocumentFormRenderer.js +85 -69
  147. package/dist/features/documents/renderers/DocumentMessageRenderer.js +9 -10
  148. package/dist/features/documents/renderers/ErrorMessageRenderer.js +13 -11
  149. package/dist/features/documents/renderers/LinkMessageRenderer.js +14 -15
  150. package/dist/features/documents/renderers/MarkdownMessageRenderer.js +10 -8
  151. package/dist/features/documents/renderers/PlainMessageRenderer.js +9 -7
  152. package/dist/features/documents/renderers/TextPromptRenderer.js +54 -45
  153. package/dist/features/documents/renderers/useDocumentTransition.js +33 -30
  154. package/dist/features/feature-registry/FeatureRegistryProvider.js +17 -0
  155. package/dist/features/feature-registry/index.js +1 -0
  156. package/dist/features/file-explorer/api/files.js +7 -0
  157. package/dist/features/file-explorer/components/FileExplorerPanel.js +95 -0
  158. package/dist/features/file-explorer/components/FileTabsBar.js +18 -0
  159. package/dist/features/file-explorer/components/FileTree.js +90 -0
  160. package/dist/features/file-explorer/file-explorer-feature.js +12 -0
  161. package/dist/features/file-explorer/hooks/useFileExplorer.js +44 -0
  162. package/dist/features/file-explorer/index.js +2 -0
  163. package/dist/features/file-explorer/providers/FileExplorerProvider.js +112 -0
  164. package/dist/features/health/LocalHealthCheck.js +53 -54
  165. package/dist/features/health/index.js +1 -1
  166. package/dist/features/oauth/OAuthCallbackPage.js +2 -2
  167. package/dist/features/oauth/OAuthPromptRenderer.js +235 -156
  168. package/dist/features/oauth/index.js +2 -2
  169. package/dist/features/oauth/useOAuthPopup.js +71 -52
  170. package/dist/features/runs/Runs.js +187 -145
  171. package/dist/features/secrets/components/WorkbenchSecretsPanel.js +178 -0
  172. package/dist/features/secrets/index.js +1 -0
  173. package/dist/features/secrets/renderers/SecretInputRenderer.js +87 -0
  174. package/dist/features/secrets/secrets-feature.js +14 -0
  175. package/dist/features/workbench/Workbench.js +50 -74
  176. package/dist/features/workbench/WorkflowItem.js +68 -49
  177. package/dist/features/workbench/WorkflowList.js +127 -49
  178. package/dist/features/workbench/components/NewRunDialog.js +309 -212
  179. package/dist/features/workbench/components/SidebarPanel.js +155 -0
  180. package/dist/features/workbench/components/WorkbenchEnvironmentPanel.js +82 -0
  181. package/dist/features/workbench/components/WorkbenchIconSidebar.js +137 -51
  182. package/dist/features/workbench/components/WorkbenchPreviewPanel.js +134 -123
  183. package/dist/features/workbench/components/WorkbenchRunsPanel.js +32 -0
  184. package/dist/features/workbench/components/WorkbenchSettingsModal.js +60 -49
  185. package/dist/features/workbench/components/WorkbenchSidebarShell.js +80 -0
  186. package/dist/features/workbench/components/WorkflowForms.js +23 -17
  187. package/dist/features/workbench/components/WorkflowHistoryItem.js +122 -96
  188. package/dist/features/workbench/components/WorkflowHistoryList.js +54 -31
  189. package/dist/features/workbench/components/buttons/WorkflowButtons.js +99 -70
  190. package/dist/features/workbench/hooks/useAutoScrollBottom.js +25 -21
  191. package/dist/features/workbench/hooks/useScrollToListItem.js +21 -20
  192. package/dist/features/workbench/hooks/useWorkflowData.js +44 -31
  193. package/dist/features/workbench/hooks/useWorkflowListState.js +12 -13
  194. package/dist/features/workbench/index.js +8 -7
  195. package/dist/features/workbench/providers/ScrollProvider.js +19 -15
  196. package/dist/features/workbench/providers/WorkbenchLayoutProvider.js +75 -78
  197. package/dist/features/workspaces/Workspaces.js +226 -161
  198. package/dist/features/workspaces/components/CreateWorkspace.js +194 -137
  199. package/dist/features/workspaces/components/EnvironmentSlotSelector.js +75 -60
  200. package/dist/features/workspaces/components/ExecutionTimeline.js +185 -143
  201. package/dist/features/workspaces/components/NewWorkflowRunDialog.js +26 -18
  202. package/dist/features/workspaces/components/WorkflowRunForm.js +133 -85
  203. package/dist/features/workspaces/components/WorkspaceHomePage.js +81 -60
  204. package/dist/features/workspaces/components/workflow-form/ArgumentsView.js +69 -52
  205. package/dist/features/workspaces/components/workflow-form/HeaderSection.js +41 -27
  206. package/dist/features/workspaces/components/workflow-form/SelectionView.js +103 -64
  207. package/dist/features/workspaces/index.js +3 -3
  208. package/dist/frontend/studio/node_modules/@dagrejs/dagre/dist/dagre.esm.js +1968 -0
  209. package/dist/hooks/index.js +6 -6
  210. package/dist/hooks/query-keys.js +31 -33
  211. package/dist/hooks/use-mobile.js +11 -12
  212. package/dist/hooks/useApi.js +14 -16
  213. package/dist/hooks/useAuth.js +53 -38
  214. package/dist/hooks/useConfig.js +37 -26
  215. package/dist/hooks/useDashboard.js +15 -12
  216. package/dist/hooks/useDebounce.js +11 -12
  217. package/dist/hooks/useDocuments.js +35 -23
  218. package/dist/hooks/useEnvironmentPreviewUrl.js +13 -0
  219. package/dist/hooks/useEnvironments.js +8 -0
  220. package/dist/hooks/useFiles.js +2 -1
  221. package/dist/hooks/useProcessor.js +17 -14
  222. package/dist/hooks/useSecrets.js +64 -45
  223. package/dist/hooks/useWorkflows.js +163 -109
  224. package/dist/hooks/useWorkspaces.js +125 -83
  225. package/dist/index.d.ts +1395 -0
  226. package/dist/index.js +87 -80
  227. package/dist/lib/requireParam.js +2 -4
  228. package/dist/lib/utils.js +5 -7
  229. package/dist/loopstack-studio.css +1 -1
  230. package/dist/node_modules/@braintree/sanitize-url/dist/constants.js +4 -6
  231. package/dist/node_modules/@braintree/sanitize-url/dist/index.js +6 -8
  232. package/dist/node_modules/@chevrotain/gast/lib/src/helpers.js +17 -19
  233. package/dist/node_modules/@chevrotain/gast/lib/src/model.js +71 -73
  234. package/dist/node_modules/@chevrotain/gast/lib/src/visitor.js +13 -16
  235. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/api.js +2 -2
  236. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.js +2 -4
  237. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.js +34 -36
  238. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.js +110 -138
  239. package/dist/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +11 -13
  240. package/dist/node_modules/@chevrotain/utils/lib/src/print.js +3 -5
  241. package/dist/node_modules/@chevrotain/utils/lib/src/timer.js +2 -4
  242. package/dist/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +2 -4
  243. package/dist/node_modules/@iconify/utils/lib/customisations/defaults.js +6 -8
  244. package/dist/node_modules/@iconify/utils/lib/icon/defaults.js +8 -10
  245. package/dist/node_modules/@iconify/utils/lib/icon/merge.js +6 -8
  246. package/dist/node_modules/@iconify/utils/lib/icon/name.js +6 -8
  247. package/dist/node_modules/@iconify/utils/lib/icon/transformations.js +2 -4
  248. package/dist/node_modules/@iconify/utils/lib/icon-set/get-icon.js +10 -12
  249. package/dist/node_modules/@iconify/utils/lib/icon-set/tree.js +2 -4
  250. package/dist/node_modules/@iconify/utils/lib/svg/build.js +18 -20
  251. package/dist/node_modules/@iconify/utils/lib/svg/defs.js +6 -8
  252. package/dist/node_modules/@iconify/utils/lib/svg/html.js +2 -4
  253. package/dist/node_modules/@iconify/utils/lib/svg/id.js +8 -10
  254. package/dist/node_modules/@iconify/utils/lib/svg/size.js +5 -7
  255. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-YZFGNWBL.js +2 -2
  256. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2KRD3SAO.js +17 -20
  257. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-67CJDMHE.js +17 -20
  258. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7N4EOEYR.js +23 -28
  259. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-AA7GKIK3.js +21 -26
  260. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-CIAEETIT.js +17 -20
  261. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FOC6F5B3.js +17 -20
  262. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-K5T4RW27.js +425 -436
  263. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KGLVRYIC.js +17 -20
  264. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-LIHQZDEY.js +38 -45
  265. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ORNJ4GCN.js +22 -27
  266. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-7Q5UKJZL.js +2 -2
  267. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-OMHHGYJF.js +2 -2
  268. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-4T2RLAQJ.js +2 -2
  269. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-ZZUOXDRM.js +2 -2
  270. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-PYXPWWZC.js +2 -2
  271. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-SZITEDCU.js +2 -2
  272. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-W4RFUUIX.js +2 -2
  273. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-RL74JXVD.js +2 -2
  274. package/dist/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +52 -56
  275. package/dist/node_modules/@shikijs/core/dist/index.js +575 -577
  276. package/dist/node_modules/@shikijs/engine-oniguruma/dist/index.js +157 -159
  277. package/dist/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.js +2 -4
  278. package/dist/node_modules/@shikijs/langs/dist/abap.js +2 -3
  279. package/dist/node_modules/@shikijs/langs/dist/actionscript-3.js +2 -3
  280. package/dist/node_modules/@shikijs/langs/dist/ada.js +2 -3
  281. package/dist/node_modules/@shikijs/langs/dist/angular-expression.js +2 -3
  282. package/dist/node_modules/@shikijs/langs/dist/angular-html.js +13 -15
  283. package/dist/node_modules/@shikijs/langs/dist/angular-inline-style.js +3 -5
  284. package/dist/node_modules/@shikijs/langs/dist/angular-inline-template.js +7 -9
  285. package/dist/node_modules/@shikijs/langs/dist/angular-let-declaration.js +3 -5
  286. package/dist/node_modules/@shikijs/langs/dist/angular-template-blocks.js +7 -9
  287. package/dist/node_modules/@shikijs/langs/dist/angular-template.js +3 -5
  288. package/dist/node_modules/@shikijs/langs/dist/angular-ts.js +15 -17
  289. package/dist/node_modules/@shikijs/langs/dist/apache.js +2 -3
  290. package/dist/node_modules/@shikijs/langs/dist/apex.js +2 -3
  291. package/dist/node_modules/@shikijs/langs/dist/apl.js +13 -15
  292. package/dist/node_modules/@shikijs/langs/dist/applescript.js +2 -3
  293. package/dist/node_modules/@shikijs/langs/dist/ara.js +2 -3
  294. package/dist/node_modules/@shikijs/langs/dist/asciidoc.js +2 -3
  295. package/dist/node_modules/@shikijs/langs/dist/asm.js +2 -3
  296. package/dist/node_modules/@shikijs/langs/dist/astro.js +15 -17
  297. package/dist/node_modules/@shikijs/langs/dist/awk.js +2 -3
  298. package/dist/node_modules/@shikijs/langs/dist/ballerina.js +2 -3
  299. package/dist/node_modules/@shikijs/langs/dist/bat.js +2 -3
  300. package/dist/node_modules/@shikijs/langs/dist/beancount.js +2 -3
  301. package/dist/node_modules/@shikijs/langs/dist/berry.js +2 -3
  302. package/dist/node_modules/@shikijs/langs/dist/bibtex.js +2 -3
  303. package/dist/node_modules/@shikijs/langs/dist/bicep.js +2 -3
  304. package/dist/node_modules/@shikijs/langs/dist/bird2.js +2 -3
  305. package/dist/node_modules/@shikijs/langs/dist/blade.js +17 -19
  306. package/dist/node_modules/@shikijs/langs/dist/bsl.js +3 -5
  307. package/dist/node_modules/@shikijs/langs/dist/c.js +2 -3
  308. package/dist/node_modules/@shikijs/langs/dist/c3.js +2 -3
  309. package/dist/node_modules/@shikijs/langs/dist/cadence.js +2 -3
  310. package/dist/node_modules/@shikijs/langs/dist/cairo.js +3 -5
  311. package/dist/node_modules/@shikijs/langs/dist/clarity.js +2 -3
  312. package/dist/node_modules/@shikijs/langs/dist/clojure.js +2 -3
  313. package/dist/node_modules/@shikijs/langs/dist/cmake.js +2 -3
  314. package/dist/node_modules/@shikijs/langs/dist/cobol.js +7 -9
  315. package/dist/node_modules/@shikijs/langs/dist/codeowners.js +2 -3
  316. package/dist/node_modules/@shikijs/langs/dist/codeql.js +2 -3
  317. package/dist/node_modules/@shikijs/langs/dist/coffee.js +3 -5
  318. package/dist/node_modules/@shikijs/langs/dist/common-lisp.js +2 -3
  319. package/dist/node_modules/@shikijs/langs/dist/coq.js +2 -3
  320. package/dist/node_modules/@shikijs/langs/dist/cpp-macro.js +9 -11
  321. package/dist/node_modules/@shikijs/langs/dist/cpp.js +11 -13
  322. package/dist/node_modules/@shikijs/langs/dist/crystal.js +15 -17
  323. package/dist/node_modules/@shikijs/langs/dist/csharp.js +2 -3
  324. package/dist/node_modules/@shikijs/langs/dist/css.js +2 -3
  325. package/dist/node_modules/@shikijs/langs/dist/csv.js +2 -3
  326. package/dist/node_modules/@shikijs/langs/dist/cue.js +2 -3
  327. package/dist/node_modules/@shikijs/langs/dist/cypher.js +2 -3
  328. package/dist/node_modules/@shikijs/langs/dist/d.js +2 -3
  329. package/dist/node_modules/@shikijs/langs/dist/dart.js +2 -3
  330. package/dist/node_modules/@shikijs/langs/dist/dax.js +2 -3
  331. package/dist/node_modules/@shikijs/langs/dist/desktop.js +2 -3
  332. package/dist/node_modules/@shikijs/langs/dist/diff.js +2 -3
  333. package/dist/node_modules/@shikijs/langs/dist/docker.js +2 -3
  334. package/dist/node_modules/@shikijs/langs/dist/dotenv.js +2 -3
  335. package/dist/node_modules/@shikijs/langs/dist/dream-maker.js +2 -3
  336. package/dist/node_modules/@shikijs/langs/dist/edge.js +9 -11
  337. package/dist/node_modules/@shikijs/langs/dist/elixir.js +3 -5
  338. package/dist/node_modules/@shikijs/langs/dist/elm.js +3 -5
  339. package/dist/node_modules/@shikijs/langs/dist/emacs-lisp.js +2 -3
  340. package/dist/node_modules/@shikijs/langs/dist/erb.js +7 -9
  341. package/dist/node_modules/@shikijs/langs/dist/erlang.js +3 -5
  342. package/dist/node_modules/@shikijs/langs/dist/es-tag-css.js +9 -11
  343. package/dist/node_modules/@shikijs/langs/dist/es-tag-glsl.js +9 -11
  344. package/dist/node_modules/@shikijs/langs/dist/es-tag-html.js +9 -11
  345. package/dist/node_modules/@shikijs/langs/dist/es-tag-sql.js +7 -9
  346. package/dist/node_modules/@shikijs/langs/dist/es-tag-xml.js +3 -5
  347. package/dist/node_modules/@shikijs/langs/dist/fennel.js +2 -3
  348. package/dist/node_modules/@shikijs/langs/dist/fish.js +2 -3
  349. package/dist/node_modules/@shikijs/langs/dist/fluent.js +2 -3
  350. package/dist/node_modules/@shikijs/langs/dist/fortran-fixed-form.js +3 -5
  351. package/dist/node_modules/@shikijs/langs/dist/fortran-free-form.js +2 -3
  352. package/dist/node_modules/@shikijs/langs/dist/fsharp.js +3 -5
  353. package/dist/node_modules/@shikijs/langs/dist/gdresource.js +7 -9
  354. package/dist/node_modules/@shikijs/langs/dist/gdscript.js +2 -3
  355. package/dist/node_modules/@shikijs/langs/dist/gdshader.js +2 -3
  356. package/dist/node_modules/@shikijs/langs/dist/genie.js +2 -3
  357. package/dist/node_modules/@shikijs/langs/dist/gherkin.js +2 -3
  358. package/dist/node_modules/@shikijs/langs/dist/git-commit.js +3 -5
  359. package/dist/node_modules/@shikijs/langs/dist/git-rebase.js +3 -5
  360. package/dist/node_modules/@shikijs/langs/dist/gleam.js +2 -3
  361. package/dist/node_modules/@shikijs/langs/dist/glimmer-js.js +11 -13
  362. package/dist/node_modules/@shikijs/langs/dist/glimmer-ts.js +11 -13
  363. package/dist/node_modules/@shikijs/langs/dist/glsl.js +3 -5
  364. package/dist/node_modules/@shikijs/langs/dist/gn.js +2 -3
  365. package/dist/node_modules/@shikijs/langs/dist/gnuplot.js +2 -3
  366. package/dist/node_modules/@shikijs/langs/dist/go.js +2 -3
  367. package/dist/node_modules/@shikijs/langs/dist/graphql.js +11 -13
  368. package/dist/node_modules/@shikijs/langs/dist/groovy.js +2 -3
  369. package/dist/node_modules/@shikijs/langs/dist/hack.js +7 -9
  370. package/dist/node_modules/@shikijs/langs/dist/haml.js +7 -9
  371. package/dist/node_modules/@shikijs/langs/dist/handlebars.js +11 -13
  372. package/dist/node_modules/@shikijs/langs/dist/haskell.js +2 -3
  373. package/dist/node_modules/@shikijs/langs/dist/haxe.js +2 -3
  374. package/dist/node_modules/@shikijs/langs/dist/hcl.js +2 -3
  375. package/dist/node_modules/@shikijs/langs/dist/hjson.js +2 -3
  376. package/dist/node_modules/@shikijs/langs/dist/hlsl.js +2 -3
  377. package/dist/node_modules/@shikijs/langs/dist/html-derivative.js +3 -5
  378. package/dist/node_modules/@shikijs/langs/dist/html.js +7 -9
  379. package/dist/node_modules/@shikijs/langs/dist/http.js +11 -13
  380. package/dist/node_modules/@shikijs/langs/dist/hurl.js +9 -11
  381. package/dist/node_modules/@shikijs/langs/dist/hxml.js +3 -5
  382. package/dist/node_modules/@shikijs/langs/dist/hy.js +2 -3
  383. package/dist/node_modules/@shikijs/langs/dist/imba.js +2 -3
  384. package/dist/node_modules/@shikijs/langs/dist/ini.js +2 -3
  385. package/dist/node_modules/@shikijs/langs/dist/java.js +2 -3
  386. package/dist/node_modules/@shikijs/langs/dist/javascript.js +2 -3
  387. package/dist/node_modules/@shikijs/langs/dist/jinja-html.js +3 -5
  388. package/dist/node_modules/@shikijs/langs/dist/jinja.js +3 -5
  389. package/dist/node_modules/@shikijs/langs/dist/jison.js +3 -5
  390. package/dist/node_modules/@shikijs/langs/dist/json.js +2 -3
  391. package/dist/node_modules/@shikijs/langs/dist/json5.js +2 -3
  392. package/dist/node_modules/@shikijs/langs/dist/jsonc.js +2 -3
  393. package/dist/node_modules/@shikijs/langs/dist/jsonl.js +2 -3
  394. package/dist/node_modules/@shikijs/langs/dist/jsonnet.js +2 -3
  395. package/dist/node_modules/@shikijs/langs/dist/jssm.js +2 -3
  396. package/dist/node_modules/@shikijs/langs/dist/jsx.js +2 -3
  397. package/dist/node_modules/@shikijs/langs/dist/julia.js +13 -15
  398. package/dist/node_modules/@shikijs/langs/dist/just.js +15 -17
  399. package/dist/node_modules/@shikijs/langs/dist/kdl.js +2 -3
  400. package/dist/node_modules/@shikijs/langs/dist/kotlin.js +2 -3
  401. package/dist/node_modules/@shikijs/langs/dist/kusto.js +2 -3
  402. package/dist/node_modules/@shikijs/langs/dist/latex.js +3 -5
  403. package/dist/node_modules/@shikijs/langs/dist/lean.js +2 -3
  404. package/dist/node_modules/@shikijs/langs/dist/less.js +2 -3
  405. package/dist/node_modules/@shikijs/langs/dist/liquid.js +11 -13
  406. package/dist/node_modules/@shikijs/langs/dist/llvm.js +2 -3
  407. package/dist/node_modules/@shikijs/langs/dist/log.js +2 -3
  408. package/dist/node_modules/@shikijs/langs/dist/logo.js +2 -3
  409. package/dist/node_modules/@shikijs/langs/dist/lua.js +3 -5
  410. package/dist/node_modules/@shikijs/langs/dist/luau.js +2 -3
  411. package/dist/node_modules/@shikijs/langs/dist/make.js +2 -3
  412. package/dist/node_modules/@shikijs/langs/dist/markdown-nix.js +2 -3
  413. package/dist/node_modules/@shikijs/langs/dist/markdown-vue.js +2 -3
  414. package/dist/node_modules/@shikijs/langs/dist/markdown.js +2 -3
  415. package/dist/node_modules/@shikijs/langs/dist/marko.js +11 -13
  416. package/dist/node_modules/@shikijs/langs/dist/matlab.js +2 -3
  417. package/dist/node_modules/@shikijs/langs/dist/mdc.js +9 -11
  418. package/dist/node_modules/@shikijs/langs/dist/mdx.js +2 -3
  419. package/dist/node_modules/@shikijs/langs/dist/mermaid.js +2 -3
  420. package/dist/node_modules/@shikijs/langs/dist/mipsasm.js +2 -3
  421. package/dist/node_modules/@shikijs/langs/dist/mojo.js +2 -3
  422. package/dist/node_modules/@shikijs/langs/dist/moonbit.js +2 -3
  423. package/dist/node_modules/@shikijs/langs/dist/move.js +2 -3
  424. package/dist/node_modules/@shikijs/langs/dist/narrat.js +2 -3
  425. package/dist/node_modules/@shikijs/langs/dist/nextflow-groovy.js +2 -3
  426. package/dist/node_modules/@shikijs/langs/dist/nextflow.js +3 -5
  427. package/dist/node_modules/@shikijs/langs/dist/nginx.js +3 -5
  428. package/dist/node_modules/@shikijs/langs/dist/nim.js +17 -19
  429. package/dist/node_modules/@shikijs/langs/dist/nix.js +3 -5
  430. package/dist/node_modules/@shikijs/langs/dist/nushell.js +2 -3
  431. package/dist/node_modules/@shikijs/langs/dist/objective-c.js +2 -3
  432. package/dist/node_modules/@shikijs/langs/dist/objective-cpp.js +2 -3
  433. package/dist/node_modules/@shikijs/langs/dist/ocaml.js +2 -3
  434. package/dist/node_modules/@shikijs/langs/dist/odin.js +2 -3
  435. package/dist/node_modules/@shikijs/langs/dist/openscad.js +2 -3
  436. package/dist/node_modules/@shikijs/langs/dist/pascal.js +2 -3
  437. package/dist/node_modules/@shikijs/langs/dist/perl.js +13 -15
  438. package/dist/node_modules/@shikijs/langs/dist/php.js +15 -17
  439. package/dist/node_modules/@shikijs/langs/dist/pkl.js +2 -3
  440. package/dist/node_modules/@shikijs/langs/dist/plsql.js +2 -3
  441. package/dist/node_modules/@shikijs/langs/dist/po.js +2 -3
  442. package/dist/node_modules/@shikijs/langs/dist/polar.js +2 -3
  443. package/dist/node_modules/@shikijs/langs/dist/postcss.js +2 -3
  444. package/dist/node_modules/@shikijs/langs/dist/powerquery.js +2 -3
  445. package/dist/node_modules/@shikijs/langs/dist/powershell.js +2 -3
  446. package/dist/node_modules/@shikijs/langs/dist/prisma.js +2 -3
  447. package/dist/node_modules/@shikijs/langs/dist/prolog.js +2 -3
  448. package/dist/node_modules/@shikijs/langs/dist/proto.js +2 -3
  449. package/dist/node_modules/@shikijs/langs/dist/pug.js +9 -11
  450. package/dist/node_modules/@shikijs/langs/dist/puppet.js +2 -3
  451. package/dist/node_modules/@shikijs/langs/dist/purescript.js +2 -3
  452. package/dist/node_modules/@shikijs/langs/dist/python.js +2 -3
  453. package/dist/node_modules/@shikijs/langs/dist/qml.js +3 -5
  454. package/dist/node_modules/@shikijs/langs/dist/qmldir.js +2 -3
  455. package/dist/node_modules/@shikijs/langs/dist/qss.js +2 -3
  456. package/dist/node_modules/@shikijs/langs/dist/r.js +2 -3
  457. package/dist/node_modules/@shikijs/langs/dist/racket.js +2 -3
  458. package/dist/node_modules/@shikijs/langs/dist/raku.js +2 -3
  459. package/dist/node_modules/@shikijs/langs/dist/razor.js +7 -9
  460. package/dist/node_modules/@shikijs/langs/dist/reg.js +2 -3
  461. package/dist/node_modules/@shikijs/langs/dist/regexp.js +2 -3
  462. package/dist/node_modules/@shikijs/langs/dist/rel.js +2 -3
  463. package/dist/node_modules/@shikijs/langs/dist/riscv.js +2 -3
  464. package/dist/node_modules/@shikijs/langs/dist/ron.js +2 -3
  465. package/dist/node_modules/@shikijs/langs/dist/rosmsg.js +2 -3
  466. package/dist/node_modules/@shikijs/langs/dist/rst.js +19 -21
  467. package/dist/node_modules/@shikijs/langs/dist/ruby.js +27 -29
  468. package/dist/node_modules/@shikijs/langs/dist/rust.js +2 -3
  469. package/dist/node_modules/@shikijs/langs/dist/sas.js +3 -5
  470. package/dist/node_modules/@shikijs/langs/dist/sass.js +2 -3
  471. package/dist/node_modules/@shikijs/langs/dist/scala.js +2 -3
  472. package/dist/node_modules/@shikijs/langs/dist/scheme.js +2 -3
  473. package/dist/node_modules/@shikijs/langs/dist/scss.js +3 -5
  474. package/dist/node_modules/@shikijs/langs/dist/sdbl.js +2 -3
  475. package/dist/node_modules/@shikijs/langs/dist/shaderlab.js +3 -5
  476. package/dist/node_modules/@shikijs/langs/dist/shellscript.js +2 -3
  477. package/dist/node_modules/@shikijs/langs/dist/shellsession.js +3 -5
  478. package/dist/node_modules/@shikijs/langs/dist/smalltalk.js +2 -3
  479. package/dist/node_modules/@shikijs/langs/dist/solidity.js +2 -3
  480. package/dist/node_modules/@shikijs/langs/dist/soy.js +3 -5
  481. package/dist/node_modules/@shikijs/langs/dist/sparql.js +3 -5
  482. package/dist/node_modules/@shikijs/langs/dist/splunk.js +2 -3
  483. package/dist/node_modules/@shikijs/langs/dist/sql.js +2 -3
  484. package/dist/node_modules/@shikijs/langs/dist/ssh-config.js +2 -3
  485. package/dist/node_modules/@shikijs/langs/dist/stata.js +3 -5
  486. package/dist/node_modules/@shikijs/langs/dist/stylus.js +2 -3
  487. package/dist/node_modules/@shikijs/langs/dist/surrealql.js +3 -5
  488. package/dist/node_modules/@shikijs/langs/dist/svelte.js +11 -13
  489. package/dist/node_modules/@shikijs/langs/dist/swift.js +2 -3
  490. package/dist/node_modules/@shikijs/langs/dist/system-verilog.js +2 -3
  491. package/dist/node_modules/@shikijs/langs/dist/systemd.js +2 -3
  492. package/dist/node_modules/@shikijs/langs/dist/talonscript.js +2 -3
  493. package/dist/node_modules/@shikijs/langs/dist/tasl.js +2 -3
  494. package/dist/node_modules/@shikijs/langs/dist/tcl.js +2 -3
  495. package/dist/node_modules/@shikijs/langs/dist/templ.js +9 -11
  496. package/dist/node_modules/@shikijs/langs/dist/terraform.js +2 -3
  497. package/dist/node_modules/@shikijs/langs/dist/tex.js +3 -5
  498. package/dist/node_modules/@shikijs/langs/dist/toml.js +2 -3
  499. package/dist/node_modules/@shikijs/langs/dist/ts-tags.js +15 -17
  500. package/dist/node_modules/@shikijs/langs/dist/tsv.js +2 -3
  501. package/dist/node_modules/@shikijs/langs/dist/tsx.js +2 -3
  502. package/dist/node_modules/@shikijs/langs/dist/turtle.js +2 -3
  503. package/dist/node_modules/@shikijs/langs/dist/twig.js +15 -17
  504. package/dist/node_modules/@shikijs/langs/dist/typescript.js +2 -3
  505. package/dist/node_modules/@shikijs/langs/dist/typespec.js +2 -3
  506. package/dist/node_modules/@shikijs/langs/dist/typst.js +2 -3
  507. package/dist/node_modules/@shikijs/langs/dist/v.js +2 -3
  508. package/dist/node_modules/@shikijs/langs/dist/vala.js +2 -3
  509. package/dist/node_modules/@shikijs/langs/dist/vb.js +2 -3
  510. package/dist/node_modules/@shikijs/langs/dist/verilog.js +2 -3
  511. package/dist/node_modules/@shikijs/langs/dist/vhdl.js +2 -3
  512. package/dist/node_modules/@shikijs/langs/dist/viml.js +2 -3
  513. package/dist/node_modules/@shikijs/langs/dist/vue-directives.js +2 -3
  514. package/dist/node_modules/@shikijs/langs/dist/vue-html.js +3 -5
  515. package/dist/node_modules/@shikijs/langs/dist/vue-interpolations.js +2 -3
  516. package/dist/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.js +3 -5
  517. package/dist/node_modules/@shikijs/langs/dist/vue-vine.js +15 -17
  518. package/dist/node_modules/@shikijs/langs/dist/vue.js +23 -25
  519. package/dist/node_modules/@shikijs/langs/dist/vyper.js +2 -3
  520. package/dist/node_modules/@shikijs/langs/dist/wasm.js +2 -3
  521. package/dist/node_modules/@shikijs/langs/dist/wenyan.js +2 -3
  522. package/dist/node_modules/@shikijs/langs/dist/wgsl.js +2 -3
  523. package/dist/node_modules/@shikijs/langs/dist/wikitext.js +2 -3
  524. package/dist/node_modules/@shikijs/langs/dist/wit.js +2 -3
  525. package/dist/node_modules/@shikijs/langs/dist/wolfram.js +2 -3
  526. package/dist/node_modules/@shikijs/langs/dist/xml.js +3 -5
  527. package/dist/node_modules/@shikijs/langs/dist/xsl.js +3 -5
  528. package/dist/node_modules/@shikijs/langs/dist/yaml.js +2 -3
  529. package/dist/node_modules/@shikijs/langs/dist/zenscript.js +2 -3
  530. package/dist/node_modules/@shikijs/langs/dist/zig.js +2 -3
  531. package/dist/node_modules/@shikijs/primitive/dist/index.js +319 -321
  532. package/dist/node_modules/@shikijs/themes/dist/andromeeda.js +2 -4
  533. package/dist/node_modules/@shikijs/themes/dist/aurora-x.js +2 -4
  534. package/dist/node_modules/@shikijs/themes/dist/ayu-dark.js +2 -4
  535. package/dist/node_modules/@shikijs/themes/dist/ayu-light.js +2 -4
  536. package/dist/node_modules/@shikijs/themes/dist/ayu-mirage.js +2 -4
  537. package/dist/node_modules/@shikijs/themes/dist/catppuccin-frappe.js +2 -4
  538. package/dist/node_modules/@shikijs/themes/dist/catppuccin-latte.js +2 -4
  539. package/dist/node_modules/@shikijs/themes/dist/catppuccin-macchiato.js +2 -4
  540. package/dist/node_modules/@shikijs/themes/dist/catppuccin-mocha.js +2 -4
  541. package/dist/node_modules/@shikijs/themes/dist/dark-plus.js +2 -4
  542. package/dist/node_modules/@shikijs/themes/dist/dracula-soft.js +2 -4
  543. package/dist/node_modules/@shikijs/themes/dist/dracula.js +2 -4
  544. package/dist/node_modules/@shikijs/themes/dist/everforest-dark.js +2 -4
  545. package/dist/node_modules/@shikijs/themes/dist/everforest-light.js +2 -4
  546. package/dist/node_modules/@shikijs/themes/dist/github-dark-default.js +2 -4
  547. package/dist/node_modules/@shikijs/themes/dist/github-dark-dimmed.js +2 -4
  548. package/dist/node_modules/@shikijs/themes/dist/github-dark-high-contrast.js +2 -4
  549. package/dist/node_modules/@shikijs/themes/dist/github-dark.js +2 -4
  550. package/dist/node_modules/@shikijs/themes/dist/github-light-default.js +2 -4
  551. package/dist/node_modules/@shikijs/themes/dist/github-light-high-contrast.js +2 -4
  552. package/dist/node_modules/@shikijs/themes/dist/github-light.js +2 -4
  553. package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.js +2 -4
  554. package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.js +2 -4
  555. package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.js +2 -4
  556. package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-hard.js +2 -4
  557. package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-medium.js +2 -4
  558. package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-soft.js +2 -4
  559. package/dist/node_modules/@shikijs/themes/dist/horizon-bright.js +2 -4
  560. package/dist/node_modules/@shikijs/themes/dist/horizon.js +2 -4
  561. package/dist/node_modules/@shikijs/themes/dist/houston.js +2 -4
  562. package/dist/node_modules/@shikijs/themes/dist/kanagawa-dragon.js +2 -4
  563. package/dist/node_modules/@shikijs/themes/dist/kanagawa-lotus.js +2 -4
  564. package/dist/node_modules/@shikijs/themes/dist/kanagawa-wave.js +2 -4
  565. package/dist/node_modules/@shikijs/themes/dist/laserwave.js +2 -4
  566. package/dist/node_modules/@shikijs/themes/dist/light-plus.js +2 -4
  567. package/dist/node_modules/@shikijs/themes/dist/material-theme-darker.js +2 -4
  568. package/dist/node_modules/@shikijs/themes/dist/material-theme-lighter.js +2 -4
  569. package/dist/node_modules/@shikijs/themes/dist/material-theme-ocean.js +2 -4
  570. package/dist/node_modules/@shikijs/themes/dist/material-theme-palenight.js +2 -4
  571. package/dist/node_modules/@shikijs/themes/dist/material-theme.js +2 -4
  572. package/dist/node_modules/@shikijs/themes/dist/min-dark.js +2 -4
  573. package/dist/node_modules/@shikijs/themes/dist/min-light.js +2 -4
  574. package/dist/node_modules/@shikijs/themes/dist/monokai.js +2 -4
  575. package/dist/node_modules/@shikijs/themes/dist/night-owl-light.js +2 -4
  576. package/dist/node_modules/@shikijs/themes/dist/night-owl.js +2 -4
  577. package/dist/node_modules/@shikijs/themes/dist/nord.js +2 -4
  578. package/dist/node_modules/@shikijs/themes/dist/one-dark-pro.js +2 -4
  579. package/dist/node_modules/@shikijs/themes/dist/one-light.js +2 -4
  580. package/dist/node_modules/@shikijs/themes/dist/plastic.js +2 -4
  581. package/dist/node_modules/@shikijs/themes/dist/poimandres.js +2 -4
  582. package/dist/node_modules/@shikijs/themes/dist/red.js +2 -4
  583. package/dist/node_modules/@shikijs/themes/dist/rose-pine-dawn.js +2 -4
  584. package/dist/node_modules/@shikijs/themes/dist/rose-pine-moon.js +2 -4
  585. package/dist/node_modules/@shikijs/themes/dist/rose-pine.js +2 -4
  586. package/dist/node_modules/@shikijs/themes/dist/slack-dark.js +2 -4
  587. package/dist/node_modules/@shikijs/themes/dist/slack-ochin.js +2 -4
  588. package/dist/node_modules/@shikijs/themes/dist/snazzy-light.js +2 -4
  589. package/dist/node_modules/@shikijs/themes/dist/solarized-dark.js +2 -4
  590. package/dist/node_modules/@shikijs/themes/dist/solarized-light.js +2 -4
  591. package/dist/node_modules/@shikijs/themes/dist/synthwave-84.js +2 -4
  592. package/dist/node_modules/@shikijs/themes/dist/tokyo-night.js +2 -4
  593. package/dist/node_modules/@shikijs/themes/dist/vesper.js +2 -4
  594. package/dist/node_modules/@shikijs/themes/dist/vitesse-black.js +2 -4
  595. package/dist/node_modules/@shikijs/themes/dist/vitesse-dark.js +2 -4
  596. package/dist/node_modules/@shikijs/themes/dist/vitesse-light.js +2 -4
  597. package/dist/node_modules/@shikijs/types/dist/index.js +2 -4
  598. package/dist/node_modules/@shikijs/vscode-textmate/dist/index.js +947 -949
  599. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +30 -30
  600. package/dist/node_modules/@ungap/structured-clone/esm/index.js +4 -6
  601. package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +64 -64
  602. package/dist/node_modules/@ungap/structured-clone/esm/types.js +2 -0
  603. package/dist/node_modules/@upsetjs/venn.js/build/venn.esm.js +693 -695
  604. package/dist/node_modules/@xyflow/react/dist/esm/index.js +881 -883
  605. package/dist/node_modules/@xyflow/system/dist/esm/index.js +1221 -1223
  606. package/dist/node_modules/bail/index.js +2 -4
  607. package/dist/node_modules/ccount/index.js +2 -4
  608. package/dist/node_modules/character-entities-html4/index.js +2 -4
  609. package/dist/node_modules/character-entities-legacy/index.js +2 -4
  610. package/dist/node_modules/chevrotain/lib/src/api.js +10 -10
  611. package/dist/node_modules/chevrotain/lib/src/lang/lang_extensions.js +4 -6
  612. package/dist/node_modules/chevrotain/lib/src/parse/constants.js +2 -4
  613. package/dist/node_modules/chevrotain/lib/src/parse/cst/cst.js +9 -11
  614. package/dist/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +15 -17
  615. package/dist/node_modules/chevrotain/lib/src/parse/errors_public.js +17 -19
  616. package/dist/node_modules/chevrotain/lib/src/parse/exceptions_public.js +24 -26
  617. package/dist/node_modules/chevrotain/lib/src/parse/grammar/checks.js +201 -203
  618. package/dist/node_modules/chevrotain/lib/src/parse/grammar/first.js +16 -18
  619. package/dist/node_modules/chevrotain/lib/src/parse/grammar/follow.js +17 -19
  620. package/dist/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +12 -14
  621. package/dist/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +140 -142
  622. package/dist/node_modules/chevrotain/lib/src/parse/grammar/keys.js +4 -5
  623. package/dist/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +25 -27
  624. package/dist/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +149 -151
  625. package/dist/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +14 -16
  626. package/dist/node_modules/chevrotain/lib/src/parse/grammar/rest.js +38 -40
  627. package/dist/node_modules/chevrotain/lib/src/parse/parser/parser.js +64 -65
  628. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +11 -13
  629. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +101 -103
  630. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +5 -7
  631. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +45 -47
  632. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +6 -8
  633. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +73 -75
  634. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +180 -182
  635. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +23 -24
  636. package/dist/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +26 -28
  637. package/dist/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +2 -4
  638. package/dist/node_modules/chevrotain/lib/src/scan/lexer.js +246 -246
  639. package/dist/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +2 -4
  640. package/dist/node_modules/chevrotain/lib/src/scan/lexer_public.js +31 -33
  641. package/dist/node_modules/chevrotain/lib/src/scan/reg_exp.js +64 -67
  642. package/dist/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +10 -12
  643. package/dist/node_modules/chevrotain/lib/src/scan/tokens.js +35 -36
  644. package/dist/node_modules/chevrotain/lib/src/scan/tokens_public.js +26 -28
  645. package/dist/node_modules/chevrotain-allstar/lib/all-star-lookahead.js +240 -242
  646. package/dist/node_modules/chevrotain-allstar/lib/atn.js +133 -134
  647. package/dist/node_modules/chevrotain-allstar/lib/dfa.js +10 -11
  648. package/dist/node_modules/chevrotain-allstar/lib/index.js +1 -1
  649. package/dist/node_modules/classcat/index.js +3 -5
  650. package/dist/node_modules/comma-separated-tokens/index.js +3 -5
  651. package/dist/node_modules/cose-base/cose-base.js +21 -21
  652. package/dist/node_modules/cytoscape/dist/cytoscape.esm.js +7940 -7937
  653. package/dist/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js +6 -8
  654. package/dist/node_modules/cytoscape-fcose/cytoscape-fcose.js +6 -8
  655. package/dist/node_modules/cytoscape-fcose/node_modules/cose-base/cose-base.js +20 -20
  656. package/dist/node_modules/cytoscape-fcose/node_modules/layout-base/layout-base.js +4 -6
  657. package/dist/node_modules/d3/src/index.js +95 -95
  658. package/dist/node_modules/d3-array/src/ascending.js +2 -4
  659. package/dist/node_modules/d3-array/src/bisect.js +8 -8
  660. package/dist/node_modules/d3-array/src/bisector.js +6 -8
  661. package/dist/node_modules/d3-array/src/descending.js +2 -4
  662. package/dist/node_modules/d3-array/src/max.js +2 -4
  663. package/dist/node_modules/d3-array/src/min.js +2 -4
  664. package/dist/node_modules/d3-array/src/number.js +2 -4
  665. package/dist/node_modules/d3-array/src/range.js +2 -4
  666. package/dist/node_modules/d3-array/src/ticks.js +11 -13
  667. package/dist/node_modules/d3-axis/src/axis.js +46 -48
  668. package/dist/node_modules/d3-axis/src/identity.js +2 -4
  669. package/dist/node_modules/d3-brush/src/brush.js +4 -6
  670. package/dist/node_modules/d3-color/src/color.js +84 -86
  671. package/dist/node_modules/d3-color/src/define.js +3 -5
  672. package/dist/node_modules/d3-color/src/lab.js +43 -45
  673. package/dist/node_modules/d3-color/src/math.js +2 -4
  674. package/dist/node_modules/d3-dispatch/src/dispatch.js +17 -18
  675. package/dist/node_modules/d3-drag/src/constant.js +2 -4
  676. package/dist/node_modules/d3-drag/src/drag.js +75 -77
  677. package/dist/node_modules/d3-drag/src/event.js +3 -5
  678. package/dist/node_modules/d3-drag/src/nodrag.js +9 -11
  679. package/dist/node_modules/d3-drag/src/noevent.js +4 -6
  680. package/dist/node_modules/d3-ease/src/cubic.js +2 -4
  681. package/dist/node_modules/d3-format/src/defaultLocale.js +6 -8
  682. package/dist/node_modules/d3-format/src/exponent.js +4 -6
  683. package/dist/node_modules/d3-format/src/formatDecimal.js +3 -5
  684. package/dist/node_modules/d3-format/src/formatGroup.js +2 -4
  685. package/dist/node_modules/d3-format/src/formatNumerals.js +2 -4
  686. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +8 -10
  687. package/dist/node_modules/d3-format/src/formatRounded.js +4 -6
  688. package/dist/node_modules/d3-format/src/formatSpecifier.js +8 -10
  689. package/dist/node_modules/d3-format/src/formatTrim.js +2 -4
  690. package/dist/node_modules/d3-format/src/formatTypes.js +13 -15
  691. package/dist/node_modules/d3-format/src/identity.js +2 -4
  692. package/dist/node_modules/d3-format/src/locale.js +31 -33
  693. package/dist/node_modules/d3-format/src/precisionFixed.js +4 -6
  694. package/dist/node_modules/d3-format/src/precisionPrefix.js +4 -6
  695. package/dist/node_modules/d3-format/src/precisionRound.js +4 -6
  696. package/dist/node_modules/d3-hierarchy/src/accessors.js +2 -4
  697. package/dist/node_modules/d3-hierarchy/src/constant.js +3 -5
  698. package/dist/node_modules/d3-hierarchy/src/hierarchy/ancestors.js +2 -4
  699. package/dist/node_modules/d3-hierarchy/src/hierarchy/count.js +4 -6
  700. package/dist/node_modules/d3-hierarchy/src/hierarchy/descendants.js +2 -4
  701. package/dist/node_modules/d3-hierarchy/src/hierarchy/each.js +2 -4
  702. package/dist/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js +2 -4
  703. package/dist/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js +2 -4
  704. package/dist/node_modules/d3-hierarchy/src/hierarchy/find.js +2 -4
  705. package/dist/node_modules/d3-hierarchy/src/hierarchy/index.js +44 -46
  706. package/dist/node_modules/d3-hierarchy/src/hierarchy/iterator.js +2 -4
  707. package/dist/node_modules/d3-hierarchy/src/hierarchy/leaves.js +2 -4
  708. package/dist/node_modules/d3-hierarchy/src/hierarchy/links.js +2 -4
  709. package/dist/node_modules/d3-hierarchy/src/hierarchy/path.js +4 -6
  710. package/dist/node_modules/d3-hierarchy/src/hierarchy/sort.js +2 -4
  711. package/dist/node_modules/d3-hierarchy/src/hierarchy/sum.js +2 -4
  712. package/dist/node_modules/d3-hierarchy/src/treemap/dice.js +2 -4
  713. package/dist/node_modules/d3-hierarchy/src/treemap/index.js +14 -16
  714. package/dist/node_modules/d3-hierarchy/src/treemap/round.js +2 -4
  715. package/dist/node_modules/d3-hierarchy/src/treemap/slice.js +2 -4
  716. package/dist/node_modules/d3-hierarchy/src/treemap/squarify.js +9 -11
  717. package/dist/node_modules/d3-interpolate/src/array.js +4 -6
  718. package/dist/node_modules/d3-interpolate/src/basis.js +4 -6
  719. package/dist/node_modules/d3-interpolate/src/basisClosed.js +4 -6
  720. package/dist/node_modules/d3-interpolate/src/color.js +17 -19
  721. package/dist/node_modules/d3-interpolate/src/constant.js +2 -4
  722. package/dist/node_modules/d3-interpolate/src/date.js +2 -4
  723. package/dist/node_modules/d3-interpolate/src/hcl.js +6 -8
  724. package/dist/node_modules/d3-interpolate/src/number.js +2 -4
  725. package/dist/node_modules/d3-interpolate/src/numberArray.js +3 -5
  726. package/dist/node_modules/d3-interpolate/src/object.js +4 -6
  727. package/dist/node_modules/d3-interpolate/src/rgb.js +9 -11
  728. package/dist/node_modules/d3-interpolate/src/round.js +2 -4
  729. package/dist/node_modules/d3-interpolate/src/string.js +14 -16
  730. package/dist/node_modules/d3-interpolate/src/transform/decompose.js +5 -7
  731. package/dist/node_modules/d3-interpolate/src/transform/index.js +11 -13
  732. package/dist/node_modules/d3-interpolate/src/transform/parse.js +8 -10
  733. package/dist/node_modules/d3-interpolate/src/value.js +12 -14
  734. package/dist/node_modules/d3-interpolate/src/zoom.js +11 -13
  735. package/dist/node_modules/d3-path/src/path.js +14 -16
  736. package/dist/node_modules/d3-sankey/node_modules/d3-array/src/max.js +2 -4
  737. package/dist/node_modules/d3-sankey/node_modules/d3-array/src/min.js +2 -4
  738. package/dist/node_modules/d3-sankey/node_modules/d3-array/src/sum.js +2 -4
  739. package/dist/node_modules/d3-sankey/node_modules/d3-path/src/path.js +12 -13
  740. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/array.js +2 -4
  741. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/constant.js +2 -4
  742. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/link/index.js +17 -19
  743. package/dist/node_modules/d3-sankey/node_modules/d3-shape/src/point.js +3 -5
  744. package/dist/node_modules/d3-sankey/src/align.js +10 -12
  745. package/dist/node_modules/d3-sankey/src/constant.js +2 -4
  746. package/dist/node_modules/d3-sankey/src/sankey.js +168 -170
  747. package/dist/node_modules/d3-sankey/src/sankeyLinkHorizontal.js +6 -8
  748. package/dist/node_modules/d3-scale/src/band.js +9 -11
  749. package/dist/node_modules/d3-scale/src/constant.js +2 -4
  750. package/dist/node_modules/d3-scale/src/continuous.js +47 -49
  751. package/dist/node_modules/d3-scale/src/init.js +2 -4
  752. package/dist/node_modules/d3-scale/src/linear.js +13 -15
  753. package/dist/node_modules/d3-scale/src/nice.js +2 -4
  754. package/dist/node_modules/d3-scale/src/number.js +2 -4
  755. package/dist/node_modules/d3-scale/src/ordinal.js +16 -18
  756. package/dist/node_modules/d3-scale/src/tickFormat.js +14 -16
  757. package/dist/node_modules/d3-scale/src/time.js +34 -36
  758. package/dist/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js +3 -5
  759. package/dist/node_modules/d3-scale-chromatic/src/colors.js +2 -4
  760. package/dist/node_modules/d3-selection/src/array.js +2 -4
  761. package/dist/node_modules/d3-selection/src/constant.js +2 -4
  762. package/dist/node_modules/d3-selection/src/creator.js +10 -12
  763. package/dist/node_modules/d3-selection/src/matcher.js +3 -5
  764. package/dist/node_modules/d3-selection/src/namespace.js +5 -7
  765. package/dist/node_modules/d3-selection/src/namespaces.js +3 -5
  766. package/dist/node_modules/d3-selection/src/pointer.js +4 -6
  767. package/dist/node_modules/d3-selection/src/select.js +4 -6
  768. package/dist/node_modules/d3-selection/src/selection/append.js +4 -6
  769. package/dist/node_modules/d3-selection/src/selection/attr.js +17 -19
  770. package/dist/node_modules/d3-selection/src/selection/call.js +2 -4
  771. package/dist/node_modules/d3-selection/src/selection/classed.js +23 -25
  772. package/dist/node_modules/d3-selection/src/selection/clone.js +5 -7
  773. package/dist/node_modules/d3-selection/src/selection/data.js +16 -18
  774. package/dist/node_modules/d3-selection/src/selection/datum.js +2 -4
  775. package/dist/node_modules/d3-selection/src/selection/dispatch.js +10 -12
  776. package/dist/node_modules/d3-selection/src/selection/each.js +2 -4
  777. package/dist/node_modules/d3-selection/src/selection/empty.js +2 -4
  778. package/dist/node_modules/d3-selection/src/selection/enter.js +11 -13
  779. package/dist/node_modules/d3-selection/src/selection/exit.js +5 -7
  780. package/dist/node_modules/d3-selection/src/selection/filter.js +6 -8
  781. package/dist/node_modules/d3-selection/src/selection/html.js +6 -8
  782. package/dist/node_modules/d3-selection/src/selection/index.js +79 -80
  783. package/dist/node_modules/d3-selection/src/selection/insert.js +6 -8
  784. package/dist/node_modules/d3-selection/src/selection/iterator.js +2 -4
  785. package/dist/node_modules/d3-selection/src/selection/join.js +2 -4
  786. package/dist/node_modules/d3-selection/src/selection/lower.js +4 -6
  787. package/dist/node_modules/d3-selection/src/selection/merge.js +4 -6
  788. package/dist/node_modules/d3-selection/src/selection/node.js +2 -4
  789. package/dist/node_modules/d3-selection/src/selection/nodes.js +2 -4
  790. package/dist/node_modules/d3-selection/src/selection/on.js +9 -11
  791. package/dist/node_modules/d3-selection/src/selection/order.js +2 -4
  792. package/dist/node_modules/d3-selection/src/selection/property.js +6 -8
  793. package/dist/node_modules/d3-selection/src/selection/raise.js +4 -6
  794. package/dist/node_modules/d3-selection/src/selection/remove.js +4 -6
  795. package/dist/node_modules/d3-selection/src/selection/select.js +6 -8
  796. package/dist/node_modules/d3-selection/src/selection/selectAll.js +9 -11
  797. package/dist/node_modules/d3-selection/src/selection/selectChild.js +8 -10
  798. package/dist/node_modules/d3-selection/src/selection/selectChildren.js +8 -10
  799. package/dist/node_modules/d3-selection/src/selection/size.js +2 -4
  800. package/dist/node_modules/d3-selection/src/selection/sort.js +6 -8
  801. package/dist/node_modules/d3-selection/src/selection/sparse.js +2 -4
  802. package/dist/node_modules/d3-selection/src/selection/style.js +12 -14
  803. package/dist/node_modules/d3-selection/src/selection/text.js +6 -8
  804. package/dist/node_modules/d3-selection/src/selector.js +4 -6
  805. package/dist/node_modules/d3-selection/src/selectorAll.js +4 -6
  806. package/dist/node_modules/d3-selection/src/sourceEvent.js +2 -4
  807. package/dist/node_modules/d3-selection/src/window.js +2 -4
  808. package/dist/node_modules/d3-shape/src/arc.js +36 -38
  809. package/dist/node_modules/d3-shape/src/array.js +2 -3
  810. package/dist/node_modules/d3-shape/src/constant.js +2 -4
  811. package/dist/node_modules/d3-shape/src/curve/basis.js +8 -10
  812. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +16 -18
  813. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +7 -9
  814. package/dist/node_modules/d3-shape/src/curve/bump.js +13 -15
  815. package/dist/node_modules/d3-shape/src/curve/bundle.js +7 -9
  816. package/dist/node_modules/d3-shape/src/curve/cardinal.js +8 -10
  817. package/dist/node_modules/d3-shape/src/curve/cardinalClosed.js +10 -12
  818. package/dist/node_modules/d3-shape/src/curve/cardinalOpen.js +7 -9
  819. package/dist/node_modules/d3-shape/src/curve/catmullRom.js +17 -19
  820. package/dist/node_modules/d3-shape/src/curve/catmullRomClosed.js +11 -13
  821. package/dist/node_modules/d3-shape/src/curve/catmullRomOpen.js +8 -10
  822. package/dist/node_modules/d3-shape/src/curve/linear.js +5 -7
  823. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +10 -12
  824. package/dist/node_modules/d3-shape/src/curve/monotone.js +21 -23
  825. package/dist/node_modules/d3-shape/src/curve/natural.js +7 -9
  826. package/dist/node_modules/d3-shape/src/curve/step.js +17 -19
  827. package/dist/node_modules/d3-shape/src/descending.js +2 -4
  828. package/dist/node_modules/d3-shape/src/identity.js +2 -4
  829. package/dist/node_modules/d3-shape/src/line.js +17 -19
  830. package/dist/node_modules/d3-shape/src/math.js +6 -8
  831. package/dist/node_modules/d3-shape/src/noop.js +2 -4
  832. package/dist/node_modules/d3-shape/src/path.js +4 -6
  833. package/dist/node_modules/d3-shape/src/pie.js +13 -15
  834. package/dist/node_modules/d3-shape/src/point.js +3 -5
  835. package/dist/node_modules/d3-time/src/day.js +15 -17
  836. package/dist/node_modules/d3-time/src/duration.js +2 -4
  837. package/dist/node_modules/d3-time/src/hour.js +14 -16
  838. package/dist/node_modules/d3-time/src/interval.js +5 -7
  839. package/dist/node_modules/d3-time/src/millisecond.js +5 -7
  840. package/dist/node_modules/d3-time/src/minute.js +14 -16
  841. package/dist/node_modules/d3-time/src/month.js +12 -14
  842. package/dist/node_modules/d3-time/src/second.js +7 -9
  843. package/dist/node_modules/d3-time/src/ticks.js +64 -66
  844. package/dist/node_modules/d3-time/src/week.js +19 -21
  845. package/dist/node_modules/d3-time/src/year.js +8 -10
  846. package/dist/node_modules/d3-time-format/src/defaultLocale.js +6 -8
  847. package/dist/node_modules/d3-time-format/src/locale.js +344 -346
  848. package/dist/node_modules/d3-timer/src/timeout.js +4 -6
  849. package/dist/node_modules/d3-timer/src/timer.js +31 -33
  850. package/dist/node_modules/d3-transition/src/index.js +2 -2
  851. package/dist/node_modules/d3-transition/src/interrupt.js +3 -4
  852. package/dist/node_modules/d3-transition/src/selection/index.js +4 -5
  853. package/dist/node_modules/d3-transition/src/selection/interrupt.js +4 -6
  854. package/dist/node_modules/d3-transition/src/selection/transition.js +14 -16
  855. package/dist/node_modules/d3-transition/src/transition/attr.js +26 -28
  856. package/dist/node_modules/d3-transition/src/transition/attrTween.js +11 -13
  857. package/dist/node_modules/d3-transition/src/transition/delay.js +9 -11
  858. package/dist/node_modules/d3-transition/src/transition/duration.js +9 -11
  859. package/dist/node_modules/d3-transition/src/transition/ease.js +6 -8
  860. package/dist/node_modules/d3-transition/src/transition/easeVarying.js +6 -8
  861. package/dist/node_modules/d3-transition/src/transition/end.js +4 -6
  862. package/dist/node_modules/d3-transition/src/transition/filter.js +6 -8
  863. package/dist/node_modules/d3-transition/src/transition/index.js +61 -63
  864. package/dist/node_modules/d3-transition/src/transition/interpolate.js +7 -9
  865. package/dist/node_modules/d3-transition/src/transition/merge.js +4 -6
  866. package/dist/node_modules/d3-transition/src/transition/on.js +7 -9
  867. package/dist/node_modules/d3-transition/src/transition/remove.js +4 -6
  868. package/dist/node_modules/d3-transition/src/transition/schedule.js +18 -20
  869. package/dist/node_modules/d3-transition/src/transition/select.js +8 -10
  870. package/dist/node_modules/d3-transition/src/transition/selectAll.js +8 -10
  871. package/dist/node_modules/d3-transition/src/transition/selection.js +5 -7
  872. package/dist/node_modules/d3-transition/src/transition/style.js +19 -21
  873. package/dist/node_modules/d3-transition/src/transition/styleTween.js +6 -8
  874. package/dist/node_modules/d3-transition/src/transition/text.js +6 -8
  875. package/dist/node_modules/d3-transition/src/transition/textTween.js +6 -8
  876. package/dist/node_modules/d3-transition/src/transition/transition.js +8 -10
  877. package/dist/node_modules/d3-transition/src/transition/tween.js +12 -14
  878. package/dist/node_modules/d3-zoom/src/constant.js +2 -4
  879. package/dist/node_modules/d3-zoom/src/event.js +2 -4
  880. package/dist/node_modules/d3-zoom/src/index.js +2 -2
  881. package/dist/node_modules/d3-zoom/src/noevent.js +3 -5
  882. package/dist/node_modules/d3-zoom/src/transform.js +10 -12
  883. package/dist/node_modules/d3-zoom/src/zoom.js +114 -116
  884. package/dist/node_modules/dagre-d3-es/src/dagre/acyclic.js +12 -14
  885. package/dist/node_modules/dagre-d3-es/src/dagre/add-border-segments.js +9 -11
  886. package/dist/node_modules/dagre-d3-es/src/dagre/coordinate-system.js +34 -36
  887. package/dist/node_modules/dagre-d3-es/src/dagre/data/list.js +7 -9
  888. package/dist/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +49 -51
  889. package/dist/node_modules/dagre-d3-es/src/dagre/index.js +2 -2
  890. package/dist/node_modules/dagre-d3-es/src/dagre/layout.js +163 -165
  891. package/dist/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +43 -45
  892. package/dist/node_modules/dagre-d3-es/src/dagre/normalize.js +10 -12
  893. package/dist/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js +4 -6
  894. package/dist/node_modules/dagre-d3-es/src/dagre/order/barycenter.js +6 -8
  895. package/dist/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js +12 -14
  896. package/dist/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +20 -22
  897. package/dist/node_modules/dagre-d3-es/src/dagre/order/index.js +34 -36
  898. package/dist/node_modules/dagre-d3-es/src/dagre/order/init-order.js +13 -15
  899. package/dist/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +30 -32
  900. package/dist/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +28 -30
  901. package/dist/node_modules/dagre-d3-es/src/dagre/order/sort.js +18 -20
  902. package/dist/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js +10 -12
  903. package/dist/node_modules/dagre-d3-es/src/dagre/position/bk.js +148 -150
  904. package/dist/node_modules/dagre-d3-es/src/dagre/position/index.js +18 -20
  905. package/dist/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js +17 -19
  906. package/dist/node_modules/dagre-d3-es/src/dagre/rank/index.js +14 -16
  907. package/dist/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +63 -64
  908. package/dist/node_modules/dagre-d3-es/src/dagre/rank/util.js +8 -10
  909. package/dist/node_modules/dagre-d3-es/src/dagre/util.js +82 -84
  910. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js +13 -15
  911. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.js +2 -3
  912. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.js +2 -3
  913. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/index.js +3 -3
  914. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/postorder.js +4 -6
  915. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/preorder.js +4 -6
  916. package/dist/node_modules/dagre-d3-es/src/graphlib/alg/topsort.js +11 -13
  917. package/dist/node_modules/dagre-d3-es/src/graphlib/graph.js +129 -131
  918. package/dist/node_modules/dagre-d3-es/src/graphlib/index.js +1 -1
  919. package/dist/node_modules/dagre-d3-es/src/graphlib/json.js +16 -18
  920. package/dist/node_modules/dayjs/dayjs.min.js +4 -6
  921. package/dist/node_modules/dayjs/plugin/advancedFormat.js +4 -6
  922. package/dist/node_modules/dayjs/plugin/customParseFormat.js +4 -6
  923. package/dist/node_modules/dayjs/plugin/duration.js +4 -6
  924. package/dist/node_modules/dayjs/plugin/isoWeek.js +4 -6
  925. package/dist/node_modules/decode-named-character-reference/index.dom.js +5 -7
  926. package/dist/node_modules/devlop/lib/default.js +2 -4
  927. package/dist/node_modules/dompurify/dist/purify.es.js +180 -182
  928. package/dist/node_modules/entities/dist/esm/decode-codepoint.js +4 -6
  929. package/dist/node_modules/entities/dist/esm/decode.js +85 -87
  930. package/dist/node_modules/entities/dist/esm/generated/decode-data-html.js +2 -4
  931. package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +4 -6
  932. package/dist/node_modules/extend/index.js +6 -9
  933. package/dist/node_modules/hast-util-from-dom/lib/index.js +30 -32
  934. package/dist/node_modules/hast-util-from-html-isomorphic/lib/browser.js +8 -10
  935. package/dist/node_modules/hast-util-from-parse5/lib/index.js +80 -82
  936. package/dist/node_modules/hast-util-is-element/lib/index.js +15 -17
  937. package/dist/node_modules/hast-util-parse-selector/lib/index.js +5 -7
  938. package/dist/node_modules/hast-util-raw/lib/index.js +134 -136
  939. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.js +21 -23
  940. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.js +3 -5
  941. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.js +89 -89
  942. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.js +249 -250
  943. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.js +4 -6
  944. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.js +14 -14
  945. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/index.js +4 -4
  946. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.js +15 -17
  947. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.js +1495 -1497
  948. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.js +146 -148
  949. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.js +19 -20
  950. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.js +798 -800
  951. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.js +31 -33
  952. package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.js +8 -10
  953. package/dist/node_modules/hast-util-sanitize/lib/index.js +104 -106
  954. package/dist/node_modules/hast-util-sanitize/lib/schema.js +11 -12
  955. package/dist/node_modules/hast-util-to-html/lib/handle/comment.js +7 -9
  956. package/dist/node_modules/hast-util-to-html/lib/handle/doctype.js +2 -4
  957. package/dist/node_modules/hast-util-to-html/lib/handle/element.js +23 -25
  958. package/dist/node_modules/hast-util-to-html/lib/handle/index.js +21 -22
  959. package/dist/node_modules/hast-util-to-html/lib/handle/raw.js +4 -6
  960. package/dist/node_modules/hast-util-to-html/lib/handle/root.js +2 -4
  961. package/dist/node_modules/hast-util-to-html/lib/handle/text.js +5 -7
  962. package/dist/node_modules/hast-util-to-html/lib/index.js +36 -38
  963. package/dist/node_modules/hast-util-to-html/lib/omission/closing.js +68 -70
  964. package/dist/node_modules/hast-util-to-html/lib/omission/omission.js +4 -6
  965. package/dist/node_modules/hast-util-to-html/lib/omission/opening.js +30 -32
  966. package/dist/node_modules/hast-util-to-html/lib/omission/util/siblings.js +9 -10
  967. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +190 -192
  968. package/dist/node_modules/hast-util-to-parse5/lib/index.js +69 -71
  969. package/dist/node_modules/hast-util-to-text/lib/index.js +59 -61
  970. package/dist/node_modules/hast-util-whitespace/lib/index.js +6 -8
  971. package/dist/node_modules/hastscript/lib/create-h.js +24 -26
  972. package/dist/node_modules/hastscript/lib/index.js +5 -7
  973. package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +2 -4
  974. package/dist/node_modules/html-url-attributes/lib/index.js +2 -4
  975. package/dist/node_modules/html-void-elements/index.js +2 -4
  976. package/dist/node_modules/inline-style-parser/cjs/index.js +4 -6
  977. package/dist/node_modules/internmap/src/index.js +20 -22
  978. package/dist/node_modules/katex/dist/katex.js +2307 -2301
  979. package/dist/node_modules/khroma/dist/channels/index.js +21 -23
  980. package/dist/node_modules/khroma/dist/channels/reusable.js +3 -5
  981. package/dist/node_modules/khroma/dist/channels/type.js +5 -7
  982. package/dist/node_modules/khroma/dist/color/hex.js +8 -10
  983. package/dist/node_modules/khroma/dist/color/hsl.js +17 -19
  984. package/dist/node_modules/khroma/dist/color/index.js +15 -17
  985. package/dist/node_modules/khroma/dist/color/keyword.js +8 -10
  986. package/dist/node_modules/khroma/dist/color/rgb.js +12 -14
  987. package/dist/node_modules/khroma/dist/constants.js +5 -7
  988. package/dist/node_modules/khroma/dist/methods/adjust.js +6 -8
  989. package/dist/node_modules/khroma/dist/methods/adjust_channel.js +6 -8
  990. package/dist/node_modules/khroma/dist/methods/change.js +7 -9
  991. package/dist/node_modules/khroma/dist/methods/channel.js +4 -6
  992. package/dist/node_modules/khroma/dist/methods/darken.js +3 -5
  993. package/dist/node_modules/khroma/dist/methods/invert.js +6 -8
  994. package/dist/node_modules/khroma/dist/methods/is_dark.js +3 -5
  995. package/dist/node_modules/khroma/dist/methods/is_light.js +3 -5
  996. package/dist/node_modules/khroma/dist/methods/lighten.js +3 -5
  997. package/dist/node_modules/khroma/dist/methods/luminance.js +6 -8
  998. package/dist/node_modules/khroma/dist/methods/mix.js +6 -8
  999. package/dist/node_modules/khroma/dist/methods/rgba.js +13 -15
  1000. package/dist/node_modules/khroma/dist/methods/transparentize.js +3 -5
  1001. package/dist/node_modules/khroma/dist/utils/channel.js +6 -8
  1002. package/dist/node_modules/khroma/dist/utils/index.js +8 -10
  1003. package/dist/node_modules/khroma/dist/utils/lang.js +2 -4
  1004. package/dist/node_modules/khroma/dist/utils/unit.js +2 -4
  1005. package/dist/node_modules/langium/lib/default-module.js +64 -66
  1006. package/dist/node_modules/langium/lib/dependency-injection.js +39 -37
  1007. package/dist/node_modules/langium/lib/documentation/comment-provider.js +5 -7
  1008. package/dist/node_modules/langium/lib/documentation/documentation-provider.js +6 -8
  1009. package/dist/node_modules/langium/lib/documentation/jsdoc.js +202 -204
  1010. package/dist/node_modules/langium/lib/index.js +182 -0
  1011. package/dist/node_modules/langium/lib/languages/generated/ast.js +534 -343
  1012. package/dist/node_modules/langium/lib/languages/grammar-config.js +8 -10
  1013. package/dist/node_modules/langium/lib/parser/async-parser.js +76 -4
  1014. package/dist/node_modules/langium/lib/parser/completion-parser-builder.js +6 -8
  1015. package/dist/node_modules/langium/lib/parser/cst-node-builder.js +54 -56
  1016. package/dist/node_modules/langium/lib/parser/indentation-aware.js +141 -0
  1017. package/dist/node_modules/langium/lib/parser/langium-parser-builder.js +7 -9
  1018. package/dist/node_modules/langium/lib/parser/langium-parser.js +188 -190
  1019. package/dist/node_modules/langium/lib/parser/lexer.js +25 -25
  1020. package/dist/node_modules/langium/lib/parser/parser-builder-base.js +203 -204
  1021. package/dist/node_modules/langium/lib/parser/token-builder.js +30 -32
  1022. package/dist/node_modules/langium/lib/parser/value-converter.js +15 -17
  1023. package/dist/node_modules/langium/lib/references/linker.js +103 -104
  1024. package/dist/node_modules/langium/lib/references/name-provider.js +7 -9
  1025. package/dist/node_modules/langium/lib/references/references.js +51 -53
  1026. package/dist/node_modules/langium/lib/references/scope-computation.js +12 -14
  1027. package/dist/node_modules/langium/lib/references/scope-provider.js +11 -13
  1028. package/dist/node_modules/langium/lib/references/scope.js +56 -27
  1029. package/dist/node_modules/langium/lib/serializer/hydrator.js +69 -71
  1030. package/dist/node_modules/langium/lib/serializer/json-serializer.js +21 -23
  1031. package/dist/node_modules/langium/lib/service-registry.js +5 -7
  1032. package/dist/node_modules/langium/lib/syntax-tree.js +31 -33
  1033. package/dist/node_modules/langium/lib/utils/ast-utils.js +112 -77
  1034. package/dist/node_modules/langium/lib/utils/caching.js +42 -33
  1035. package/dist/node_modules/langium/lib/utils/cancellation.js +5 -7
  1036. package/dist/node_modules/langium/lib/utils/collections.js +33 -35
  1037. package/dist/node_modules/langium/lib/utils/cst-utils.js +161 -46
  1038. package/dist/node_modules/langium/lib/utils/disposable.js +3 -5
  1039. package/dist/node_modules/langium/lib/utils/errors.js +9 -8
  1040. package/dist/node_modules/langium/lib/utils/event.js +5 -7
  1041. package/dist/node_modules/langium/lib/utils/grammar-loader.js +14 -16
  1042. package/dist/node_modules/langium/lib/utils/grammar-utils.js +249 -172
  1043. package/dist/node_modules/langium/lib/utils/index.js +53 -0
  1044. package/dist/node_modules/langium/lib/utils/promise-utils.js +19 -18
  1045. package/dist/node_modules/langium/lib/utils/regexp-utils.js +76 -53
  1046. package/dist/node_modules/langium/lib/utils/stream.js +153 -155
  1047. package/dist/node_modules/langium/lib/utils/uri-utils.js +12 -14
  1048. package/dist/node_modules/langium/lib/validation/document-validator.js +103 -104
  1049. package/dist/node_modules/langium/lib/validation/validation-registry.js +14 -15
  1050. package/dist/node_modules/langium/lib/workspace/ast-descriptions.js +17 -19
  1051. package/dist/node_modules/langium/lib/workspace/ast-node-locator.js +2 -4
  1052. package/dist/node_modules/langium/lib/workspace/configuration.js +5 -7
  1053. package/dist/node_modules/langium/lib/workspace/document-builder.js +134 -131
  1054. package/dist/node_modules/langium/lib/workspace/documents.js +83 -85
  1055. package/dist/node_modules/langium/lib/workspace/file-system-provider.js +4 -5
  1056. package/dist/node_modules/langium/lib/workspace/index-manager.js +14 -16
  1057. package/dist/node_modules/langium/lib/workspace/profiler.js +89 -0
  1058. package/dist/node_modules/langium/lib/workspace/workspace-lock.js +9 -11
  1059. package/dist/node_modules/langium/lib/workspace/workspace-manager.js +33 -35
  1060. package/dist/node_modules/layout-base/layout-base.js +4 -6
  1061. package/dist/node_modules/lodash/_Symbol.js +7 -0
  1062. package/dist/node_modules/lodash/_baseGetTag.js +13 -0
  1063. package/dist/node_modules/lodash/_baseTrim.js +11 -0
  1064. package/dist/node_modules/lodash/_freeGlobal.js +6 -0
  1065. package/dist/node_modules/lodash/_getRawTag.js +17 -0
  1066. package/dist/node_modules/lodash/_objectToString.js +10 -0
  1067. package/dist/node_modules/lodash/_root.js +8 -0
  1068. package/dist/node_modules/lodash/_trimmedEndIndex.js +11 -0
  1069. package/dist/{frontend/studio/node_modules → node_modules}/lodash/debounce.js +8 -10
  1070. package/dist/node_modules/lodash/isObject.js +10 -0
  1071. package/dist/node_modules/lodash/isObjectLike.js +9 -0
  1072. package/dist/node_modules/lodash/isSymbol.js +12 -0
  1073. package/dist/node_modules/lodash/now.js +10 -0
  1074. package/dist/node_modules/lodash/toNumber.js +22 -0
  1075. package/dist/node_modules/lodash-es/_DataView.js +4 -6
  1076. package/dist/node_modules/lodash-es/_Hash.js +13 -14
  1077. package/dist/node_modules/lodash-es/_ListCache.js +13 -14
  1078. package/dist/node_modules/lodash-es/_Map.js +4 -6
  1079. package/dist/node_modules/lodash-es/_MapCache.js +13 -14
  1080. package/dist/node_modules/lodash-es/_Promise.js +4 -6
  1081. package/dist/node_modules/lodash-es/_Set.js +4 -6
  1082. package/dist/node_modules/lodash-es/_SetCache.js +9 -10
  1083. package/dist/node_modules/lodash-es/_Stack.js +11 -12
  1084. package/dist/node_modules/lodash-es/_Symbol.js +3 -5
  1085. package/dist/node_modules/lodash-es/_Uint8Array.js +3 -5
  1086. package/dist/node_modules/lodash-es/_WeakMap.js +4 -6
  1087. package/dist/node_modules/lodash-es/_apply.js +3 -4
  1088. package/dist/node_modules/lodash-es/_arrayEach.js +3 -4
  1089. package/dist/node_modules/lodash-es/_arrayFilter.js +3 -4
  1090. package/dist/node_modules/lodash-es/_arrayIncludes.js +5 -6
  1091. package/dist/node_modules/lodash-es/_arrayIncludesWith.js +3 -4
  1092. package/dist/node_modules/lodash-es/_arrayLikeKeys.js +12 -13
  1093. package/dist/node_modules/lodash-es/_arrayMap.js +3 -4
  1094. package/dist/node_modules/lodash-es/_arrayPush.js +3 -4
  1095. package/dist/node_modules/lodash-es/_arrayReduce.js +3 -4
  1096. package/dist/node_modules/lodash-es/_arraySome.js +3 -4
  1097. package/dist/node_modules/lodash-es/_asciiSize.js +3 -5
  1098. package/dist/node_modules/lodash-es/_assignMergeValue.js +6 -7
  1099. package/dist/node_modules/lodash-es/_assignValue.js +7 -8
  1100. package/dist/node_modules/lodash-es/_assocIndexOf.js +5 -6
  1101. package/dist/node_modules/lodash-es/_baseAssign.js +6 -7
  1102. package/dist/node_modules/lodash-es/_baseAssignIn.js +6 -7
  1103. package/dist/node_modules/lodash-es/_baseAssignValue.js +5 -6
  1104. package/dist/node_modules/lodash-es/_baseClone.js +50 -51
  1105. package/dist/node_modules/lodash-es/_baseCreate.js +5 -7
  1106. package/dist/node_modules/lodash-es/_baseEach.js +4 -6
  1107. package/dist/node_modules/lodash-es/_baseExtremum.js +5 -6
  1108. package/dist/node_modules/lodash-es/_baseFilter.js +5 -6
  1109. package/dist/node_modules/lodash-es/_baseFindIndex.js +3 -4
  1110. package/dist/node_modules/lodash-es/_baseFlatten.js +7 -8
  1111. package/dist/node_modules/lodash-es/_baseFor.js +3 -5
  1112. package/dist/node_modules/lodash-es/_baseForOwn.js +6 -7
  1113. package/dist/node_modules/lodash-es/_baseGet.js +7 -8
  1114. package/dist/node_modules/lodash-es/_baseGetAllKeys.js +6 -7
  1115. package/dist/node_modules/lodash-es/_baseGetTag.js +8 -9
  1116. package/dist/node_modules/lodash-es/_baseGt.js +3 -4
  1117. package/dist/node_modules/lodash-es/_baseHas.js +5 -6
  1118. package/dist/node_modules/lodash-es/_baseHasIn.js +3 -4
  1119. package/dist/node_modules/lodash-es/_baseIndexOf.js +7 -8
  1120. package/dist/node_modules/lodash-es/_baseIsArguments.js +7 -8
  1121. package/dist/node_modules/lodash-es/_baseIsEqual.js +6 -7
  1122. package/dist/node_modules/lodash-es/_baseIsEqualDeep.js +22 -23
  1123. package/dist/node_modules/lodash-es/_baseIsMap.js +7 -8
  1124. package/dist/node_modules/lodash-es/_baseIsMatch.js +8 -9
  1125. package/dist/node_modules/lodash-es/_baseIsNaN.js +3 -4
  1126. package/dist/node_modules/lodash-es/_baseIsNative.js +9 -10
  1127. package/dist/node_modules/lodash-es/_baseIsSet.js +7 -8
  1128. package/dist/node_modules/lodash-es/_baseIsTypedArray.js +9 -10
  1129. package/dist/node_modules/lodash-es/_baseIteratee.js +9 -10
  1130. package/dist/node_modules/lodash-es/_baseKeys.js +8 -9
  1131. package/dist/node_modules/lodash-es/_baseKeysIn.js +10 -11
  1132. package/dist/node_modules/lodash-es/_baseLt.js +3 -4
  1133. package/dist/node_modules/lodash-es/_baseMap.js +7 -8
  1134. package/dist/node_modules/lodash-es/_baseMatches.js +9 -10
  1135. package/dist/node_modules/lodash-es/_baseMatchesProperty.js +14 -15
  1136. package/dist/node_modules/lodash-es/_baseMerge.js +15 -16
  1137. package/dist/node_modules/lodash-es/_baseMergeDeep.js +23 -24
  1138. package/dist/node_modules/lodash-es/_baseOrderBy.js +22 -23
  1139. package/dist/node_modules/lodash-es/_basePick.js +7 -8
  1140. package/dist/node_modules/lodash-es/_basePickBy.js +8 -9
  1141. package/dist/node_modules/lodash-es/_baseProperty.js +3 -4
  1142. package/dist/node_modules/lodash-es/_basePropertyDeep.js +5 -6
  1143. package/dist/node_modules/lodash-es/_baseRange.js +5 -6
  1144. package/dist/node_modules/lodash-es/_baseReduce.js +3 -4
  1145. package/dist/node_modules/lodash-es/_baseRest.js +7 -8
  1146. package/dist/node_modules/lodash-es/_baseSet.js +13 -14
  1147. package/dist/node_modules/lodash-es/_baseSetToString.js +8 -10
  1148. package/dist/node_modules/lodash-es/_baseSortBy.js +3 -4
  1149. package/dist/node_modules/lodash-es/_baseTimes.js +3 -4
  1150. package/dist/node_modules/lodash-es/_baseToString.js +12 -13
  1151. package/dist/node_modules/lodash-es/_baseTrim.js +6 -7
  1152. package/dist/node_modules/lodash-es/_baseUnary.js +3 -4
  1153. package/dist/node_modules/lodash-es/_baseUniq.js +16 -17
  1154. package/dist/node_modules/lodash-es/_baseValues.js +5 -6
  1155. package/dist/node_modules/lodash-es/_baseZipObject.js +3 -4
  1156. package/dist/node_modules/lodash-es/_cacheHas.js +3 -4
  1157. package/dist/node_modules/lodash-es/_castFunction.js +5 -6
  1158. package/dist/node_modules/lodash-es/_castPath.js +8 -9
  1159. package/dist/node_modules/lodash-es/_cloneArrayBuffer.js +5 -6
  1160. package/dist/node_modules/lodash-es/_cloneBuffer.js +8 -9
  1161. package/dist/node_modules/lodash-es/_cloneDataView.js +5 -6
  1162. package/dist/node_modules/lodash-es/_cloneRegExp.js +5 -6
  1163. package/dist/node_modules/lodash-es/_cloneSymbol.js +6 -7
  1164. package/dist/node_modules/lodash-es/_cloneTypedArray.js +5 -6
  1165. package/dist/node_modules/lodash-es/_compareAscending.js +5 -6
  1166. package/dist/node_modules/lodash-es/_compareMultiple.js +5 -6
  1167. package/dist/node_modules/lodash-es/_copyArray.js +3 -4
  1168. package/dist/node_modules/lodash-es/_copyObject.js +6 -7
  1169. package/dist/node_modules/lodash-es/_copySymbols.js +6 -7
  1170. package/dist/node_modules/lodash-es/_copySymbolsIn.js +6 -7
  1171. package/dist/node_modules/lodash-es/_coreJsData.js +3 -5
  1172. package/dist/node_modules/lodash-es/_createAssigner.js +7 -8
  1173. package/dist/node_modules/lodash-es/_createBaseEach.js +5 -6
  1174. package/dist/node_modules/lodash-es/_createBaseFor.js +3 -4
  1175. package/dist/node_modules/lodash-es/_createFind.js +9 -10
  1176. package/dist/node_modules/lodash-es/_createRange.js +7 -8
  1177. package/dist/node_modules/lodash-es/_createSet.js +7 -9
  1178. package/dist/node_modules/lodash-es/_defineProperty.js +4 -6
  1179. package/dist/node_modules/lodash-es/_equalArrays.js +11 -12
  1180. package/dist/node_modules/lodash-es/_equalByTag.js +28 -29
  1181. package/dist/node_modules/lodash-es/_equalObjects.js +8 -9
  1182. package/dist/node_modules/lodash-es/_flatRest.js +7 -8
  1183. package/dist/node_modules/lodash-es/_freeGlobal.js +2 -4
  1184. package/dist/node_modules/lodash-es/_getAllKeys.js +7 -8
  1185. package/dist/node_modules/lodash-es/_getAllKeysIn.js +7 -8
  1186. package/dist/node_modules/lodash-es/_getMapData.js +5 -6
  1187. package/dist/node_modules/lodash-es/_getMatchData.js +7 -8
  1188. package/dist/node_modules/lodash-es/_getNative.js +7 -8
  1189. package/dist/node_modules/lodash-es/_getPrototype.js +3 -5
  1190. package/dist/node_modules/lodash-es/_getRawTag.js +9 -10
  1191. package/dist/node_modules/lodash-es/_getSymbols.js +7 -9
  1192. package/dist/node_modules/lodash-es/_getSymbolsIn.js +8 -10
  1193. package/dist/node_modules/lodash-es/_getTag.js +19 -21
  1194. package/dist/node_modules/lodash-es/_getValue.js +3 -4
  1195. package/dist/node_modules/lodash-es/_hasPath.js +12 -13
  1196. package/dist/node_modules/lodash-es/_hasUnicode.js +5 -6
  1197. package/dist/node_modules/lodash-es/_hashClear.js +5 -6
  1198. package/dist/node_modules/lodash-es/_hashDelete.js +4 -5
  1199. package/dist/node_modules/lodash-es/_hashGet.js +8 -9
  1200. package/dist/node_modules/lodash-es/_hashHas.js +6 -7
  1201. package/dist/node_modules/lodash-es/_hashSet.js +6 -7
  1202. package/dist/node_modules/lodash-es/_initCloneArray.js +5 -6
  1203. package/dist/node_modules/lodash-es/_initCloneByTag.js +28 -29
  1204. package/dist/node_modules/lodash-es/_initCloneObject.js +7 -8
  1205. package/dist/node_modules/lodash-es/_isFlattenable.js +8 -9
  1206. package/dist/node_modules/lodash-es/_isIndex.js +5 -6
  1207. package/dist/node_modules/lodash-es/_isIterateeCall.js +9 -10
  1208. package/dist/node_modules/lodash-es/_isKey.js +8 -9
  1209. package/dist/node_modules/lodash-es/_isKeyable.js +3 -4
  1210. package/dist/node_modules/lodash-es/_isMasked.js +8 -9
  1211. package/dist/node_modules/lodash-es/_isPrototype.js +5 -6
  1212. package/dist/node_modules/lodash-es/_isStrictComparable.js +5 -6
  1213. package/dist/node_modules/lodash-es/_listCacheClear.js +3 -4
  1214. package/dist/node_modules/lodash-es/_listCacheDelete.js +7 -8
  1215. package/dist/node_modules/lodash-es/_listCacheGet.js +5 -6
  1216. package/dist/node_modules/lodash-es/_listCacheHas.js +5 -6
  1217. package/dist/node_modules/lodash-es/_listCacheSet.js +5 -6
  1218. package/dist/node_modules/lodash-es/_mapCacheClear.js +9 -10
  1219. package/dist/node_modules/lodash-es/_mapCacheDelete.js +6 -7
  1220. package/dist/node_modules/lodash-es/_mapCacheGet.js +5 -6
  1221. package/dist/node_modules/lodash-es/_mapCacheHas.js +5 -6
  1222. package/dist/node_modules/lodash-es/_mapCacheSet.js +5 -6
  1223. package/dist/node_modules/lodash-es/_mapToArray.js +3 -4
  1224. package/dist/node_modules/lodash-es/_matchesStrictComparable.js +3 -4
  1225. package/dist/node_modules/lodash-es/_memoizeCapped.js +7 -8
  1226. package/dist/node_modules/lodash-es/_nativeCreate.js +3 -5
  1227. package/dist/node_modules/lodash-es/_nativeKeys.js +3 -5
  1228. package/dist/node_modules/lodash-es/_nativeKeysIn.js +3 -4
  1229. package/dist/node_modules/lodash-es/_nodeUtil.js +4 -6
  1230. package/dist/node_modules/lodash-es/_objectToString.js +5 -6
  1231. package/dist/node_modules/lodash-es/_overArg.js +3 -4
  1232. package/dist/node_modules/lodash-es/_overRest.js +8 -9
  1233. package/dist/node_modules/lodash-es/_root.js +3 -5
  1234. package/dist/node_modules/lodash-es/_safeGet.js +3 -4
  1235. package/dist/node_modules/lodash-es/_setCacheAdd.js +5 -6
  1236. package/dist/node_modules/lodash-es/_setCacheHas.js +3 -4
  1237. package/dist/node_modules/lodash-es/_setToArray.js +3 -4
  1238. package/dist/node_modules/lodash-es/_setToString.js +4 -6
  1239. package/dist/node_modules/lodash-es/_shortOut.js +6 -7
  1240. package/dist/node_modules/lodash-es/_stackClear.js +5 -6
  1241. package/dist/node_modules/lodash-es/_stackDelete.js +3 -4
  1242. package/dist/node_modules/lodash-es/_stackGet.js +3 -4
  1243. package/dist/node_modules/lodash-es/_stackHas.js +3 -4
  1244. package/dist/node_modules/lodash-es/_stackSet.js +10 -11
  1245. package/dist/node_modules/lodash-es/_strictIndexOf.js +3 -4
  1246. package/dist/node_modules/lodash-es/_stringSize.js +7 -8
  1247. package/dist/node_modules/lodash-es/_stringToPath.js +5 -7
  1248. package/dist/node_modules/lodash-es/_toKey.js +7 -8
  1249. package/dist/node_modules/lodash-es/_toSource.js +7 -8
  1250. package/dist/node_modules/lodash-es/_trimmedEndIndex.js +5 -6
  1251. package/dist/node_modules/lodash-es/_unicodeSize.js +16 -17
  1252. package/dist/node_modules/lodash-es/clone.js +6 -7
  1253. package/dist/node_modules/lodash-es/cloneDeep.js +6 -7
  1254. package/dist/node_modules/lodash-es/constant.js +3 -4
  1255. package/dist/node_modules/lodash-es/defaults.js +11 -13
  1256. package/dist/node_modules/lodash-es/eq.js +3 -4
  1257. package/dist/node_modules/lodash-es/filter.js +8 -9
  1258. package/dist/node_modules/lodash-es/find.js +4 -6
  1259. package/dist/node_modules/lodash-es/findIndex.js +9 -10
  1260. package/dist/node_modules/lodash-es/flatMap.js +6 -7
  1261. package/dist/node_modules/lodash-es/flatten.js +5 -6
  1262. package/dist/node_modules/lodash-es/forEach.js +8 -9
  1263. package/dist/node_modules/lodash-es/forIn.js +7 -8
  1264. package/dist/node_modules/lodash-es/forOwn.js +6 -7
  1265. package/dist/node_modules/lodash-es/get.js +5 -6
  1266. package/dist/node_modules/lodash-es/has.js +6 -7
  1267. package/dist/node_modules/lodash-es/hasIn.js +6 -7
  1268. package/dist/node_modules/lodash-es/identity.js +3 -4
  1269. package/dist/node_modules/lodash-es/isArguments.js +6 -8
  1270. package/dist/node_modules/lodash-es/isArray.js +2 -4
  1271. package/dist/node_modules/lodash-es/isArrayLike.js +6 -7
  1272. package/dist/node_modules/lodash-es/isArrayLikeObject.js +6 -7
  1273. package/dist/node_modules/lodash-es/isBuffer.js +4 -6
  1274. package/dist/node_modules/lodash-es/isEmpty.js +17 -18
  1275. package/dist/node_modules/lodash-es/isFunction.js +9 -10
  1276. package/dist/node_modules/lodash-es/isLength.js +5 -6
  1277. package/dist/node_modules/lodash-es/isMap.js +5 -7
  1278. package/dist/node_modules/lodash-es/isObject.js +3 -4
  1279. package/dist/node_modules/lodash-es/isObjectLike.js +3 -4
  1280. package/dist/node_modules/lodash-es/isPlainObject.js +12 -13
  1281. package/dist/node_modules/lodash-es/isSet.js +5 -7
  1282. package/dist/node_modules/lodash-es/isString.js +8 -9
  1283. package/dist/node_modules/lodash-es/isSymbol.js +7 -8
  1284. package/dist/node_modules/lodash-es/isTypedArray.js +5 -7
  1285. package/dist/node_modules/lodash-es/isUndefined.js +3 -4
  1286. package/dist/node_modules/lodash-es/keys.js +7 -8
  1287. package/dist/node_modules/lodash-es/keysIn.js +7 -8
  1288. package/dist/node_modules/lodash-es/last.js +3 -4
  1289. package/dist/node_modules/lodash-es/map.js +8 -9
  1290. package/dist/node_modules/lodash-es/mapValues.js +8 -9
  1291. package/dist/node_modules/lodash-es/max.js +7 -8
  1292. package/dist/node_modules/lodash-es/memoize.js +8 -9
  1293. package/dist/node_modules/lodash-es/merge.js +5 -7
  1294. package/dist/node_modules/lodash-es/min.js +7 -8
  1295. package/dist/node_modules/lodash-es/minBy.js +7 -8
  1296. package/dist/node_modules/lodash-es/noop.js +3 -4
  1297. package/dist/node_modules/lodash-es/now.js +4 -6
  1298. package/dist/node_modules/lodash-es/pick.js +5 -7
  1299. package/dist/node_modules/lodash-es/property.js +8 -9
  1300. package/dist/node_modules/lodash-es/range.js +3 -5
  1301. package/dist/node_modules/lodash-es/reduce.js +10 -11
  1302. package/dist/node_modules/lodash-es/size.js +12 -13
  1303. package/dist/node_modules/lodash-es/sortBy.js +7 -9
  1304. package/dist/node_modules/lodash-es/stubArray.js +3 -4
  1305. package/dist/node_modules/lodash-es/stubFalse.js +3 -4
  1306. package/dist/node_modules/lodash-es/toFinite.js +6 -7
  1307. package/dist/node_modules/lodash-es/toInteger.js +5 -6
  1308. package/dist/node_modules/lodash-es/toNumber.js +13 -14
  1309. package/dist/node_modules/lodash-es/toPlainObject.js +6 -7
  1310. package/dist/node_modules/lodash-es/toString.js +5 -6
  1311. package/dist/node_modules/lodash-es/union.js +7 -9
  1312. package/dist/node_modules/lodash-es/uniqBy.js +6 -7
  1313. package/dist/node_modules/lodash-es/uniqueId.js +7 -8
  1314. package/dist/node_modules/lodash-es/values.js +6 -7
  1315. package/dist/node_modules/lodash-es/zipObject.js +6 -7
  1316. package/dist/node_modules/longest-streak/index.js +2 -4
  1317. package/dist/node_modules/markdown-table/index.js +9 -11
  1318. package/dist/node_modules/marked/lib/marked.esm.js +685 -687
  1319. package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +12 -14
  1320. package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +2 -4
  1321. package/dist/node_modules/mdast-util-from-markdown/lib/index.js +180 -182
  1322. package/dist/node_modules/mdast-util-gfm/lib/index.js +18 -20
  1323. package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +67 -69
  1324. package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +45 -47
  1325. package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +13 -15
  1326. package/dist/node_modules/mdast-util-gfm-table/lib/index.js +28 -30
  1327. package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +14 -16
  1328. package/dist/node_modules/mdast-util-math/lib/index.js +13 -15
  1329. package/dist/node_modules/mdast-util-phrasing/lib/index.js +3 -5
  1330. package/dist/node_modules/mdast-util-to-hast/lib/footer.js +9 -11
  1331. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +2 -4
  1332. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +2 -4
  1333. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +2 -4
  1334. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +2 -4
  1335. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +2 -4
  1336. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +4 -6
  1337. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +2 -4
  1338. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +2 -4
  1339. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +6 -8
  1340. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +4 -6
  1341. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +53 -55
  1342. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +2 -4
  1343. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +6 -8
  1344. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +4 -6
  1345. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +13 -15
  1346. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +2 -4
  1347. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +2 -4
  1348. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +2 -4
  1349. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +2 -4
  1350. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +2 -4
  1351. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +2 -4
  1352. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +4 -6
  1353. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +4 -6
  1354. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +2 -4
  1355. package/dist/node_modules/mdast-util-to-hast/lib/index.js +6 -8
  1356. package/dist/node_modules/mdast-util-to-hast/lib/revert.js +2 -4
  1357. package/dist/node_modules/mdast-util-to-hast/lib/state.js +59 -61
  1358. package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +4 -6
  1359. package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +4 -6
  1360. package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +16 -18
  1361. package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +4 -6
  1362. package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +12 -14
  1363. package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +6 -8
  1364. package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +4 -6
  1365. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +4 -6
  1366. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +6 -8
  1367. package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +41 -43
  1368. package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +5 -7
  1369. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +4 -6
  1370. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +9 -11
  1371. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +5 -7
  1372. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +10 -12
  1373. package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +2 -4
  1374. package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +4 -6
  1375. package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +12 -14
  1376. package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +2 -4
  1377. package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +5 -7
  1378. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +2 -4
  1379. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +4 -6
  1380. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +2 -4
  1381. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +2 -4
  1382. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +2 -4
  1383. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +2 -4
  1384. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +2 -4
  1385. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +2 -4
  1386. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +2 -4
  1387. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +2 -4
  1388. package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +2 -4
  1389. package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +4 -6
  1390. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +2 -4
  1391. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +7 -8
  1392. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +4 -6
  1393. package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +4 -6
  1394. package/dist/node_modules/mdast-util-to-string/lib/index.js +12 -14
  1395. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-Q4EWVU46.js +374 -378
  1396. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-DXYQGD6D.js +1347 -1349
  1397. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-AHTNJAMY.js +549 -555
  1398. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-336JU56O.js +38 -40
  1399. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-426QAEUC.js +7 -9
  1400. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.js +4 -6
  1401. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4TB4RGXK.js +198 -204
  1402. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js +5 -7
  1403. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5FUZZQ4R.js +2345 -2347
  1404. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5PVQY5BW.js +253 -257
  1405. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.js +20 -22
  1406. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-BSJP7CBP.js +35 -37
  1407. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EDXVE4YY.js +15 -17
  1408. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ENJZ2VHE.js +344 -346
  1409. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.js +3 -5
  1410. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICPOFSXX.js +718 -746
  1411. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OYMX7WX6.js +588 -594
  1412. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.js +4 -8
  1413. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-U2HBQHQK.js +204 -206
  1414. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-X2U36JSP.js +37 -39
  1415. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XPW4576I.js +891 -893
  1416. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-YZCP3GAM.js +37 -39
  1417. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ZZ45TVLE.js +13 -15
  1418. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-6PBFFD2Q.js +9 -11
  1419. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-HSJHXN6E.js +9 -11
  1420. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +114 -116
  1421. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-KV5264BT.js +188 -190
  1422. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-5BDNPKRD.js +70 -72
  1423. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-G4DWMVQ6.js +185 -189
  1424. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-MMDJMWI5.js +154 -156
  1425. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-TYMM5635.js +72 -76
  1426. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-SMLLAGMA.js +75 -79
  1427. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-DWJPFMVM.js +896 -900
  1428. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-T4ZO3ILL.js +685 -687
  1429. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-UUTBAWPF.js +569 -571
  1430. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-42DDH7IO.js +15 -17
  1431. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ishikawaDiagram-UXIWVN3A.js +304 -308
  1432. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-VCZTEJTY.js +377 -379
  1433. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-6JOO6SKY.js +114 -116
  1434. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-QFDTVHPH.js +87 -91
  1435. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-DEJITSTG.js +94 -96
  1436. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-34T5L4WZ.js +273 -279
  1437. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-MS252O5E.js +59 -63
  1438. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-XADWPNL6.js +202 -212
  1439. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-FGHM5R23.js +564 -568
  1440. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FHFEXIEX.js +155 -157
  1441. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-QKLJ7IA2.js +9 -11
  1442. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-GMOUNBTQ.js +559 -561
  1443. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-DHZGUBPP.js +370 -372
  1444. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-NUSXRM2D.js +450 -454
  1445. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-5P7HB3ND.js +658 -680
  1446. package/dist/node_modules/mermaid/dist/mermaid.core.js +430 -434
  1447. package/dist/node_modules/micromark/lib/constructs.js +79 -80
  1448. package/dist/node_modules/micromark/lib/create-tokenizer.js +12 -14
  1449. package/dist/node_modules/micromark/lib/initialize/content.js +7 -9
  1450. package/dist/node_modules/micromark/lib/initialize/document.js +14 -15
  1451. package/dist/node_modules/micromark/lib/initialize/flow.js +7 -9
  1452. package/dist/node_modules/micromark/lib/initialize/text.js +6 -8
  1453. package/dist/node_modules/micromark/lib/parse.js +18 -20
  1454. package/dist/node_modules/micromark/lib/postprocess.js +4 -6
  1455. package/dist/node_modules/micromark/lib/preprocess.js +4 -6
  1456. package/dist/node_modules/micromark-core-commonmark/lib/attention.js +18 -20
  1457. package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +15 -17
  1458. package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +9 -11
  1459. package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +13 -15
  1460. package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +6 -8
  1461. package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +14 -16
  1462. package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +21 -22
  1463. package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +15 -16
  1464. package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +11 -13
  1465. package/dist/node_modules/micromark-core-commonmark/lib/content.js +17 -18
  1466. package/dist/node_modules/micromark-core-commonmark/lib/definition.js +29 -30
  1467. package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +6 -8
  1468. package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +13 -15
  1469. package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +67 -68
  1470. package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +64 -66
  1471. package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +111 -112
  1472. package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +6 -8
  1473. package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +6 -8
  1474. package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +6 -8
  1475. package/dist/node_modules/micromark-core-commonmark/lib/list.js +31 -32
  1476. package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +10 -12
  1477. package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +9 -11
  1478. package/dist/node_modules/micromark-extension-gfm/index.js +14 -16
  1479. package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +120 -122
  1480. package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +31 -33
  1481. package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +9 -11
  1482. package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +4 -6
  1483. package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +2 -4
  1484. package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +34 -36
  1485. package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +18 -20
  1486. package/dist/node_modules/micromark-extension-math/lib/math-flow.js +20 -21
  1487. package/dist/node_modules/micromark-extension-math/lib/math-text.js +9 -11
  1488. package/dist/node_modules/micromark-extension-math/lib/syntax.js +6 -8
  1489. package/dist/node_modules/micromark-factory-destination/index.js +8 -10
  1490. package/dist/node_modules/micromark-factory-label/index.js +5 -7
  1491. package/dist/node_modules/micromark-factory-space/index.js +5 -7
  1492. package/dist/node_modules/micromark-factory-title/index.js +6 -8
  1493. package/dist/node_modules/micromark-factory-whitespace/index.js +5 -7
  1494. package/dist/node_modules/micromark-util-character/index.js +12 -14
  1495. package/dist/node_modules/micromark-util-chunked/index.js +4 -6
  1496. package/dist/node_modules/micromark-util-classify-character/index.js +5 -7
  1497. package/dist/node_modules/micromark-util-combine-extensions/index.js +11 -13
  1498. package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +2 -4
  1499. package/dist/node_modules/micromark-util-decode-string/index.js +9 -11
  1500. package/dist/node_modules/micromark-util-html-tag-name/index.js +2 -4
  1501. package/dist/node_modules/micromark-util-normalize-identifier/index.js +2 -4
  1502. package/dist/node_modules/micromark-util-resolve-all/index.js +2 -4
  1503. package/dist/node_modules/micromark-util-sanitize-uri/index.js +4 -6
  1504. package/dist/node_modules/micromark-util-subtokenize/index.js +8 -10
  1505. package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +8 -10
  1506. package/dist/node_modules/motion/dist/es/react.js +2 -2
  1507. package/dist/node_modules/nanoid/index.browser.js +4 -6
  1508. package/dist/node_modules/nanoid/url-alphabet/index.js +2 -4
  1509. package/dist/node_modules/property-information/index.js +23 -25
  1510. package/dist/node_modules/property-information/lib/aria.js +39 -41
  1511. package/dist/node_modules/property-information/lib/find.js +16 -18
  1512. package/dist/node_modules/property-information/lib/hast-to-react.js +2 -4
  1513. package/dist/node_modules/property-information/lib/html.js +94 -96
  1514. package/dist/node_modules/property-information/lib/normalize.js +2 -4
  1515. package/dist/node_modules/property-information/lib/svg.js +77 -79
  1516. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +4 -6
  1517. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +2 -4
  1518. package/dist/node_modules/property-information/lib/util/create.js +8 -10
  1519. package/dist/node_modules/property-information/lib/util/defined-info.js +11 -13
  1520. package/dist/node_modules/property-information/lib/util/info.js +3 -5
  1521. package/dist/node_modules/property-information/lib/util/merge.js +4 -6
  1522. package/dist/node_modules/property-information/lib/util/schema.js +3 -5
  1523. package/dist/node_modules/property-information/lib/util/types.js +14 -15
  1524. package/dist/node_modules/property-information/lib/xlink.js +3 -5
  1525. package/dist/node_modules/property-information/lib/xml.js +3 -5
  1526. package/dist/node_modules/property-information/lib/xmlns.js +5 -7
  1527. package/dist/node_modules/rehype-harden/dist/index.js +45 -47
  1528. package/dist/node_modules/rehype-katex/lib/index.js +23 -25
  1529. package/dist/node_modules/rehype-raw/lib/index.js +4 -6
  1530. package/dist/node_modules/rehype-sanitize/lib/index.js +4 -6
  1531. package/dist/node_modules/remark-gfm/lib/index.js +7 -9
  1532. package/dist/node_modules/remark-math/lib/index.js +7 -9
  1533. package/dist/node_modules/remark-parse/lib/index.js +4 -6
  1534. package/dist/node_modules/remark-rehype/lib/index.js +5 -7
  1535. package/dist/node_modules/remend/dist/index.js +324 -326
  1536. package/dist/node_modules/roughjs/bundled/rough.esm.js +875 -877
  1537. package/dist/node_modules/shiki/dist/bundle-full.js +12 -13
  1538. package/dist/node_modules/shiki/dist/chunk-CtajNgzt.js +8 -10
  1539. package/dist/node_modules/shiki/dist/engine-oniguruma.js +5 -7
  1540. package/dist/node_modules/shiki/dist/langs-bundle-full-DfKZStlK.js +5 -7
  1541. package/dist/node_modules/shiki/dist/themes.js +3 -5
  1542. package/dist/node_modules/shiki/dist/wasm.js +2 -2
  1543. package/dist/node_modules/space-separated-tokens/index.js +3 -5
  1544. package/dist/node_modules/streamdown/dist/chunk-BO2N2NFS.js +699 -701
  1545. package/dist/node_modules/streamdown/dist/highlighted-body-OFNGDK62.js +8 -10
  1546. package/dist/node_modules/streamdown/dist/index.js +1 -1
  1547. package/dist/node_modules/streamdown/dist/mermaid-GHXKKRXX.js +2 -2
  1548. package/dist/node_modules/streamdown/node_modules/marked/lib/marked.esm.js +712 -709
  1549. package/dist/node_modules/stringify-entities/lib/constant/dangerous.js +2 -4
  1550. package/dist/node_modules/stringify-entities/lib/core.js +16 -18
  1551. package/dist/node_modules/stringify-entities/lib/index.js +5 -7
  1552. package/dist/node_modules/stringify-entities/lib/util/format-smart.js +8 -10
  1553. package/dist/node_modules/stringify-entities/lib/util/to-decimal.js +4 -6
  1554. package/dist/node_modules/stringify-entities/lib/util/to-hexadecimal.js +4 -6
  1555. package/dist/node_modules/stringify-entities/lib/util/to-named.js +12 -14
  1556. package/dist/node_modules/style-to-js/cjs/index.js +7 -9
  1557. package/dist/node_modules/style-to-js/cjs/utilities.js +4 -6
  1558. package/dist/node_modules/style-to-object/cjs/index.js +6 -8
  1559. package/dist/node_modules/stylis/src/Enum.js +2 -4
  1560. package/dist/node_modules/stylis/src/Parser.js +36 -38
  1561. package/dist/node_modules/stylis/src/Serializer.js +15 -17
  1562. package/dist/node_modules/stylis/src/Tokenizer.js +51 -53
  1563. package/dist/node_modules/stylis/src/Utility.js +15 -17
  1564. package/dist/node_modules/trim-lines/index.js +8 -10
  1565. package/dist/node_modules/trough/lib/index.js +4 -6
  1566. package/dist/node_modules/ts-dedent/esm/index.js +2 -4
  1567. package/dist/node_modules/unified/lib/callable-instance.js +2 -4
  1568. package/dist/node_modules/unified/lib/index.js +101 -102
  1569. package/dist/node_modules/unified/node_modules/is-plain-obj/index.js +2 -4
  1570. package/dist/node_modules/unist-util-find-after/lib/index.js +4 -6
  1571. package/dist/node_modules/unist-util-is/lib/index.js +29 -31
  1572. package/dist/node_modules/unist-util-position/lib/index.js +5 -7
  1573. package/dist/node_modules/unist-util-stringify-position/lib/index.js +8 -10
  1574. package/dist/node_modules/unist-util-visit/lib/index.js +4 -6
  1575. package/dist/node_modules/unist-util-visit-parents/lib/color.js +2 -4
  1576. package/dist/node_modules/unist-util-visit-parents/lib/index.js +20 -21
  1577. package/dist/node_modules/uuid/dist/esm-browser/native.js +2 -3
  1578. package/dist/node_modules/uuid/dist/esm-browser/rng.js +6 -8
  1579. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +5 -7
  1580. package/dist/node_modules/uuid/dist/esm-browser/v4.js +9 -10
  1581. package/dist/node_modules/vaul/dist/index.js +274 -276
  1582. package/dist/node_modules/vfile/lib/index.js +42 -44
  1583. package/dist/node_modules/vfile/lib/minpath.browser.js +20 -22
  1584. package/dist/node_modules/vfile/lib/minproc.browser.js +3 -5
  1585. package/dist/node_modules/vfile/lib/minurl.browser.js +6 -8
  1586. package/dist/node_modules/vfile/lib/minurl.shared.js +2 -4
  1587. package/dist/node_modules/vfile-location/lib/index.js +5 -7
  1588. package/dist/node_modules/vfile-message/lib/index.js +5 -7
  1589. package/dist/node_modules/vscode-jsonrpc/browser.js +6 -8
  1590. package/dist/node_modules/vscode-jsonrpc/lib/browser/main.js +9 -11
  1591. package/dist/node_modules/vscode-jsonrpc/lib/browser/ril.js +6 -8
  1592. package/dist/node_modules/vscode-jsonrpc/lib/common/api.js +26 -28
  1593. package/dist/node_modules/vscode-jsonrpc/lib/common/cancellation.js +15 -17
  1594. package/dist/node_modules/vscode-jsonrpc/lib/common/connection.js +11 -13
  1595. package/dist/node_modules/vscode-jsonrpc/lib/common/disposable.js +4 -6
  1596. package/dist/node_modules/vscode-jsonrpc/lib/common/events.js +6 -8
  1597. package/dist/node_modules/vscode-jsonrpc/lib/common/is.js +4 -6
  1598. package/dist/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +4 -6
  1599. package/dist/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +4 -6
  1600. package/dist/node_modules/vscode-jsonrpc/lib/common/messageReader.js +9 -11
  1601. package/dist/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +29 -31
  1602. package/dist/node_modules/vscode-jsonrpc/lib/common/messages.js +6 -8
  1603. package/dist/node_modules/vscode-jsonrpc/lib/common/ral.js +4 -6
  1604. package/dist/node_modules/vscode-jsonrpc/lib/common/semaphore.js +6 -8
  1605. package/dist/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +6 -8
  1606. package/dist/node_modules/vscode-languageserver-protocol/lib/browser/main.js +8 -10
  1607. package/dist/node_modules/vscode-languageserver-protocol/lib/common/api.js +21 -23
  1608. package/dist/node_modules/vscode-languageserver-protocol/lib/common/connection.js +6 -8
  1609. package/dist/node_modules/vscode-languageserver-protocol/lib/common/messages.js +6 -8
  1610. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +6 -8
  1611. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +6 -8
  1612. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +6 -8
  1613. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +6 -8
  1614. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +12 -14
  1615. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +6 -8
  1616. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +6 -8
  1617. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +6 -8
  1618. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +6 -8
  1619. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +6 -8
  1620. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +6 -8
  1621. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +53 -55
  1622. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +6 -8
  1623. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +6 -8
  1624. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +8 -10
  1625. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +10 -12
  1626. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +6 -8
  1627. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +6 -8
  1628. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +6 -8
  1629. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +6 -8
  1630. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +6 -8
  1631. package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +6 -8
  1632. package/dist/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +4 -6
  1633. package/dist/node_modules/vscode-languageserver-textdocument/lib/esm/main.js +19 -21
  1634. package/dist/node_modules/vscode-languageserver-types/lib/esm/main.js +847 -849
  1635. package/dist/node_modules/vscode-uri/lib/esm/index.js +4 -6
  1636. package/dist/node_modules/web-namespaces/index.js +2 -4
  1637. package/dist/node_modules/zwitch/index.js +5 -7
  1638. package/dist/packages/contracts/dist/enums/index.js +12 -14
  1639. package/dist/packages/contracts/dist/enums/registry.enum.js +4 -6
  1640. package/dist/packages/contracts/dist/enums/sort-order.enum.js +4 -6
  1641. package/dist/packages/contracts/dist/enums/user-type.enum.js +4 -6
  1642. package/dist/packages/contracts/dist/enums/workflow-state.enum.js +4 -6
  1643. package/dist/pages/DashboardPage.js +78 -59
  1644. package/dist/pages/DebugPage.js +17 -12
  1645. package/dist/pages/DebugWorkflowDetailsPage.js +105 -91
  1646. package/dist/pages/DebugWorkflowsPage.js +162 -125
  1647. package/dist/pages/EmbedWorkbenchPage.js +63 -48
  1648. package/dist/pages/PreviewWorkbenchPage.js +370 -271
  1649. package/dist/pages/RunsListPage.js +46 -43
  1650. package/dist/pages/RunsPage.js +33 -31
  1651. package/dist/pages/StudioLandingPage.js +132 -97
  1652. package/dist/pages/WorkbenchPage.js +65 -57
  1653. package/dist/pages/WorkflowDebugPage.js +96 -74
  1654. package/dist/pages/WorkspacePage.js +88 -72
  1655. package/dist/pages/WorkspaceRunsPage.js +75 -43
  1656. package/dist/pages/WorkspacesPage.js +17 -22
  1657. package/dist/providers/ComponentOverridesProvider.js +12 -9
  1658. package/dist/providers/InvalidationEventsProvider.js +35 -33
  1659. package/dist/providers/QueryProvider.js +18 -14
  1660. package/dist/providers/SseProvider.js +29 -28
  1661. package/dist/providers/StudioPreferencesProvider.js +54 -0
  1662. package/dist/providers/StudioProvider.js +19 -14
  1663. package/dist/routing/LocalRouter.js +9 -6
  1664. package/dist/services/createApiClient.js +5 -7
  1665. package/dist/services/eventEmitter.js +2 -3
  1666. package/dist/services/index.js +2 -2
  1667. package/dist/types/ai.types.js +5 -7
  1668. package/package.json +8 -8
  1669. package/dist/_virtual/_rolldown/runtime.js +0 -20
  1670. package/dist/features/documents/renderers/SecretInputRenderer.js +0 -89
  1671. package/dist/features/workbench/components/RemoteFileTabsBar.js +0 -19
  1672. package/dist/features/workbench/components/RemoteFileTree.js +0 -59
  1673. package/dist/features/workbench/components/WorkbenchFilesPanel.js +0 -56
  1674. package/dist/features/workbench/components/WorkbenchFloatingPanel.js +0 -40
  1675. package/dist/features/workbench/components/WorkbenchFlowPanel.js +0 -38
  1676. package/dist/features/workbench/components/WorkbenchSecretsPanel.js +0 -153
  1677. package/dist/features/workbench/providers/RemoteFileExplorerProvider.js +0 -145
  1678. package/dist/frontend/studio/node_modules/lodash/_Symbol.js +0 -9
  1679. package/dist/frontend/studio/node_modules/lodash/_baseGetTag.js +0 -15
  1680. package/dist/frontend/studio/node_modules/lodash/_baseTrim.js +0 -13
  1681. package/dist/frontend/studio/node_modules/lodash/_freeGlobal.js +0 -8
  1682. package/dist/frontend/studio/node_modules/lodash/_getRawTag.js +0 -19
  1683. package/dist/frontend/studio/node_modules/lodash/_objectToString.js +0 -12
  1684. package/dist/frontend/studio/node_modules/lodash/_root.js +0 -10
  1685. package/dist/frontend/studio/node_modules/lodash/_trimmedEndIndex.js +0 -13
  1686. package/dist/frontend/studio/node_modules/lodash/isObject.js +0 -12
  1687. package/dist/frontend/studio/node_modules/lodash/isObjectLike.js +0 -11
  1688. package/dist/frontend/studio/node_modules/lodash/isSymbol.js +0 -14
  1689. package/dist/frontend/studio/node_modules/lodash/now.js +0 -12
  1690. package/dist/frontend/studio/node_modules/lodash/toNumber.js +0 -24
  1691. package/dist/node_modules/@dagrejs/dagre/dist/dagre.esm.js +0 -1867
@@ -1,200 +1,199 @@
1
- //#region ../../node_modules/roughjs/bundled/rough.esm.js
2
- function e(e, t, n) {
3
- if (e && e.length) {
4
- let [r, i] = t, a = Math.PI / 180 * n, o = Math.cos(a), s = Math.sin(a);
5
- for (let t of e) {
6
- let [e, n] = t;
7
- t[0] = (e - r) * o - (n - i) * s + r, t[1] = (e - r) * s + (n - i) * o + i;
1
+ function t(ee, Me, Ne) {
2
+ if (ee && ee.length) {
3
+ let [Pe, Fe] = Me, Ie = Math.PI / 180 * Ne, Le = Math.cos(Ie), Re = Math.sin(Ie);
4
+ for (let Me of ee) {
5
+ let [ee, Ne] = Me;
6
+ Me[0] = (ee - Pe) * Le - (Ne - Fe) * Re + Pe, Me[1] = (ee - Pe) * Re + (Ne - Fe) * Le + Fe;
8
7
  }
9
8
  }
10
9
  }
11
- function t(e, t) {
12
- return e[0] === t[0] && e[1] === t[1];
10
+ function e(ee, Me) {
11
+ return ee[0] === Me[0] && ee[1] === Me[1];
13
12
  }
14
- function n(n, r, i, a = 1) {
15
- let o = i, s = Math.max(r, .1), c = n[0] && n[0][0] && typeof n[0][0] == "number" ? [n] : n, l = [0, 0];
16
- if (o) for (let t of c) e(t, l, o);
17
- let u = function(e, n, r) {
18
- let i = [];
19
- for (let n of e) {
20
- let e = [...n];
21
- t(e[0], e[e.length - 1]) || e.push([e[0][0], e[0][1]]), e.length > 2 && i.push(e);
13
+ function s(Ne, Pe, Fe, Ie = 1) {
14
+ let Le = Fe, Re = Math.max(Pe, .1), ze = Ne[0] && Ne[0][0] && typeof Ne[0][0] == "number" ? [Ne] : Ne, Be = [0, 0];
15
+ if (Le) for (let Me of ze) t(Me, Be, Le);
16
+ let Ve = function(ee, Ne, Pe) {
17
+ let Fe = [];
18
+ for (let Ne of ee) {
19
+ let ee = [...Ne];
20
+ e(ee[0], ee[ee.length - 1]) || ee.push([ee[0][0], ee[0][1]]), ee.length > 2 && Fe.push(ee);
22
21
  }
23
- let a = [];
24
- n = Math.max(n, .1);
25
- let o = [];
26
- for (let e of i) for (let t = 0; t < e.length - 1; t++) {
27
- let n = e[t], r = e[t + 1];
28
- if (n[1] !== r[1]) {
29
- let e = Math.min(n[1], r[1]);
30
- o.push({
31
- ymin: e,
32
- ymax: Math.max(n[1], r[1]),
33
- x: e === n[1] ? n[0] : r[0],
34
- islope: (r[0] - n[0]) / (r[1] - n[1])
22
+ let Ie = [];
23
+ Ne = Math.max(Ne, .1);
24
+ let Le = [];
25
+ for (let ee of Fe) for (let Me = 0; Me < ee.length - 1; Me++) {
26
+ let Ne = ee[Me], Pe = ee[Me + 1];
27
+ if (Ne[1] !== Pe[1]) {
28
+ let ee = Math.min(Ne[1], Pe[1]);
29
+ Le.push({
30
+ ymin: ee,
31
+ ymax: Math.max(Ne[1], Pe[1]),
32
+ x: ee === Ne[1] ? Ne[0] : Pe[0],
33
+ islope: (Pe[0] - Ne[0]) / (Pe[1] - Ne[1])
35
34
  });
36
35
  }
37
36
  }
38
- if (o.sort(((e, t) => e.ymin < t.ymin ? -1 : e.ymin > t.ymin ? 1 : e.x < t.x ? -1 : e.x > t.x ? 1 : e.ymax === t.ymax ? 0 : (e.ymax - t.ymax) / Math.abs(e.ymax - t.ymax))), !o.length) return a;
39
- let s = [], c = o[0].ymin, l = 0;
40
- for (; s.length || o.length;) {
41
- if (o.length) {
42
- let e = -1;
43
- for (let t = 0; t < o.length && !(o[t].ymin > c); t++) e = t;
44
- o.splice(0, e + 1).forEach(((e) => {
45
- s.push({
46
- s: c,
47
- edge: e
37
+ if (Le.sort(((ee, Me) => ee.ymin < Me.ymin ? -1 : ee.ymin > Me.ymin ? 1 : ee.x < Me.x ? -1 : ee.x > Me.x ? 1 : ee.ymax === Me.ymax ? 0 : (ee.ymax - Me.ymax) / Math.abs(ee.ymax - Me.ymax))), !Le.length) return Ie;
38
+ let Re = [], ze = Le[0].ymin, Be = 0;
39
+ for (; Re.length || Le.length;) {
40
+ if (Le.length) {
41
+ let ee = -1;
42
+ for (let Me = 0; Me < Le.length && !(Le[Me].ymin > ze); Me++) ee = Me;
43
+ Le.splice(0, ee + 1).forEach(((ee) => {
44
+ Re.push({
45
+ s: ze,
46
+ edge: ee
48
47
  });
49
48
  }));
50
49
  }
51
- if (s = s.filter(((e) => !(e.edge.ymax <= c))), s.sort(((e, t) => e.edge.x === t.edge.x ? 0 : (e.edge.x - t.edge.x) / Math.abs(e.edge.x - t.edge.x))), (r !== 1 || l % n == 0) && s.length > 1) for (let e = 0; e < s.length; e += 2) {
52
- let t = e + 1;
53
- if (t >= s.length) break;
54
- let n = s[e].edge, r = s[t].edge;
55
- a.push([[Math.round(n.x), c], [Math.round(r.x), c]]);
50
+ if (Re = Re.filter(((ee) => !(ee.edge.ymax <= ze))), Re.sort(((ee, Me) => ee.edge.x === Me.edge.x ? 0 : (ee.edge.x - Me.edge.x) / Math.abs(ee.edge.x - Me.edge.x))), (Pe !== 1 || Be % Ne == 0) && Re.length > 1) for (let ee = 0; ee < Re.length; ee += 2) {
51
+ let Me = ee + 1;
52
+ if (Me >= Re.length) break;
53
+ let Ne = Re[ee].edge, Pe = Re[Me].edge;
54
+ Ie.push([[Math.round(Ne.x), ze], [Math.round(Pe.x), ze]]);
56
55
  }
57
- c += r, s.forEach(((e) => {
58
- e.edge.x = e.edge.x + r * e.edge.islope;
59
- })), l++;
56
+ ze += Pe, Re.forEach(((ee) => {
57
+ ee.edge.x = ee.edge.x + Pe * ee.edge.islope;
58
+ })), Be++;
60
59
  }
61
- return a;
62
- }(c, s, a);
63
- if (o) {
64
- for (let t of c) e(t, l, -o);
65
- (function(t, n, r) {
66
- let i = [];
67
- t.forEach(((e) => i.push(...e))), e(i, n, r);
68
- })(u, l, -o);
69
- }
70
- return u;
60
+ return Ie;
61
+ }(ze, Re, Ie);
62
+ if (Le) {
63
+ for (let Me of ze) t(Me, Be, -Le);
64
+ (function(Me, Ne, Pe) {
65
+ let Fe = [];
66
+ Me.forEach(((ee) => Fe.push(...ee))), t(Fe, Ne, Pe);
67
+ })(Ve, Be, -Le);
68
+ }
69
+ return Ve;
71
70
  }
72
- function r(e, t) {
73
- let r = t.hachureAngle + 90, i = t.hachureGap;
74
- i < 0 && (i = 4 * t.strokeWidth), i = Math.round(Math.max(i, .1));
75
- let a = 1;
76
- return t.roughness >= 1 && (t.randomizer?.next() || Math.random()) > .7 && (a = i), n(e, i, r, a || 1);
71
+ function n(ee, Me) {
72
+ let Pe = Me.hachureAngle + 90, Fe = Me.hachureGap;
73
+ Fe < 0 && (Fe = 4 * Me.strokeWidth), Fe = Math.round(Math.max(Fe, .1));
74
+ let Ie = 1;
75
+ return Me.roughness >= 1 && (Me.randomizer?.next() || Math.random()) > .7 && (Ie = Fe), s(ee, Fe, Pe, Ie || 1);
77
76
  }
78
- var i = class {
79
- constructor(e) {
80
- this.helper = e;
77
+ var o = class {
78
+ constructor(ee) {
79
+ this.helper = ee;
81
80
  }
82
- fillPolygons(e, t) {
83
- return this._fillPolygons(e, t);
81
+ fillPolygons(ee, Me) {
82
+ return this._fillPolygons(ee, Me);
84
83
  }
85
- _fillPolygons(e, t) {
86
- let n = r(e, t);
84
+ _fillPolygons(ee, Me) {
85
+ let Ne = n(ee, Me);
87
86
  return {
88
87
  type: "fillSketch",
89
- ops: this.renderLines(n, t)
88
+ ops: this.renderLines(Ne, Me)
90
89
  };
91
90
  }
92
- renderLines(e, t) {
93
- let n = [];
94
- for (let r of e) n.push(...this.helper.doubleLineOps(r[0][0], r[0][1], r[1][0], r[1][1], t));
95
- return n;
91
+ renderLines(ee, Me) {
92
+ let Ne = [];
93
+ for (let Pe of ee) Ne.push(...this.helper.doubleLineOps(Pe[0][0], Pe[0][1], Pe[1][0], Pe[1][1], Me));
94
+ return Ne;
96
95
  }
97
96
  };
98
- function a(e) {
99
- let t = e[0], n = e[1];
100
- return Math.sqrt((t[0] - n[0]) ** 2 + (t[1] - n[1]) ** 2);
97
+ function a(ee) {
98
+ let Me = ee[0], Ne = ee[1];
99
+ return Math.sqrt((Me[0] - Ne[0]) ** 2 + (Me[1] - Ne[1]) ** 2);
101
100
  }
102
- var o = class extends i {
103
- fillPolygons(e, t) {
104
- let n = t.hachureGap;
105
- n < 0 && (n = 4 * t.strokeWidth), n = Math.max(n, .1);
106
- let i = r(e, Object.assign({}, t, { hachureGap: n })), o = Math.PI / 180 * t.hachureAngle, s = [], c = .5 * n * Math.cos(o), l = .5 * n * Math.sin(o);
107
- for (let [e, t] of i) a([e, t]) && s.push([[e[0] - c, e[1] + l], [...t]], [[e[0] + c, e[1] - l], [...t]]);
101
+ var h = class extends o {
102
+ fillPolygons(ee, Me) {
103
+ let Ne = Me.hachureGap;
104
+ Ne < 0 && (Ne = 4 * Me.strokeWidth), Ne = Math.max(Ne, .1);
105
+ let Fe = n(ee, Object.assign({}, Me, { hachureGap: Ne })), Le = Math.PI / 180 * Me.hachureAngle, Re = [], ze = .5 * Ne * Math.cos(Le), Be = .5 * Ne * Math.sin(Le);
106
+ for (let [ee, Me] of Fe) a([ee, Me]) && Re.push([[ee[0] - ze, ee[1] + Be], [...Me]], [[ee[0] + ze, ee[1] - Be], [...Me]]);
108
107
  return {
109
108
  type: "fillSketch",
110
- ops: this.renderLines(s, t)
109
+ ops: this.renderLines(Re, Me)
111
110
  };
112
111
  }
113
- }, s = class extends i {
114
- fillPolygons(e, t) {
115
- let n = this._fillPolygons(e, t), r = Object.assign({}, t, { hachureAngle: t.hachureAngle + 90 }), i = this._fillPolygons(e, r);
116
- return n.ops = n.ops.concat(i.ops), n;
117
- }
118
- }, c = class {
119
- constructor(e) {
120
- this.helper = e;
121
- }
122
- fillPolygons(e, t) {
123
- let n = r(e, t = Object.assign({}, t, { hachureAngle: 0 }));
124
- return this.dotsOnLines(n, t);
125
- }
126
- dotsOnLines(e, t) {
127
- let n = [], r = t.hachureGap;
128
- r < 0 && (r = 4 * t.strokeWidth), r = Math.max(r, .1);
129
- let i = t.fillWeight;
130
- i < 0 && (i = t.strokeWidth / 2);
131
- let o = r / 4;
132
- for (let s of e) {
133
- let e = a(s), c = e / r, l = Math.ceil(c) - 1, u = e - l * r, d = (s[0][0] + s[1][0]) / 2 - r / 4, f = Math.min(s[0][1], s[1][1]);
134
- for (let e = 0; e < l; e++) {
135
- let a = f + u + e * r, s = d - o + 2 * Math.random() * o, c = a - o + 2 * Math.random() * o, l = this.helper.ellipse(s, c, i, i, t);
136
- n.push(...l.ops);
112
+ }, r = class extends o {
113
+ fillPolygons(ee, Me) {
114
+ let Ne = this._fillPolygons(ee, Me), Pe = Object.assign({}, Me, { hachureAngle: Me.hachureAngle + 90 }), Fe = this._fillPolygons(ee, Pe);
115
+ return Ne.ops = Ne.ops.concat(Fe.ops), Ne;
116
+ }
117
+ }, i = class {
118
+ constructor(ee) {
119
+ this.helper = ee;
120
+ }
121
+ fillPolygons(ee, Me) {
122
+ let Ne = n(ee, Me = Object.assign({}, Me, { hachureAngle: 0 }));
123
+ return this.dotsOnLines(Ne, Me);
124
+ }
125
+ dotsOnLines(ee, Me) {
126
+ let Ne = [], Pe = Me.hachureGap;
127
+ Pe < 0 && (Pe = 4 * Me.strokeWidth), Pe = Math.max(Pe, .1);
128
+ let Fe = Me.fillWeight;
129
+ Fe < 0 && (Fe = Me.strokeWidth / 2);
130
+ let Le = Pe / 4;
131
+ for (let Re of ee) {
132
+ let ee = a(Re), ze = ee / Pe, Be = Math.ceil(ze) - 1, Ve = ee - Be * Pe, He = (Re[0][0] + Re[1][0]) / 2 - Pe / 4, Ue = Math.min(Re[0][1], Re[1][1]);
133
+ for (let ee = 0; ee < Be; ee++) {
134
+ let Ie = Ue + Ve + ee * Pe, Re = He - Le + 2 * Math.random() * Le, ze = Ie - Le + 2 * Math.random() * Le, Be = this.helper.ellipse(Re, ze, Fe, Fe, Me);
135
+ Ne.push(...Be.ops);
137
136
  }
138
137
  }
139
138
  return {
140
139
  type: "fillSketch",
141
- ops: n
140
+ ops: Ne
142
141
  };
143
142
  }
144
- }, l = class {
145
- constructor(e) {
146
- this.helper = e;
143
+ }, c = class {
144
+ constructor(ee) {
145
+ this.helper = ee;
147
146
  }
148
- fillPolygons(e, t) {
149
- let n = r(e, t);
147
+ fillPolygons(ee, Me) {
148
+ let Ne = n(ee, Me);
150
149
  return {
151
150
  type: "fillSketch",
152
- ops: this.dashedLine(n, t)
151
+ ops: this.dashedLine(Ne, Me)
153
152
  };
154
153
  }
155
- dashedLine(e, t) {
156
- let n = t.dashOffset < 0 ? t.hachureGap < 0 ? 4 * t.strokeWidth : t.hachureGap : t.dashOffset, r = t.dashGap < 0 ? t.hachureGap < 0 ? 4 * t.strokeWidth : t.hachureGap : t.dashGap, i = [];
157
- return e.forEach(((e) => {
158
- let o = a(e), s = Math.floor(o / (n + r)), c = (o + r - s * (n + r)) / 2, l = e[0], u = e[1];
159
- l[0] > u[0] && (l = e[1], u = e[0]);
160
- let d = Math.atan((u[1] - l[1]) / (u[0] - l[0]));
161
- for (let e = 0; e < s; e++) {
162
- let a = e * (n + r), o = a + n, s = [l[0] + a * Math.cos(d) + c * Math.cos(d), l[1] + a * Math.sin(d) + c * Math.sin(d)], u = [l[0] + o * Math.cos(d) + c * Math.cos(d), l[1] + o * Math.sin(d) + c * Math.sin(d)];
163
- i.push(...this.helper.doubleLineOps(s[0], s[1], u[0], u[1], t));
154
+ dashedLine(ee, Me) {
155
+ let Ne = Me.dashOffset < 0 ? Me.hachureGap < 0 ? 4 * Me.strokeWidth : Me.hachureGap : Me.dashOffset, Pe = Me.dashGap < 0 ? Me.hachureGap < 0 ? 4 * Me.strokeWidth : Me.hachureGap : Me.dashGap, Fe = [];
156
+ return ee.forEach(((ee) => {
157
+ let Le = a(ee), Re = Math.floor(Le / (Ne + Pe)), ze = (Le + Pe - Re * (Ne + Pe)) / 2, Be = ee[0], Ve = ee[1];
158
+ Be[0] > Ve[0] && (Be = ee[1], Ve = ee[0]);
159
+ let He = Math.atan((Ve[1] - Be[1]) / (Ve[0] - Be[0]));
160
+ for (let ee = 0; ee < Re; ee++) {
161
+ let Ie = ee * (Ne + Pe), Le = Ie + Ne, Re = [Be[0] + Ie * Math.cos(He) + ze * Math.cos(He), Be[1] + Ie * Math.sin(He) + ze * Math.sin(He)], Ve = [Be[0] + Le * Math.cos(He) + ze * Math.cos(He), Be[1] + Le * Math.sin(He) + ze * Math.sin(He)];
162
+ Fe.push(...this.helper.doubleLineOps(Re[0], Re[1], Ve[0], Ve[1], Me));
164
163
  }
165
- })), i;
164
+ })), Fe;
166
165
  }
167
- }, u = class {
168
- constructor(e) {
169
- this.helper = e;
166
+ }, l = class {
167
+ constructor(ee) {
168
+ this.helper = ee;
170
169
  }
171
- fillPolygons(e, t) {
172
- let n = t.hachureGap < 0 ? 4 * t.strokeWidth : t.hachureGap, i = t.zigzagOffset < 0 ? n : t.zigzagOffset, a = r(e, t = Object.assign({}, t, { hachureGap: n + i }));
170
+ fillPolygons(ee, Me) {
171
+ let Ne = Me.hachureGap < 0 ? 4 * Me.strokeWidth : Me.hachureGap, Fe = Me.zigzagOffset < 0 ? Ne : Me.zigzagOffset, Ie = n(ee, Me = Object.assign({}, Me, { hachureGap: Ne + Fe }));
173
172
  return {
174
173
  type: "fillSketch",
175
- ops: this.zigzagLines(a, i, t)
174
+ ops: this.zigzagLines(Ie, Fe, Me)
176
175
  };
177
176
  }
178
- zigzagLines(e, t, n) {
179
- let r = [];
180
- return e.forEach(((e) => {
181
- let i = a(e), o = Math.round(i / (2 * t)), s = e[0], c = e[1];
182
- s[0] > c[0] && (s = e[1], c = e[0]);
183
- let l = Math.atan((c[1] - s[1]) / (c[0] - s[0]));
184
- for (let e = 0; e < o; e++) {
185
- let i = 2 * e * t, a = 2 * (e + 1) * t, o = Math.sqrt(2 * t ** 2), c = [s[0] + i * Math.cos(l), s[1] + i * Math.sin(l)], u = [s[0] + a * Math.cos(l), s[1] + a * Math.sin(l)], d = [c[0] + o * Math.cos(l + Math.PI / 4), c[1] + o * Math.sin(l + Math.PI / 4)];
186
- r.push(...this.helper.doubleLineOps(c[0], c[1], d[0], d[1], n), ...this.helper.doubleLineOps(d[0], d[1], u[0], u[1], n));
177
+ zigzagLines(ee, Me, Ne) {
178
+ let Pe = [];
179
+ return ee.forEach(((ee) => {
180
+ let Fe = a(ee), Le = Math.round(Fe / (2 * Me)), Re = ee[0], ze = ee[1];
181
+ Re[0] > ze[0] && (Re = ee[1], ze = ee[0]);
182
+ let Be = Math.atan((ze[1] - Re[1]) / (ze[0] - Re[0]));
183
+ for (let ee = 0; ee < Le; ee++) {
184
+ let Fe = 2 * ee * Me, Ie = 2 * (ee + 1) * Me, Le = Math.sqrt(2 * Me ** 2), ze = [Re[0] + Fe * Math.cos(Be), Re[1] + Fe * Math.sin(Be)], Ve = [Re[0] + Ie * Math.cos(Be), Re[1] + Ie * Math.sin(Be)], He = [ze[0] + Le * Math.cos(Be + Math.PI / 4), ze[1] + Le * Math.sin(Be + Math.PI / 4)];
185
+ Pe.push(...this.helper.doubleLineOps(ze[0], ze[1], He[0], He[1], Ne), ...this.helper.doubleLineOps(He[0], He[1], Ve[0], Ve[1], Ne));
187
186
  }
188
- })), r;
187
+ })), Pe;
189
188
  }
190
- }, d = {}, f = class {
191
- constructor(e) {
192
- this.seed = e;
189
+ }, u = {}, p = class {
190
+ constructor(ee) {
191
+ this.seed = ee;
193
192
  }
194
193
  next() {
195
194
  return this.seed ? (2 ** 31 - 1 & (this.seed = Math.imul(48271, this.seed))) / 2 ** 31 : Math.random();
196
195
  }
197
- }, p = 0, m = 1, h = 2, g = {
196
+ }, f = 0, d = 1, g = 2, M = {
198
197
  A: 7,
199
198
  a: 7,
200
199
  C: 6,
@@ -216,404 +215,404 @@ var o = class extends i {
216
215
  Z: 0,
217
216
  z: 0
218
217
  };
219
- function _(e, t) {
220
- return e.type === t;
218
+ function k(ee, Me) {
219
+ return ee.type === Me;
221
220
  }
222
- function v(e) {
223
- let t = [], n = function(e) {
224
- let t = [];
225
- for (; e !== "";) if (e.match(/^([ \t\r\n,]+)/)) e = e.substr(RegExp.$1.length);
226
- else if (e.match(/^([aAcChHlLmMqQsStTvVzZ])/)) t[t.length] = {
227
- type: p,
221
+ function b(ee) {
222
+ let Me = [], Ne = function(ee) {
223
+ let Me = [];
224
+ for (; ee !== "";) if (ee.match(/^([ \t\r\n,]+)/)) ee = ee.substr(RegExp.$1.length);
225
+ else if (ee.match(/^([aAcChHlLmMqQsStTvVzZ])/)) Me[Me.length] = {
226
+ type: f,
228
227
  text: RegExp.$1
229
- }, e = e.substr(RegExp.$1.length);
228
+ }, ee = ee.substr(RegExp.$1.length);
230
229
  else {
231
- if (!e.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/)) return [];
232
- t[t.length] = {
233
- type: m,
230
+ if (!ee.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/)) return [];
231
+ Me[Me.length] = {
232
+ type: d,
234
233
  text: `${parseFloat(RegExp.$1)}`
235
- }, e = e.substr(RegExp.$1.length);
234
+ }, ee = ee.substr(RegExp.$1.length);
236
235
  }
237
- return t[t.length] = {
238
- type: h,
236
+ return Me[Me.length] = {
237
+ type: g,
239
238
  text: ""
240
- }, t;
241
- }(e), r = "BOD", i = 0, a = n[i];
242
- for (; !_(a, h);) {
243
- let o = 0, s = [];
244
- if (r === "BOD") {
245
- if (a.text !== "M" && a.text !== "m") return v("M0,0" + e);
246
- i++, o = g[a.text], r = a.text;
247
- } else _(a, m) ? o = g[r] : (i++, o = g[a.text], r = a.text);
248
- if (!(i + o < n.length)) throw Error("Path data ended short");
249
- for (let e = i; e < i + o; e++) {
250
- let t = n[e];
251
- if (!_(t, m)) throw Error("Param not a number: " + r + "," + t.text);
252
- s[s.length] = +t.text;
239
+ }, Me;
240
+ }(ee), Pe = "BOD", Fe = 0, Ie = Ne[Fe];
241
+ for (; !k(Ie, g);) {
242
+ let Le = 0, Re = [];
243
+ if (Pe === "BOD") {
244
+ if (Ie.text !== "M" && Ie.text !== "m") return b("M0,0" + ee);
245
+ Fe++, Le = M[Ie.text], Pe = Ie.text;
246
+ } else k(Ie, d) ? Le = M[Pe] : (Fe++, Le = M[Ie.text], Pe = Ie.text);
247
+ if (!(Fe + Le < Ne.length)) throw Error("Path data ended short");
248
+ for (let ee = Fe; ee < Fe + Le; ee++) {
249
+ let Me = Ne[ee];
250
+ if (!k(Me, d)) throw Error("Param not a number: " + Pe + "," + Me.text);
251
+ Re[Re.length] = +Me.text;
253
252
  }
254
- if (typeof g[r] != "number") throw Error("Bad segment: " + r);
253
+ if (typeof M[Pe] != "number") throw Error("Bad segment: " + Pe);
255
254
  {
256
- let e = {
257
- key: r,
258
- data: s
255
+ let ee = {
256
+ key: Pe,
257
+ data: Re
259
258
  };
260
- t.push(e), i += o, a = n[i], r === "M" && (r = "L"), r === "m" && (r = "l");
259
+ Me.push(ee), Fe += Le, Ie = Ne[Fe], Pe === "M" && (Pe = "L"), Pe === "m" && (Pe = "l");
261
260
  }
262
261
  }
263
- return t;
262
+ return Me;
264
263
  }
265
- function y(e) {
266
- let t = 0, n = 0, r = 0, i = 0, a = [];
267
- for (let { key: o, data: s } of e) switch (o) {
264
+ function y(ee) {
265
+ let Me = 0, Ne = 0, Pe = 0, Fe = 0, Ie = [];
266
+ for (let { key: Le, data: Re } of ee) switch (Le) {
268
267
  case "M":
269
- a.push({
268
+ Ie.push({
270
269
  key: "M",
271
- data: [...s]
272
- }), [t, n] = s, [r, i] = s;
270
+ data: [...Re]
271
+ }), [Me, Ne] = Re, [Pe, Fe] = Re;
273
272
  break;
274
273
  case "m":
275
- t += s[0], n += s[1], a.push({
274
+ Me += Re[0], Ne += Re[1], Ie.push({
276
275
  key: "M",
277
- data: [t, n]
278
- }), r = t, i = n;
276
+ data: [Me, Ne]
277
+ }), Pe = Me, Fe = Ne;
279
278
  break;
280
279
  case "L":
281
- a.push({
280
+ Ie.push({
282
281
  key: "L",
283
- data: [...s]
284
- }), [t, n] = s;
282
+ data: [...Re]
283
+ }), [Me, Ne] = Re;
285
284
  break;
286
285
  case "l":
287
- t += s[0], n += s[1], a.push({
286
+ Me += Re[0], Ne += Re[1], Ie.push({
288
287
  key: "L",
289
- data: [t, n]
288
+ data: [Me, Ne]
290
289
  });
291
290
  break;
292
291
  case "C":
293
- a.push({
292
+ Ie.push({
294
293
  key: "C",
295
- data: [...s]
296
- }), t = s[4], n = s[5];
294
+ data: [...Re]
295
+ }), Me = Re[4], Ne = Re[5];
297
296
  break;
298
297
  case "c": {
299
- let e = s.map(((e, r) => r % 2 ? e + n : e + t));
300
- a.push({
298
+ let ee = Re.map(((ee, Pe) => Pe % 2 ? ee + Ne : ee + Me));
299
+ Ie.push({
301
300
  key: "C",
302
- data: e
303
- }), t = e[4], n = e[5];
301
+ data: ee
302
+ }), Me = ee[4], Ne = ee[5];
304
303
  break;
305
304
  }
306
305
  case "Q":
307
- a.push({
306
+ Ie.push({
308
307
  key: "Q",
309
- data: [...s]
310
- }), t = s[2], n = s[3];
308
+ data: [...Re]
309
+ }), Me = Re[2], Ne = Re[3];
311
310
  break;
312
311
  case "q": {
313
- let e = s.map(((e, r) => r % 2 ? e + n : e + t));
314
- a.push({
312
+ let ee = Re.map(((ee, Pe) => Pe % 2 ? ee + Ne : ee + Me));
313
+ Ie.push({
315
314
  key: "Q",
316
- data: e
317
- }), t = e[2], n = e[3];
315
+ data: ee
316
+ }), Me = ee[2], Ne = ee[3];
318
317
  break;
319
318
  }
320
319
  case "A":
321
- a.push({
320
+ Ie.push({
322
321
  key: "A",
323
- data: [...s]
324
- }), t = s[5], n = s[6];
322
+ data: [...Re]
323
+ }), Me = Re[5], Ne = Re[6];
325
324
  break;
326
325
  case "a":
327
- t += s[5], n += s[6], a.push({
326
+ Me += Re[5], Ne += Re[6], Ie.push({
328
327
  key: "A",
329
328
  data: [
330
- s[0],
331
- s[1],
332
- s[2],
333
- s[3],
334
- s[4],
335
- t,
336
- n
329
+ Re[0],
330
+ Re[1],
331
+ Re[2],
332
+ Re[3],
333
+ Re[4],
334
+ Me,
335
+ Ne
337
336
  ]
338
337
  });
339
338
  break;
340
339
  case "H":
341
- a.push({
340
+ Ie.push({
342
341
  key: "H",
343
- data: [...s]
344
- }), t = s[0];
342
+ data: [...Re]
343
+ }), Me = Re[0];
345
344
  break;
346
345
  case "h":
347
- t += s[0], a.push({
346
+ Me += Re[0], Ie.push({
348
347
  key: "H",
349
- data: [t]
348
+ data: [Me]
350
349
  });
351
350
  break;
352
351
  case "V":
353
- a.push({
352
+ Ie.push({
354
353
  key: "V",
355
- data: [...s]
356
- }), n = s[0];
354
+ data: [...Re]
355
+ }), Ne = Re[0];
357
356
  break;
358
357
  case "v":
359
- n += s[0], a.push({
358
+ Ne += Re[0], Ie.push({
360
359
  key: "V",
361
- data: [n]
360
+ data: [Ne]
362
361
  });
363
362
  break;
364
363
  case "S":
365
- a.push({
364
+ Ie.push({
366
365
  key: "S",
367
- data: [...s]
368
- }), t = s[2], n = s[3];
366
+ data: [...Re]
367
+ }), Me = Re[2], Ne = Re[3];
369
368
  break;
370
369
  case "s": {
371
- let e = s.map(((e, r) => r % 2 ? e + n : e + t));
372
- a.push({
370
+ let ee = Re.map(((ee, Pe) => Pe % 2 ? ee + Ne : ee + Me));
371
+ Ie.push({
373
372
  key: "S",
374
- data: e
375
- }), t = e[2], n = e[3];
373
+ data: ee
374
+ }), Me = ee[2], Ne = ee[3];
376
375
  break;
377
376
  }
378
377
  case "T":
379
- a.push({
378
+ Ie.push({
380
379
  key: "T",
381
- data: [...s]
382
- }), t = s[0], n = s[1];
380
+ data: [...Re]
381
+ }), Me = Re[0], Ne = Re[1];
383
382
  break;
384
383
  case "t":
385
- t += s[0], n += s[1], a.push({
384
+ Me += Re[0], Ne += Re[1], Ie.push({
386
385
  key: "T",
387
- data: [t, n]
386
+ data: [Me, Ne]
388
387
  });
389
388
  break;
390
389
  case "Z":
391
- case "z": a.push({
390
+ case "z": Ie.push({
392
391
  key: "Z",
393
392
  data: []
394
- }), t = r, n = i;
393
+ }), Me = Pe, Ne = Fe;
395
394
  }
396
- return a;
395
+ return Ie;
397
396
  }
398
- function b(e) {
399
- let t = [], n = "", r = 0, i = 0, a = 0, o = 0, s = 0, c = 0;
400
- for (let { key: l, data: u } of e) {
401
- switch (l) {
397
+ function m(ee) {
398
+ let Me = [], Ne = "", Pe = 0, Fe = 0, Ie = 0, Le = 0, Re = 0, ze = 0;
399
+ for (let { key: Be, data: Ve } of ee) {
400
+ switch (Be) {
402
401
  case "M":
403
- t.push({
402
+ Me.push({
404
403
  key: "M",
405
- data: [...u]
406
- }), [r, i] = u, [a, o] = u;
404
+ data: [...Ve]
405
+ }), [Pe, Fe] = Ve, [Ie, Le] = Ve;
407
406
  break;
408
407
  case "C":
409
- t.push({
408
+ Me.push({
410
409
  key: "C",
411
- data: [...u]
412
- }), r = u[4], i = u[5], s = u[2], c = u[3];
410
+ data: [...Ve]
411
+ }), Pe = Ve[4], Fe = Ve[5], Re = Ve[2], ze = Ve[3];
413
412
  break;
414
413
  case "L":
415
- t.push({
414
+ Me.push({
416
415
  key: "L",
417
- data: [...u]
418
- }), [r, i] = u;
416
+ data: [...Ve]
417
+ }), [Pe, Fe] = Ve;
419
418
  break;
420
419
  case "H":
421
- r = u[0], t.push({
420
+ Pe = Ve[0], Me.push({
422
421
  key: "L",
423
- data: [r, i]
422
+ data: [Pe, Fe]
424
423
  });
425
424
  break;
426
425
  case "V":
427
- i = u[0], t.push({
426
+ Fe = Ve[0], Me.push({
428
427
  key: "L",
429
- data: [r, i]
428
+ data: [Pe, Fe]
430
429
  });
431
430
  break;
432
431
  case "S": {
433
- let e = 0, a = 0;
434
- n === "C" || n === "S" ? (e = r + (r - s), a = i + (i - c)) : (e = r, a = i), t.push({
432
+ let ee = 0, Ie = 0;
433
+ Ne === "C" || Ne === "S" ? (ee = Pe + (Pe - Re), Ie = Fe + (Fe - ze)) : (ee = Pe, Ie = Fe), Me.push({
435
434
  key: "C",
436
435
  data: [
437
- e,
438
- a,
439
- ...u
436
+ ee,
437
+ Ie,
438
+ ...Ve
440
439
  ]
441
- }), s = u[0], c = u[1], r = u[2], i = u[3];
440
+ }), Re = Ve[0], ze = Ve[1], Pe = Ve[2], Fe = Ve[3];
442
441
  break;
443
442
  }
444
443
  case "T": {
445
- let [e, a] = u, o = 0, l = 0;
446
- n === "Q" || n === "T" ? (o = r + (r - s), l = i + (i - c)) : (o = r, l = i);
447
- let d = r + 2 * (o - r) / 3, f = i + 2 * (l - i) / 3, p = e + 2 * (o - e) / 3, m = a + 2 * (l - a) / 3;
448
- t.push({
444
+ let [ee, Ie] = Ve, Le = 0, Be = 0;
445
+ Ne === "Q" || Ne === "T" ? (Le = Pe + (Pe - Re), Be = Fe + (Fe - ze)) : (Le = Pe, Be = Fe);
446
+ let He = Pe + 2 * (Le - Pe) / 3, Ue = Fe + 2 * (Be - Fe) / 3, We = ee + 2 * (Le - ee) / 3, Ge = Ie + 2 * (Be - Ie) / 3;
447
+ Me.push({
449
448
  key: "C",
450
449
  data: [
451
- d,
452
- f,
453
- p,
454
- m,
455
- e,
456
- a
450
+ He,
451
+ Ue,
452
+ We,
453
+ Ge,
454
+ ee,
455
+ Ie
457
456
  ]
458
- }), s = o, c = l, r = e, i = a;
457
+ }), Re = Le, ze = Be, Pe = ee, Fe = Ie;
459
458
  break;
460
459
  }
461
460
  case "Q": {
462
- let [e, n, a, o] = u, l = r + 2 * (e - r) / 3, d = i + 2 * (n - i) / 3, f = a + 2 * (e - a) / 3, p = o + 2 * (n - o) / 3;
463
- t.push({
461
+ let [ee, Ne, Ie, Le] = Ve, Be = Pe + 2 * (ee - Pe) / 3, He = Fe + 2 * (Ne - Fe) / 3, Ue = Ie + 2 * (ee - Ie) / 3, We = Le + 2 * (Ne - Le) / 3;
462
+ Me.push({
464
463
  key: "C",
465
464
  data: [
466
- l,
467
- d,
468
- f,
469
- p,
470
- a,
471
- o
465
+ Be,
466
+ He,
467
+ Ue,
468
+ We,
469
+ Ie,
470
+ Le
472
471
  ]
473
- }), s = e, c = n, r = a, i = o;
472
+ }), Re = ee, ze = Ne, Pe = Ie, Fe = Le;
474
473
  break;
475
474
  }
476
475
  case "A": {
477
- let e = Math.abs(u[0]), n = Math.abs(u[1]), a = u[2], o = u[3], s = u[4], c = u[5], l = u[6];
478
- e === 0 || n === 0 ? (t.push({
476
+ let ee = Math.abs(Ve[0]), Ne = Math.abs(Ve[1]), Ie = Ve[2], Le = Ve[3], Re = Ve[4], ze = Ve[5], Be = Ve[6];
477
+ ee === 0 || Ne === 0 ? (Me.push({
479
478
  key: "C",
480
479
  data: [
481
- r,
482
- i,
483
- c,
484
- l,
485
- c,
486
- l
480
+ Pe,
481
+ Fe,
482
+ ze,
483
+ Be,
484
+ ze,
485
+ Be
487
486
  ]
488
- }), r = c, i = l) : (r !== c || i !== l) && (S(r, i, c, l, e, n, a, o, s).forEach((function(e) {
489
- t.push({
487
+ }), Pe = ze, Fe = Be) : (Pe !== ze || Fe !== Be) && (x(Pe, Fe, ze, Be, ee, Ne, Ie, Le, Re).forEach((function(ee) {
488
+ Me.push({
490
489
  key: "C",
491
- data: e
490
+ data: ee
492
491
  });
493
- })), r = c, i = l);
492
+ })), Pe = ze, Fe = Be);
494
493
  break;
495
494
  }
496
- case "Z": t.push({
495
+ case "Z": Me.push({
497
496
  key: "Z",
498
497
  data: []
499
- }), r = a, i = o;
498
+ }), Pe = Ie, Fe = Le;
500
499
  }
501
- n = l;
500
+ Ne = Be;
502
501
  }
503
- return t;
502
+ return Me;
504
503
  }
505
- function x(e, t, n) {
506
- return [e * Math.cos(n) - t * Math.sin(n), e * Math.sin(n) + t * Math.cos(n)];
504
+ function w(ee, Me, Ne) {
505
+ return [ee * Math.cos(Ne) - Me * Math.sin(Ne), ee * Math.sin(Ne) + Me * Math.cos(Ne)];
507
506
  }
508
- function S(e, t, n, r, i, a, o, s, c, l) {
509
- let u = (d = o, Math.PI * d / 180);
510
- var d;
511
- let f = [], p = 0, m = 0, h = 0, g = 0;
512
- if (l) [p, m, h, g] = l;
507
+ function x(ee, Me, Ne, Pe, Fe, Ie, Le, Re, ze, Be) {
508
+ let Ve = (He = Le, Math.PI * He / 180);
509
+ var He;
510
+ let Ue = [], We = 0, Ge = 0, Ke = 0, qe = 0;
511
+ if (Be) [We, Ge, Ke, qe] = Be;
513
512
  else {
514
- [e, t] = x(e, t, -u), [n, r] = x(n, r, -u);
515
- let o = (e - n) / 2, l = (t - r) / 2, d = o * o / (i * i) + l * l / (a * a);
516
- d > 1 && (d = Math.sqrt(d), i *= d, a *= d);
517
- let f = i * i, _ = a * a, v = f * _ - f * l * l - _ * o * o, y = f * l * l + _ * o * o, b = (s === c ? -1 : 1) * Math.sqrt(Math.abs(v / y));
518
- h = b * i * l / a + (e + n) / 2, g = b * -a * o / i + (t + r) / 2, p = Math.asin(parseFloat(((t - g) / a).toFixed(9))), m = Math.asin(parseFloat(((r - g) / a).toFixed(9))), e < h && (p = Math.PI - p), n < h && (m = Math.PI - m), p < 0 && (p = 2 * Math.PI + p), m < 0 && (m = 2 * Math.PI + m), c && p > m && (p -= 2 * Math.PI), !c && m > p && (m -= 2 * Math.PI);
519
- }
520
- let _ = m - p;
521
- if (Math.abs(_) > 120 * Math.PI / 180) {
522
- let e = m, t = n, s = r;
523
- m = c && m > p ? p + 120 * Math.PI / 180 * 1 : p + 120 * Math.PI / 180 * -1, f = S(n = h + i * Math.cos(m), r = g + a * Math.sin(m), t, s, i, a, o, 0, c, [
524
- m,
525
- e,
526
- h,
527
- g
513
+ [ee, Me] = w(ee, Me, -Ve), [Ne, Pe] = w(Ne, Pe, -Ve);
514
+ let Le = (ee - Ne) / 2, Be = (Me - Pe) / 2, He = Le * Le / (Fe * Fe) + Be * Be / (Ie * Ie);
515
+ He > 1 && (He = Math.sqrt(He), Fe *= He, Ie *= He);
516
+ let Ue = Fe * Fe, Je = Ie * Ie, Ye = Ue * Je - Ue * Be * Be - Je * Le * Le, Xe = Ue * Be * Be + Je * Le * Le, Ze = (Re === ze ? -1 : 1) * Math.sqrt(Math.abs(Ye / Xe));
517
+ Ke = Ze * Fe * Be / Ie + (ee + Ne) / 2, qe = Ze * -Ie * Le / Fe + (Me + Pe) / 2, We = Math.asin(parseFloat(((Me - qe) / Ie).toFixed(9))), Ge = Math.asin(parseFloat(((Pe - qe) / Ie).toFixed(9))), ee < Ke && (We = Math.PI - We), Ne < Ke && (Ge = Math.PI - Ge), We < 0 && (We = 2 * Math.PI + We), Ge < 0 && (Ge = 2 * Math.PI + Ge), ze && We > Ge && (We -= 2 * Math.PI), !ze && Ge > We && (Ge -= 2 * Math.PI);
518
+ }
519
+ let Je = Ge - We;
520
+ if (Math.abs(Je) > 120 * Math.PI / 180) {
521
+ let ee = Ge, Me = Ne, Re = Pe;
522
+ Ge = ze && Ge > We ? We + 120 * Math.PI / 180 * 1 : We + 120 * Math.PI / 180 * -1, Ue = x(Ne = Ke + Fe * Math.cos(Ge), Pe = qe + Ie * Math.sin(Ge), Me, Re, Fe, Ie, Le, 0, ze, [
523
+ Ge,
524
+ ee,
525
+ Ke,
526
+ qe
528
527
  ]);
529
528
  }
530
- _ = m - p;
531
- let v = Math.cos(p), y = Math.sin(p), b = Math.cos(m), C = Math.sin(m), w = Math.tan(_ / 4), T = 4 / 3 * i * w, E = 4 / 3 * a * w, D = [e, t], O = [e + T * y, t - E * v], k = [n + T * C, r - E * b], A = [n, r];
532
- if (O[0] = 2 * D[0] - O[0], O[1] = 2 * D[1] - O[1], l) return [
533
- O,
534
- k,
535
- A
536
- ].concat(f);
529
+ Je = Ge - We;
530
+ let Ye = Math.cos(We), Xe = Math.sin(We), Ze = Math.cos(Ge), Qe = Math.sin(Ge), $e = Math.tan(Je / 4), rt = 4 / 3 * Fe * $e, it = 4 / 3 * Ie * $e, ct = [ee, Me], lt = [ee + rt * Xe, Me - it * Ye], ut = [Ne + rt * Qe, Pe - it * Ze], dt = [Ne, Pe];
531
+ if (lt[0] = 2 * ct[0] - lt[0], lt[1] = 2 * ct[1] - lt[1], Be) return [
532
+ lt,
533
+ ut,
534
+ dt
535
+ ].concat(Ue);
537
536
  {
538
- f = [
539
- O,
540
- k,
541
- A
542
- ].concat(f);
543
- let e = [];
544
- for (let t = 0; t < f.length; t += 3) {
545
- let n = x(f[t][0], f[t][1], u), r = x(f[t + 1][0], f[t + 1][1], u), i = x(f[t + 2][0], f[t + 2][1], u);
546
- e.push([
547
- n[0],
548
- n[1],
549
- r[0],
550
- r[1],
551
- i[0],
552
- i[1]
537
+ Ue = [
538
+ lt,
539
+ ut,
540
+ dt
541
+ ].concat(Ue);
542
+ let ee = [];
543
+ for (let Me = 0; Me < Ue.length; Me += 3) {
544
+ let Ne = w(Ue[Me][0], Ue[Me][1], Ve), Pe = w(Ue[Me + 1][0], Ue[Me + 1][1], Ve), Fe = w(Ue[Me + 2][0], Ue[Me + 2][1], Ve);
545
+ ee.push([
546
+ Ne[0],
547
+ Ne[1],
548
+ Pe[0],
549
+ Pe[1],
550
+ Fe[0],
551
+ Fe[1]
553
552
  ]);
554
553
  }
555
- return e;
554
+ return ee;
556
555
  }
557
556
  }
558
- var C = {
559
- randOffset: function(e, t) {
560
- return L(e, t);
557
+ var P = {
558
+ randOffset: function(ee, Me) {
559
+ return G(ee, Me);
561
560
  },
562
- randOffsetWithRange: function(e, t, n) {
563
- return I(e, t, n);
561
+ randOffsetWithRange: function(ee, Me, Ne) {
562
+ return E(ee, Me, Ne);
564
563
  },
565
- ellipse: function(e, t, n, r, i) {
566
- return k(e, t, i, O(n, r, i)).opset;
564
+ ellipse: function(ee, Me, Ne, Pe, Fe) {
565
+ return D(ee, Me, Fe, T(Ne, Pe, Fe)).opset;
567
566
  },
568
- doubleLineOps: function(e, t, n, r, i) {
569
- return R(e, t, n, r, i, !0);
567
+ doubleLineOps: function(ee, Me, Ne, Pe, Fe) {
568
+ return $(ee, Me, Ne, Pe, Fe, !0);
570
569
  }
571
570
  };
572
- function w(e, t, n, r, i) {
571
+ function v(ee, Me, Ne, Pe, Fe) {
573
572
  return {
574
573
  type: "path",
575
- ops: R(e, t, n, r, i)
574
+ ops: $(ee, Me, Ne, Pe, Fe)
576
575
  };
577
576
  }
578
- function T(e, t, n) {
579
- let r = (e || []).length;
580
- if (r > 2) {
581
- let i = [];
582
- for (let t = 0; t < r - 1; t++) i.push(...R(e[t][0], e[t][1], e[t + 1][0], e[t + 1][1], n));
583
- return t && i.push(...R(e[r - 1][0], e[r - 1][1], e[0][0], e[0][1], n)), {
577
+ function S(ee, Me, Ne) {
578
+ let Pe = (ee || []).length;
579
+ if (Pe > 2) {
580
+ let Fe = [];
581
+ for (let Me = 0; Me < Pe - 1; Me++) Fe.push(...$(ee[Me][0], ee[Me][1], ee[Me + 1][0], ee[Me + 1][1], Ne));
582
+ return Me && Fe.push(...$(ee[Pe - 1][0], ee[Pe - 1][1], ee[0][0], ee[0][1], Ne)), {
584
583
  type: "path",
585
- ops: i
584
+ ops: Fe
586
585
  };
587
586
  }
588
- return r === 2 ? w(e[0][0], e[0][1], e[1][0], e[1][1], n) : {
587
+ return Pe === 2 ? v(ee[0][0], ee[0][1], ee[1][0], ee[1][1], Ne) : {
589
588
  type: "path",
590
589
  ops: []
591
590
  };
592
591
  }
593
- function E(e, t, n, r, i) {
594
- return function(e, t) {
595
- return T(e, !0, t);
592
+ function O(ee, Me, Ne, Pe, Fe) {
593
+ return function(ee, Me) {
594
+ return S(ee, !0, Me);
596
595
  }([
597
- [e, t],
598
- [e + n, t],
599
- [e + n, t + r],
600
- [e, t + r]
601
- ], i);
596
+ [ee, Me],
597
+ [ee + Ne, Me],
598
+ [ee + Ne, Me + Pe],
599
+ [ee, Me + Pe]
600
+ ], Fe);
602
601
  }
603
- function D(e, t) {
604
- if (e.length) {
605
- let n = typeof e[0][0] == "number" ? [e] : e, r = B(n[0], 1 * (1 + .2 * t.roughness), t), i = t.disableMultiStroke ? [] : B(n[0], 1.5 * (1 + .22 * t.roughness), P(t));
606
- for (let e = 1; e < n.length; e++) {
607
- let a = n[e];
608
- if (a.length) {
609
- let e = B(a, 1 * (1 + .2 * t.roughness), t), n = t.disableMultiStroke ? [] : B(a, 1.5 * (1 + .22 * t.roughness), P(t));
610
- for (let t of e) t.op !== "move" && r.push(t);
611
- for (let e of n) e.op !== "move" && i.push(e);
602
+ function L(ee, Me) {
603
+ if (ee.length) {
604
+ let Ne = typeof ee[0][0] == "number" ? [ee] : ee, Pe = j(Ne[0], 1 * (1 + .2 * Me.roughness), Me), Fe = Me.disableMultiStroke ? [] : j(Ne[0], 1.5 * (1 + .22 * Me.roughness), z(Me));
605
+ for (let ee = 1; ee < Ne.length; ee++) {
606
+ let Ie = Ne[ee];
607
+ if (Ie.length) {
608
+ let ee = j(Ie, 1 * (1 + .2 * Me.roughness), Me), Ne = Me.disableMultiStroke ? [] : j(Ie, 1.5 * (1 + .22 * Me.roughness), z(Me));
609
+ for (let Me of ee) Me.op !== "move" && Pe.push(Me);
610
+ for (let ee of Ne) ee.op !== "move" && Fe.push(ee);
612
611
  }
613
612
  }
614
613
  return {
615
614
  type: "path",
616
- ops: r.concat(i)
615
+ ops: Pe.concat(Fe)
617
616
  };
618
617
  }
619
618
  return {
@@ -621,352 +620,352 @@ function D(e, t) {
621
620
  ops: []
622
621
  };
623
622
  }
624
- function O(e, t, n) {
625
- let r = Math.sqrt(2 * Math.PI * Math.sqrt(((e / 2) ** 2 + (t / 2) ** 2) / 2)), i = Math.ceil(Math.max(n.curveStepCount, n.curveStepCount / Math.sqrt(200) * r)), a = 2 * Math.PI / i, o = Math.abs(e / 2), s = Math.abs(t / 2), c = 1 - n.curveFitting;
626
- return o += L(o * c, n), s += L(s * c, n), {
627
- increment: a,
628
- rx: o,
629
- ry: s
623
+ function T(ee, Me, Ne) {
624
+ let Pe = Math.sqrt(2 * Math.PI * Math.sqrt(((ee / 2) ** 2 + (Me / 2) ** 2) / 2)), Fe = Math.ceil(Math.max(Ne.curveStepCount, Ne.curveStepCount / Math.sqrt(200) * Pe)), Ie = 2 * Math.PI / Fe, Le = Math.abs(ee / 2), Re = Math.abs(Me / 2), ze = 1 - Ne.curveFitting;
625
+ return Le += G(Le * ze, Ne), Re += G(Re * ze, Ne), {
626
+ increment: Ie,
627
+ rx: Le,
628
+ ry: Re
630
629
  };
631
630
  }
632
- function k(e, t, n, r) {
633
- let [i, a] = H(r.increment, e, t, r.rx, r.ry, 1, r.increment * I(.1, I(.4, 1, n), n), n), o = V(i, null, n);
634
- if (!n.disableMultiStroke && n.roughness !== 0) {
635
- let [i] = H(r.increment, e, t, r.rx, r.ry, 1.5, 0, n), a = V(i, null, n);
636
- o = o.concat(a);
631
+ function D(ee, Me, Ne, Pe) {
632
+ let [Fe, Ie] = F(Pe.increment, ee, Me, Pe.rx, Pe.ry, 1, Pe.increment * E(.1, E(.4, 1, Ne), Ne), Ne), Le = q(Fe, null, Ne);
633
+ if (!Ne.disableMultiStroke && Ne.roughness !== 0) {
634
+ let [Fe] = F(Pe.increment, ee, Me, Pe.rx, Pe.ry, 1.5, 0, Ne), Ie = q(Fe, null, Ne);
635
+ Le = Le.concat(Ie);
637
636
  }
638
637
  return {
639
- estimatedPoints: a,
638
+ estimatedPoints: Ie,
640
639
  opset: {
641
640
  type: "path",
642
- ops: o
641
+ ops: Le
643
642
  }
644
643
  };
645
644
  }
646
- function A(e, t, n, r, i, a, o, s, c) {
647
- let l = e, u = t, d = Math.abs(n / 2), f = Math.abs(r / 2);
648
- d += L(.01 * d, c), f += L(.01 * f, c);
649
- let p = i, m = a;
650
- for (; p < 0;) p += 2 * Math.PI, m += 2 * Math.PI;
651
- m - p > 2 * Math.PI && (p = 0, m = 2 * Math.PI);
652
- let h = 2 * Math.PI / c.curveStepCount, g = Math.min(h / 2, (m - p) / 2), _ = U(g, l, u, d, f, p, m, 1, c);
653
- if (!c.disableMultiStroke) {
654
- let e = U(g, l, u, d, f, p, m, 1.5, c);
655
- _.push(...e);
656
- }
657
- return o && (s ? _.push(...R(l, u, l + d * Math.cos(p), u + f * Math.sin(p), c), ...R(l, u, l + d * Math.cos(m), u + f * Math.sin(m), c)) : _.push({
645
+ function A(ee, Me, Ne, Pe, Fe, Ie, Le, Re, ze) {
646
+ let Be = ee, Ve = Me, He = Math.abs(Ne / 2), Ue = Math.abs(Pe / 2);
647
+ He += G(.01 * He, ze), Ue += G(.01 * Ue, ze);
648
+ let We = Fe, Ge = Ie;
649
+ for (; We < 0;) We += 2 * Math.PI, Ge += 2 * Math.PI;
650
+ Ge - We > 2 * Math.PI && (We = 0, Ge = 2 * Math.PI);
651
+ let Ke = 2 * Math.PI / ze.curveStepCount, qe = Math.min(Ke / 2, (Ge - We) / 2), Je = V(qe, Be, Ve, He, Ue, We, Ge, 1, ze);
652
+ if (!ze.disableMultiStroke) {
653
+ let ee = V(qe, Be, Ve, He, Ue, We, Ge, 1.5, ze);
654
+ Je.push(...ee);
655
+ }
656
+ return Le && (Re ? Je.push(...$(Be, Ve, Be + He * Math.cos(We), Ve + Ue * Math.sin(We), ze), ...$(Be, Ve, Be + He * Math.cos(Ge), Ve + Ue * Math.sin(Ge), ze)) : Je.push({
658
657
  op: "lineTo",
659
- data: [l, u]
658
+ data: [Be, Ve]
660
659
  }, {
661
660
  op: "lineTo",
662
- data: [l + d * Math.cos(p), u + f * Math.sin(p)]
661
+ data: [Be + He * Math.cos(We), Ve + Ue * Math.sin(We)]
663
662
  })), {
664
663
  type: "path",
665
- ops: _
664
+ ops: Je
666
665
  };
667
666
  }
668
- function j(e, t) {
669
- let n = b(y(v(e))), r = [], i = [0, 0], a = [0, 0];
670
- for (let { key: e, data: o } of n) switch (e) {
667
+ function _(ee, Me) {
668
+ let Ne = m(y(b(ee))), Pe = [], Fe = [0, 0], Ie = [0, 0];
669
+ for (let { key: ee, data: Le } of Ne) switch (ee) {
671
670
  case "M":
672
- a = [o[0], o[1]], i = [o[0], o[1]];
671
+ Ie = [Le[0], Le[1]], Fe = [Le[0], Le[1]];
673
672
  break;
674
673
  case "L":
675
- r.push(...R(a[0], a[1], o[0], o[1], t)), a = [o[0], o[1]];
674
+ Pe.push(...$(Ie[0], Ie[1], Le[0], Le[1], Me)), Ie = [Le[0], Le[1]];
676
675
  break;
677
676
  case "C": {
678
- let [e, n, i, s, c, l] = o;
679
- r.push(...ee(e, n, i, s, c, l, a, t)), a = [c, l];
677
+ let [ee, Ne, Fe, Re, ze, Be] = Le;
678
+ Pe.push(...Z(ee, Ne, Fe, Re, ze, Be, Ie, Me)), Ie = [ze, Be];
680
679
  break;
681
680
  }
682
- case "Z": r.push(...R(a[0], a[1], i[0], i[1], t)), a = [i[0], i[1]];
681
+ case "Z": Pe.push(...$(Ie[0], Ie[1], Fe[0], Fe[1], Me)), Ie = [Fe[0], Fe[1]];
683
682
  }
684
683
  return {
685
684
  type: "path",
686
- ops: r
685
+ ops: Pe
687
686
  };
688
687
  }
689
- function M(e, t) {
690
- let n = [];
691
- for (let r of e) if (r.length) {
692
- let e = t.maxRandomnessOffset || 0, i = r.length;
693
- if (i > 2) {
694
- n.push({
688
+ function I(ee, Me) {
689
+ let Ne = [];
690
+ for (let Pe of ee) if (Pe.length) {
691
+ let ee = Me.maxRandomnessOffset || 0, Fe = Pe.length;
692
+ if (Fe > 2) {
693
+ Ne.push({
695
694
  op: "move",
696
- data: [r[0][0] + L(e, t), r[0][1] + L(e, t)]
695
+ data: [Pe[0][0] + G(ee, Me), Pe[0][1] + G(ee, Me)]
697
696
  });
698
- for (let a = 1; a < i; a++) n.push({
697
+ for (let Ie = 1; Ie < Fe; Ie++) Ne.push({
699
698
  op: "lineTo",
700
- data: [r[a][0] + L(e, t), r[a][1] + L(e, t)]
699
+ data: [Pe[Ie][0] + G(ee, Me), Pe[Ie][1] + G(ee, Me)]
701
700
  });
702
701
  }
703
702
  }
704
703
  return {
705
704
  type: "fillPath",
706
- ops: n
705
+ ops: Ne
707
706
  };
708
707
  }
709
- function N(e, t) {
710
- return function(e, t) {
711
- let n = e.fillStyle || "hachure";
712
- if (!d[n]) switch (n) {
708
+ function C(ee, Me) {
709
+ return function(ee, Me) {
710
+ let Ne = ee.fillStyle || "hachure";
711
+ if (!u[Ne]) switch (Ne) {
713
712
  case "zigzag":
714
- d[n] || (d[n] = new o(t));
713
+ u[Ne] || (u[Ne] = new h(Me));
715
714
  break;
716
715
  case "cross-hatch":
717
- d[n] || (d[n] = new s(t));
716
+ u[Ne] || (u[Ne] = new r(Me));
718
717
  break;
719
718
  case "dots":
720
- d[n] || (d[n] = new c(t));
719
+ u[Ne] || (u[Ne] = new i(Me));
721
720
  break;
722
721
  case "dashed":
723
- d[n] || (d[n] = new l(t));
722
+ u[Ne] || (u[Ne] = new c(Me));
724
723
  break;
725
724
  case "zigzag-line":
726
- d[n] || (d[n] = new u(t));
725
+ u[Ne] || (u[Ne] = new l(Me));
727
726
  break;
728
- default: n = "hachure", d[n] || (d[n] = new i(t));
727
+ default: Ne = "hachure", u[Ne] || (u[Ne] = new o(Me));
729
728
  }
730
- return d[n];
731
- }(t, C).fillPolygons(e, t);
729
+ return u[Ne];
730
+ }(Me, P).fillPolygons(ee, Me);
732
731
  }
733
- function P(e) {
734
- let t = Object.assign({}, e);
735
- return t.randomizer = void 0, e.seed && (t.seed = e.seed + 1), t;
732
+ function z(ee) {
733
+ let Me = Object.assign({}, ee);
734
+ return Me.randomizer = void 0, ee.seed && (Me.seed = ee.seed + 1), Me;
736
735
  }
737
- function F(e) {
738
- return e.randomizer ||= new f(e.seed || 0), e.randomizer.next();
736
+ function W(ee) {
737
+ return ee.randomizer ||= new p(ee.seed || 0), ee.randomizer.next();
739
738
  }
740
- function I(e, t, n, r = 1) {
741
- return n.roughness * r * (F(n) * (t - e) + e);
739
+ function E(ee, Me, Ne, Pe = 1) {
740
+ return Ne.roughness * Pe * (W(Ne) * (Me - ee) + ee);
742
741
  }
743
- function L(e, t, n = 1) {
744
- return I(-e, e, t, n);
742
+ function G(ee, Me, Ne = 1) {
743
+ return E(-ee, ee, Me, Ne);
745
744
  }
746
- function R(e, t, n, r, i, a = !1) {
747
- let o = a ? i.disableMultiStrokeFill : i.disableMultiStroke, s = z(e, t, n, r, i, !0, !1);
748
- if (o) return s;
749
- let c = z(e, t, n, r, i, !0, !0);
750
- return s.concat(c);
745
+ function $(ee, Me, Ne, Pe, Fe, Ie = !1) {
746
+ let Le = Ie ? Fe.disableMultiStrokeFill : Fe.disableMultiStroke, Re = R(ee, Me, Ne, Pe, Fe, !0, !1);
747
+ if (Le) return Re;
748
+ let ze = R(ee, Me, Ne, Pe, Fe, !0, !0);
749
+ return Re.concat(ze);
751
750
  }
752
- function z(e, t, n, r, i, a, o) {
753
- let s = (e - n) ** 2 + (t - r) ** 2, c = Math.sqrt(s), l = 1;
754
- l = c < 200 ? 1 : c > 500 ? .4 : -.0016668 * c + 1.233334;
755
- let u = i.maxRandomnessOffset || 0;
756
- u * u * 100 > s && (u = c / 10);
757
- let d = u / 2, f = .2 + .2 * F(i), p = i.bowing * i.maxRandomnessOffset * (r - t) / 200, m = i.bowing * i.maxRandomnessOffset * (e - n) / 200;
758
- p = L(p, i, l), m = L(m, i, l);
759
- let h = [], g = () => L(d, i, l), _ = () => L(u, i, l), v = i.preserveVertices;
760
- return a && (o ? h.push({
751
+ function R(ee, Me, Ne, Pe, Fe, Ie, Le) {
752
+ let Re = (ee - Ne) ** 2 + (Me - Pe) ** 2, ze = Math.sqrt(Re), Be = 1;
753
+ Be = ze < 200 ? 1 : ze > 500 ? .4 : -.0016668 * ze + 1.233334;
754
+ let Ve = Fe.maxRandomnessOffset || 0;
755
+ Ve * Ve * 100 > Re && (Ve = ze / 10);
756
+ let He = Ve / 2, Ue = .2 + .2 * W(Fe), We = Fe.bowing * Fe.maxRandomnessOffset * (Pe - Me) / 200, Ge = Fe.bowing * Fe.maxRandomnessOffset * (ee - Ne) / 200;
757
+ We = G(We, Fe, Be), Ge = G(Ge, Fe, Be);
758
+ let Ke = [], qe = () => G(He, Fe, Be), Je = () => G(Ve, Fe, Be), Ye = Fe.preserveVertices;
759
+ return Ie && (Le ? Ke.push({
761
760
  op: "move",
762
- data: [e + (v ? 0 : g()), t + (v ? 0 : g())]
763
- }) : h.push({
761
+ data: [ee + (Ye ? 0 : qe()), Me + (Ye ? 0 : qe())]
762
+ }) : Ke.push({
764
763
  op: "move",
765
- data: [e + (v ? 0 : L(u, i, l)), t + (v ? 0 : L(u, i, l))]
766
- })), o ? h.push({
764
+ data: [ee + (Ye ? 0 : G(Ve, Fe, Be)), Me + (Ye ? 0 : G(Ve, Fe, Be))]
765
+ })), Le ? Ke.push({
767
766
  op: "bcurveTo",
768
767
  data: [
769
- p + e + (n - e) * f + g(),
770
- m + t + (r - t) * f + g(),
771
- p + e + 2 * (n - e) * f + g(),
772
- m + t + 2 * (r - t) * f + g(),
773
- n + (v ? 0 : g()),
774
- r + (v ? 0 : g())
768
+ We + ee + (Ne - ee) * Ue + qe(),
769
+ Ge + Me + (Pe - Me) * Ue + qe(),
770
+ We + ee + 2 * (Ne - ee) * Ue + qe(),
771
+ Ge + Me + 2 * (Pe - Me) * Ue + qe(),
772
+ Ne + (Ye ? 0 : qe()),
773
+ Pe + (Ye ? 0 : qe())
775
774
  ]
776
- }) : h.push({
775
+ }) : Ke.push({
777
776
  op: "bcurveTo",
778
777
  data: [
779
- p + e + (n - e) * f + _(),
780
- m + t + (r - t) * f + _(),
781
- p + e + 2 * (n - e) * f + _(),
782
- m + t + 2 * (r - t) * f + _(),
783
- n + (v ? 0 : _()),
784
- r + (v ? 0 : _())
778
+ We + ee + (Ne - ee) * Ue + Je(),
779
+ Ge + Me + (Pe - Me) * Ue + Je(),
780
+ We + ee + 2 * (Ne - ee) * Ue + Je(),
781
+ Ge + Me + 2 * (Pe - Me) * Ue + Je(),
782
+ Ne + (Ye ? 0 : Je()),
783
+ Pe + (Ye ? 0 : Je())
785
784
  ]
786
- }), h;
785
+ }), Ke;
787
786
  }
788
- function B(e, t, n) {
789
- if (!e.length) return [];
790
- let r = [];
791
- r.push([e[0][0] + L(t, n), e[0][1] + L(t, n)]), r.push([e[0][0] + L(t, n), e[0][1] + L(t, n)]);
792
- for (let i = 1; i < e.length; i++) r.push([e[i][0] + L(t, n), e[i][1] + L(t, n)]), i === e.length - 1 && r.push([e[i][0] + L(t, n), e[i][1] + L(t, n)]);
793
- return V(r, null, n);
787
+ function j(ee, Me, Ne) {
788
+ if (!ee.length) return [];
789
+ let Pe = [];
790
+ Pe.push([ee[0][0] + G(Me, Ne), ee[0][1] + G(Me, Ne)]), Pe.push([ee[0][0] + G(Me, Ne), ee[0][1] + G(Me, Ne)]);
791
+ for (let Fe = 1; Fe < ee.length; Fe++) Pe.push([ee[Fe][0] + G(Me, Ne), ee[Fe][1] + G(Me, Ne)]), Fe === ee.length - 1 && Pe.push([ee[Fe][0] + G(Me, Ne), ee[Fe][1] + G(Me, Ne)]);
792
+ return q(Pe, null, Ne);
794
793
  }
795
- function V(e, t, n) {
796
- let r = e.length, i = [];
797
- if (r > 3) {
798
- let a = [], o = 1 - n.curveTightness;
799
- i.push({
794
+ function q(ee, Me, Ne) {
795
+ let Pe = ee.length, Fe = [];
796
+ if (Pe > 3) {
797
+ let Ie = [], Le = 1 - Ne.curveTightness;
798
+ Fe.push({
800
799
  op: "move",
801
- data: [e[1][0], e[1][1]]
800
+ data: [ee[1][0], ee[1][1]]
802
801
  });
803
- for (let t = 1; t + 2 < r; t++) {
804
- let n = e[t];
805
- a[0] = [n[0], n[1]], a[1] = [n[0] + (o * e[t + 1][0] - o * e[t - 1][0]) / 6, n[1] + (o * e[t + 1][1] - o * e[t - 1][1]) / 6], a[2] = [e[t + 1][0] + (o * e[t][0] - o * e[t + 2][0]) / 6, e[t + 1][1] + (o * e[t][1] - o * e[t + 2][1]) / 6], a[3] = [e[t + 1][0], e[t + 1][1]], i.push({
802
+ for (let Me = 1; Me + 2 < Pe; Me++) {
803
+ let Ne = ee[Me];
804
+ Ie[0] = [Ne[0], Ne[1]], Ie[1] = [Ne[0] + (Le * ee[Me + 1][0] - Le * ee[Me - 1][0]) / 6, Ne[1] + (Le * ee[Me + 1][1] - Le * ee[Me - 1][1]) / 6], Ie[2] = [ee[Me + 1][0] + (Le * ee[Me][0] - Le * ee[Me + 2][0]) / 6, ee[Me + 1][1] + (Le * ee[Me][1] - Le * ee[Me + 2][1]) / 6], Ie[3] = [ee[Me + 1][0], ee[Me + 1][1]], Fe.push({
806
805
  op: "bcurveTo",
807
806
  data: [
808
- a[1][0],
809
- a[1][1],
810
- a[2][0],
811
- a[2][1],
812
- a[3][0],
813
- a[3][1]
807
+ Ie[1][0],
808
+ Ie[1][1],
809
+ Ie[2][0],
810
+ Ie[2][1],
811
+ Ie[3][0],
812
+ Ie[3][1]
814
813
  ]
815
814
  });
816
815
  }
817
- if (t && t.length === 2) {
818
- let e = n.maxRandomnessOffset;
819
- i.push({
816
+ if (Me && Me.length === 2) {
817
+ let ee = Ne.maxRandomnessOffset;
818
+ Fe.push({
820
819
  op: "lineTo",
821
- data: [t[0] + L(e, n), t[1] + L(e, n)]
820
+ data: [Me[0] + G(ee, Ne), Me[1] + G(ee, Ne)]
822
821
  });
823
822
  }
824
- } else r === 3 ? (i.push({
823
+ } else Pe === 3 ? (Fe.push({
825
824
  op: "move",
826
- data: [e[1][0], e[1][1]]
827
- }), i.push({
825
+ data: [ee[1][0], ee[1][1]]
826
+ }), Fe.push({
828
827
  op: "bcurveTo",
829
828
  data: [
830
- e[1][0],
831
- e[1][1],
832
- e[2][0],
833
- e[2][1],
834
- e[2][0],
835
- e[2][1]
829
+ ee[1][0],
830
+ ee[1][1],
831
+ ee[2][0],
832
+ ee[2][1],
833
+ ee[2][0],
834
+ ee[2][1]
836
835
  ]
837
- })) : r === 2 && i.push(...z(e[0][0], e[0][1], e[1][0], e[1][1], n, !0, !0));
838
- return i;
836
+ })) : Pe === 2 && Fe.push(...R(ee[0][0], ee[0][1], ee[1][0], ee[1][1], Ne, !0, !0));
837
+ return Fe;
839
838
  }
840
- function H(e, t, n, r, i, a, o, s) {
841
- let c = [], l = [];
842
- if (s.roughness === 0) {
843
- e /= 4, l.push([t + r * Math.cos(-e), n + i * Math.sin(-e)]);
844
- for (let a = 0; a <= 2 * Math.PI; a += e) {
845
- let e = [t + r * Math.cos(a), n + i * Math.sin(a)];
846
- c.push(e), l.push(e);
839
+ function F(ee, Me, Ne, Pe, Fe, Ie, Le, Re) {
840
+ let ze = [], Be = [];
841
+ if (Re.roughness === 0) {
842
+ ee /= 4, Be.push([Me + Pe * Math.cos(-ee), Ne + Fe * Math.sin(-ee)]);
843
+ for (let Ie = 0; Ie <= 2 * Math.PI; Ie += ee) {
844
+ let ee = [Me + Pe * Math.cos(Ie), Ne + Fe * Math.sin(Ie)];
845
+ ze.push(ee), Be.push(ee);
847
846
  }
848
- l.push([t + r * Math.cos(0), n + i * Math.sin(0)]), l.push([t + r * Math.cos(e), n + i * Math.sin(e)]);
847
+ Be.push([Me + Pe * Math.cos(0), Ne + Fe * Math.sin(0)]), Be.push([Me + Pe * Math.cos(ee), Ne + Fe * Math.sin(ee)]);
849
848
  } else {
850
- let u = L(.5, s) - Math.PI / 2;
851
- l.push([L(a, s) + t + .9 * r * Math.cos(u - e), L(a, s) + n + .9 * i * Math.sin(u - e)]);
852
- let d = 2 * Math.PI + u - .01;
853
- for (let o = u; o < d; o += e) {
854
- let e = [L(a, s) + t + r * Math.cos(o), L(a, s) + n + i * Math.sin(o)];
855
- c.push(e), l.push(e);
849
+ let Ve = G(.5, Re) - Math.PI / 2;
850
+ Be.push([G(Ie, Re) + Me + .9 * Pe * Math.cos(Ve - ee), G(Ie, Re) + Ne + .9 * Fe * Math.sin(Ve - ee)]);
851
+ let He = 2 * Math.PI + Ve - .01;
852
+ for (let Le = Ve; Le < He; Le += ee) {
853
+ let ee = [G(Ie, Re) + Me + Pe * Math.cos(Le), G(Ie, Re) + Ne + Fe * Math.sin(Le)];
854
+ ze.push(ee), Be.push(ee);
856
855
  }
857
- l.push([L(a, s) + t + r * Math.cos(u + 2 * Math.PI + .5 * o), L(a, s) + n + i * Math.sin(u + 2 * Math.PI + .5 * o)]), l.push([L(a, s) + t + .98 * r * Math.cos(u + o), L(a, s) + n + .98 * i * Math.sin(u + o)]), l.push([L(a, s) + t + .9 * r * Math.cos(u + .5 * o), L(a, s) + n + .9 * i * Math.sin(u + .5 * o)]);
856
+ Be.push([G(Ie, Re) + Me + Pe * Math.cos(Ve + 2 * Math.PI + .5 * Le), G(Ie, Re) + Ne + Fe * Math.sin(Ve + 2 * Math.PI + .5 * Le)]), Be.push([G(Ie, Re) + Me + .98 * Pe * Math.cos(Ve + Le), G(Ie, Re) + Ne + .98 * Fe * Math.sin(Ve + Le)]), Be.push([G(Ie, Re) + Me + .9 * Pe * Math.cos(Ve + .5 * Le), G(Ie, Re) + Ne + .9 * Fe * Math.sin(Ve + .5 * Le)]);
858
857
  }
859
- return [l, c];
858
+ return [Be, ze];
860
859
  }
861
- function U(e, t, n, r, i, a, o, s, c) {
862
- let l = a + L(.1, c), u = [];
863
- u.push([L(s, c) + t + .9 * r * Math.cos(l - e), L(s, c) + n + .9 * i * Math.sin(l - e)]);
864
- for (let a = l; a <= o; a += e) u.push([L(s, c) + t + r * Math.cos(a), L(s, c) + n + i * Math.sin(a)]);
865
- return u.push([t + r * Math.cos(o), n + i * Math.sin(o)]), u.push([t + r * Math.cos(o), n + i * Math.sin(o)]), V(u, null, c);
860
+ function V(ee, Me, Ne, Pe, Fe, Ie, Le, Re, ze) {
861
+ let Be = Ie + G(.1, ze), Ve = [];
862
+ Ve.push([G(Re, ze) + Me + .9 * Pe * Math.cos(Be - ee), G(Re, ze) + Ne + .9 * Fe * Math.sin(Be - ee)]);
863
+ for (let Ie = Be; Ie <= Le; Ie += ee) Ve.push([G(Re, ze) + Me + Pe * Math.cos(Ie), G(Re, ze) + Ne + Fe * Math.sin(Ie)]);
864
+ return Ve.push([Me + Pe * Math.cos(Le), Ne + Fe * Math.sin(Le)]), Ve.push([Me + Pe * Math.cos(Le), Ne + Fe * Math.sin(Le)]), q(Ve, null, ze);
866
865
  }
867
- function ee(e, t, n, r, i, a, o, s) {
868
- let c = [], l = [s.maxRandomnessOffset || 1, (s.maxRandomnessOffset || 1) + .3], u = [0, 0], d = s.disableMultiStroke ? 1 : 2, f = s.preserveVertices;
869
- for (let p = 0; p < d; p++) p === 0 ? c.push({
866
+ function Z(ee, Me, Ne, Pe, Fe, Ie, Le, Re) {
867
+ let ze = [], Be = [Re.maxRandomnessOffset || 1, (Re.maxRandomnessOffset || 1) + .3], Ve = [0, 0], He = Re.disableMultiStroke ? 1 : 2, Ue = Re.preserveVertices;
868
+ for (let We = 0; We < He; We++) We === 0 ? ze.push({
870
869
  op: "move",
871
- data: [o[0], o[1]]
872
- }) : c.push({
870
+ data: [Le[0], Le[1]]
871
+ }) : ze.push({
873
872
  op: "move",
874
- data: [o[0] + (f ? 0 : L(l[0], s)), o[1] + (f ? 0 : L(l[0], s))]
875
- }), u = f ? [i, a] : [i + L(l[p], s), a + L(l[p], s)], c.push({
873
+ data: [Le[0] + (Ue ? 0 : G(Be[0], Re)), Le[1] + (Ue ? 0 : G(Be[0], Re))]
874
+ }), Ve = Ue ? [Fe, Ie] : [Fe + G(Be[We], Re), Ie + G(Be[We], Re)], ze.push({
876
875
  op: "bcurveTo",
877
876
  data: [
878
- e + L(l[p], s),
879
- t + L(l[p], s),
880
- n + L(l[p], s),
881
- r + L(l[p], s),
882
- u[0],
883
- u[1]
877
+ ee + G(Be[We], Re),
878
+ Me + G(Be[We], Re),
879
+ Ne + G(Be[We], Re),
880
+ Pe + G(Be[We], Re),
881
+ Ve[0],
882
+ Ve[1]
884
883
  ]
885
884
  });
886
- return c;
885
+ return ze;
887
886
  }
888
- function W(e) {
889
- return [...e];
887
+ function Q(ee) {
888
+ return [...ee];
890
889
  }
891
- function G(e, t = 0) {
892
- let n = e.length;
893
- if (n < 3) throw Error("A curve must have at least three points.");
894
- let r = [];
895
- if (n === 3) r.push(W(e[0]), W(e[1]), W(e[2]), W(e[2]));
890
+ function H(ee, Me = 0) {
891
+ let Ne = ee.length;
892
+ if (Ne < 3) throw Error("A curve must have at least three points.");
893
+ let Pe = [];
894
+ if (Ne === 3) Pe.push(Q(ee[0]), Q(ee[1]), Q(ee[2]), Q(ee[2]));
896
895
  else {
897
- let n = [];
898
- n.push(e[0], e[0]);
899
- for (let t = 1; t < e.length; t++) n.push(e[t]), t === e.length - 1 && n.push(e[t]);
900
- let i = [], a = 1 - t;
901
- r.push(W(n[0]));
902
- for (let e = 1; e + 2 < n.length; e++) {
903
- let t = n[e];
904
- i[0] = [t[0], t[1]], i[1] = [t[0] + (a * n[e + 1][0] - a * n[e - 1][0]) / 6, t[1] + (a * n[e + 1][1] - a * n[e - 1][1]) / 6], i[2] = [n[e + 1][0] + (a * n[e][0] - a * n[e + 2][0]) / 6, n[e + 1][1] + (a * n[e][1] - a * n[e + 2][1]) / 6], i[3] = [n[e + 1][0], n[e + 1][1]], r.push(i[1], i[2], i[3]);
896
+ let Ne = [];
897
+ Ne.push(ee[0], ee[0]);
898
+ for (let Me = 1; Me < ee.length; Me++) Ne.push(ee[Me]), Me === ee.length - 1 && Ne.push(ee[Me]);
899
+ let Fe = [], Ie = 1 - Me;
900
+ Pe.push(Q(Ne[0]));
901
+ for (let ee = 1; ee + 2 < Ne.length; ee++) {
902
+ let Me = Ne[ee];
903
+ Fe[0] = [Me[0], Me[1]], Fe[1] = [Me[0] + (Ie * Ne[ee + 1][0] - Ie * Ne[ee - 1][0]) / 6, Me[1] + (Ie * Ne[ee + 1][1] - Ie * Ne[ee - 1][1]) / 6], Fe[2] = [Ne[ee + 1][0] + (Ie * Ne[ee][0] - Ie * Ne[ee + 2][0]) / 6, Ne[ee + 1][1] + (Ie * Ne[ee][1] - Ie * Ne[ee + 2][1]) / 6], Fe[3] = [Ne[ee + 1][0], Ne[ee + 1][1]], Pe.push(Fe[1], Fe[2], Fe[3]);
905
904
  }
906
905
  }
907
- return r;
906
+ return Pe;
908
907
  }
909
- function K(e, t) {
910
- return (e[0] - t[0]) ** 2 + (e[1] - t[1]) ** 2;
908
+ function N(ee, Me) {
909
+ return (ee[0] - Me[0]) ** 2 + (ee[1] - Me[1]) ** 2;
911
910
  }
912
- function te(e, t, n) {
913
- let r = K(t, n);
914
- if (r === 0) return K(e, t);
915
- let i = ((e[0] - t[0]) * (n[0] - t[0]) + (e[1] - t[1]) * (n[1] - t[1])) / r;
916
- return i = Math.max(0, Math.min(1, i)), K(e, q(t, n, i));
911
+ function B(ee, Me, Ne) {
912
+ let Pe = N(Me, Ne);
913
+ if (Pe === 0) return N(ee, Me);
914
+ let Fe = ((ee[0] - Me[0]) * (Ne[0] - Me[0]) + (ee[1] - Me[1]) * (Ne[1] - Me[1])) / Pe;
915
+ return Fe = Math.max(0, Math.min(1, Fe)), N(ee, J(Me, Ne, Fe));
917
916
  }
918
- function q(e, t, n) {
919
- return [e[0] + (t[0] - e[0]) * n, e[1] + (t[1] - e[1]) * n];
917
+ function J(ee, Me, Ne) {
918
+ return [ee[0] + (Me[0] - ee[0]) * Ne, ee[1] + (Me[1] - ee[1]) * Ne];
920
919
  }
921
- function J(e, t, n, r) {
922
- let i = r || [];
923
- if (function(e, t) {
924
- let n = e[t + 0], r = e[t + 1], i = e[t + 2], a = e[t + 3], o = 3 * r[0] - 2 * n[0] - a[0];
925
- o *= o;
926
- let s = 3 * r[1] - 2 * n[1] - a[1];
927
- s *= s;
928
- let c = 3 * i[0] - 2 * a[0] - n[0];
929
- c *= c;
930
- let l = 3 * i[1] - 2 * a[1] - n[1];
931
- return l *= l, o < c && (o = c), s < l && (s = l), o + s;
932
- }(e, t) < n) {
933
- let n = e[t + 0];
934
- i.length ? (a = i[i.length - 1], o = n, Math.sqrt(K(a, o))) > 1 && i.push(n) : i.push(n), i.push(e[t + 3]);
920
+ function K(ee, Me, Ne, Pe) {
921
+ let Fe = Pe || [];
922
+ if (function(ee, Me) {
923
+ let Ne = ee[Me + 0], Pe = ee[Me + 1], Fe = ee[Me + 2], Ie = ee[Me + 3], Le = 3 * Pe[0] - 2 * Ne[0] - Ie[0];
924
+ Le *= Le;
925
+ let Re = 3 * Pe[1] - 2 * Ne[1] - Ie[1];
926
+ Re *= Re;
927
+ let ze = 3 * Fe[0] - 2 * Ie[0] - Ne[0];
928
+ ze *= ze;
929
+ let Be = 3 * Fe[1] - 2 * Ie[1] - Ne[1];
930
+ return Be *= Be, Le < ze && (Le = ze), Re < Be && (Re = Be), Le + Re;
931
+ }(ee, Me) < Ne) {
932
+ let Ne = ee[Me + 0];
933
+ Fe.length ? (Ie = Fe[Fe.length - 1], Le = Ne, Math.sqrt(N(Ie, Le))) > 1 && Fe.push(Ne) : Fe.push(Ne), Fe.push(ee[Me + 3]);
935
934
  } else {
936
- let r = .5, a = e[t + 0], o = e[t + 1], s = e[t + 2], c = e[t + 3], l = q(a, o, r), u = q(o, s, r), d = q(s, c, r), f = q(l, u, r), p = q(u, d, r), m = q(f, p, r);
937
- J([
938
- a,
939
- l,
940
- f,
941
- m
942
- ], 0, n, i), J([
943
- m,
944
- p,
945
- d,
946
- c
947
- ], 0, n, i);
948
- }
949
- var a, o;
950
- return i;
935
+ let Pe = .5, Ie = ee[Me + 0], Le = ee[Me + 1], Re = ee[Me + 2], ze = ee[Me + 3], Be = J(Ie, Le, Pe), Ve = J(Le, Re, Pe), He = J(Re, ze, Pe), Ue = J(Be, Ve, Pe), We = J(Ve, He, Pe), Ge = J(Ue, We, Pe);
936
+ K([
937
+ Ie,
938
+ Be,
939
+ Ue,
940
+ Ge
941
+ ], 0, Ne, Fe), K([
942
+ Ge,
943
+ We,
944
+ He,
945
+ ze
946
+ ], 0, Ne, Fe);
947
+ }
948
+ var Ie, Le;
949
+ return Fe;
951
950
  }
952
- function ne(e, t) {
953
- return Y(e, 0, e.length, t);
951
+ function U(ee, Me) {
952
+ return X(ee, 0, ee.length, Me);
954
953
  }
955
- function Y(e, t, n, r, i) {
956
- let a = i || [], o = e[t], s = e[n - 1], c = 0, l = 1;
957
- for (let r = t + 1; r < n - 1; ++r) {
958
- let t = te(e[r], o, s);
959
- t > c && (c = t, l = r);
954
+ function X(ee, Me, Ne, Pe, Fe) {
955
+ let Ie = Fe || [], Le = ee[Me], Re = ee[Ne - 1], ze = 0, Be = 1;
956
+ for (let Pe = Me + 1; Pe < Ne - 1; ++Pe) {
957
+ let Me = B(ee[Pe], Le, Re);
958
+ Me > ze && (ze = Me, Be = Pe);
960
959
  }
961
- return Math.sqrt(c) > r ? (Y(e, t, l + 1, r, a), Y(e, l, n, r, a)) : (a.length || a.push(o), a.push(s)), a;
960
+ return Math.sqrt(ze) > Pe ? (X(ee, Me, Be + 1, Pe, Ie), X(ee, Be, Ne, Pe, Ie)) : (Ie.length || Ie.push(Le), Ie.push(Re)), Ie;
962
961
  }
963
- function X(e, t = .15, n) {
964
- let r = [], i = (e.length - 1) / 3;
965
- for (let n = 0; n < i; n++) J(e, 3 * n, t, r);
966
- return n && n > 0 ? Y(r, 0, r.length, n) : r;
962
+ function Y(ee, Me = .15, Ne) {
963
+ let Pe = [], Fe = (ee.length - 1) / 3;
964
+ for (let Ne = 0; Ne < Fe; Ne++) K(ee, 3 * Ne, Me, Pe);
965
+ return Ne && Ne > 0 ? X(Pe, 0, Pe.length, Ne) : Pe;
967
966
  }
968
- var Z = "none", Q = class {
969
- constructor(e) {
967
+ var tt = "none", et = class {
968
+ constructor(ee) {
970
969
  this.defaultOptions = {
971
970
  maxRandomnessOffset: 2,
972
971
  roughness: 1,
@@ -988,245 +987,245 @@ var Z = "none", Q = class {
988
987
  disableMultiStrokeFill: !1,
989
988
  preserveVertices: !1,
990
989
  fillShapeRoughnessGain: .8
991
- }, this.config = e || {}, this.config.options && (this.defaultOptions = this._o(this.config.options));
990
+ }, this.config = ee || {}, this.config.options && (this.defaultOptions = this._o(this.config.options));
992
991
  }
993
992
  static newSeed() {
994
993
  return Math.floor(Math.random() * 2 ** 31);
995
994
  }
996
- _o(e) {
997
- return e ? Object.assign({}, this.defaultOptions, e) : this.defaultOptions;
995
+ _o(ee) {
996
+ return ee ? Object.assign({}, this.defaultOptions, ee) : this.defaultOptions;
998
997
  }
999
- _d(e, t, n) {
998
+ _d(ee, Me, Ne) {
1000
999
  return {
1001
- shape: e,
1002
- sets: t || [],
1003
- options: n || this.defaultOptions
1000
+ shape: ee,
1001
+ sets: Me || [],
1002
+ options: Ne || this.defaultOptions
1004
1003
  };
1005
1004
  }
1006
- line(e, t, n, r, i) {
1007
- let a = this._o(i);
1008
- return this._d("line", [w(e, t, n, r, a)], a);
1009
- }
1010
- rectangle(e, t, n, r, i) {
1011
- let a = this._o(i), o = [], s = E(e, t, n, r, a);
1012
- if (a.fill) {
1013
- let i = [
1014
- [e, t],
1015
- [e + n, t],
1016
- [e + n, t + r],
1017
- [e, t + r]
1005
+ line(ee, Me, Ne, Pe, Fe) {
1006
+ let Ie = this._o(Fe);
1007
+ return this._d("line", [v(ee, Me, Ne, Pe, Ie)], Ie);
1008
+ }
1009
+ rectangle(ee, Me, Ne, Pe, Fe) {
1010
+ let Ie = this._o(Fe), Le = [], Re = O(ee, Me, Ne, Pe, Ie);
1011
+ if (Ie.fill) {
1012
+ let Fe = [
1013
+ [ee, Me],
1014
+ [ee + Ne, Me],
1015
+ [ee + Ne, Me + Pe],
1016
+ [ee, Me + Pe]
1018
1017
  ];
1019
- a.fillStyle === "solid" ? o.push(M([i], a)) : o.push(N([i], a));
1018
+ Ie.fillStyle === "solid" ? Le.push(I([Fe], Ie)) : Le.push(C([Fe], Ie));
1020
1019
  }
1021
- return a.stroke !== Z && o.push(s), this._d("rectangle", o, a);
1022
- }
1023
- ellipse(e, t, n, r, i) {
1024
- let a = this._o(i), o = [], s = O(n, r, a), c = k(e, t, a, s);
1025
- if (a.fill) if (a.fillStyle === "solid") {
1026
- let n = k(e, t, a, s).opset;
1027
- n.type = "fillPath", o.push(n);
1028
- } else o.push(N([c.estimatedPoints], a));
1029
- return a.stroke !== Z && o.push(c.opset), this._d("ellipse", o, a);
1030
- }
1031
- circle(e, t, n, r) {
1032
- let i = this.ellipse(e, t, n, n, r);
1033
- return i.shape = "circle", i;
1034
- }
1035
- linearPath(e, t) {
1036
- let n = this._o(t);
1037
- return this._d("linearPath", [T(e, !1, n)], n);
1038
- }
1039
- arc(e, t, n, r, i, a, o = !1, s) {
1040
- let c = this._o(s), l = [], u = A(e, t, n, r, i, a, o, !0, c);
1041
- if (o && c.fill) if (c.fillStyle === "solid") {
1042
- let o = Object.assign({}, c);
1043
- o.disableMultiStroke = !0;
1044
- let s = A(e, t, n, r, i, a, !0, !1, o);
1045
- s.type = "fillPath", l.push(s);
1046
- } else l.push(function(e, t, n, r, i, a, o) {
1047
- let s = e, c = t, l = Math.abs(n / 2), u = Math.abs(r / 2);
1048
- l += L(.01 * l, o), u += L(.01 * u, o);
1049
- let d = i, f = a;
1050
- for (; d < 0;) d += 2 * Math.PI, f += 2 * Math.PI;
1051
- f - d > 2 * Math.PI && (d = 0, f = 2 * Math.PI);
1052
- let p = (f - d) / o.curveStepCount, m = [];
1053
- for (let e = d; e <= f; e += p) m.push([s + l * Math.cos(e), c + u * Math.sin(e)]);
1054
- return m.push([s + l * Math.cos(f), c + u * Math.sin(f)]), m.push([s, c]), N([m], o);
1055
- }(e, t, n, r, i, a, c));
1056
- return c.stroke !== Z && l.push(u), this._d("arc", l, c);
1057
- }
1058
- curve(e, t) {
1059
- let n = this._o(t), r = [], i = D(e, n);
1060
- if (n.fill && n.fill !== Z) if (n.fillStyle === "solid") {
1061
- let t = D(e, Object.assign(Object.assign({}, n), {
1020
+ return Ie.stroke !== tt && Le.push(Re), this._d("rectangle", Le, Ie);
1021
+ }
1022
+ ellipse(ee, Me, Ne, Pe, Fe) {
1023
+ let Ie = this._o(Fe), Le = [], Re = T(Ne, Pe, Ie), ze = D(ee, Me, Ie, Re);
1024
+ if (Ie.fill) if (Ie.fillStyle === "solid") {
1025
+ let Ne = D(ee, Me, Ie, Re).opset;
1026
+ Ne.type = "fillPath", Le.push(Ne);
1027
+ } else Le.push(C([ze.estimatedPoints], Ie));
1028
+ return Ie.stroke !== tt && Le.push(ze.opset), this._d("ellipse", Le, Ie);
1029
+ }
1030
+ circle(ee, Me, Ne, Pe) {
1031
+ let Fe = this.ellipse(ee, Me, Ne, Ne, Pe);
1032
+ return Fe.shape = "circle", Fe;
1033
+ }
1034
+ linearPath(ee, Me) {
1035
+ let Ne = this._o(Me);
1036
+ return this._d("linearPath", [S(ee, !1, Ne)], Ne);
1037
+ }
1038
+ arc(ee, Me, Ne, Pe, Fe, Ie, Le = !1, Re) {
1039
+ let ze = this._o(Re), Be = [], Ve = A(ee, Me, Ne, Pe, Fe, Ie, Le, !0, ze);
1040
+ if (Le && ze.fill) if (ze.fillStyle === "solid") {
1041
+ let Le = Object.assign({}, ze);
1042
+ Le.disableMultiStroke = !0;
1043
+ let Re = A(ee, Me, Ne, Pe, Fe, Ie, !0, !1, Le);
1044
+ Re.type = "fillPath", Be.push(Re);
1045
+ } else Be.push(function(ee, Me, Ne, Pe, Fe, Ie, Le) {
1046
+ let Re = ee, ze = Me, Be = Math.abs(Ne / 2), Ve = Math.abs(Pe / 2);
1047
+ Be += G(.01 * Be, Le), Ve += G(.01 * Ve, Le);
1048
+ let He = Fe, Ue = Ie;
1049
+ for (; He < 0;) He += 2 * Math.PI, Ue += 2 * Math.PI;
1050
+ Ue - He > 2 * Math.PI && (He = 0, Ue = 2 * Math.PI);
1051
+ let We = (Ue - He) / Le.curveStepCount, Ge = [];
1052
+ for (let ee = He; ee <= Ue; ee += We) Ge.push([Re + Be * Math.cos(ee), ze + Ve * Math.sin(ee)]);
1053
+ return Ge.push([Re + Be * Math.cos(Ue), ze + Ve * Math.sin(Ue)]), Ge.push([Re, ze]), C([Ge], Le);
1054
+ }(ee, Me, Ne, Pe, Fe, Ie, ze));
1055
+ return ze.stroke !== tt && Be.push(Ve), this._d("arc", Be, ze);
1056
+ }
1057
+ curve(ee, Me) {
1058
+ let Ne = this._o(Me), Pe = [], Fe = L(ee, Ne);
1059
+ if (Ne.fill && Ne.fill !== tt) if (Ne.fillStyle === "solid") {
1060
+ let Me = L(ee, Object.assign(Object.assign({}, Ne), {
1062
1061
  disableMultiStroke: !0,
1063
- roughness: n.roughness ? n.roughness + n.fillShapeRoughnessGain : 0
1062
+ roughness: Ne.roughness ? Ne.roughness + Ne.fillShapeRoughnessGain : 0
1064
1063
  }));
1065
- r.push({
1064
+ Pe.push({
1066
1065
  type: "fillPath",
1067
- ops: this._mergedShape(t.ops)
1066
+ ops: this._mergedShape(Me.ops)
1068
1067
  });
1069
1068
  } else {
1070
- let t = [], i = e;
1071
- if (i.length) {
1072
- let e = typeof i[0][0] == "number" ? [i] : i;
1073
- for (let r of e) r.length < 3 ? t.push(...r) : r.length === 3 ? t.push(...X(G([
1074
- r[0],
1075
- r[0],
1076
- r[1],
1077
- r[2]
1078
- ]), 10, (1 + n.roughness) / 2)) : t.push(...X(G(r), 10, (1 + n.roughness) / 2));
1069
+ let Me = [], Fe = ee;
1070
+ if (Fe.length) {
1071
+ let ee = typeof Fe[0][0] == "number" ? [Fe] : Fe;
1072
+ for (let Pe of ee) Pe.length < 3 ? Me.push(...Pe) : Pe.length === 3 ? Me.push(...Y(H([
1073
+ Pe[0],
1074
+ Pe[0],
1075
+ Pe[1],
1076
+ Pe[2]
1077
+ ]), 10, (1 + Ne.roughness) / 2)) : Me.push(...Y(H(Pe), 10, (1 + Ne.roughness) / 2));
1079
1078
  }
1080
- t.length && r.push(N([t], n));
1079
+ Me.length && Pe.push(C([Me], Ne));
1081
1080
  }
1082
- return n.stroke !== Z && r.push(i), this._d("curve", r, n);
1083
- }
1084
- polygon(e, t) {
1085
- let n = this._o(t), r = [], i = T(e, !0, n);
1086
- return n.fill && (n.fillStyle === "solid" ? r.push(M([e], n)) : r.push(N([e], n))), n.stroke !== Z && r.push(i), this._d("polygon", r, n);
1087
- }
1088
- path(e, t) {
1089
- let n = this._o(t), r = [];
1090
- if (!e) return this._d("path", r, n);
1091
- e = (e || "").replace(/\n/g, " ").replace(/(-\s)/g, "-").replace("/(ss)/g", " ");
1092
- let i = n.fill && n.fill !== "transparent" && n.fill !== Z, a = n.stroke !== Z, o = !!(n.simplification && n.simplification < 1), s = function(e, t, n) {
1093
- let r = b(y(v(e))), i = [], a = [], o = [0, 0], s = [], c = () => {
1094
- s.length >= 4 && a.push(...X(s, t)), s = [];
1095
- }, l = () => {
1096
- c(), a.length && (i.push(a), a = []);
1081
+ return Ne.stroke !== tt && Pe.push(Fe), this._d("curve", Pe, Ne);
1082
+ }
1083
+ polygon(ee, Me) {
1084
+ let Ne = this._o(Me), Pe = [], Fe = S(ee, !0, Ne);
1085
+ return Ne.fill && (Ne.fillStyle === "solid" ? Pe.push(I([ee], Ne)) : Pe.push(C([ee], Ne))), Ne.stroke !== tt && Pe.push(Fe), this._d("polygon", Pe, Ne);
1086
+ }
1087
+ path(ee, Me) {
1088
+ let Ne = this._o(Me), Pe = [];
1089
+ if (!ee) return this._d("path", Pe, Ne);
1090
+ ee = (ee || "").replace(/\n/g, " ").replace(/(-\s)/g, "-").replace("/(ss)/g", " ");
1091
+ let Fe = Ne.fill && Ne.fill !== "transparent" && Ne.fill !== tt, Ie = Ne.stroke !== tt, Le = !!(Ne.simplification && Ne.simplification < 1), Re = function(ee, Me, Ne) {
1092
+ let Pe = m(y(b(ee))), Fe = [], Ie = [], Le = [0, 0], Re = [], ze = () => {
1093
+ Re.length >= 4 && Ie.push(...Y(Re, Me)), Re = [];
1094
+ }, Be = () => {
1095
+ ze(), Ie.length && (Fe.push(Ie), Ie = []);
1097
1096
  };
1098
- for (let { key: e, data: t } of r) switch (e) {
1097
+ for (let { key: ee, data: Me } of Pe) switch (ee) {
1099
1098
  case "M":
1100
- l(), o = [t[0], t[1]], a.push(o);
1099
+ Be(), Le = [Me[0], Me[1]], Ie.push(Le);
1101
1100
  break;
1102
1101
  case "L":
1103
- c(), a.push([t[0], t[1]]);
1102
+ ze(), Ie.push([Me[0], Me[1]]);
1104
1103
  break;
1105
1104
  case "C":
1106
- if (!s.length) {
1107
- let e = a.length ? a[a.length - 1] : o;
1108
- s.push([e[0], e[1]]);
1105
+ if (!Re.length) {
1106
+ let ee = Ie.length ? Ie[Ie.length - 1] : Le;
1107
+ Re.push([ee[0], ee[1]]);
1109
1108
  }
1110
- s.push([t[0], t[1]]), s.push([t[2], t[3]]), s.push([t[4], t[5]]);
1109
+ Re.push([Me[0], Me[1]]), Re.push([Me[2], Me[3]]), Re.push([Me[4], Me[5]]);
1111
1110
  break;
1112
- case "Z": c(), a.push([o[0], o[1]]);
1111
+ case "Z": ze(), Ie.push([Le[0], Le[1]]);
1113
1112
  }
1114
- if (l(), !n) return i;
1115
- let u = [];
1116
- for (let e of i) {
1117
- let t = ne(e, n);
1118
- t.length && u.push(t);
1113
+ if (Be(), !Ne) return Fe;
1114
+ let Ve = [];
1115
+ for (let ee of Fe) {
1116
+ let Me = U(ee, Ne);
1117
+ Me.length && Ve.push(Me);
1119
1118
  }
1120
- return u;
1121
- }(e, 1, o ? 4 - 4 * (n.simplification || 1) : (1 + n.roughness) / 2), c = j(e, n);
1122
- if (i) if (n.fillStyle === "solid") if (s.length === 1) {
1123
- let t = j(e, Object.assign(Object.assign({}, n), {
1119
+ return Ve;
1120
+ }(ee, 1, Le ? 4 - 4 * (Ne.simplification || 1) : (1 + Ne.roughness) / 2), ze = _(ee, Ne);
1121
+ if (Fe) if (Ne.fillStyle === "solid") if (Re.length === 1) {
1122
+ let Me = _(ee, Object.assign(Object.assign({}, Ne), {
1124
1123
  disableMultiStroke: !0,
1125
- roughness: n.roughness ? n.roughness + n.fillShapeRoughnessGain : 0
1124
+ roughness: Ne.roughness ? Ne.roughness + Ne.fillShapeRoughnessGain : 0
1126
1125
  }));
1127
- r.push({
1126
+ Pe.push({
1128
1127
  type: "fillPath",
1129
- ops: this._mergedShape(t.ops)
1128
+ ops: this._mergedShape(Me.ops)
1130
1129
  });
1131
- } else r.push(M(s, n));
1132
- else r.push(N(s, n));
1133
- return a && (o ? s.forEach(((e) => {
1134
- r.push(T(e, !1, n));
1135
- })) : r.push(c)), this._d("path", r, n);
1136
- }
1137
- opsToPath(e, t) {
1138
- let n = "";
1139
- for (let r of e.ops) {
1140
- let e = typeof t == "number" && t >= 0 ? r.data.map(((e) => +e.toFixed(t))) : r.data;
1141
- switch (r.op) {
1130
+ } else Pe.push(I(Re, Ne));
1131
+ else Pe.push(C(Re, Ne));
1132
+ return Ie && (Le ? Re.forEach(((ee) => {
1133
+ Pe.push(S(ee, !1, Ne));
1134
+ })) : Pe.push(ze)), this._d("path", Pe, Ne);
1135
+ }
1136
+ opsToPath(ee, Me) {
1137
+ let Ne = "";
1138
+ for (let Pe of ee.ops) {
1139
+ let ee = typeof Me == "number" && Me >= 0 ? Pe.data.map(((ee) => +ee.toFixed(Me))) : Pe.data;
1140
+ switch (Pe.op) {
1142
1141
  case "move":
1143
- n += `M${e[0]} ${e[1]} `;
1142
+ Ne += `M${ee[0]} ${ee[1]} `;
1144
1143
  break;
1145
1144
  case "bcurveTo":
1146
- n += `C${e[0]} ${e[1]}, ${e[2]} ${e[3]}, ${e[4]} ${e[5]} `;
1145
+ Ne += `C${ee[0]} ${ee[1]}, ${ee[2]} ${ee[3]}, ${ee[4]} ${ee[5]} `;
1147
1146
  break;
1148
- case "lineTo": n += `L${e[0]} ${e[1]} `;
1147
+ case "lineTo": Ne += `L${ee[0]} ${ee[1]} `;
1149
1148
  }
1150
1149
  }
1151
- return n.trim();
1150
+ return Ne.trim();
1152
1151
  }
1153
- toPaths(e) {
1154
- let t = e.sets || [], n = e.options || this.defaultOptions, r = [];
1155
- for (let e of t) {
1156
- let t = null;
1157
- switch (e.type) {
1152
+ toPaths(ee) {
1153
+ let Me = ee.sets || [], Ne = ee.options || this.defaultOptions, Pe = [];
1154
+ for (let ee of Me) {
1155
+ let Me = null;
1156
+ switch (ee.type) {
1158
1157
  case "path":
1159
- t = {
1160
- d: this.opsToPath(e),
1161
- stroke: n.stroke,
1162
- strokeWidth: n.strokeWidth,
1163
- fill: Z
1158
+ Me = {
1159
+ d: this.opsToPath(ee),
1160
+ stroke: Ne.stroke,
1161
+ strokeWidth: Ne.strokeWidth,
1162
+ fill: tt
1164
1163
  };
1165
1164
  break;
1166
1165
  case "fillPath":
1167
- t = {
1168
- d: this.opsToPath(e),
1169
- stroke: Z,
1166
+ Me = {
1167
+ d: this.opsToPath(ee),
1168
+ stroke: tt,
1170
1169
  strokeWidth: 0,
1171
- fill: n.fill || Z
1170
+ fill: Ne.fill || tt
1172
1171
  };
1173
1172
  break;
1174
- case "fillSketch": t = this.fillSketch(e, n);
1173
+ case "fillSketch": Me = this.fillSketch(ee, Ne);
1175
1174
  }
1176
- t && r.push(t);
1175
+ Me && Pe.push(Me);
1177
1176
  }
1178
- return r;
1179
- }
1180
- fillSketch(e, t) {
1181
- let n = t.fillWeight;
1182
- return n < 0 && (n = t.strokeWidth / 2), {
1183
- d: this.opsToPath(e),
1184
- stroke: t.fill || Z,
1185
- strokeWidth: n,
1186
- fill: Z
1177
+ return Pe;
1178
+ }
1179
+ fillSketch(ee, Me) {
1180
+ let Ne = Me.fillWeight;
1181
+ return Ne < 0 && (Ne = Me.strokeWidth / 2), {
1182
+ d: this.opsToPath(ee),
1183
+ stroke: Me.fill || tt,
1184
+ strokeWidth: Ne,
1185
+ fill: tt
1187
1186
  };
1188
1187
  }
1189
- _mergedShape(e) {
1190
- return e.filter(((e, t) => t === 0 || e.op !== "move"));
1188
+ _mergedShape(ee) {
1189
+ return ee.filter(((ee, Me) => Me === 0 || ee.op !== "move"));
1191
1190
  }
1192
- }, re = class {
1193
- constructor(e, t) {
1194
- this.canvas = e, this.ctx = this.canvas.getContext("2d"), this.gen = new Q(t);
1191
+ }, st = class {
1192
+ constructor(ee, Me) {
1193
+ this.canvas = ee, this.ctx = this.canvas.getContext("2d"), this.gen = new et(Me);
1195
1194
  }
1196
- draw(e) {
1197
- let t = e.sets || [], n = e.options || this.getDefaultOptions(), r = this.ctx, i = e.options.fixedDecimalPlaceDigits;
1198
- for (let a of t) switch (a.type) {
1195
+ draw(ee) {
1196
+ let Me = ee.sets || [], Ne = ee.options || this.getDefaultOptions(), Pe = this.ctx, Fe = ee.options.fixedDecimalPlaceDigits;
1197
+ for (let Ie of Me) switch (Ie.type) {
1199
1198
  case "path":
1200
- r.save(), r.strokeStyle = n.stroke === "none" ? "transparent" : n.stroke, r.lineWidth = n.strokeWidth, n.strokeLineDash && r.setLineDash(n.strokeLineDash), n.strokeLineDashOffset && (r.lineDashOffset = n.strokeLineDashOffset), this._drawToContext(r, a, i), r.restore();
1199
+ Pe.save(), Pe.strokeStyle = Ne.stroke === "none" ? "transparent" : Ne.stroke, Pe.lineWidth = Ne.strokeWidth, Ne.strokeLineDash && Pe.setLineDash(Ne.strokeLineDash), Ne.strokeLineDashOffset && (Pe.lineDashOffset = Ne.strokeLineDashOffset), this._drawToContext(Pe, Ie, Fe), Pe.restore();
1201
1200
  break;
1202
1201
  case "fillPath": {
1203
- r.save(), r.fillStyle = n.fill || "";
1204
- let t = e.shape === "curve" || e.shape === "polygon" || e.shape === "path" ? "evenodd" : "nonzero";
1205
- this._drawToContext(r, a, i, t), r.restore();
1202
+ Pe.save(), Pe.fillStyle = Ne.fill || "";
1203
+ let Me = ee.shape === "curve" || ee.shape === "polygon" || ee.shape === "path" ? "evenodd" : "nonzero";
1204
+ this._drawToContext(Pe, Ie, Fe, Me), Pe.restore();
1206
1205
  break;
1207
1206
  }
1208
- case "fillSketch": this.fillSketch(r, a, n);
1207
+ case "fillSketch": this.fillSketch(Pe, Ie, Ne);
1209
1208
  }
1210
1209
  }
1211
- fillSketch(e, t, n) {
1212
- let r = n.fillWeight;
1213
- r < 0 && (r = n.strokeWidth / 2), e.save(), n.fillLineDash && e.setLineDash(n.fillLineDash), n.fillLineDashOffset && (e.lineDashOffset = n.fillLineDashOffset), e.strokeStyle = n.fill || "", e.lineWidth = r, this._drawToContext(e, t, n.fixedDecimalPlaceDigits), e.restore();
1210
+ fillSketch(ee, Me, Ne) {
1211
+ let Pe = Ne.fillWeight;
1212
+ Pe < 0 && (Pe = Ne.strokeWidth / 2), ee.save(), Ne.fillLineDash && ee.setLineDash(Ne.fillLineDash), Ne.fillLineDashOffset && (ee.lineDashOffset = Ne.fillLineDashOffset), ee.strokeStyle = Ne.fill || "", ee.lineWidth = Pe, this._drawToContext(ee, Me, Ne.fixedDecimalPlaceDigits), ee.restore();
1214
1213
  }
1215
- _drawToContext(e, t, n, r = "nonzero") {
1216
- e.beginPath();
1217
- for (let r of t.ops) {
1218
- let t = typeof n == "number" && n >= 0 ? r.data.map(((e) => +e.toFixed(n))) : r.data;
1219
- switch (r.op) {
1214
+ _drawToContext(ee, Me, Ne, Pe = "nonzero") {
1215
+ ee.beginPath();
1216
+ for (let Pe of Me.ops) {
1217
+ let Me = typeof Ne == "number" && Ne >= 0 ? Pe.data.map(((ee) => +ee.toFixed(Ne))) : Pe.data;
1218
+ switch (Pe.op) {
1220
1219
  case "move":
1221
- e.moveTo(t[0], t[1]);
1220
+ ee.moveTo(Me[0], Me[1]);
1222
1221
  break;
1223
1222
  case "bcurveTo":
1224
- e.bezierCurveTo(t[0], t[1], t[2], t[3], t[4], t[5]);
1223
+ ee.bezierCurveTo(Me[0], Me[1], Me[2], Me[3], Me[4], Me[5]);
1225
1224
  break;
1226
- case "lineTo": e.lineTo(t[0], t[1]);
1225
+ case "lineTo": ee.lineTo(Me[0], Me[1]);
1227
1226
  }
1228
1227
  }
1229
- t.type === "fillPath" ? e.fill(r) : e.stroke();
1228
+ Me.type === "fillPath" ? ee.fill(Pe) : ee.stroke();
1230
1229
  }
1231
1230
  get generator() {
1232
1231
  return this.gen;
@@ -1234,68 +1233,68 @@ var Z = "none", Q = class {
1234
1233
  getDefaultOptions() {
1235
1234
  return this.gen.defaultOptions;
1236
1235
  }
1237
- line(e, t, n, r, i) {
1238
- let a = this.gen.line(e, t, n, r, i);
1239
- return this.draw(a), a;
1236
+ line(ee, Me, Ne, Pe, Fe) {
1237
+ let Ie = this.gen.line(ee, Me, Ne, Pe, Fe);
1238
+ return this.draw(Ie), Ie;
1240
1239
  }
1241
- rectangle(e, t, n, r, i) {
1242
- let a = this.gen.rectangle(e, t, n, r, i);
1243
- return this.draw(a), a;
1240
+ rectangle(ee, Me, Ne, Pe, Fe) {
1241
+ let Ie = this.gen.rectangle(ee, Me, Ne, Pe, Fe);
1242
+ return this.draw(Ie), Ie;
1244
1243
  }
1245
- ellipse(e, t, n, r, i) {
1246
- let a = this.gen.ellipse(e, t, n, r, i);
1247
- return this.draw(a), a;
1244
+ ellipse(ee, Me, Ne, Pe, Fe) {
1245
+ let Ie = this.gen.ellipse(ee, Me, Ne, Pe, Fe);
1246
+ return this.draw(Ie), Ie;
1248
1247
  }
1249
- circle(e, t, n, r) {
1250
- let i = this.gen.circle(e, t, n, r);
1251
- return this.draw(i), i;
1248
+ circle(ee, Me, Ne, Pe) {
1249
+ let Fe = this.gen.circle(ee, Me, Ne, Pe);
1250
+ return this.draw(Fe), Fe;
1252
1251
  }
1253
- linearPath(e, t) {
1254
- let n = this.gen.linearPath(e, t);
1255
- return this.draw(n), n;
1252
+ linearPath(ee, Me) {
1253
+ let Ne = this.gen.linearPath(ee, Me);
1254
+ return this.draw(Ne), Ne;
1256
1255
  }
1257
- polygon(e, t) {
1258
- let n = this.gen.polygon(e, t);
1259
- return this.draw(n), n;
1256
+ polygon(ee, Me) {
1257
+ let Ne = this.gen.polygon(ee, Me);
1258
+ return this.draw(Ne), Ne;
1260
1259
  }
1261
- arc(e, t, n, r, i, a, o = !1, s) {
1262
- let c = this.gen.arc(e, t, n, r, i, a, o, s);
1263
- return this.draw(c), c;
1260
+ arc(ee, Me, Ne, Pe, Fe, Ie, Le = !1, Re) {
1261
+ let ze = this.gen.arc(ee, Me, Ne, Pe, Fe, Ie, Le, Re);
1262
+ return this.draw(ze), ze;
1264
1263
  }
1265
- curve(e, t) {
1266
- let n = this.gen.curve(e, t);
1267
- return this.draw(n), n;
1264
+ curve(ee, Me) {
1265
+ let Ne = this.gen.curve(ee, Me);
1266
+ return this.draw(Ne), Ne;
1268
1267
  }
1269
- path(e, t) {
1270
- let n = this.gen.path(e, t);
1271
- return this.draw(n), n;
1268
+ path(ee, Me) {
1269
+ let Ne = this.gen.path(ee, Me);
1270
+ return this.draw(Ne), Ne;
1272
1271
  }
1273
- }, $ = "http://www.w3.org/2000/svg", ie = class {
1274
- constructor(e, t) {
1275
- this.svg = e, this.gen = new Q(t);
1272
+ }, nt = "http://www.w3.org/2000/svg", ot = class {
1273
+ constructor(ee, Me) {
1274
+ this.svg = ee, this.gen = new et(Me);
1276
1275
  }
1277
- draw(e) {
1278
- let t = e.sets || [], n = e.options || this.getDefaultOptions(), r = this.svg.ownerDocument || window.document, i = r.createElementNS($, "g"), a = e.options.fixedDecimalPlaceDigits;
1279
- for (let o of t) {
1280
- let t = null;
1281
- switch (o.type) {
1276
+ draw(ee) {
1277
+ let Me = ee.sets || [], Ne = ee.options || this.getDefaultOptions(), Pe = this.svg.ownerDocument || window.document, Fe = Pe.createElementNS(nt, "g"), Ie = ee.options.fixedDecimalPlaceDigits;
1278
+ for (let Le of Me) {
1279
+ let Me = null;
1280
+ switch (Le.type) {
1282
1281
  case "path":
1283
- t = r.createElementNS($, "path"), t.setAttribute("d", this.opsToPath(o, a)), t.setAttribute("stroke", n.stroke), t.setAttribute("stroke-width", n.strokeWidth + ""), t.setAttribute("fill", "none"), n.strokeLineDash && t.setAttribute("stroke-dasharray", n.strokeLineDash.join(" ").trim()), n.strokeLineDashOffset && t.setAttribute("stroke-dashoffset", `${n.strokeLineDashOffset}`);
1282
+ Me = Pe.createElementNS(nt, "path"), Me.setAttribute("d", this.opsToPath(Le, Ie)), Me.setAttribute("stroke", Ne.stroke), Me.setAttribute("stroke-width", Ne.strokeWidth + ""), Me.setAttribute("fill", "none"), Ne.strokeLineDash && Me.setAttribute("stroke-dasharray", Ne.strokeLineDash.join(" ").trim()), Ne.strokeLineDashOffset && Me.setAttribute("stroke-dashoffset", `${Ne.strokeLineDashOffset}`);
1284
1283
  break;
1285
1284
  case "fillPath":
1286
- t = r.createElementNS($, "path"), t.setAttribute("d", this.opsToPath(o, a)), t.setAttribute("stroke", "none"), t.setAttribute("stroke-width", "0"), t.setAttribute("fill", n.fill || ""), e.shape !== "curve" && e.shape !== "polygon" || t.setAttribute("fill-rule", "evenodd");
1285
+ Me = Pe.createElementNS(nt, "path"), Me.setAttribute("d", this.opsToPath(Le, Ie)), Me.setAttribute("stroke", "none"), Me.setAttribute("stroke-width", "0"), Me.setAttribute("fill", Ne.fill || ""), ee.shape !== "curve" && ee.shape !== "polygon" || Me.setAttribute("fill-rule", "evenodd");
1287
1286
  break;
1288
- case "fillSketch": t = this.fillSketch(r, o, n);
1287
+ case "fillSketch": Me = this.fillSketch(Pe, Le, Ne);
1289
1288
  }
1290
- t && i.appendChild(t);
1289
+ Me && Fe.appendChild(Me);
1291
1290
  }
1292
- return i;
1291
+ return Fe;
1293
1292
  }
1294
- fillSketch(e, t, n) {
1295
- let r = n.fillWeight;
1296
- r < 0 && (r = n.strokeWidth / 2);
1297
- let i = e.createElementNS($, "path");
1298
- return i.setAttribute("d", this.opsToPath(t, n.fixedDecimalPlaceDigits)), i.setAttribute("stroke", n.fill || ""), i.setAttribute("stroke-width", r + ""), i.setAttribute("fill", "none"), n.fillLineDash && i.setAttribute("stroke-dasharray", n.fillLineDash.join(" ").trim()), n.fillLineDashOffset && i.setAttribute("stroke-dashoffset", `${n.fillLineDashOffset}`), i;
1293
+ fillSketch(ee, Me, Ne) {
1294
+ let Pe = Ne.fillWeight;
1295
+ Pe < 0 && (Pe = Ne.strokeWidth / 2);
1296
+ let Fe = ee.createElementNS(nt, "path");
1297
+ return Fe.setAttribute("d", this.opsToPath(Me, Ne.fixedDecimalPlaceDigits)), Fe.setAttribute("stroke", Ne.fill || ""), Fe.setAttribute("stroke-width", Pe + ""), Fe.setAttribute("fill", "none"), Ne.fillLineDash && Fe.setAttribute("stroke-dasharray", Ne.fillLineDash.join(" ").trim()), Ne.fillLineDashOffset && Fe.setAttribute("stroke-dashoffset", `${Ne.fillLineDashOffset}`), Fe;
1299
1298
  }
1300
1299
  get generator() {
1301
1300
  return this.gen;
@@ -1303,50 +1302,49 @@ var Z = "none", Q = class {
1303
1302
  getDefaultOptions() {
1304
1303
  return this.gen.defaultOptions;
1305
1304
  }
1306
- opsToPath(e, t) {
1307
- return this.gen.opsToPath(e, t);
1305
+ opsToPath(ee, Me) {
1306
+ return this.gen.opsToPath(ee, Me);
1308
1307
  }
1309
- line(e, t, n, r, i) {
1310
- let a = this.gen.line(e, t, n, r, i);
1311
- return this.draw(a);
1308
+ line(ee, Me, Ne, Pe, Fe) {
1309
+ let Ie = this.gen.line(ee, Me, Ne, Pe, Fe);
1310
+ return this.draw(Ie);
1312
1311
  }
1313
- rectangle(e, t, n, r, i) {
1314
- let a = this.gen.rectangle(e, t, n, r, i);
1315
- return this.draw(a);
1312
+ rectangle(ee, Me, Ne, Pe, Fe) {
1313
+ let Ie = this.gen.rectangle(ee, Me, Ne, Pe, Fe);
1314
+ return this.draw(Ie);
1316
1315
  }
1317
- ellipse(e, t, n, r, i) {
1318
- let a = this.gen.ellipse(e, t, n, r, i);
1319
- return this.draw(a);
1316
+ ellipse(ee, Me, Ne, Pe, Fe) {
1317
+ let Ie = this.gen.ellipse(ee, Me, Ne, Pe, Fe);
1318
+ return this.draw(Ie);
1320
1319
  }
1321
- circle(e, t, n, r) {
1322
- let i = this.gen.circle(e, t, n, r);
1323
- return this.draw(i);
1320
+ circle(ee, Me, Ne, Pe) {
1321
+ let Fe = this.gen.circle(ee, Me, Ne, Pe);
1322
+ return this.draw(Fe);
1324
1323
  }
1325
- linearPath(e, t) {
1326
- let n = this.gen.linearPath(e, t);
1327
- return this.draw(n);
1324
+ linearPath(ee, Me) {
1325
+ let Ne = this.gen.linearPath(ee, Me);
1326
+ return this.draw(Ne);
1328
1327
  }
1329
- polygon(e, t) {
1330
- let n = this.gen.polygon(e, t);
1331
- return this.draw(n);
1328
+ polygon(ee, Me) {
1329
+ let Ne = this.gen.polygon(ee, Me);
1330
+ return this.draw(Ne);
1332
1331
  }
1333
- arc(e, t, n, r, i, a, o = !1, s) {
1334
- let c = this.gen.arc(e, t, n, r, i, a, o, s);
1335
- return this.draw(c);
1332
+ arc(ee, Me, Ne, Pe, Fe, Ie, Le = !1, Re) {
1333
+ let ze = this.gen.arc(ee, Me, Ne, Pe, Fe, Ie, Le, Re);
1334
+ return this.draw(ze);
1336
1335
  }
1337
- curve(e, t) {
1338
- let n = this.gen.curve(e, t);
1339
- return this.draw(n);
1336
+ curve(ee, Me) {
1337
+ let Ne = this.gen.curve(ee, Me);
1338
+ return this.draw(Ne);
1340
1339
  }
1341
- path(e, t) {
1342
- let n = this.gen.path(e, t);
1343
- return this.draw(n);
1340
+ path(ee, Me) {
1341
+ let Ne = this.gen.path(ee, Me);
1342
+ return this.draw(Ne);
1344
1343
  }
1345
- }, ae = {
1346
- canvas: (e, t) => new re(e, t),
1347
- svg: (e, t) => new ie(e, t),
1348
- generator: (e) => new Q(e),
1349
- newSeed: () => Q.newSeed()
1344
+ }, at = {
1345
+ canvas: (ee, Me) => new st(ee, Me),
1346
+ svg: (ee, Me) => new ot(ee, Me),
1347
+ generator: (ee) => new et(ee),
1348
+ newSeed: () => et.newSeed()
1350
1349
  };
1351
- //#endregion
1352
- export { ae as at };
1350
+ export { at };