@langwatch/server 3.6.0 → 3.7.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.
- package/feature-map.json +1279 -0
- package/langwatch/dist/client/assets/AddAnnotationQueueDrawer-C2BpUHmD.js +2 -0
- package/langwatch/dist/client/assets/AddDatasetRecordDrawer-MGG9OkL5.js +6 -0
- package/langwatch/dist/client/assets/AddOrEditAnnotationScore-DT7Wwgex.js +2 -0
- package/langwatch/dist/client/assets/AddOrEditAnnotationScoreDrawer-B_bvSihT.js +2 -0
- package/langwatch/dist/client/assets/AddOrEditDatasetDrawer-DTTe34qt.js +3 -0
- package/langwatch/dist/client/assets/AddParticipants-Cu80BF8F.js +2 -0
- package/langwatch/dist/client/assets/AgentHistoryDrawer-Dv3a7Uw1.js +2 -0
- package/langwatch/dist/client/assets/AgentHttpEditorDrawer-BsTydMou.js +5 -0
- package/langwatch/dist/client/assets/AgentListDrawer-CkuGaFHx.js +2 -0
- package/langwatch/dist/client/assets/AgentTypeSelectorDrawer-K0PUyG8U.js +2 -0
- package/langwatch/dist/client/assets/AgentWorkflowEditorDrawer-CMHvyQPV.js +2 -0
- package/langwatch/dist/client/assets/AgentWorkflowTargetEditorDrawer-B18KFX98.js +2 -0
- package/langwatch/dist/client/assets/AiGatewayLayout-DL7at8rW.js +2 -0
- package/langwatch/dist/client/assets/AnnotationsTable-CrX2ZAvY.js +2 -0
- package/langwatch/dist/client/assets/AreaChart-BYqCBYVe.js +2 -0
- package/langwatch/dist/client/assets/AutomationDrawer-gr9nl_bx.js +112 -0
- package/langwatch/dist/client/assets/BatchEvaluationSummary-DJGlsFFE.js +2 -0
- package/langwatch/dist/client/assets/BudgetEditDrawer-DA_Za9Jh.js +2 -0
- package/langwatch/dist/client/assets/CartesianChart-BvVgDMpj.js +54 -0
- package/langwatch/dist/client/assets/CascadeArchiveDialog-CRcsYqD3.js +2 -0
- package/langwatch/dist/client/assets/ChartCard-C-6jgIhJ.js +2 -0
- package/langwatch/dist/client/assets/ChartTooltip-DDBarZKG.js +4 -0
- package/langwatch/dist/client/assets/ChatWindow-DgNy40Dm.js +5 -0
- package/langwatch/dist/client/assets/CodeEvaluatorEditorDrawer-N8k4omh5.js +9 -0
- package/langwatch/dist/client/assets/CodexCodingDefaultsAsk-B-0KIS0U.js +2 -0
- package/langwatch/dist/client/assets/ColorfulBlockIcons-DntRdsrM.js +6 -0
- package/langwatch/dist/client/assets/ColumnTypeIcon-DHpZtj81.js +2 -0
- package/langwatch/dist/client/assets/ConfirmDialog-Bv_GbZtR.js +2 -0
- package/langwatch/dist/client/assets/ContactSalesBlock-BKfDeTTe.js +2 -0
- package/langwatch/dist/client/assets/Conversation-BLw2XAh1.js +2 -0
- package/langwatch/dist/client/assets/CopyInput-D4OHtSik.js +2 -0
- package/langwatch/dist/client/assets/CopyableInputWithPrefix-CqmK9rdo.js +2 -0
- package/langwatch/dist/client/assets/CreateProjectDrawer-z3akmVmk.js +2 -0
- package/langwatch/dist/client/assets/CreateTeamDrawer-Cq0VeHPU.js +2 -0
- package/langwatch/dist/client/assets/CustomGraph-D1JcOEDG.js +2 -0
- package/langwatch/dist/client/assets/DashboardLayout-cHFbN-Gk.js +6 -0
- package/langwatch/dist/client/assets/DashboardNameDrawer-Gox6uoUt.js +2 -0
- package/langwatch/dist/client/assets/DataPrivacyRuleDrawer-jE8I0jR2.js +2 -0
- package/langwatch/dist/client/assets/DatasetEditorTable-DKIy0xQj.js +2 -0
- package/langwatch/dist/client/assets/DatasetPickerList-DxrvRALJ.js +2 -0
- package/langwatch/dist/client/assets/DatasetPreviewTable-BtNFthdy.js +2 -0
- package/langwatch/dist/client/assets/DatasetSelector-DnwaHRnP.js +2 -0
- package/langwatch/dist/client/assets/DefaultModelOverrideDrawer-CdUN3LnJ.js +2 -0
- package/langwatch/dist/client/assets/DeleteConfirmationDialog-DuCAmpDY.js +2 -0
- package/langwatch/dist/client/assets/DocsLinks-CIoxiusp.js +2 -0
- package/langwatch/dist/client/assets/DynamicZodForm-g1UNpH1b.js +2 -0
- package/langwatch/dist/client/assets/EditAutomationFilterDrawer-BTKzOnMx.js +3 -0
- package/langwatch/dist/client/assets/EditModelProviderDrawer-CRJeagvH.js +4 -0
- package/langwatch/dist/client/assets/EditProjectDrawer-B6CJf6nC.js +2 -0
- package/langwatch/dist/client/assets/EmojiPickerModal-DT_Uj7SU.js +3 -0
- package/langwatch/dist/client/assets/EnterpriseLockedSurface-BjKgoqAx.js +2 -0
- package/langwatch/dist/client/assets/EvaluatorApiUsageDialog-BnIwWX8t.js +107 -0
- package/langwatch/dist/client/assets/EvaluatorCategorySelectorDrawer-BMpitetN.js +2 -0
- package/langwatch/dist/client/assets/EvaluatorEditorDrawer-8SJeJRen.js +2 -0
- package/langwatch/dist/client/assets/EvaluatorEditorShared-BJefmSxm.js +43 -0
- package/langwatch/dist/client/assets/EvaluatorHistoryDrawer-D9r7pDt9.js +2 -0
- package/langwatch/dist/client/assets/EvaluatorListDrawer-J_BFDGv3.js +2 -0
- package/langwatch/dist/client/assets/EvaluatorMappingsSection-DZFvYqNu.js +2 -0
- package/langwatch/dist/client/assets/EvaluatorSelection-DLWkQLtb.js +2 -0
- package/langwatch/dist/client/assets/EvaluatorSelectionBox-CPndz_g-.js +2 -0
- package/langwatch/dist/client/assets/EvaluatorTypeSelectorContent-B1g5DjJ7.js +2 -0
- package/langwatch/dist/client/assets/EvaluatorTypeSelectorDrawer-KKfZF0P-.js +2 -0
- package/langwatch/dist/client/assets/ExecutionState-Dh8lIhIP.js +2 -0
- package/langwatch/dist/client/assets/ExternalImage-As_YKOAz.js +34 -0
- package/langwatch/dist/client/assets/FeatureFlagsDrawer-ClPIMzIj.js +2 -0
- package/langwatch/dist/client/assets/FieldInfoTooltip-s2rM7SM0.js +2 -0
- package/langwatch/dist/client/assets/FieldsFilters-DePzLbr2.js +2 -0
- package/langwatch/dist/client/assets/FilterDisplay-ClLW19sO.js +2 -0
- package/langwatch/dist/client/assets/FilterSidebar-_ppaUjTr.js +2 -0
- package/langwatch/dist/client/assets/FormatMoney-CGjDIju_.js +2 -0
- package/langwatch/dist/client/assets/FoundryDrawer-DGKNXqmH.js +2 -0
- package/langwatch/dist/client/assets/FullLogo-itaa7fj-.js +2 -0
- package/langwatch/dist/client/assets/GovernanceLayout-DO9JArUM.js +2 -0
- package/langwatch/dist/client/assets/GraphsLayout-CjPYn5X3.js +2 -0
- package/langwatch/dist/client/assets/GroupBindingInputRow-zL2daQIU.js +2 -0
- package/langwatch/dist/client/assets/GuardrailsDrawer-Cf49144Z.js +91 -0
- package/langwatch/dist/client/assets/History-Cyg2gtXB.js +17 -0
- package/langwatch/dist/client/assets/HorizontalFormControl-COLSSPyK.js +2 -0
- package/langwatch/dist/client/assets/HoverableBigText-BLoq2yxD.js +2 -0
- package/langwatch/dist/client/assets/InstallCliCard-DvH3ygIs.js +2 -0
- package/langwatch/dist/client/assets/IntegratePaneShell-DmBxXblY.js +8 -0
- package/langwatch/dist/client/assets/InviteMemberDrawer-BPyf9yg9.js +2 -0
- package/langwatch/dist/client/assets/LLMModelCostDrawer-Ddduogw2.js +2 -0
- package/langwatch/dist/client/assets/LangyContextTarget-C6xwYVGg.js +2 -0
- package/langwatch/dist/client/assets/LegacyTracesDeprecationBanner-BYKcrVD_.js +2 -0
- package/langwatch/dist/client/assets/Legend-DoNXU8yt.js +6 -0
- package/langwatch/dist/client/assets/Line-DVmhil3S.js +2 -0
- package/langwatch/dist/client/assets/LineChart-JT5Tcp_D.js +2 -0
- package/langwatch/dist/client/assets/ListTable-sDgRCJ9e.js +2 -0
- package/langwatch/dist/client/assets/LoadingScreen-XWYCoKBN.js +2 -0
- package/langwatch/dist/client/assets/Markdown-CjWZDaeK.js +3 -0
- package/langwatch/dist/client/assets/MenuLink-CCPiKN-n.js +2 -0
- package/langwatch/dist/client/assets/MessageCard-CbSQoH1U.js +2 -0
- package/langwatch/dist/client/assets/MetadataTag-B1XwJcdK.js +5 -0
- package/langwatch/dist/client/assets/ModelProviderCustomModelInput-DKgydORR.js +2 -0
- package/langwatch/dist/client/assets/ModelProviderScreen-CoHgPhxe.js +2 -0
- package/langwatch/dist/client/assets/ModelSelector-dbR6V8hR.js +2 -0
- package/langwatch/dist/client/assets/MyLayout-BCFIoFGU.js +2 -0
- package/langwatch/dist/client/assets/NavigationFooter-BV-y1Ccf.js +2 -0
- package/langwatch/dist/client/assets/NewWorkflowForm-DgYkTq45.js +2 -0
- package/langwatch/dist/client/assets/NoDataInfoBlock-CqSD7i-D.js +2 -0
- package/langwatch/dist/client/assets/OnboardingContainer-jXD3w576.js +2 -0
- package/langwatch/dist/client/assets/OnlineEvaluationDrawer-3RfgPXAt.js +2 -0
- package/langwatch/dist/client/assets/OpsPageShell-BOi49ML9.js +2 -0
- package/langwatch/dist/client/assets/OttlEditor-7MOJI6SZ.js +3 -0
- package/langwatch/dist/client/assets/OverflownText-DITOBs56.js +2 -0
- package/langwatch/dist/client/assets/ProjectAvatar-BOH7ULC-.js +2 -0
- package/langwatch/dist/client/assets/ProjectLangyLayout-D6uI0rgc.js +82 -0
- package/langwatch/dist/client/assets/PromptEditorDrawer-CawpMwv2.js +2 -0
- package/langwatch/dist/client/assets/PromptListDrawer-mJuEu6sl.js +2 -0
- package/langwatch/dist/client/assets/PropertySectionTitle-DM-QD_X7.js +37 -0
- package/langwatch/dist/client/assets/ProviderModelSelector-bu_UnJgn.js +2 -0
- package/langwatch/dist/client/assets/ProviderScopeChips-DAith1M3.js +2 -0
- package/langwatch/dist/client/assets/PushToCopiesDialog-ZhJKOmpB.js +2 -0
- package/langwatch/dist/client/assets/RandomColorAvatar-D4Pjdi5E.js +2 -0
- package/langwatch/dist/client/assets/ReferenceDot-BNL3mb_4.js +2 -0
- package/langwatch/dist/client/assets/RenderInputOutput-B6SIoJEE.js +261 -0
- package/langwatch/dist/client/assets/ScenarioFormDrawer-BreFWAEL.js +2 -0
- package/langwatch/dist/client/assets/ScenarioInputMappingSection-BO7xuz3Q.js +2 -0
- package/langwatch/dist/client/assets/ScenarioRunDetailDrawer-B7tqZUtg.js +3 -0
- package/langwatch/dist/client/assets/ScopeChipPicker-DW0UYA9z.js +2 -0
- package/langwatch/dist/client/assets/SearchInput-Q-TBf_3C.js +2 -0
- package/langwatch/dist/client/assets/SectionNavigationLayout-DELi2l8C.js +2 -0
- package/langwatch/dist/client/assets/SelectDatasetDrawer-z00GrHUJ.js +2 -0
- package/langwatch/dist/client/assets/SelectionActionBar-CmpsxKus.js +2 -0
- package/langwatch/dist/client/assets/SeriesFilterDrawer-DBl29Nft.js +2 -0
- package/langwatch/dist/client/assets/SettingsLayout-TFI-annu.js +2 -0
- package/langwatch/dist/client/assets/SetupWithAgentButton-ChiBWonD.js +4 -0
- package/langwatch/dist/client/assets/ShikiCommandBox-CvJJv-UK.js +5 -0
- package/langwatch/dist/client/assets/SpanDetails-Bf9G4Q7r.js +3 -0
- package/langwatch/dist/client/assets/SubscriptionPage-DojUae0-.js +2 -0
- package/langwatch/dist/client/assets/SuiteFormDrawer-BkSwohnS.js +2 -0
- package/langwatch/dist/client/assets/TabButton-IdHwwJvZ.js +3 -0
- package/langwatch/dist/client/assets/TableCell-BOc9hDdP.js +2 -0
- package/langwatch/dist/client/assets/TargetTypeSelectorDrawer-BkACL4B0.js +2 -0
- package/langwatch/dist/client/assets/TeamForm-CoGCbaXE.js +2 -0
- package/langwatch/dist/client/assets/TeamUserRoleField-DaCIsPr0.js +2 -0
- package/langwatch/dist/client/assets/TraceDetails-D_HPr1ii.js +9 -0
- package/langwatch/dist/client/assets/TraceDetailsDrawer-CFMdgFO6.js +2 -0
- package/langwatch/dist/client/assets/TraceIdPeek-DmsxeUlT.js +2 -0
- package/langwatch/dist/client/assets/TracesMapping-qL9_JqHU.js +2 -0
- package/langwatch/dist/client/assets/UpgradeModal-DaVSEBO2.js +92 -0
- package/langwatch/dist/client/assets/UpgradeModalContent-DUimbawj.js +2 -0
- package/langwatch/dist/client/assets/UploadCSVDrawer-2fH0dmmN.js +3 -0
- package/langwatch/dist/client/assets/VariablesSection-BOZytTct.js +2 -0
- package/langwatch/dist/client/assets/VersionBadge-BNwXa8K1.js +2 -0
- package/langwatch/dist/client/assets/ViaClaudeDesktopScreen-BvCK6x4i.js +1161 -0
- package/langwatch/dist/client/assets/ViewAutomationDrawer-CBoDRCfF.js +2 -0
- package/langwatch/dist/client/assets/VirtualKeySecretReveal-z9OhRCRq.js +54 -0
- package/langwatch/dist/client/assets/WelcomeLayout-veH9XP9n.js +2 -0
- package/langwatch/dist/client/assets/WithFeatureFlagGuard-D09SSCsN.js +2 -0
- package/langwatch/dist/client/assets/WithPermissionGuard-BBKTBlhW.js +2 -0
- package/langwatch/dist/client/assets/WorkflowCard-CUUg0Jb9.js +2 -0
- package/langwatch/dist/client/assets/WorkflowSelectorForEvaluatorDrawer-DQPMmz5y.js +2 -0
- package/langwatch/dist/client/assets/_...path_-Dl2wM_Co.js +2 -0
- package/langwatch/dist/client/assets/_Uint8Array-CVdXk-9j.js +2 -0
- package/langwatch/dist/client/assets/__...path__-dvuiwbR8.js +22 -0
- package/langwatch/dist/client/assets/_baseAssignValue-D1riHssy.js +2 -0
- package/langwatch/dist/client/assets/_baseClone-Btuu3kUN.js +2 -0
- package/langwatch/dist/client/assets/_baseEach-D42E_cYN.js +2 -0
- package/langwatch/dist/client/assets/_baseFor-DjY96g6R.js +2 -0
- package/langwatch/dist/client/assets/_experiment_-C41VDj2_.js +2 -0
- package/langwatch/dist/client/assets/_id_-6sd4MNOz.js +2 -0
- package/langwatch/dist/client/assets/_id_-7yHuXZsv.js +2 -0
- package/langwatch/dist/client/assets/_id_-BiJsS6cZ.js +2 -0
- package/langwatch/dist/client/assets/_id_-BxNfkyzv.js +2 -0
- package/langwatch/dist/client/assets/_id_-DjvwAa9I.js +2 -0
- package/langwatch/dist/client/assets/_id_-Dv1Ha5td.js +2 -0
- package/langwatch/dist/client/assets/_id_-qIAmzXj9.js +2 -0
- package/langwatch/dist/client/assets/_project_-WrF4swO9.js +8 -0
- package/langwatch/dist/client/assets/_runId_-uzKEhtNe.js +7 -0
- package/langwatch/dist/client/assets/_shell-CBKyngpn.js +2 -0
- package/langwatch/dist/client/assets/_slug_-B7rGjVou.js +17 -0
- package/langwatch/dist/client/assets/_slug_-BM065qSQ.js +2 -0
- package/langwatch/dist/client/assets/_slug_-DTN4hRRD.js +2 -0
- package/langwatch/dist/client/assets/_team_-DFCS7cLC.js +2 -0
- package/langwatch/dist/client/assets/_workflow_-Dm-v5D1q.js +25 -0
- package/langwatch/dist/client/assets/_workflow_-Od6Ld1fG.js +3 -0
- package/langwatch/dist/client/assets/accept-DfhUN0Qn.js +2 -0
- package/langwatch/dist/client/assets/activity-ikjk_AlK.js +1 -0
- package/langwatch/dist/client/assets/agents-BbtJ377u.js +2 -0
- package/langwatch/dist/client/assets/alerts-ikjk_AlK.js +1 -0
- package/langwatch/dist/client/assets/all-Ba9m0fkb.js +2 -0
- package/langwatch/dist/client/assets/analytics-BfdI38ZC.js +2 -0
- package/langwatch/dist/client/assets/annotation-scores-BY75kcBF.js +2 -0
- package/langwatch/dist/client/assets/annotations-DIwdkHHY.js +2 -0
- package/langwatch/dist/client/assets/anomaly-rules-BmEX38RD.js +2 -0
- package/langwatch/dist/client/assets/api-keys-BPifPObL.js +4 -0
- package/langwatch/dist/client/assets/asaplangy-BjnuNv4L.js +5 -0
- package/langwatch/dist/client/assets/audit-log-2z_Ec4XU.js +2 -0
- package/langwatch/dist/client/assets/auth-BJm09Odd.js +2 -0
- package/langwatch/dist/client/assets/authentication-D4a-VSlX.js +2 -0
- package/langwatch/dist/client/assets/authorize-BBjJ2zjw.js +2 -0
- package/langwatch/dist/client/assets/authorize-CHqAf3Jd.js +2 -0
- package/langwatch/dist/client/assets/automations-Bds5nLI_.js +2 -0
- package/langwatch/dist/client/assets/automations-ikjk_AlK.js +1 -0
- package/langwatch/dist/client/assets/billing-plans-K7xawVCS.js +2 -0
- package/langwatch/dist/client/assets/blank-DsMQ71pJ.js +2 -0
- package/langwatch/dist/client/assets/blobs-Dc7nKnmO.js +2 -0
- package/langwatch/dist/client/assets/blockDiagram-677ZJIJ3-57B2W0rq.js +133 -0
- package/langwatch/dist/client/assets/budgets-dKK-wYyg.js +3 -0
- package/langwatch/dist/client/assets/bug-reports-BxCDdVoL.js +2 -0
- package/langwatch/dist/client/assets/cache-rules-Ds14kJAt.js +2 -0
- package/langwatch/dist/client/assets/choose-X7Hyqyyu.js +2 -0
- package/langwatch/dist/client/assets/chunk-EX3LRPZG-DF3ACR9i.js +232 -0
- package/langwatch/dist/client/assets/chunk-FWX5IMBZ-CIlmcu0O.js +3 -0
- package/langwatch/dist/client/assets/chunk-PUDLZKDR-Dj_zAVVr.js +157 -0
- package/langwatch/dist/client/assets/chunk-RYQCIY6F-CjWAFgxP.js +2 -0
- package/langwatch/dist/client/assets/chunk-V7JOEXUC-BgVcuIhi.js +207 -0
- package/langwatch/dist/client/assets/classDiagram-OUVF2IWQ-Cw7PXCaC.js +2 -0
- package/langwatch/dist/client/assets/classDiagram-v2-EOCWNBFH-Cw7PXCaC.js +2 -0
- package/langwatch/dist/client/assets/codeAgentConfig-B0NzDmlQ.js +7 -0
- package/langwatch/dist/client/assets/codingDefaultSync-ebaLPfnN.js +2 -0
- package/langwatch/dist/client/assets/configure-CrbOTC5S.js +4 -0
- package/langwatch/dist/client/assets/custom-D8Emd7w-.js +12 -0
- package/langwatch/dist/client/assets/custom_evaluator-BtYta_Dj.js +31 -0
- package/langwatch/dist/client/assets/dagre-ClO7SEns.js +2 -0
- package/langwatch/dist/client/assets/dagre-VKFMJZFB-evqDS8UW.js +5 -0
- package/langwatch/dist/client/assets/data-privacy-GCArtTFq.js +2 -0
- package/langwatch/dist/client/assets/data-retention-BtLi9M98.js +2 -0
- package/langwatch/dist/client/assets/datasets-DeNG9KNJ.js +2 -0
- package/langwatch/dist/client/assets/debounce-r-8TPIqh.js +2 -0
- package/langwatch/dist/client/assets/defaultModelState-ByR0bEhZ.js +2 -0
- package/langwatch/dist/client/assets/dejaview-BF8VqQGI.js +2 -0
- package/langwatch/dist/client/assets/departments-D2L92_Qa.js +2 -0
- package/langwatch/dist/client/assets/devices-C8e0So_K.js +2 -0
- package/langwatch/dist/client/assets/dist-B1XMO10X.js +6 -0
- package/langwatch/dist/client/assets/drawerFromUrl-BZIwwDLm.js +2 -0
- package/langwatch/dist/client/assets/edit-pIB-bQM_.js +62 -0
- package/langwatch/dist/client/assets/email-suppressions-Bq0lhfwG.js +2 -0
- package/langwatch/dist/client/assets/erDiagram-Q63AITRT-BqEHcyA0.js +86 -0
- package/langwatch/dist/client/assets/error-2TTx9xpE.js +2 -0
- package/langwatch/dist/client/assets/evaluations-0Nc6rWP8.js +2 -0
- package/langwatch/dist/client/assets/evaluations-DHmE-YCm.js +2 -0
- package/langwatch/dist/client/assets/evaluators-DKbY-ajr.js +146 -0
- package/langwatch/dist/client/assets/evaluators-v4CDfsOE.js +2 -0
- package/langwatch/dist/client/assets/experiments-BRN0rGL9.js +1 -0
- package/langwatch/dist/client/assets/external-link-CtHzR85H.js +2 -0
- package/langwatch/dist/client/assets/feature-flags-BDyiuat4.js +2 -0
- package/langwatch/dist/client/assets/fetchSSE-GcVBzE9n.js +3 -0
- package/langwatch/dist/client/assets/fieldset-CIGh0Uxg.js +2 -0
- package/langwatch/dist/client/assets/flowDiagram-23GEKE2U-BOl-6oqO.js +1 -0
- package/langwatch/dist/client/assets/forgot-password-DjvudMXW.js +2 -0
- package/langwatch/dist/client/assets/formatMoney-ByqR-Rrd.js +2 -0
- package/langwatch/dist/client/assets/foundry-Co_CpgKb.js +477 -0
- package/langwatch/dist/client/assets/gateway-B0y3Tz7G.js +2 -0
- package/langwatch/dist/client/assets/getEvaluator-pJF3ehUx.js +2 -0
- package/langwatch/dist/client/assets/getRadiusAndStrokeWidthFromDot-Bbj-WQTj.js +2 -0
- package/langwatch/dist/client/assets/governance-BtuwwuRw.js +2 -0
- package/langwatch/dist/client/assets/graphlib-CwcejmA1.js +2 -0
- package/langwatch/dist/client/assets/groups-DTVa4dcS.js +2 -0
- package/langwatch/dist/client/assets/guardrails-BnCJsF0m.js +2 -0
- package/langwatch/dist/client/assets/http-BIG04f8c.js +7 -0
- package/langwatch/dist/client/assets/identifierUtils-B1LGnOD5.js +2 -0
- package/langwatch/dist/client/assets/immer-BdlOHsfO.js +14 -0
- package/langwatch/dist/client/assets/index-DtiounXP.js +68 -0
- package/langwatch/dist/client/assets/ingestion-source-detail-hmCupOG1.js +19 -0
- package/langwatch/dist/client/assets/ingestion-sources-sv7eDiMD.js +12 -0
- package/langwatch/dist/client/assets/integrations-CM7dYrOG.js +2 -0
- package/langwatch/dist/client/assets/isArrayLikeObject-6lUBvOUd.js +2 -0
- package/langwatch/dist/client/assets/isSymbol-n0ARt1yC.js +2 -0
- package/langwatch/dist/client/assets/langyHomeSuggestions-Oyh_vavj.js +2 -0
- package/langwatch/dist/client/assets/latestAliases-D_86OOcA.js +2 -0
- package/langwatch/dist/client/assets/license-CYtxniam.js +2 -0
- package/langwatch/dist/client/assets/loadModelCatalog-31-xT4W4.js +2 -0
- package/langwatch/dist/client/assets/map-BCpZm9Sc.js +2 -0
- package/langwatch/dist/client/assets/mappingValidation-DPNnGAuO.js +2 -0
- package/langwatch/dist/client/assets/me-1nxAV6zO.js +2 -0
- package/langwatch/dist/client/assets/me-wWuZrajs.js +7 -0
- package/langwatch/dist/client/assets/members-Bau-5CPK.js +2 -0
- package/langwatch/dist/client/assets/mermaid.core-oQEgcWXd.js +12 -0
- package/langwatch/dist/client/assets/messages-kTp5NaSm.js +2 -0
- package/langwatch/dist/client/assets/metrics-Cpovzjg4.js +2 -0
- package/langwatch/dist/client/assets/mindmap-definition-LN4V7U3C-OcYZSGuC.js +97 -0
- package/langwatch/dist/client/assets/model-costs-DiRpmy-H.js +2 -0
- package/langwatch/dist/client/assets/model-providers-DRq5Q7er.js +2 -0
- package/langwatch/dist/client/assets/modelProviderHelpers-STUAbD02.js +2 -0
- package/langwatch/dist/client/assets/my-queue-veenWZWf.js +2 -0
- package/langwatch/dist/client/assets/normalizeComparison-CDNTbMdZ.js +2 -0
- package/langwatch/dist/client/assets/not-found-Nu1odKyD.js +2 -0
- package/langwatch/dist/client/assets/now-BQGidI_5.js +2 -0
- package/langwatch/dist/client/assets/onboarding-BWJ038z8.js +2 -0
- package/langwatch/dist/client/assets/online-evaluations-k-WwH1ML.js +2 -0
- package/langwatch/dist/client/assets/ops-D9am3MEi.js +2 -0
- package/langwatch/dist/client/assets/organizations-CMTT_97U.js +2 -0
- package/langwatch/dist/client/assets/pages-D5p_o0LC.js +2 -0
- package/langwatch/dist/client/assets/persistence-jLMreGhL.js +2 -0
- package/langwatch/dist/client/assets/plans-v8LBcXa9.js +2 -0
- package/langwatch/dist/client/assets/product-CAja-R4_.js +2 -0
- package/langwatch/dist/client/assets/project-DbS0dYGR.js +2 -0
- package/langwatch/dist/client/assets/projections-B4mXJEvc.js +2 -0
- package/langwatch/dist/client/assets/projects-DnYaZW6w.js +2 -0
- package/langwatch/dist/client/assets/promptHandle-CQ_zUeRB.js +2 -0
- package/langwatch/dist/client/assets/prompts-BAxWZhm5.js +8 -0
- package/langwatch/dist/client/assets/radio-group-y_PtCP6q.js +2 -0
- package/langwatch/dist/client/assets/registry-KCPOxhx0.js +2 -0
- package/langwatch/dist/client/assets/reports-B_Y4pHYs.js +2 -0
- package/langwatch/dist/client/assets/request-bU99z82H.js +2 -0
- package/langwatch/dist/client/assets/requirementDiagram-TGXJPOKE-BYId9zaF.js +85 -0
- package/langwatch/dist/client/assets/reset-password-zMr6-23y.js +2 -0
- package/langwatch/dist/client/assets/role-bindings-BvPzAUj1.js +2 -0
- package/langwatch/dist/client/assets/roles-CjwqOKoo.js +2 -0
- package/langwatch/dist/client/assets/routing-policies-C7yjQJuY.js +5 -0
- package/langwatch/dist/client/assets/scenarios-CdrzuCtM.js +2 -0
- package/langwatch/dist/client/assets/scheduler-CfXVwiOa.js +2 -0
- package/langwatch/dist/client/assets/schedules-ikjk_AlK.js +1 -0
- package/langwatch/dist/client/assets/scim-CGJ8MwNu.js +2 -0
- package/langwatch/dist/client/assets/secrets-DZef0jTb.js +2 -0
- package/langwatch/dist/client/assets/segment-group-EW0AyNd-.js +2 -0
- package/langwatch/dist/client/assets/segmented-control-SS4Yq_Ti.js +2 -0
- package/langwatch/dist/client/assets/select-C5JAM7Gf.js +2 -0
- package/langwatch/dist/client/assets/send-TZcuPW9Z.js +2 -0
- package/langwatch/dist/client/assets/sequenceView-vubFe0e7.js +5 -0
- package/langwatch/dist/client/assets/seriesOptions-0YtTiTzZ.js +1011 -0
- package/langwatch/dist/client/assets/settings-CfAtn_PH.js +2 -0
- package/langwatch/dist/client/assets/setup-In6OXn3a.js +2 -0
- package/langwatch/dist/client/assets/shikiAdapter-lZp3oxvk.js +3 -0
- package/langwatch/dist/client/assets/signin-CMU_rlgk.js +2 -0
- package/langwatch/dist/client/assets/signup-CYKtIfrB.js +2 -0
- package/langwatch/dist/client/assets/stateDiagram-2N3HPSRC-CKO-9021.js +2 -0
- package/langwatch/dist/client/assets/stateDiagram-v2-6OUMAXLB-BnXuBsJr.js +2 -0
- package/langwatch/dist/client/assets/subscription-CBiotOK9.js +3 -0
- package/langwatch/dist/client/assets/subscriptions-D55paZaw.js +2 -0
- package/langwatch/dist/client/assets/suggestionUI-KPD1is36.js +106 -0
- package/langwatch/dist/client/assets/swimlanes-5IMT3BWC-B0ptAIsf.js +3 -0
- package/langwatch/dist/client/assets/swimlanesDiagram-G3AALYLV-DzqdWH4x.js +9 -0
- package/langwatch/dist/client/assets/switch-BOt3Np6s.js +2 -0
- package/langwatch/dist/client/assets/switch-BnyTlP1L.js +2 -0
- package/langwatch/dist/client/assets/tabs-D8PJtlU3.js +2 -0
- package/langwatch/dist/client/assets/teams-CE3UCC84.js +2 -0
- package/langwatch/dist/client/assets/teams-CxmVu0zp.js +2 -0
- package/langwatch/dist/client/assets/tool-catalog-DTTKCxyF.js +7 -0
- package/langwatch/dist/client/assets/toolIcons-n2K5OHKw.js +2 -0
- package/langwatch/dist/client/assets/tooltip-CYWvZEOf.js +2 -0
- package/langwatch/dist/client/assets/topic-clustering-C37AbBFy.js +2 -0
- package/langwatch/dist/client/assets/topics-rviNSdYR.js +2 -0
- package/langwatch/dist/client/assets/traceExecutor-DQlsNg6N.js +55 -0
- package/langwatch/dist/client/assets/traces-DnlS2lMP.js +289 -0
- package/langwatch/dist/client/assets/tracesMapping-DJvqZsfB.js +3 -0
- package/langwatch/dist/client/assets/tracking-6s9dX1_R.js +2 -0
- package/langwatch/dist/client/assets/types-BeNupKna.js +2 -0
- package/langwatch/dist/client/assets/types-ChBnYRcc.js +2 -0
- package/langwatch/dist/client/assets/types-DXVP3BA7.js +2 -0
- package/langwatch/dist/client/assets/types-atzk7phf.js +2 -0
- package/langwatch/dist/client/assets/unsubscribe-uUCCImkQ.js +2 -0
- package/langwatch/dist/client/assets/usage-DBjFOkD3.js +2 -0
- package/langwatch/dist/client/assets/usage-De8DbhVE.js +2 -0
- package/langwatch/dist/client/assets/use-breakpoint-BdbDgj6J.js +2 -0
- package/langwatch/dist/client/assets/use-generic-onboarding-flow-CQjNkSYf.js +2 -0
- package/langwatch/dist/client/assets/useActivePlan-DZotDN7k.js +2 -0
- package/langwatch/dist/client/assets/useAllPromptsForProject-yZtsv1kJ.js +2 -0
- package/langwatch/dist/client/assets/useAnnotationQueues-BJ8Vb6SZ.js +2 -0
- package/langwatch/dist/client/assets/useAvailableEvaluators-C6cl3TSs.js +2 -0
- package/langwatch/dist/client/assets/useCyclingVerb-CMPh6fkl.js +2 -0
- package/langwatch/dist/client/assets/useDepartmentColumn-C4l1_4BR.js +2 -0
- package/langwatch/dist/client/assets/useEvaluationsV3Store-CMnxA8pt.js +2 -0
- package/langwatch/dist/client/assets/useExportTraces-DzTqFSlc.js +2 -0
- package/langwatch/dist/client/assets/useFeatureFlag-CKFU9lsX.js +2 -0
- package/langwatch/dist/client/assets/useInviteActions-CNRL7usw.js +2 -0
- package/langwatch/dist/client/assets/useLicenseEnforcement-BIiCopDI.js +2 -0
- package/langwatch/dist/client/assets/useLiteMemberGuard-ChV0lUs4.js +43 -0
- package/langwatch/dist/client/assets/usePersonalContext-D-HsFKQo.js +2 -0
- package/langwatch/dist/client/assets/useProjectSpanNames-BKMm-yLN.js +2 -0
- package/langwatch/dist/client/assets/useProjectsForCopy-BPGjhWUl.js +2 -0
- package/langwatch/dist/client/assets/useRunViaApiTabs-BGv2kygX.js +50 -0
- package/langwatch/dist/client/assets/useSavedViews-DH6Poufh.js +2 -0
- package/langwatch/dist/client/assets/useShowLangy-DvcJ7z1U.js +2 -0
- package/langwatch/dist/client/assets/useSimulationUpdateListener-CcqEq03v.js +2 -0
- package/langwatch/dist/client/assets/useTargetName-CByKsdU-.js +2 -0
- package/langwatch/dist/client/assets/useTargetNameMap-C8kjUxhY.js +2 -0
- package/langwatch/dist/client/assets/useTraceDetailsDrawer-BgcNOady.js +2 -0
- package/langwatch/dist/client/assets/useTraceUpdateListener-D5UNLNbd.js +2 -0
- package/langwatch/dist/client/assets/useUrlScopeFilter-D0HZ-mkj.js +2 -0
- package/langwatch/dist/client/assets/useWorkflowStore-CVvg8K0Q.js +8 -0
- package/langwatch/dist/client/assets/users-802bPAIG.js +2 -0
- package/langwatch/dist/client/assets/users-CWkRn-Tl.js +2 -0
- package/langwatch/dist/client/assets/users-DhJ0ZUHi.js +2 -0
- package/langwatch/dist/client/assets/v3-D65ySaeM.js +2 -0
- package/langwatch/dist/client/assets/variables-BpyyIkKh.js +396 -0
- package/langwatch/dist/client/assets/viewStore-Bq2Jqc8R.js +2 -0
- package/langwatch/dist/client/assets/virtual-keys-Cbeg9TQU.js +2 -0
- package/langwatch/dist/client/assets/welcome-Bh4D-qW7.js +16 -0
- package/langwatch/dist/client/assets/wizard-spBSxei8.js +2 -0
- package/langwatch/dist/client/assets/workbench-Bid7wYk7.js +2 -0
- package/langwatch/dist/client/assets/workflows-1TodsGOO.js +3 -0
- package/langwatch/dist/client/assets/wrap-noqflF_F.js +2 -0
- package/langwatch/dist/client/index.html +1 -1
- package/langwatch/package.json +1 -1
- package/langwatch/packages/api/README.md +283 -0
- package/langwatch/packages/api/node_modules/.bin/tsc +21 -0
- package/langwatch/packages/api/node_modules/.bin/tsserver +21 -0
- package/langwatch/packages/api/node_modules/.bin/vitest +21 -0
- package/langwatch/packages/api/package.json +39 -0
- package/langwatch/packages/api/src/__tests__/builder.unit.test.ts +1135 -0
- package/langwatch/packages/api/src/__tests__/errorLogging.integration.test.ts +130 -0
- package/langwatch/packages/api/src/__tests__/errors.unit.test.ts +331 -0
- package/langwatch/packages/api/src/__tests__/sse.unit.test.ts +247 -0
- package/langwatch/packages/api/src/__tests__/versioning.unit.test.ts +379 -0
- package/langwatch/packages/api/src/builder.ts +163 -0
- package/langwatch/packages/api/src/errors.ts +255 -0
- package/langwatch/packages/api/src/index.ts +41 -0
- package/langwatch/packages/api/src/middleware.ts +227 -0
- package/langwatch/packages/api/src/pipeline.ts +254 -0
- package/langwatch/packages/api/src/response.ts +38 -0
- package/langwatch/packages/api/src/route-mounting.ts +140 -0
- package/langwatch/packages/api/src/sse.ts +179 -0
- package/langwatch/packages/api/src/types.ts +217 -0
- package/langwatch/packages/api/src/version-builder.ts +131 -0
- package/langwatch/packages/api/src/versioning.ts +221 -0
- package/langwatch/packages/api/tsconfig.json +16 -0
- package/langwatch/packages/api/vitest.config.ts +8 -0
- package/langwatch/packages/automations/README.md +17 -0
- package/langwatch/packages/automations/node_modules/.bin/liquid +21 -0
- package/langwatch/packages/automations/node_modules/.bin/liquidjs +21 -0
- package/langwatch/packages/automations/node_modules/.bin/marked +21 -0
- package/langwatch/packages/automations/node_modules/.bin/tsc +21 -0
- package/langwatch/packages/automations/node_modules/.bin/tsserver +21 -0
- package/langwatch/packages/automations/node_modules/.bin/vitest +21 -0
- package/langwatch/packages/automations/package.json +43 -0
- package/langwatch/packages/automations/src/cadences.ts +50 -0
- package/langwatch/packages/automations/src/enums.ts +24 -0
- package/langwatch/packages/automations/src/index.ts +26 -0
- package/langwatch/packages/automations/src/providers/__tests__/webhook.unit.test.ts +147 -0
- package/langwatch/packages/automations/src/providers/annotationQueue.ts +26 -0
- package/langwatch/packages/automations/src/providers/dataset.ts +43 -0
- package/langwatch/packages/automations/src/providers/email.ts +36 -0
- package/langwatch/packages/automations/src/providers/slack.ts +96 -0
- package/langwatch/packages/automations/src/providers/types.ts +84 -0
- package/langwatch/packages/automations/src/providers/webhook.ts +137 -0
- package/langwatch/packages/automations/src/templating/__tests__/alertDefaultsRender.unit.test.ts +133 -0
- package/langwatch/packages/automations/src/templating/__tests__/blockKitAllowlist.unit.test.ts +723 -0
- package/langwatch/packages/automations/src/templating/__tests__/engine.unit.test.ts +106 -0
- package/langwatch/packages/automations/src/templating/__tests__/exampleContext.unit.test.ts +39 -0
- package/langwatch/packages/automations/src/templating/__tests__/fixtures.ts +42 -0
- package/langwatch/packages/automations/src/templating/__tests__/graphAlertTemplateContext.unit.test.ts +260 -0
- package/langwatch/packages/automations/src/templating/__tests__/markdown.unit.test.ts +71 -0
- package/langwatch/packages/automations/src/templating/__tests__/renderEmail.unit.test.ts +183 -0
- package/langwatch/packages/automations/src/templating/__tests__/renderSlack.unit.test.ts +233 -0
- package/langwatch/packages/automations/src/templating/__tests__/renderWebhookBody.unit.test.ts +145 -0
- package/langwatch/packages/automations/src/templating/__tests__/reportDefaultsRender.unit.test.ts +148 -0
- package/langwatch/packages/automations/src/templating/__tests__/templateContext.unit.test.ts +137 -0
- package/langwatch/packages/automations/src/templating/__tests__/validate.unit.test.ts +28 -0
- package/langwatch/packages/automations/src/templating/banner.ts +29 -0
- package/langwatch/packages/automations/src/templating/blockKitAllowlist.ts +662 -0
- package/langwatch/packages/automations/src/templating/defaults.ts +400 -0
- package/langwatch/packages/automations/src/templating/emailLayout.ts +59 -0
- package/langwatch/packages/automations/src/templating/engine.ts +255 -0
- package/langwatch/packages/automations/src/templating/exampleContext.ts +171 -0
- package/langwatch/packages/automations/src/templating/markdown.ts +61 -0
- package/langwatch/packages/automations/src/templating/renderEmail.ts +112 -0
- package/langwatch/packages/automations/src/templating/renderSlack.ts +184 -0
- package/langwatch/packages/automations/src/templating/renderWebhookBody.ts +105 -0
- package/langwatch/packages/automations/src/templating/renderWithFallback.ts +54 -0
- package/langwatch/packages/automations/src/templating/templateContext.ts +812 -0
- package/langwatch/packages/automations/src/templating/validate.ts +24 -0
- package/langwatch/packages/automations/tsconfig.json +18 -0
- package/langwatch/packages/automations/vitest.config.ts +8 -0
- package/langwatch/packages/observability/README.md +86 -0
- package/langwatch/packages/observability/node_modules/.bin/esbuild +18 -0
- package/langwatch/packages/observability/node_modules/.bin/pino +21 -0
- package/langwatch/packages/observability/node_modules/.bin/pino-pretty +21 -0
- package/langwatch/packages/observability/node_modules/.bin/tsc +21 -0
- package/langwatch/packages/observability/node_modules/.bin/tsserver +21 -0
- package/langwatch/packages/observability/node_modules/.bin/vitest +21 -0
- package/langwatch/packages/observability/package.json +44 -0
- package/langwatch/packages/observability/src/__tests__/browserSafety.unit.test.ts +14 -0
- package/langwatch/packages/observability/src/__tests__/context.unit.test.ts +228 -0
- package/langwatch/packages/observability/src/__tests__/logger.unit.test.ts +227 -0
- package/langwatch/packages/observability/src/__tests__/requestLogging.unit.test.ts +252 -0
- package/langwatch/packages/observability/src/__tests__/runtimeSafety.unit.test.ts +96 -0
- package/langwatch/packages/observability/src/__tests__/traceContext.unit.test.ts +108 -0
- package/langwatch/packages/observability/src/constants.ts +46 -0
- package/langwatch/packages/observability/src/context/core.ts +124 -0
- package/langwatch/packages/observability/src/context/index.ts +19 -0
- package/langwatch/packages/observability/src/context/logging.ts +24 -0
- package/langwatch/packages/observability/src/index.ts +32 -0
- package/langwatch/packages/observability/src/logger.ts +280 -0
- package/langwatch/packages/observability/src/request/requestLogging.ts +131 -0
- package/langwatch/packages/observability/src/trace/traceContext.ts +56 -0
- package/langwatch/packages/observability/tsconfig.json +16 -0
- package/langwatch/packages/observability/vitest.config.ts +8 -0
- package/langwatch/packages/react-rum/node_modules/.bin/tsc +21 -0
- package/langwatch/packages/react-rum/node_modules/.bin/tsserver +21 -0
- package/langwatch/packages/react-rum/node_modules/.bin/vitest +21 -0
- package/langwatch/packages/react-rum/package.json +43 -0
- package/langwatch/packages/react-rum/src/browserTracing.ts +130 -0
- package/langwatch/packages/react-rum/src/constants.ts +67 -0
- package/langwatch/packages/react-rum/src/index.ts +34 -0
- package/langwatch/packages/react-rum/src/navigation.test.ts +188 -0
- package/langwatch/packages/react-rum/src/navigation.ts +189 -0
- package/langwatch/packages/react-rum/src/navigationContextManager.ts +71 -0
- package/langwatch/packages/react-rum/src/sampling.test.ts +182 -0
- package/langwatch/packages/react-rum/src/sampling.ts +124 -0
- package/langwatch/packages/react-rum/src/session.test.ts +85 -0
- package/langwatch/packages/react-rum/src/session.ts +62 -0
- package/langwatch/packages/react-rum/src/sessionSpanProcessor.ts +34 -0
- package/langwatch/packages/react-rum/tsconfig.json +18 -0
- package/langwatch/packages/react-rum/vitest.config.ts +8 -0
- package/langwatch/packages/redaction/node_modules/.bin/tsc +21 -0
- package/langwatch/packages/redaction/node_modules/.bin/tsserver +21 -0
- package/langwatch/packages/redaction/node_modules/.bin/vitest +21 -0
- package/langwatch/packages/redaction/package.json +29 -0
- package/langwatch/packages/redaction/src/__tests__/secrets.unit.test.ts +226 -0
- package/langwatch/packages/redaction/src/__tests__/sessionReport.unit.test.ts +239 -0
- package/langwatch/packages/redaction/src/index.ts +29 -0
- package/langwatch/packages/redaction/src/markers.ts +101 -0
- package/langwatch/packages/redaction/src/secrets.ts +286 -0
- package/langwatch/packages/redaction/src/sessionReport.ts +356 -0
- package/langwatch/packages/redaction/tsconfig.json +18 -0
- package/langwatch/packages/ssrf/node_modules/.bin/tsc +21 -0
- package/langwatch/packages/ssrf/node_modules/.bin/tsserver +21 -0
- package/langwatch/packages/ssrf/node_modules/.bin/vitest +21 -0
- package/langwatch/packages/ssrf/package.json +29 -0
- package/langwatch/packages/ssrf/src/index.test.ts +72 -0
- package/langwatch/packages/ssrf/src/index.ts +320 -0
- package/langwatch/packages/ssrf/tsconfig.json +18 -0
- package/langwatch/packages/ssrf/vitest.config.ts +8 -0
- package/langwatch/scripts/__tests__/bug-report-discovery.unit.test.ts +37 -0
- package/langwatch/scripts/build-mcp-server.sh +15 -0
- package/langwatch/scripts/generate-langy-skills.ts +10 -0
- package/langwatch/scripts/update-matrix-provider-keys.ts +1 -1
- package/langwatch/src/components/EditModelProviderDrawer.tsx +7 -1
- package/langwatch/src/components/settings/ModelProviderCredentialsSection.tsx +13 -21
- package/langwatch/src/components/settings/ModelProviderForm.tsx +32 -3
- package/langwatch/src/components/settings/__tests__/ModelProviderForm.credential-preservation.integration.test.tsx +277 -0
- package/langwatch/src/components/settings/__tests__/ModelProviderForm.credential-requiredness.integration.test.tsx +260 -0
- package/langwatch/src/components/settings/__tests__/modelProviderDrawerHarness.tsx +152 -0
- package/langwatch/src/features/onboarding/components/sections/model-provider/ModelProviderSetup.tsx +7 -3
- package/langwatch/src/hooks/__tests__/useProviderFormSubmit.integration.test.tsx +7 -1
- package/langwatch/src/hooks/useModelProviderApiKeyValidation.ts +25 -4
- package/langwatch/src/hooks/useModelProviderFields.ts +45 -37
- package/langwatch/src/hooks/useModelProviderForm.ts +2 -0
- package/langwatch/src/hooks/useProviderFormSubmit.ts +27 -19
- package/langwatch/src/hooks/useRequiredCredentialKeys.ts +38 -0
- package/langwatch/src/pages/settings/__tests__/model-providers.no-project.integration.test.tsx +508 -0
- package/langwatch/src/pages/settings/model-providers.tsx +19 -97
- package/langwatch/src/server/api/routers/__tests__/prepareEnvKeys.unit.test.ts +56 -0
- package/langwatch/src/server/api/routers/modelProviders.ts +146 -15
- package/langwatch/src/server/api/routers/modelProviders.utils.ts +1 -10
- package/langwatch/src/server/app-layer/traces/__tests__/audio-model-cost.unit.test.ts +133 -0
- package/langwatch/src/server/app-layer/traces/canonicalisation/extractors/_constants.ts +6 -0
- package/langwatch/src/server/app-layer/traces/model-cost-matching.ts +17 -1
- package/langwatch/src/server/app-layer/traces/repositories/__tests__/span-storage.clickhouse.repository.unit.test.ts +6 -0
- package/langwatch/src/server/app-layer/traces/repositories/span-storage.clickhouse.repository.ts +6 -0
- package/langwatch/src/server/gateway/__tests__/config.materialiser.integration.test.ts +132 -3
- package/langwatch/src/server/gateway/config.materialiser.ts +11 -9
- package/langwatch/src/server/modelProviders/__tests__/modelProvider.credentialPreservation.integration.test.ts +206 -0
- package/langwatch/src/server/modelProviders/__tests__/modelProvider.deleteScope.integration.test.ts +0 -4
- package/langwatch/src/server/modelProviders/__tests__/modelProvider.noProject.integration.test.ts +748 -0
- package/langwatch/src/server/modelProviders/__tests__/modelProvider.repository.integration.test.ts +3 -3
- package/langwatch/src/server/modelProviders/__tests__/modelProvider.repository.unit.test.ts +7 -8
- package/langwatch/src/server/modelProviders/__tests__/modelProvider.service.extraHeaders.unit.test.ts +0 -5
- package/langwatch/src/server/modelProviders/__tests__/modelProvider.service.unit.test.ts +5 -1
- package/langwatch/src/server/modelProviders/__tests__/registry.unit.test.ts +31 -0
- package/langwatch/src/server/modelProviders/llmModelCost.tsx +20 -2
- package/langwatch/src/server/modelProviders/llmModels.json +736 -209
- package/langwatch/src/server/modelProviders/llmModels.overlay.json +149 -2
- package/langwatch/src/server/modelProviders/llmModels.types.ts +9 -2
- package/langwatch/src/server/modelProviders/modelProvider.repository.ts +10 -12
- package/langwatch/src/server/modelProviders/modelProvider.service.ts +142 -34
- package/langwatch/src/server/modelProviders/registry.ts +45 -15
- package/langwatch/src/server/tracer/collector/cost.ts +15 -2
- package/langwatch/src/utils/__tests__/modelProviderCredentialRules.unit.test.ts +259 -0
- package/langwatch/src/utils/__tests__/modelProviderHelpers.unit.test.ts +12 -0
- package/langwatch/src/utils/modelProviderHelpers.ts +207 -16
- package/package.json +5 -1
- package/packages/handled-error/node_modules/.bin/tsc +21 -0
- package/packages/handled-error/node_modules/.bin/tsserver +21 -0
- package/packages/handled-error/node_modules/.bin/vitest +21 -0
- package/packages/handled-error/package.json +31 -0
- package/packages/handled-error/src/handled-error.test.ts +305 -0
- package/packages/handled-error/src/handled-error.ts +431 -0
- package/packages/handled-error/src/index.ts +16 -0
- package/packages/handled-error/tsconfig.json +22 -0
- package/packages/langy/node_modules/.bin/tsc +21 -0
- package/packages/langy/node_modules/.bin/tsserver +21 -0
- package/packages/langy/node_modules/.bin/vitest +21 -0
- package/packages/langy/package.json +40 -0
- package/packages/langy/src/cards/cliJson.ts +95 -0
- package/packages/langy/src/cards/cliJson.unit.test.ts +80 -0
- package/packages/langy/src/cards/created-resource.unit.test.ts +137 -0
- package/packages/langy/src/cards/derived-safe.ts +265 -0
- package/packages/langy/src/cards/derived-safe.unit.test.ts +283 -0
- package/packages/langy/src/cards/digest.ts +247 -0
- package/packages/langy/src/cards/digest.unit.test.ts +230 -0
- package/packages/langy/src/cards/handled-error.ts +697 -0
- package/packages/langy/src/cards/handled-error.unit.test.ts +795 -0
- package/packages/langy/src/cards/index.ts +51 -0
- package/packages/langy/src/cards/primitives.ts +113 -0
- package/packages/langy/src/cards/promotion.unit.test.ts +253 -0
- package/packages/langy/src/cards/registry.ts +450 -0
- package/packages/langy/src/cards/registry.unit.test.ts +141 -0
- package/packages/langy/src/cards/schemas.ts +561 -0
- package/packages/langy/src/cards/tool-result.ts +151 -0
- package/packages/langy/src/cards/tool-result.unit.test.ts +37 -0
- package/packages/langy/src/constants.ts +253 -0
- package/packages/langy/src/event-sourcing/contracts/cursor.ts +46 -0
- package/packages/langy/src/event-sourcing/contracts/cursor.unit.test.ts +66 -0
- package/packages/langy/src/event-sourcing/contracts/events.ts +345 -0
- package/packages/langy/src/event-sourcing/contracts/turnWire.ts +81 -0
- package/packages/langy/src/event-sourcing/folds/conversationFold.ts +413 -0
- package/packages/langy/src/event-sourcing/folds/messageMap.ts +71 -0
- package/packages/langy/src/event-sourcing/folds/turnFold.ts +372 -0
- package/packages/langy/src/event-sourcing/folds/turnFold.unit.test.ts +217 -0
- package/packages/langy/src/event-sourcing/turnPhase.ts +124 -0
- package/packages/langy/src/event-sourcing/turnPhase.unit.test.ts +110 -0
- package/packages/langy/src/event-sourcing/turnProjection.ts +120 -0
- package/packages/langy/src/event-sourcing/turnProjection.unit.test.ts +207 -0
- package/packages/langy/src/index.ts +16 -0
- package/packages/langy/src/inline-channel/choices.ts +136 -0
- package/packages/langy/src/inline-channel/choices.unit.test.ts +213 -0
- package/packages/langy/src/inline-channel/fence.ts +125 -0
- package/packages/langy/src/inline-channel/fence.unit.test.ts +112 -0
- package/packages/langy/src/inline-channel/parts.ts +85 -0
- package/packages/langy/src/inline-channel/parts.unit.test.ts +100 -0
- package/packages/langy/src/inline-channel/preview.ts +68 -0
- package/packages/langy/src/inline-channel/preview.unit.test.ts +116 -0
- package/packages/langy/src/inline-channel/salvage.ts +260 -0
- package/packages/langy/src/inline-channel/salvage.unit.test.ts +135 -0
- package/packages/langy/src/json.ts +47 -0
- package/packages/langy/tsconfig.json +22 -0
- package/packages/server/dist/cli.cjs +11045 -10616
- package/python-sdk/src/langwatch/openai.py +107 -28
- package/skills/.env.example +1 -0
- package/skills/.release-please-shim +1 -0
- package/skills/CHANGELOG.md +158 -0
- package/skills/README.md +99 -0
- package/skills/_compiled/README.md +43 -0
- package/skills/_compiled/generate.sh +31 -0
- package/skills/_compiled/native/agent-best-practices/SKILL.md +91 -0
- package/skills/_compiled/native/agent-improve/SKILL.md +133 -0
- package/skills/_compiled/native/agent-performance/SKILL.md +125 -0
- package/skills/_compiled/native/datasets/SKILL.md +437 -0
- package/skills/_compiled/native/debug-instrumentation/SKILL.md +104 -0
- package/skills/_compiled/native/debug-with-langwatch/SKILL.md +109 -0
- package/skills/_compiled/native/eval-triage/SKILL.md +87 -0
- package/skills/_compiled/native/evaluate-multimodal/SKILL.md +121 -0
- package/skills/_compiled/native/evaluations/SKILL.md +58 -0
- package/skills/_compiled/native/experiments/SKILL.md +191 -0
- package/skills/_compiled/native/generate-rag-dataset/SKILL.md +123 -0
- package/skills/_compiled/native/github/SKILL.md +107 -0
- package/skills/_compiled/native/level-up/SKILL.md +149 -0
- package/skills/_compiled/native/online-evaluations/SKILL.md +179 -0
- package/skills/_compiled/native/prompts/SKILL.md +187 -0
- package/skills/_compiled/native/scenarios/SKILL.md +924 -0
- package/skills/_compiled/native/setup-lw/SKILL.md +82 -0
- package/skills/_compiled/native/test-cli-usability/SKILL.md +109 -0
- package/skills/_compiled/native/test-compliance/SKILL.md +160 -0
- package/skills/_compiled/native/tracing/SKILL.md +115 -0
- package/skills/_compiler/compile.ts +181 -0
- package/skills/_compiler/native.ts +74 -0
- package/skills/_lib/feature-skills.ts +66 -0
- package/skills/_lib/frontmatter.ts +21 -0
- package/skills/_lib/mdx-inline.ts +148 -0
- package/skills/_publish/sync.ts +73 -0
- package/skills/_shared/api-key-setup.mdx +1 -0
- package/skills/_shared/cli-install.mdx +1 -0
- package/skills/_shared/cli-setup.mdx +15 -0
- package/skills/_shared/consultant-mode.mdx +9 -0
- package/skills/_shared/plan-limits.mdx +8 -0
- package/skills/_shared/projects-and-api-keys.mdx +13 -0
- package/skills/_tests/README.md +47 -0
- package/skills/_tests/agent-best-practices.scenario.test.ts +79 -0
- package/skills/_tests/agent-improve.scenario.test.ts +90 -0
- package/skills/_tests/agent-performance.scenario.test.ts +110 -0
- package/skills/_tests/claude-code-adapter.test.ts +70 -0
- package/skills/_tests/cli-auth.scenario.test.ts +171 -0
- package/skills/_tests/cli-comprehensive.scenario.test.ts +171 -0
- package/skills/_tests/cli-crud.scenario.test.ts +245 -0
- package/skills/_tests/cli-gateway-coding-agents.scenario.test.ts +597 -0
- package/skills/_tests/cli-gateway.scenario.test.ts +254 -0
- package/skills/_tests/cli-projects-api-keys.scenario.test.ts +182 -0
- package/skills/_tests/cli-suites.scenario.test.ts +234 -0
- package/skills/_tests/datasets.scenario.test.ts +586 -0
- package/skills/_tests/docs-skills-pages.test.ts +206 -0
- package/skills/_tests/evaluation-skill-boundaries.test.ts +84 -0
- package/skills/_tests/experiments-faithfulness.scenario.test.ts +80 -0
- package/skills/_tests/experiments-python-langgraph.scenario.test.ts +80 -0
- package/skills/_tests/experiments-python-openai.scenario.test.ts +110 -0
- package/skills/_tests/experiments-rag.scenario.test.ts +88 -0
- package/skills/_tests/experiments-typescript-vercel.scenario.test.ts +80 -0
- package/skills/_tests/fixtures/cli-prompts/python-with-prompts/main.py +24 -0
- package/skills/_tests/fixtures/python-agno/main.py +14 -0
- package/skills/_tests/fixtures/python-google-adk/main.py +28 -0
- package/skills/_tests/fixtures/python-health-agent/main.py +32 -0
- package/skills/_tests/fixtures/python-langgraph/main.py +35 -0
- package/skills/_tests/fixtures/python-openai/main.py +36 -0
- package/skills/_tests/fixtures/python-rag-agent/main.py +53 -0
- package/skills/_tests/fixtures/typescript-mastra/index.ts +11 -0
- package/skills/_tests/fixtures/typescript-vercel/index.ts +16 -0
- package/skills/_tests/fixtures/typescript-voice/index.ts +18 -0
- package/skills/_tests/helpers/claude-code-adapter.ts +387 -0
- package/skills/_tests/helpers/experiments-scenario.ts +197 -0
- package/skills/_tests/helpers/judge-model.ts +12 -0
- package/skills/_tests/level-up.scenario.test.ts +236 -0
- package/skills/_tests/native-skills.test.ts +191 -0
- package/skills/_tests/online-evaluations.scenario.test.ts +257 -0
- package/skills/_tests/prompts-cli.scenario.test.ts +330 -0
- package/skills/_tests/prompts.scenario.test.ts +434 -0
- package/skills/_tests/publish-sync.test.ts +119 -0
- package/skills/_tests/recipes.scenario.test.ts +343 -0
- package/skills/_tests/scenarios.scenario.test.ts +884 -0
- package/skills/_tests/tracing.scenario.test.ts +472 -0
- package/skills/_tests/voice-factories.test.ts +60 -0
- package/skills/agent-improve/SKILL.mdx +100 -0
- package/skills/agent-performance/SKILL.mdx +102 -0
- package/skills/datasets/SKILL.mdx +416 -0
- package/skills/evaluations/SKILL.mdx +57 -0
- package/skills/experiments/SKILL.mdx +155 -0
- package/skills/github/SKILL.mdx +107 -0
- package/skills/initial-prompt.md +66 -0
- package/skills/level-up/SKILL.mdx +112 -0
- package/skills/online-evaluations/SKILL.mdx +150 -0
- package/skills/package.json +53 -0
- package/skills/pnpm-lock.yaml +4862 -0
- package/skills/pnpm-workspace.yaml +2 -0
- package/skills/prompts/SKILL.mdx +151 -0
- package/skills/recipes/README.md +30 -0
- package/skills/recipes/agent-best-practices/SKILL.mdx +84 -0
- package/skills/recipes/debug-instrumentation/SKILL.mdx +88 -0
- package/skills/recipes/debug-with-langwatch/SKILL.mdx +97 -0
- package/skills/recipes/eval-triage/SKILL.mdx +75 -0
- package/skills/recipes/evaluate-multimodal/SKILL.mdx +110 -0
- package/skills/recipes/generate-rag-dataset/SKILL.mdx +105 -0
- package/skills/recipes/setup-lw/SKILL.mdx +71 -0
- package/skills/recipes/test-cli-usability/SKILL.mdx +106 -0
- package/skills/recipes/test-compliance/SKILL.mdx +149 -0
- package/skills/scenarios/SKILL.mdx +874 -0
- package/skills/tracing/SKILL.mdx +88 -0
- package/skills/tsconfig.json +15 -0
- package/skills/version.txt +1 -0
- package/skills/vitest.config.ts +7 -0
- package/langwatch/dist/client/assets/AddAnnotationQueueDrawer-BQSucfOX.js +0 -2
- package/langwatch/dist/client/assets/AddDatasetRecordDrawer-DAsTHYTP.js +0 -6
- package/langwatch/dist/client/assets/AddOrEditAnnotationScore-B5Ck48cm.js +0 -2
- package/langwatch/dist/client/assets/AddOrEditAnnotationScoreDrawer-C8HFvayF.js +0 -2
- package/langwatch/dist/client/assets/AddOrEditDatasetDrawer-BRzya-3u.js +0 -3
- package/langwatch/dist/client/assets/AddParticipants-DGPUGXt7.js +0 -2
- package/langwatch/dist/client/assets/AgentHistoryDrawer-D13d_z7X.js +0 -2
- package/langwatch/dist/client/assets/AgentHttpEditorDrawer-CuT-fXSu.js +0 -5
- package/langwatch/dist/client/assets/AgentListDrawer-CWtvhmue.js +0 -2
- package/langwatch/dist/client/assets/AgentTypeSelectorDrawer-BRHSlvwQ.js +0 -2
- package/langwatch/dist/client/assets/AgentWorkflowEditorDrawer-CylJD3xL.js +0 -2
- package/langwatch/dist/client/assets/AgentWorkflowTargetEditorDrawer-CaoZTrdq.js +0 -2
- package/langwatch/dist/client/assets/AiGatewayLayout-B5Q-EfZV.js +0 -2
- package/langwatch/dist/client/assets/AnnotationsTable-DoO83AX9.js +0 -2
- package/langwatch/dist/client/assets/AreaChart-CXmFZ9PN.js +0 -2
- package/langwatch/dist/client/assets/AutomationDrawer-Bv4nX8y6.js +0 -112
- package/langwatch/dist/client/assets/BatchEvaluationSummary-uqdSLrh7.js +0 -2
- package/langwatch/dist/client/assets/BudgetEditDrawer-CGUdeHXR.js +0 -2
- package/langwatch/dist/client/assets/CartesianChart-D35vYym3.js +0 -54
- package/langwatch/dist/client/assets/CascadeArchiveDialog-DSo9Fwed.js +0 -2
- package/langwatch/dist/client/assets/ChartCard-DgQ4fTGc.js +0 -2
- package/langwatch/dist/client/assets/ChartTooltip-Cf8ESsQ9.js +0 -4
- package/langwatch/dist/client/assets/ChatWindow-DplHBlw_.js +0 -5
- package/langwatch/dist/client/assets/CodeEvaluatorEditorDrawer-CPxNogVm.js +0 -9
- package/langwatch/dist/client/assets/CodexCodingDefaultsAsk-BdUx3xAP.js +0 -2
- package/langwatch/dist/client/assets/ColorfulBlockIcons-CUrsa--K.js +0 -6
- package/langwatch/dist/client/assets/ColumnTypeIcon-DNzTCt_2.js +0 -2
- package/langwatch/dist/client/assets/ConfirmDialog-DTpkLGhm.js +0 -2
- package/langwatch/dist/client/assets/ContactSalesBlock-BaXLliHv.js +0 -2
- package/langwatch/dist/client/assets/Conversation-DZIYz2Vp.js +0 -2
- package/langwatch/dist/client/assets/CopyInput-Csb1U32e.js +0 -2
- package/langwatch/dist/client/assets/CopyableInputWithPrefix-C3PRtdkW.js +0 -2
- package/langwatch/dist/client/assets/CreateProjectDrawer-32NvkFfD.js +0 -2
- package/langwatch/dist/client/assets/CreateTeamDrawer-DtGf5dkO.js +0 -2
- package/langwatch/dist/client/assets/CustomGraph-C3a1gzo6.js +0 -2
- package/langwatch/dist/client/assets/DashboardLayout-RHGL-98_.js +0 -6
- package/langwatch/dist/client/assets/DashboardNameDrawer-DD8bwnCt.js +0 -2
- package/langwatch/dist/client/assets/DataPrivacyRuleDrawer-DiY-VkTs.js +0 -2
- package/langwatch/dist/client/assets/DatasetEditorTable-CwI345qA.js +0 -2
- package/langwatch/dist/client/assets/DatasetPickerList-CpHDt0t8.js +0 -2
- package/langwatch/dist/client/assets/DatasetPreviewTable-v8OUUAB3.js +0 -2
- package/langwatch/dist/client/assets/DatasetSelector-isPOzukH.js +0 -2
- package/langwatch/dist/client/assets/DefaultModelOverrideDrawer-BI7NSI6A.js +0 -2
- package/langwatch/dist/client/assets/DeleteConfirmationDialog-7K0S0Qdq.js +0 -2
- package/langwatch/dist/client/assets/DocsLinks-NNRxMwQU.js +0 -2
- package/langwatch/dist/client/assets/DynamicZodForm-3XwhQhOl.js +0 -2
- package/langwatch/dist/client/assets/EditAutomationFilterDrawer-MYW_WiO2.js +0 -3
- package/langwatch/dist/client/assets/EditModelProviderDrawer-Isp2BSHG.js +0 -4
- package/langwatch/dist/client/assets/EditProjectDrawer-Dj2lYKdO.js +0 -2
- package/langwatch/dist/client/assets/EmojiPickerModal-DdZxZuTV.js +0 -3
- package/langwatch/dist/client/assets/EnterpriseLockedSurface-CxLn8Im_.js +0 -2
- package/langwatch/dist/client/assets/EvaluatorApiUsageDialog-DIFGzOw4.js +0 -107
- package/langwatch/dist/client/assets/EvaluatorCategorySelectorDrawer-Cm114u5E.js +0 -2
- package/langwatch/dist/client/assets/EvaluatorEditorDrawer-aCxccvFM.js +0 -2
- package/langwatch/dist/client/assets/EvaluatorEditorShared-DiLlkD4v.js +0 -43
- package/langwatch/dist/client/assets/EvaluatorHistoryDrawer-Bv3sLSRP.js +0 -2
- package/langwatch/dist/client/assets/EvaluatorListDrawer-eUbPJehC.js +0 -2
- package/langwatch/dist/client/assets/EvaluatorMappingsSection-DvSTsuT8.js +0 -2
- package/langwatch/dist/client/assets/EvaluatorSelection-Bi_Ud8sy.js +0 -2
- package/langwatch/dist/client/assets/EvaluatorSelectionBox-v8iA4p4D.js +0 -2
- package/langwatch/dist/client/assets/EvaluatorTypeSelectorContent-DlwvjPGU.js +0 -2
- package/langwatch/dist/client/assets/EvaluatorTypeSelectorDrawer-ul5Ud4lG.js +0 -2
- package/langwatch/dist/client/assets/ExecutionState-DKBVAVTm.js +0 -2
- package/langwatch/dist/client/assets/ExternalImage-DbtOSrKl.js +0 -34
- package/langwatch/dist/client/assets/FeatureFlagsDrawer-YiildcJp.js +0 -2
- package/langwatch/dist/client/assets/FieldInfoTooltip-CXhYVsTQ.js +0 -2
- package/langwatch/dist/client/assets/FieldsFilters-CrGJyKXz.js +0 -2
- package/langwatch/dist/client/assets/FilterDisplay-BT6B5ZoZ.js +0 -2
- package/langwatch/dist/client/assets/FilterSidebar-0UgGuTeu.js +0 -2
- package/langwatch/dist/client/assets/FormatMoney-CEzwUDkl.js +0 -2
- package/langwatch/dist/client/assets/FoundryDrawer-BIy5SFvr.js +0 -2
- package/langwatch/dist/client/assets/FullLogo-EwD3nY0N.js +0 -2
- package/langwatch/dist/client/assets/GovernanceLayout-COAapH9g.js +0 -2
- package/langwatch/dist/client/assets/GraphsLayout-ygWQTw_g.js +0 -2
- package/langwatch/dist/client/assets/GroupBindingInputRow-DF_WY6iQ.js +0 -2
- package/langwatch/dist/client/assets/GuardrailsDrawer-BIq6RhSh.js +0 -91
- package/langwatch/dist/client/assets/History-V1jF0Epn.js +0 -17
- package/langwatch/dist/client/assets/HorizontalFormControl-CLz9xuFM.js +0 -2
- package/langwatch/dist/client/assets/HoverableBigText-CxXucdYS.js +0 -2
- package/langwatch/dist/client/assets/InstallCliCard-SGRlvABl.js +0 -2
- package/langwatch/dist/client/assets/IntegratePaneShell--xX7Q_FZ.js +0 -8
- package/langwatch/dist/client/assets/InviteMemberDrawer-BgkE2My_.js +0 -2
- package/langwatch/dist/client/assets/LLMModelCostDrawer-Be2PXHIC.js +0 -2
- package/langwatch/dist/client/assets/LangyContextTarget-DUSindiC.js +0 -2
- package/langwatch/dist/client/assets/LegacyTracesDeprecationBanner-C1PAs5gE.js +0 -2
- package/langwatch/dist/client/assets/Legend-UkJ5OBun.js +0 -6
- package/langwatch/dist/client/assets/Line-Bq29STZQ.js +0 -2
- package/langwatch/dist/client/assets/LineChart-DjFD6yv4.js +0 -2
- package/langwatch/dist/client/assets/ListTable-CSs4ttpJ.js +0 -2
- package/langwatch/dist/client/assets/LoadingScreen-D0JSh0Q2.js +0 -2
- package/langwatch/dist/client/assets/Markdown-Dm0jXfOR.js +0 -3
- package/langwatch/dist/client/assets/MenuLink-CCRiOtxz.js +0 -2
- package/langwatch/dist/client/assets/MessageCard-DqgrJCJ6.js +0 -2
- package/langwatch/dist/client/assets/MetadataTag-W5I0CKzN.js +0 -5
- package/langwatch/dist/client/assets/ModelProviderCustomModelInput-XgGjvYky.js +0 -2
- package/langwatch/dist/client/assets/ModelProviderScreen-BtASYmAL.js +0 -2
- package/langwatch/dist/client/assets/ModelSelector-BBb1wHS_.js +0 -2
- package/langwatch/dist/client/assets/MyLayout-DX7ntheK.js +0 -2
- package/langwatch/dist/client/assets/NavigationFooter-CJaT-F50.js +0 -2
- package/langwatch/dist/client/assets/NewWorkflowForm-BrvVQJNY.js +0 -2
- package/langwatch/dist/client/assets/NoDataInfoBlock-B3c1WwDO.js +0 -2
- package/langwatch/dist/client/assets/OnboardingContainer-DRrQV_9c.js +0 -2
- package/langwatch/dist/client/assets/OnlineEvaluationDrawer-DHbPXgEV.js +0 -2
- package/langwatch/dist/client/assets/OpsPageShell-BamkwuvB.js +0 -2
- package/langwatch/dist/client/assets/OttlEditor-BhsdMVM9.js +0 -3
- package/langwatch/dist/client/assets/OverflownText-DhbWrtC6.js +0 -2
- package/langwatch/dist/client/assets/ProjectAvatar--gOpUll9.js +0 -2
- package/langwatch/dist/client/assets/ProjectLangyLayout-C7WNak1h.js +0 -82
- package/langwatch/dist/client/assets/PromptEditorDrawer-k_dFbREL.js +0 -2
- package/langwatch/dist/client/assets/PromptListDrawer-B-C4Cl6I.js +0 -2
- package/langwatch/dist/client/assets/PropertySectionTitle-CK67qoQ9.js +0 -37
- package/langwatch/dist/client/assets/ProviderModelSelector-Cm89XYO8.js +0 -2
- package/langwatch/dist/client/assets/ProviderScopeChips-S0Ctqbwg.js +0 -2
- package/langwatch/dist/client/assets/PushToCopiesDialog-C3eBpZ9F.js +0 -2
- package/langwatch/dist/client/assets/RandomColorAvatar-CTya_4BQ.js +0 -2
- package/langwatch/dist/client/assets/ReferenceDot-St9tkyoA.js +0 -2
- package/langwatch/dist/client/assets/RenderInputOutput-DOVNZVJ2.js +0 -261
- package/langwatch/dist/client/assets/ScenarioFormDrawer-9224CX_d.js +0 -2
- package/langwatch/dist/client/assets/ScenarioInputMappingSection-Sqtj3HwL.js +0 -2
- package/langwatch/dist/client/assets/ScenarioRunDetailDrawer-fzMzXl1A.js +0 -3
- package/langwatch/dist/client/assets/ScopeChipPicker-B6r27G3S.js +0 -2
- package/langwatch/dist/client/assets/SearchInput-C_AroTij.js +0 -2
- package/langwatch/dist/client/assets/SectionNavigationLayout-DNvKM1pq.js +0 -2
- package/langwatch/dist/client/assets/SelectDatasetDrawer-CeZvw0Rl.js +0 -2
- package/langwatch/dist/client/assets/SelectionActionBar-5j-e3Y3p.js +0 -2
- package/langwatch/dist/client/assets/SeriesFilterDrawer-C2Io5BkG.js +0 -2
- package/langwatch/dist/client/assets/SettingsLayout-CYtjUobV.js +0 -2
- package/langwatch/dist/client/assets/SetupWithAgentButton-BKWI-UTU.js +0 -4
- package/langwatch/dist/client/assets/ShikiCommandBox-D_TBnZxW.js +0 -5
- package/langwatch/dist/client/assets/SpanDetails-xl9OjARI.js +0 -3
- package/langwatch/dist/client/assets/SubscriptionPage-85dxt08g.js +0 -2
- package/langwatch/dist/client/assets/SuiteFormDrawer-BYdeRl8R.js +0 -2
- package/langwatch/dist/client/assets/TabButton-BY-_E4cy.js +0 -3
- package/langwatch/dist/client/assets/TableCell-B6fYjFy7.js +0 -2
- package/langwatch/dist/client/assets/TargetTypeSelectorDrawer-CTaJP17t.js +0 -2
- package/langwatch/dist/client/assets/TeamForm-DQIdGXFE.js +0 -2
- package/langwatch/dist/client/assets/TeamUserRoleField-UXHlsd5l.js +0 -2
- package/langwatch/dist/client/assets/TraceDetails-Bm1Ufstq.js +0 -9
- package/langwatch/dist/client/assets/TraceDetailsDrawer-BlZH_mba.js +0 -2
- package/langwatch/dist/client/assets/TraceIdPeek-By6CFB9R.js +0 -2
- package/langwatch/dist/client/assets/TracesMapping-QHyuw6AD.js +0 -2
- package/langwatch/dist/client/assets/UpgradeModal-BmLw5ONS.js +0 -92
- package/langwatch/dist/client/assets/UpgradeModalContent-C_lXaZaj.js +0 -2
- package/langwatch/dist/client/assets/UploadCSVDrawer-BKntPqbk.js +0 -3
- package/langwatch/dist/client/assets/VariablesSection-DnkttoMe.js +0 -2
- package/langwatch/dist/client/assets/VersionBadge-8Mh0h6z8.js +0 -2
- package/langwatch/dist/client/assets/ViaClaudeDesktopScreen-fQIOpGM1.js +0 -1161
- package/langwatch/dist/client/assets/ViewAutomationDrawer-CPoifrwV.js +0 -2
- package/langwatch/dist/client/assets/VirtualKeySecretReveal-CKCq8oBA.js +0 -54
- package/langwatch/dist/client/assets/WelcomeLayout-B_rw1HA0.js +0 -2
- package/langwatch/dist/client/assets/WithFeatureFlagGuard-DwfApI3b.js +0 -2
- package/langwatch/dist/client/assets/WithPermissionGuard-BP1dFkpM.js +0 -2
- package/langwatch/dist/client/assets/WorkflowCard-B_SYXPpi.js +0 -2
- package/langwatch/dist/client/assets/WorkflowSelectorForEvaluatorDrawer-D_fcHR54.js +0 -2
- package/langwatch/dist/client/assets/_...path_-Ipy6q2Lm.js +0 -2
- package/langwatch/dist/client/assets/_Uint8Array-B8b3z1r6.js +0 -2
- package/langwatch/dist/client/assets/__...path__-3xWAWxQ-.js +0 -22
- package/langwatch/dist/client/assets/_baseAssignValue-D7YNnh37.js +0 -2
- package/langwatch/dist/client/assets/_baseClone-o3pPcmbM.js +0 -2
- package/langwatch/dist/client/assets/_baseEach-CJ0DbEY4.js +0 -2
- package/langwatch/dist/client/assets/_baseFor-C04Mk-th.js +0 -2
- package/langwatch/dist/client/assets/_experiment_-DYMW8ia6.js +0 -2
- package/langwatch/dist/client/assets/_id_-B8SzykYR.js +0 -2
- package/langwatch/dist/client/assets/_id_-BT8l3_4N.js +0 -2
- package/langwatch/dist/client/assets/_id_-BTgcDKRo.js +0 -2
- package/langwatch/dist/client/assets/_id_-BrxUqiAK.js +0 -2
- package/langwatch/dist/client/assets/_id_-Cke69ccV.js +0 -2
- package/langwatch/dist/client/assets/_id_-CxtJm9qq.js +0 -2
- package/langwatch/dist/client/assets/_id_-DGNS0pL2.js +0 -2
- package/langwatch/dist/client/assets/_project_-CPYgRSe0.js +0 -8
- package/langwatch/dist/client/assets/_runId_-CnJnzVCf.js +0 -7
- package/langwatch/dist/client/assets/_shell-JRkk6wPs.js +0 -2
- package/langwatch/dist/client/assets/_slug_-D3cx1Thv.js +0 -17
- package/langwatch/dist/client/assets/_slug_-Dx0M4BvX.js +0 -2
- package/langwatch/dist/client/assets/_slug_-cRMpdOOA.js +0 -2
- package/langwatch/dist/client/assets/_team_-BW8SVrk-.js +0 -2
- package/langwatch/dist/client/assets/_workflow_-C35QPIPs.js +0 -25
- package/langwatch/dist/client/assets/_workflow_-DowL6naf.js +0 -3
- package/langwatch/dist/client/assets/accept-D3cDvj0y.js +0 -2
- package/langwatch/dist/client/assets/activity-CrGqZpWa.js +0 -1
- package/langwatch/dist/client/assets/agents-BNeoLDoj.js +0 -2
- package/langwatch/dist/client/assets/alerts-CrGqZpWa.js +0 -1
- package/langwatch/dist/client/assets/all-BHRNPEIX.js +0 -2
- package/langwatch/dist/client/assets/analytics-CZuaBlXL.js +0 -2
- package/langwatch/dist/client/assets/annotation-scores-CeAaT6zF.js +0 -2
- package/langwatch/dist/client/assets/annotations-CpkTmTvn.js +0 -2
- package/langwatch/dist/client/assets/anomaly-rules-BOLIh6OR.js +0 -2
- package/langwatch/dist/client/assets/api-keys-mK1aqQaM.js +0 -4
- package/langwatch/dist/client/assets/asaplangy-D_DeMaDk.js +0 -5
- package/langwatch/dist/client/assets/audit-log-CL6iYEbl.js +0 -2
- package/langwatch/dist/client/assets/auth-DWhhuKxO.js +0 -2
- package/langwatch/dist/client/assets/authentication-CvPvvVW6.js +0 -2
- package/langwatch/dist/client/assets/authorize-C1bDXq-Z.js +0 -2
- package/langwatch/dist/client/assets/authorize-xZkU_nXs.js +0 -2
- package/langwatch/dist/client/assets/automations-ChfL33YS.js +0 -2
- package/langwatch/dist/client/assets/automations-CrGqZpWa.js +0 -1
- package/langwatch/dist/client/assets/billing-plans-CXxmUM3Y.js +0 -2
- package/langwatch/dist/client/assets/blank-DFMnaDEJ.js +0 -2
- package/langwatch/dist/client/assets/blobs-D-pozzQX.js +0 -2
- package/langwatch/dist/client/assets/blockDiagram-677ZJIJ3--iqoZYgE.js +0 -133
- package/langwatch/dist/client/assets/budgets-BAJ1tdYz.js +0 -3
- package/langwatch/dist/client/assets/bug-reports-DOqvPuTB.js +0 -2
- package/langwatch/dist/client/assets/cache-rules-DbITxirX.js +0 -2
- package/langwatch/dist/client/assets/choose-BSGQGAYS.js +0 -2
- package/langwatch/dist/client/assets/chunk-EX3LRPZG-B7fiWf8z.js +0 -232
- package/langwatch/dist/client/assets/chunk-FWX5IMBZ-CiS2XotT.js +0 -3
- package/langwatch/dist/client/assets/chunk-PUDLZKDR-_aske-8B.js +0 -157
- package/langwatch/dist/client/assets/chunk-RYQCIY6F-Bzb9D1UT.js +0 -2
- package/langwatch/dist/client/assets/chunk-V7JOEXUC-BNxgutMB.js +0 -207
- package/langwatch/dist/client/assets/classDiagram-OUVF2IWQ-GwNDfT24.js +0 -2
- package/langwatch/dist/client/assets/classDiagram-v2-EOCWNBFH-GwNDfT24.js +0 -2
- package/langwatch/dist/client/assets/codeAgentConfig-DWx3pMLC.js +0 -7
- package/langwatch/dist/client/assets/codingDefaultSync-C9Lev3y1.js +0 -2
- package/langwatch/dist/client/assets/configure-Coe_YM3c.js +0 -4
- package/langwatch/dist/client/assets/custom-Dpn85JW8.js +0 -12
- package/langwatch/dist/client/assets/custom_evaluator-DGAwXo2Z.js +0 -31
- package/langwatch/dist/client/assets/dagre-D7MBpcKV.js +0 -2
- package/langwatch/dist/client/assets/dagre-VKFMJZFB-COHUH3Np.js +0 -5
- package/langwatch/dist/client/assets/data-privacy-CtKFJ8SN.js +0 -2
- package/langwatch/dist/client/assets/data-retention-e5nryGvV.js +0 -2
- package/langwatch/dist/client/assets/datasets-JEoBpoYL.js +0 -2
- package/langwatch/dist/client/assets/debounce-KKoMEqvq.js +0 -2
- package/langwatch/dist/client/assets/defaultModelState-C4_m_XBI.js +0 -2
- package/langwatch/dist/client/assets/dejaview-BV4oU0up.js +0 -2
- package/langwatch/dist/client/assets/departments-BjNbKZtW.js +0 -2
- package/langwatch/dist/client/assets/devices-CaLokczo.js +0 -2
- package/langwatch/dist/client/assets/dist-BToT9Gni.js +0 -6
- package/langwatch/dist/client/assets/drawerFromUrl-Cpd3NvN0.js +0 -2
- package/langwatch/dist/client/assets/edit-BW6g7_XC.js +0 -62
- package/langwatch/dist/client/assets/email-suppressions-DYhLkUjt.js +0 -2
- package/langwatch/dist/client/assets/erDiagram-Q63AITRT-CBcweIHJ.js +0 -86
- package/langwatch/dist/client/assets/error-CmmaHju0.js +0 -2
- package/langwatch/dist/client/assets/evaluations-BX71jpba.js +0 -2
- package/langwatch/dist/client/assets/evaluations-C82dwzqH.js +0 -2
- package/langwatch/dist/client/assets/evaluators-CKOs_qOx.js +0 -146
- package/langwatch/dist/client/assets/evaluators-Cnp4esT5.js +0 -2
- package/langwatch/dist/client/assets/experiments-CzhcDWnc.js +0 -1
- package/langwatch/dist/client/assets/external-link-BzETHrAG.js +0 -2
- package/langwatch/dist/client/assets/feature-flags-Cl5NHQrK.js +0 -2
- package/langwatch/dist/client/assets/fetchSSE-DWKCnoHV.js +0 -3
- package/langwatch/dist/client/assets/fieldset-CE_IDQSv.js +0 -2
- package/langwatch/dist/client/assets/flowDiagram-23GEKE2U-B2EV4X5b.js +0 -1
- package/langwatch/dist/client/assets/forgot-password-Bdtjps2K.js +0 -2
- package/langwatch/dist/client/assets/formatMoney-CI_YqDED.js +0 -2
- package/langwatch/dist/client/assets/foundry-DdJynGEa.js +0 -477
- package/langwatch/dist/client/assets/gateway-BvjtD98W.js +0 -2
- package/langwatch/dist/client/assets/getEvaluator-OH0w_5fd.js +0 -2
- package/langwatch/dist/client/assets/getRadiusAndStrokeWidthFromDot-BB5SvhT3.js +0 -2
- package/langwatch/dist/client/assets/governance-DUSWlZID.js +0 -2
- package/langwatch/dist/client/assets/graphlib-Dn160vFe.js +0 -2
- package/langwatch/dist/client/assets/groups--YQRJnbz.js +0 -2
- package/langwatch/dist/client/assets/guardrails-_Jb3oZg3.js +0 -2
- package/langwatch/dist/client/assets/http-7YWbWWla.js +0 -7
- package/langwatch/dist/client/assets/identifierUtils-BuQJ50Jl.js +0 -2
- package/langwatch/dist/client/assets/immer-tl_oI9yy.js +0 -14
- package/langwatch/dist/client/assets/index-CUhcyBp3.js +0 -68
- package/langwatch/dist/client/assets/ingestion-source-detail-E-alCDhM.js +0 -19
- package/langwatch/dist/client/assets/ingestion-sources-APi2TUL6.js +0 -12
- package/langwatch/dist/client/assets/integrations-osNA42lv.js +0 -2
- package/langwatch/dist/client/assets/isArrayLikeObject-CJZEoMj_.js +0 -2
- package/langwatch/dist/client/assets/isSymbol-IFJb2-6T.js +0 -2
- package/langwatch/dist/client/assets/langyHomeSuggestions-B0_Fr3Q2.js +0 -2
- package/langwatch/dist/client/assets/latestAliases-BG98QtLZ.js +0 -2
- package/langwatch/dist/client/assets/license-Dbjlsvq9.js +0 -2
- package/langwatch/dist/client/assets/loadModelCatalog-CtqlQvVB.js +0 -2
- package/langwatch/dist/client/assets/map-DH6XyRvi.js +0 -2
- package/langwatch/dist/client/assets/mappingValidation-oCsaOwz3.js +0 -2
- package/langwatch/dist/client/assets/me-Bqm1rCwb.js +0 -2
- package/langwatch/dist/client/assets/me-BxYTDdYk.js +0 -7
- package/langwatch/dist/client/assets/members-C-RYfdOt.js +0 -2
- package/langwatch/dist/client/assets/mermaid.core-CIOVe75m.js +0 -12
- package/langwatch/dist/client/assets/messages-DSB9EzQc.js +0 -2
- package/langwatch/dist/client/assets/metrics-C_DWHPhN.js +0 -2
- package/langwatch/dist/client/assets/mindmap-definition-LN4V7U3C-D9FhjenJ.js +0 -97
- package/langwatch/dist/client/assets/model-costs-DHTDEPq7.js +0 -2
- package/langwatch/dist/client/assets/model-providers-B5lYdYGB.js +0 -2
- package/langwatch/dist/client/assets/modelProviderHelpers-DDoNJl7J.js +0 -2
- package/langwatch/dist/client/assets/my-queue-DBUdNObC.js +0 -2
- package/langwatch/dist/client/assets/normalizeComparison-CCZ-bOPv.js +0 -2
- package/langwatch/dist/client/assets/not-found-1cA6pijP.js +0 -2
- package/langwatch/dist/client/assets/now-Sx_cFlpx.js +0 -2
- package/langwatch/dist/client/assets/onboarding-Brb1FAS4.js +0 -2
- package/langwatch/dist/client/assets/online-evaluations-Di78dvHe.js +0 -2
- package/langwatch/dist/client/assets/ops-BDrWqQb1.js +0 -2
- package/langwatch/dist/client/assets/organizations-I7_fQcGq.js +0 -2
- package/langwatch/dist/client/assets/pages-BowufdCe.js +0 -2
- package/langwatch/dist/client/assets/persistence-ChzYQRy2.js +0 -2
- package/langwatch/dist/client/assets/plans-DUiB6dWS.js +0 -2
- package/langwatch/dist/client/assets/product-CLC45PiC.js +0 -2
- package/langwatch/dist/client/assets/project-CO0U6_JZ.js +0 -2
- package/langwatch/dist/client/assets/projections-yljzVGg_.js +0 -2
- package/langwatch/dist/client/assets/projects-DbpxS5ex.js +0 -2
- package/langwatch/dist/client/assets/promptHandle-BwdZsauS.js +0 -2
- package/langwatch/dist/client/assets/prompts-DUxsvuSh.js +0 -8
- package/langwatch/dist/client/assets/radio-group-DJFHT54R.js +0 -2
- package/langwatch/dist/client/assets/registry-C3oFDiqP.js +0 -2
- package/langwatch/dist/client/assets/reports-BQKkyGFY.js +0 -2
- package/langwatch/dist/client/assets/request-CmAXw9Uw.js +0 -2
- package/langwatch/dist/client/assets/requirementDiagram-TGXJPOKE-D1dMWBTG.js +0 -85
- package/langwatch/dist/client/assets/reset-password-CTK4_mwV.js +0 -2
- package/langwatch/dist/client/assets/role-bindings-C6ZsuMgm.js +0 -2
- package/langwatch/dist/client/assets/roles-BCVxn7jA.js +0 -2
- package/langwatch/dist/client/assets/routing-policies-CRBbtcKU.js +0 -5
- package/langwatch/dist/client/assets/scenarios-t3nGDwOk.js +0 -2
- package/langwatch/dist/client/assets/scheduler-BLbmBCjU.js +0 -2
- package/langwatch/dist/client/assets/schedules-CrGqZpWa.js +0 -1
- package/langwatch/dist/client/assets/scim-Db5_4cCw.js +0 -2
- package/langwatch/dist/client/assets/secrets-w56NYZDd.js +0 -2
- package/langwatch/dist/client/assets/segment-group-BZ45xnHN.js +0 -2
- package/langwatch/dist/client/assets/segmented-control-DD0HLoke.js +0 -2
- package/langwatch/dist/client/assets/select-BVcV39WT.js +0 -2
- package/langwatch/dist/client/assets/send-C4QAmSdY.js +0 -2
- package/langwatch/dist/client/assets/sequenceView-BjWvujkI.js +0 -5
- package/langwatch/dist/client/assets/seriesOptions-BYBEdexs.js +0 -1011
- package/langwatch/dist/client/assets/settings-BLUJDHk_.js +0 -2
- package/langwatch/dist/client/assets/setup-DZUDYG7y.js +0 -2
- package/langwatch/dist/client/assets/shikiAdapter-S_u9TjIh.js +0 -3
- package/langwatch/dist/client/assets/signin-DIBdy2xA.js +0 -2
- package/langwatch/dist/client/assets/signup-CNRmYZe8.js +0 -2
- package/langwatch/dist/client/assets/stateDiagram-2N3HPSRC-CvKHJ3lm.js +0 -2
- package/langwatch/dist/client/assets/stateDiagram-v2-6OUMAXLB-DAiJnxt-.js +0 -2
- package/langwatch/dist/client/assets/subscription-DCXG9i3Z.js +0 -3
- package/langwatch/dist/client/assets/subscriptions-vembyNSC.js +0 -2
- package/langwatch/dist/client/assets/suggestionUI-CKer7JjV.js +0 -106
- package/langwatch/dist/client/assets/swimlanes-5IMT3BWC-BSx4-zBB.js +0 -3
- package/langwatch/dist/client/assets/swimlanesDiagram-G3AALYLV-CiuP6lw7.js +0 -9
- package/langwatch/dist/client/assets/switch-COTwlCOb.js +0 -2
- package/langwatch/dist/client/assets/switch-vUOdjiD1.js +0 -2
- package/langwatch/dist/client/assets/tabs-DdHsJkYS.js +0 -2
- package/langwatch/dist/client/assets/teams-CNWyUErs.js +0 -2
- package/langwatch/dist/client/assets/teams-DfkeiBlG.js +0 -2
- package/langwatch/dist/client/assets/tool-catalog-Fz2CTXGX.js +0 -7
- package/langwatch/dist/client/assets/toolIcons-8yYANIzS.js +0 -2
- package/langwatch/dist/client/assets/tooltip-Croc0I6e.js +0 -2
- package/langwatch/dist/client/assets/topic-clustering-BUhCtd-n.js +0 -2
- package/langwatch/dist/client/assets/topics-DTHKQBbG.js +0 -2
- package/langwatch/dist/client/assets/traceExecutor-apa7WEzU.js +0 -55
- package/langwatch/dist/client/assets/traces-DHbPO8-r.js +0 -289
- package/langwatch/dist/client/assets/tracesMapping-AU2q390i.js +0 -3
- package/langwatch/dist/client/assets/tracking-2cJI_Hu7.js +0 -2
- package/langwatch/dist/client/assets/types-CQ-IJ_jx.js +0 -2
- package/langwatch/dist/client/assets/types-DV4H6wK9.js +0 -2
- package/langwatch/dist/client/assets/types-PSz4yYPE.js +0 -2
- package/langwatch/dist/client/assets/types-Qc1U0Lzq.js +0 -2
- package/langwatch/dist/client/assets/unsubscribe-B7-aB2wW.js +0 -2
- package/langwatch/dist/client/assets/usage-B56MHHfN.js +0 -2
- package/langwatch/dist/client/assets/usage-BrFpMBrn.js +0 -2
- package/langwatch/dist/client/assets/use-breakpoint-BTtibx4n.js +0 -2
- package/langwatch/dist/client/assets/use-generic-onboarding-flow-eiutgTpm.js +0 -2
- package/langwatch/dist/client/assets/useActivePlan-DZDUm8JK.js +0 -2
- package/langwatch/dist/client/assets/useAllPromptsForProject-BY-Cnuhg.js +0 -2
- package/langwatch/dist/client/assets/useAnnotationQueues-BWrpwDYN.js +0 -2
- package/langwatch/dist/client/assets/useAvailableEvaluators-D7TbKINw.js +0 -2
- package/langwatch/dist/client/assets/useCyclingVerb-Bp3m8dQc.js +0 -2
- package/langwatch/dist/client/assets/useDepartmentColumn-DTsM9Nhy.js +0 -2
- package/langwatch/dist/client/assets/useEvaluationsV3Store-KPEU27UA.js +0 -2
- package/langwatch/dist/client/assets/useExportTraces-DK-tRqPq.js +0 -2
- package/langwatch/dist/client/assets/useFeatureFlag-D9ikgDaE.js +0 -2
- package/langwatch/dist/client/assets/useInviteActions-DyYvQrlw.js +0 -2
- package/langwatch/dist/client/assets/useLicenseEnforcement-DRk7-NQ0.js +0 -2
- package/langwatch/dist/client/assets/useLiteMemberGuard-klZnweA7.js +0 -43
- package/langwatch/dist/client/assets/usePersonalContext-CrhmQYta.js +0 -2
- package/langwatch/dist/client/assets/useProjectSpanNames-w6NW0Ct5.js +0 -2
- package/langwatch/dist/client/assets/useProjectsForCopy-DxbxCEv5.js +0 -2
- package/langwatch/dist/client/assets/useRunViaApiTabs-WzgJSfv2.js +0 -50
- package/langwatch/dist/client/assets/useSavedViews-CNmeuzC3.js +0 -2
- package/langwatch/dist/client/assets/useShowLangy-BvJ39ifH.js +0 -2
- package/langwatch/dist/client/assets/useSimulationUpdateListener-Bu7hXXtv.js +0 -2
- package/langwatch/dist/client/assets/useTargetName-VjbhYyp5.js +0 -2
- package/langwatch/dist/client/assets/useTargetNameMap-CB8rbgsw.js +0 -2
- package/langwatch/dist/client/assets/useTraceDetailsDrawer-BQRQYAwh.js +0 -2
- package/langwatch/dist/client/assets/useTraceUpdateListener-DvzIDKvr.js +0 -2
- package/langwatch/dist/client/assets/useUrlScopeFilter-u6ryUPSP.js +0 -2
- package/langwatch/dist/client/assets/useWorkflowStore-PvyqdAIQ.js +0 -8
- package/langwatch/dist/client/assets/users-B6_uecCc.js +0 -2
- package/langwatch/dist/client/assets/users-BKSIVGOV.js +0 -2
- package/langwatch/dist/client/assets/users-Cvlw527b.js +0 -2
- package/langwatch/dist/client/assets/v3-D_vxEDZB.js +0 -2
- package/langwatch/dist/client/assets/variables-fv0lgY95.js +0 -396
- package/langwatch/dist/client/assets/viewStore-149qmWlN.js +0 -2
- package/langwatch/dist/client/assets/virtual-keys-BrPMP91L.js +0 -2
- package/langwatch/dist/client/assets/welcome-CvpidJSe.js +0 -16
- package/langwatch/dist/client/assets/wizard-D3LrFT3o.js +0 -2
- package/langwatch/dist/client/assets/workbench-YhI9hb4n.js +0 -2
- package/langwatch/dist/client/assets/workflows-D66JEP8o.js +0 -3
- package/langwatch/dist/client/assets/wrap-C4rzJqks.js +0 -2
- package/langwatch/src/pages/settings/__tests__/model-providers.first-project.integration.test.tsx +0 -426
|
@@ -1,232 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t}from"./src-7ugfKe9P.js";import{$ as n,H as r,K as i,U as a,a as o,s,v as c,w as l,x as u,y as d}from"./chunk-WYO6CB5R-DrXopwXN.js";import{f}from"./src-BC8fyS2p.js";import{g as p,s as m}from"./chunk-ICXQ74PX-CBGBbB0s.js";import{t as h}from"./chunk-32BRIVSS-CFzTSNEZ.js";import{t as g}from"./chunk-XXDRQBXY-B-zyTdG8.js";import{t as _}from"./chunk-VR4S4FIN-kgt10gXB.js";import{r as v}from"./chunk-FWX5IMBZ-CiS2XotT.js";var y=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,2],r=[1,3],i=[1,4],a=[2,4],o=[1,9],s=[1,11],c=[1,16],l=[1,17],u=[1,18],d=[1,19],f=[1,33],p=[1,20],m=[1,21],h=[1,22],g=[1,23],_=[1,24],v=[1,26],y=[1,27],b=[1,28],x=[1,29],S=[1,30],C=[1,31],w=[1,32],T=[1,35],E=[1,36],D=[1,37],O=[1,38],k=[1,34],A=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],j=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],M=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],N={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:`error`,4:`SPACE`,5:`NL`,6:`SD`,14:`DESCR`,15:`-->`,16:`HIDE_EMPTY`,17:`scale`,18:`WIDTH`,19:`COMPOSIT_STATE`,20:`STRUCT_START`,21:`STRUCT_STOP`,22:`STATE_DESCR`,23:`AS`,24:`ID`,25:`FORK`,26:`JOIN`,27:`CHOICE`,28:`CONCURRENT`,29:`note`,31:`NOTE_TEXT`,33:`acc_title`,34:`acc_title_value`,35:`acc_descr`,36:`acc_descr_value`,37:`acc_descr_multiline_value`,38:`CLICK`,39:`STRING`,40:`HREF`,41:`classDef`,42:`CLASSDEF_ID`,43:`CLASSDEF_STYLEOPTS`,44:`DEFAULT`,45:`style`,46:`STYLE_IDS`,47:`STYLEDEF_STYLEOPTS`,48:`class`,49:`CLASSENTITY_IDS`,50:`STYLECLASS`,51:`direction_tb`,52:`direction_bt`,53:`direction_rl`,54:`direction_lr`,56:`;`,57:`EDGE_STATE`,58:`STYLE_SEPARATOR`,59:`left_of`,60:`right_of`},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 3:return r.setRootDoc(a[s]),a[s];case 4:this.$=[];break;case 5:a[s]!=`nl`&&(a[s-1].push(a[s]),this.$=a[s-1]);break;case 6:case 7:this.$=a[s];break;case 8:this.$=`nl`;break;case 12:this.$=a[s];break;case 13:let e=a[s-1];e.description=r.trimColon(a[s]),this.$=e;break;case 14:this.$={stmt:`relation`,state1:a[s-2],state2:a[s]};break;case 15:let t=r.trimColon(a[s]);this.$={stmt:`relation`,state1:a[s-3],state2:a[s-1],description:t};break;case 19:this.$={stmt:`state`,id:a[s-3],type:`default`,description:``,doc:a[s-1]};break;case 20:var c=a[s],l=a[s-2].trim();if(a[s].match(`:`)){var u=a[s].split(`:`);c=u[0],l=[l,u[1]]}this.$={stmt:`state`,id:c,type:`default`,description:l};break;case 21:this.$={stmt:`state`,id:a[s-3],type:`default`,description:a[s-5],doc:a[s-1]};break;case 22:this.$={stmt:`state`,id:a[s],type:`fork`};break;case 23:this.$={stmt:`state`,id:a[s],type:`join`};break;case 24:this.$={stmt:`state`,id:a[s],type:`choice`};break;case 25:this.$={stmt:`state`,id:r.getDividerId(),type:`divider`};break;case 26:this.$={stmt:`state`,id:a[s-1].trim(),note:{position:a[s-2].trim(),text:a[s].trim()}};break;case 29:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 30:case 31:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 32:this.$={stmt:`click`,id:a[s-3],url:a[s-2],tooltip:a[s-1]};break;case 33:this.$={stmt:`click`,id:a[s-3],url:a[s-1],tooltip:``};break;case 34:case 35:this.$={stmt:`classDef`,id:a[s-1].trim(),classes:a[s].trim()};break;case 36:this.$={stmt:`style`,id:a[s-1].trim(),styleClass:a[s].trim()};break;case 37:this.$={stmt:`applyClass`,id:a[s-1].trim(),styleClass:a[s].trim()};break;case 38:r.setDirection(`TB`),this.$={stmt:`dir`,value:`TB`};break;case 39:r.setDirection(`BT`),this.$={stmt:`dir`,value:`BT`};break;case 40:r.setDirection(`RL`),this.$={stmt:`dir`,value:`RL`};break;case 41:r.setDirection(`LR`),this.$={stmt:`dir`,value:`LR`};break;case 44:case 45:this.$={stmt:`state`,id:a[s].trim(),type:`default`,description:``};break;case 46:this.$={stmt:`state`,id:a[s-2].trim(),classes:[a[s].trim()],type:`default`,description:``};break;case 47:this.$={stmt:`state`,id:a[s-2].trim(),classes:[a[s].trim()],type:`default`,description:``};break}},`anonymous`),table:[{3:1,4:n,5:r,6:i},{1:[3]},{3:5,4:n,5:r,6:i},{3:6,4:n,5:r,6:i},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:u,22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},t(A,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:c,17:l,19:u,22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},t(A,[2,7]),t(A,[2,8]),t(A,[2,9]),t(A,[2,10]),t(A,[2,11]),t(A,[2,12],{14:[1,40],15:[1,41]}),t(A,[2,16]),{18:[1,42]},t(A,[2,18],{20:[1,43]}),{23:[1,44]},t(A,[2,22]),t(A,[2,23]),t(A,[2,24]),t(A,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(A,[2,28]),{34:[1,49]},{36:[1,50]},t(A,[2,31]),{13:51,24:f,57:k},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(j,[2,44],{58:[1,56]}),t(j,[2,45],{58:[1,57]}),t(A,[2,38]),t(A,[2,39]),t(A,[2,40]),t(A,[2,41]),t(A,[2,6]),t(A,[2,13]),{13:58,24:f,57:k},t(A,[2,17]),t(M,a,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(A,[2,29]),t(A,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(A,[2,14],{14:[1,71]}),{4:o,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:u,21:[1,72],22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},t(A,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(A,[2,34]),t(A,[2,35]),t(A,[2,36]),t(A,[2,37]),t(j,[2,46]),t(j,[2,47]),t(A,[2,15]),t(A,[2,19]),t(M,a,{7:78}),t(A,[2,26]),t(A,[2,27]),{5:[1,79]},{5:[1,80]},{4:o,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:u,21:[1,81],22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},t(A,[2,32]),t(A,[2,33]),t(A,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
2
|
-
`+h.showPosition()+`
|
|
3
|
-
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};N.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e(function(){return this._more=!0,this},`more`),reject:e(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
-
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
5
|
-
`+t+`^`},`showPosition`),test_match:e(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:e(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e===!1?!1:e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
-
`+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:e(function(){return this.next()||this.lex()},`lex`),begin:e(function(e){this.conditionStack.push(e)},`begin`),popState:e(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:e(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:e(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:e(function(e){this.begin(e)},`pushState`),stateStackSize:e(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:e(function(t,n,r,i){function a(){let e=n.yytext.indexOf(`%%`);if(e===0)return!1;if(e>0){let r=n.yytext.slice(0,e),i=n.yytext.slice(e);i&&t.lexer.unput(i),n.yytext=r}return!0}switch(e(a,`processId`),r){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:return 51;case 5:return 52;case 6:return 53;case 7:return 54;case 8:return 5;case 9:break;case 10:break;case 11:break;case 12:break;case 13:return this.pushState(`SCALE`),17;case 14:return 18;case 15:this.popState();break;case 16:return this.begin(`acc_title`),33;case 17:return this.popState(),`acc_title_value`;case 18:return this.begin(`acc_descr`),35;case 19:return this.popState(),`acc_descr_value`;case 20:this.begin(`acc_descr_multiline`);break;case 21:this.popState();break;case 22:return`acc_descr_multiline_value`;case 23:return this.pushState(`CLASSDEF`),41;case 24:return this.popState(),this.pushState(`CLASSDEFID`),`DEFAULT_CLASSDEF_ID`;case 25:return this.popState(),this.pushState(`CLASSDEFID`),42;case 26:return this.popState(),43;case 27:return this.pushState(`CLASS`),48;case 28:return this.popState(),this.pushState(`CLASS_STYLE`),49;case 29:return this.popState(),50;case 30:return this.pushState(`STYLE`),45;case 31:return this.popState(),this.pushState(`STYLEDEF_STYLES`),46;case 32:return this.popState(),47;case 33:return this.pushState(`SCALE`),17;case 34:return 18;case 35:this.popState();break;case 36:this.pushState(`STATE`);break;case 37:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;case 38:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;case 39:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;case 40:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),25;case 41:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),26;case 42:return this.popState(),n.yytext=n.yytext.slice(0,-10).trim(),27;case 43:return 51;case 44:return 52;case 45:return 53;case 46:return 54;case 47:this.pushState(`STATE_STRING`);break;case 48:return this.pushState(`STATE_ID`),`AS`;case 49:return a()?(this.popState(),`ID`):void 0;case 50:this.popState();break;case 51:return`STATE_DESCR`;case 52:throw Error(`Error: State name must be a single word. Found: "`+n.yytext.trim()+`"`);case 53:return 19;case 54:this.popState();break;case 55:return this.popState(),this.pushState(`struct`),20;case 56:return this.popState(),21;case 57:break;case 58:return this.begin(`NOTE`),29;case 59:return this.popState(),this.pushState(`NOTE_ID`),59;case 60:return this.popState(),this.pushState(`NOTE_ID`),60;case 61:this.popState(),this.pushState(`FLOATING_NOTE`);break;case 62:return this.popState(),this.pushState(`FLOATING_NOTE_ID`),`AS`;case 63:break;case 64:return`NOTE_TEXT`;case 65:return a()?(this.popState(),`ID`):void 0;case 66:return a()?(this.popState(),this.pushState(`NOTE_TEXT`),24):void 0;case 67:return this.popState(),n.yytext=n.yytext.substr(2).trim(),31;case 68:return this.popState(),n.yytext=n.yytext.slice(0,-8).trim(),31;case 69:return 6;case 70:return 6;case 71:return 16;case 72:return 57;case 73:return a()?24:void 0;case 74:return n.yytext=n.yytext.trim(),14;case 75:return 15;case 76:return 28;case 77:return 58;case 78:return 5;case 79:return`INVALID`}},`anonymous`),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\w+\s+\w+.*?\{)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?\n\s*end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[10,11,12],inclusive:!1},struct:{rules:[10,11,12,23,27,30,36,43,44,45,46,56,57,58,72,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[65],inclusive:!1},FLOATING_NOTE:{rules:[62,63,64],inclusive:!1},NOTE_TEXT:{rules:[67,68],inclusive:!1},NOTE_ID:{rules:[66],inclusive:!1},NOTE:{rules:[59,60,61],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[32],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[31],inclusive:!1},CLASS_STYLE:{rules:[29],inclusive:!1},CLASS:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[26],inclusive:!1},CLASSDEF:{rules:[24,25],inclusive:!1},acc_descr_multiline:{rules:[21,22],inclusive:!1},acc_descr:{rules:[19],inclusive:!1},acc_title:{rules:[17],inclusive:!1},SCALE:{rules:[14,15,34,35],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[49],inclusive:!1},STATE_STRING:{rules:[50,51],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[10,11,12,37,38,39,40,41,42,47,48,52,53,54,55],inclusive:!1},ID:{rules:[10,11,12],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,12,13,16,18,20,23,27,30,33,36,55,58,69,70,71,72,73,74,75,77,78,79],inclusive:!0}}}})();function P(){this.yy={}}return e(P,`Parser`),P.prototype=N,N.Parser=P,new P})();y.parser=y;var b=y,x=`TB`,S=`TB`,C=`dir`,w=`state`,T=`root`,E=`relation`,D=`classDef`,O=`style`,k=`applyClass`,A=`default`,j=`divider`,M=`fill:none`,N=`fill: #333`,P=`c`,ee=`markdown`,F=`normal`,I=`rect`,L=`rectWithTitle`,te=`stateStart`,ne=`stateEnd`,R=`divider`,re=`roundedWithTitle`,ie=`note`,ae=`noteGroup`,z=`statediagram`,oe=`${z}-state`,B=`transition`,se=`note`,ce=`${B} note-edge`,le=`${z}-${se}`,ue=`${z}-cluster`,de=`${z}-cluster-alt`,V=`parent`,H=`note`,fe=`state`,U=`----`,pe=`${U}${H}`,W=`${U}${V}`,G=e((e,t=S)=>{if(!e.doc)return t;let n=t;for(let t of e.doc)t.stmt===`dir`&&(n=t.value);return n},`getDir`),me={getClasses:e(function(e,t){return t.db.getClasses()},`getClasses`),draw:e(async function(e,n,r,i){t.info(`REF0:`),t.info(`Drawing state diagram (v2)`,n);let{securityLevel:a,state:o,layout:s}=u();i.db.extract(i.db.getRootDocV2());let c=i.db.getData(),l=g(n,a);c.type=i.type,c.layoutAlgorithm=s,c.nodeSpacing=o?.nodeSpacing||50,c.rankSpacing=o?.rankSpacing||50,u().look===`neo`?c.markers=[`barbNeo`]:c.markers=[`barb`],c.diagramId=n,await v(c,l);try{(typeof i.db.getLinks==`function`?i.db.getLinks():new Map).forEach((e,n)=>{let r=typeof n==`string`?n:typeof n?.id==`string`?n.id:``,i=c.nodes.find(e=>e.id===r);if(!r){t.warn(`⚠️ Invalid or missing stateId from key:`,JSON.stringify(n));return}let a=l.node()?.querySelectorAll(`g.node, g.rough-node`),o;if(a?.forEach(e=>{let t=e.textContent?.trim();(e.id===i?.domId||t===r)&&(o=e)}),!o){t.warn(`⚠️ Could not find node matching text:`,r);return}let s=o.parentNode;if(!s){t.warn(`⚠️ Node has no parent, cannot wrap:`,r);return}let u=document.createElementNS(`http://www.w3.org/2000/svg`,`a`),d=e.url.replace(/^"+|"+$/g,``);if(u.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,d),u.setAttribute(`target`,`_blank`),e.tooltip){let t=e.tooltip.replace(/^"+|"+$/g,``);u.setAttribute(`title`,t),o.setAttribute(`title`,t)}s.replaceChild(u,o),u.appendChild(o),t.info(`🔗 Wrapped node in <a> tag for:`,r,e.url)})}catch(e){t.error(`❌ Error injecting clickable links:`,e)}p.insertTitle(l,`statediagramTitleText`,o?.titleTopMargin??25,i.db.getDiagramTitle()),_(l,8,z,o?.useMaxWidth??!0)},`draw`),getDir:G},K=new Map,q=0;function J(e=``,t=0,n=``,r=U){return`${fe}-${e}${n!==null&&n.length>0?`${r}${n}`:``}-${t}`}e(J,`stateDomId`);var he=e((e,n,r,i,a,o,c,l)=>{t.trace(`items`,n),n.forEach(t=>{switch(t.stmt){case w:Z(e,t,r,i,a,o,c,l);break;case A:Z(e,t,r,i,a,o,c,l);break;case E:{Z(e,t.state1,r,i,a,o,c,l),Z(e,t.state2,r,i,a,o,c,l);let n=c===`neo`,d={id:`edge`+q,start:t.state1.id,end:t.state2.id,arrowhead:`normal`,arrowTypeEnd:n?`arrow_barb_neo`:`arrow_barb`,style:M,labelStyle:``,label:s.sanitizeText(t.description??``,u()),arrowheadStyle:N,labelpos:P,labelType:ee,thickness:F,classes:B,look:c};a.push(d),q++}break}})},`setupDoc`),ge=e((e,t=S)=>{let n=t;if(e.doc)for(let t of e.doc)t.stmt===`dir`&&(n=t.value);return n},`getDir`);function Y(e,t,n){if(!t.id||t.id===`</join></fork>`||t.id===`</choice>`)return;t.cssClasses&&(Array.isArray(t.cssCompiledStyles)||(t.cssCompiledStyles=[]),t.cssClasses.split(` `).forEach(e=>{let r=n.get(e);r&&(t.cssCompiledStyles=[...t.cssCompiledStyles??[],...r.styles])}));let r=e.find(e=>e.id===t.id);r?Object.assign(r,t):e.push(t)}e(Y,`insertOrUpdateNode`);function X(e){return e?.classes?.join(` `)??``}e(X,`getClassesFromDbInfo`);function _e(e){return e?.styles??[]}e(_e,`getStylesFromDbInfo`);var Z=e((e,n,r,i,a,o,c,l)=>{let d=n.id,f=r.get(d),p=X(f),m=_e(f),h=u();if(t.info(`dataFetcher parsedItem`,n,f,m),d!==`root`){let r=I;n.start===!0?r=te:n.start===!1&&(r=ne),n.type!==A&&(r=n.type),K.get(d)||K.set(d,{id:d,shape:r,description:s.sanitizeText(d,h),cssClasses:`${p} ${oe}`,cssStyles:m});let u=K.get(d);n.description&&(Array.isArray(u.description)?(u.shape=L,u.description.push(n.description)):u.description?.length&&u.description.length>0?(u.shape=L,u.description===d?u.description=[n.description]:u.description=[u.description,n.description]):(u.shape=I,u.description=n.description),u.description=s.sanitizeTextOrArray(u.description,h)),u.description?.length===1&&u.shape===L&&(u.type===`group`?u.shape=re:u.shape=I),!u.type&&n.doc&&(t.info(`Setting cluster for XCX`,d,ge(n)),u.type=`group`,u.isGroup=!0,u.dir=ge(n),u.explicitDir=n.doc.some(e=>e.stmt===`dir`),u.shape=n.type===j?R:re,u.cssClasses=`${u.cssClasses} ${ue} ${o?de:``}`);let f={labelStyle:``,shape:u.shape,label:u.description,cssClasses:u.cssClasses,cssCompiledStyles:[],cssStyles:u.cssStyles,id:d,dir:u.dir,domId:J(d,q),type:u.type,isGroup:u.type===`group`,padding:8,rx:10,ry:10,look:c,labelType:`markdown`};if(f.shape===R&&(f.label=``),e&&e.id!==`root`&&(t.trace(`Setting node `,d,` to be child of its parent `,e.id),f.parentId=e.id),f.centerLabel=!0,n.note){let e={labelStyle:``,shape:ie,label:n.note.text,labelType:`markdown`,cssClasses:le,cssStyles:[],cssCompiledStyles:[],id:d+pe+`-`+q,domId:J(d,q,H),type:u.type,isGroup:u.type===`group`,padding:h.flowchart?.padding,look:c,position:n.note.position},t=d+W,r={labelStyle:``,shape:ae,label:n.note.text,cssClasses:u.cssClasses,cssStyles:[],id:d+W,domId:J(d,q,V),type:`group`,isGroup:!0,padding:16,look:c,position:n.note.position};q++,r.id=t,e.parentId=t,Y(i,r,l),Y(i,e,l),Y(i,f,l);let o=d,s=e.id;n.note.position===`left of`&&(o=e.id,s=d),a.push({id:o+`-`+s,start:o,end:s,arrowhead:`none`,arrowTypeEnd:``,style:M,labelStyle:``,classes:ce,arrowheadStyle:N,labelpos:P,labelType:ee,thickness:F,look:c})}else Y(i,f,l)}n.doc&&(t.trace(`Adding nodes children `),he(n,n.doc,r,i,a,!o,c,l))},`dataFetcher`),ve=e(()=>{K.clear(),q=0},`reset`),Q={START_NODE:`[*]`,START_TYPE:`start`,END_NODE:`[*]`,END_TYPE:`end`,COLOR_KEYWORD:`color`,FILL_KEYWORD:`fill`,BG_FILL:`bgFill`,STYLECLASS_SEP:`,`},ye=e(()=>new Map,`newClassesList`),be=e(()=>({relations:[],states:new Map,documents:{}}),`newDoc`),$=e(e=>JSON.parse(JSON.stringify(e)),`clone`),xe=class{constructor(e){this.version=e,this.nodes=[],this.edges=[],this.rootDoc=[],this.classes=ye(),this.documents={root:be()},this.currentDocument=this.documents.root,this.startEndCount=0,this.dividerCnt=0,this.links=new Map,this.funs=[],this.getAccTitle=d,this.setAccTitle=a,this.getAccDescription=c,this.setAccDescription=r,this.setDiagramTitle=i,this.getDiagramTitle=l,this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this),this.bindFunctions=this.bindFunctions.bind(this)}static{e(this,`StateDB`)}static{this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}}extract(e){this.clear(!0);for(let t of Array.isArray(e)?e:e.doc)switch(t.stmt){case w:this.addState(t.id.trim(),t.type,t.doc,t.description,t.note);break;case E:this.addRelation(t.state1,t.state2,t.description);break;case D:this.addStyleClass(t.id.trim(),t.classes);break;case O:this.handleStyleDef(t);break;case k:this.setCssClass(t.id.trim(),t.styleClass);break;case`click`:this.addLink(t.id,t.url,t.tooltip);break}let t=this.getStates(),n=u();ve(),Z(void 0,this.getRootDocV2(),t,this.nodes,this.edges,!0,n.look,this.classes);for(let e of this.nodes)if(Array.isArray(e.label)){if(e.description=e.label.slice(1),e.isGroup&&e.description.length>0)throw Error(`Group nodes can only have label. Remove the additional description for node [${e.id}]`);e.label=e.label[0]}}handleStyleDef(e){let t=e.id.trim().split(`,`),n=e.styleClass.split(`,`);for(let e of t){let t=this.getState(e);if(!t){let n=e.trim();this.addState(n),t=this.getState(n)}t&&(t.styles=n.map(e=>e.replace(/;/g,``)?.trim()))}}setRootDoc(e){t.info(`Setting root doc`,e),this.rootDoc=e,this.version===1?this.extract(e):this.extract(this.getRootDocV2())}docTranslator(e,t,n){if(t.stmt===E){this.docTranslator(e,t.state1,!0),this.docTranslator(e,t.state2,!1);return}if(t.stmt===w&&(t.id===Q.START_NODE?(t.id=e.id+(n?`_start`:`_end`),t.start=n):t.id=t.id.trim()),t.stmt!==T&&t.stmt!==w||!t.doc)return;let r=[],i=[];for(let e of t.doc)if(e.type===j){let t=$(e);t.doc=$(i),r.push(t),i=[]}else i.push(e);if(r.length>0&&i.length>0){let e={stmt:w,id:m(),type:`divider`,doc:$(i)};r.push($(e)),t.doc=r}t.doc.forEach(e=>this.docTranslator(t,e,!0))}getRootDocV2(){return this.docTranslator({id:T,stmt:T},{id:T,stmt:T,doc:this.rootDoc},!0),{id:T,doc:this.rootDoc}}addState(e,n=A,r=void 0,i=void 0,a=void 0,o=void 0,c=void 0,l=void 0){let d=e?.trim();if(!this.currentDocument.states.has(d))t.info(`Adding state `,d,i),this.currentDocument.states.set(d,{stmt:w,id:d,descriptions:[],type:n,doc:r,note:a,classes:[],styles:[],textStyles:[]});else{let e=this.currentDocument.states.get(d);if(!e)throw Error(`State not found: ${d}`);e.doc||=r,e.type||=n}if(i&&(t.info(`Setting state description`,d,i),(Array.isArray(i)?i:[i]).forEach(e=>this.addDescription(d,e.trim()))),a){let e=this.currentDocument.states.get(d);if(!e)throw Error(`State not found: ${d}`);e.note=a,e.note.text=s.sanitizeText(e.note.text,u())}o&&(t.info(`Setting state classes`,d,o),(Array.isArray(o)?o:[o]).forEach(e=>this.setCssClass(d,e.trim()))),c&&(t.info(`Setting state styles`,d,c),(Array.isArray(c)?c:[c]).forEach(e=>this.setStyle(d,e.trim()))),l&&(t.info(`Setting state styles`,d,c),(Array.isArray(l)?l:[l]).forEach(e=>this.setTextStyle(d,e.trim())))}clear(e){this.nodes=[],this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.documents={root:be()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=ye(),e||(this.links=new Map,o())}getState(e){return this.currentDocument.states.get(e)}getStates(){return this.currentDocument.states}logDocuments(){t.info(`Documents = `,this.documents)}getRelations(){return this.currentDocument.relations}addLink(e,n,r){this.links.set(e,{url:n,tooltip:r}),t.warn(`Adding link`,e,n,r)}getLinks(){return this.links}startIdIfNeeded(e=``){return e===Q.START_NODE?(this.startEndCount++,`${Q.START_TYPE}${this.startEndCount}`):e}startTypeIfNeeded(e=``,t=A){return e===Q.START_NODE?Q.START_TYPE:t}endIdIfNeeded(e=``){return e===Q.END_NODE?(this.startEndCount++,`${Q.END_TYPE}${this.startEndCount}`):e}endTypeIfNeeded(e=``,t=A){return e===Q.END_NODE?Q.END_TYPE:t}addRelationObjs(e,t,n=``){let r=this.startIdIfNeeded(e.id.trim()),i=this.startTypeIfNeeded(e.id.trim(),e.type),a=this.startIdIfNeeded(t.id.trim()),o=this.startTypeIfNeeded(t.id.trim(),t.type);this.addState(r,i,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),this.addState(a,o,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),this.currentDocument.relations.push({id1:r,id2:a,relationTitle:s.sanitizeText(n,u())})}addRelation(e,t,n){if(typeof e==`object`&&typeof t==`object`)this.addRelationObjs(e,t,n);else if(typeof e==`string`&&typeof t==`string`){let r=this.startIdIfNeeded(e.trim()),i=this.startTypeIfNeeded(e),a=this.endIdIfNeeded(t.trim()),o=this.endTypeIfNeeded(t);this.addState(r,i),this.addState(a,o),this.currentDocument.relations.push({id1:r,id2:a,relationTitle:n?s.sanitizeText(n,u()):void 0})}}addDescription(e,t){let n=this.currentDocument.states.get(e),r=t.startsWith(`:`)?t.replace(`:`,``).trim():t;n?.descriptions?.push(s.sanitizeText(r,u()))}cleanupLabel(e){return e.startsWith(`:`)?e.slice(2).trim():e.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(e,t=``){this.classes.has(e)||this.classes.set(e,{id:e,styles:[],textStyles:[]});let n=this.classes.get(e);t&&n&&t.split(Q.STYLECLASS_SEP).forEach(e=>{let t=e.replace(/([^;]*);/,`$1`).trim();if(RegExp(Q.COLOR_KEYWORD).exec(e)){let e=t.replace(Q.FILL_KEYWORD,Q.BG_FILL).replace(Q.COLOR_KEYWORD,Q.FILL_KEYWORD);n.textStyles.push(e)}n.styles.push(t)})}getClasses(){return this.classes}setupToolTips(e){let t=h();f(e).select(`svg`).selectAll(`g.node, g.rough-node`).on(`mouseover`,e=>{let r=f(e.currentTarget),i=r.attr(`title`);if(i===null)return;let a=e.currentTarget?.getBoundingClientRect();t.transition().duration(200).style(`opacity`,`.9`),t.style(`left`,window.scrollX+a.left+(a.right-a.left)/2+`px`).style(`top`,window.scrollY+a.bottom+`px`),t.html(n.sanitize(i)),r.classed(`hover`,!0)}).on(`mouseout`,e=>{t.transition().duration(500).style(`opacity`,0),f(e.currentTarget).classed(`hover`,!1)})}setCssClass(e,t){e.split(`,`).forEach(e=>{let n=this.getState(e);if(!n){let t=e.trim();this.addState(t),n=this.getState(t)}n?.classes?.push(t)})}setStyle(e,t){this.getState(e)?.styles?.push(t)}setTextStyle(e,t){this.getState(e)?.textStyles?.push(t)}bindFunctions(e){this.funs.forEach(t=>{t(e)})}getDirectionStatement(){return this.rootDoc.find(e=>e.stmt===C)}getDirection(){return this.getDirectionStatement()?.value??x}setDirection(e){let t=this.getDirectionStatement();t?t.value=e:this.rootDoc.unshift({stmt:C,value:e})}trimColon(e){return e.startsWith(`:`)?e.slice(1).trim():e.trim()}getData(){let e=u();return{nodes:this.nodes,edges:this.edges,other:{},config:e,direction:G(this.getRootDocV2())}}getConfig(){return u().state}},Se=e(e=>`
|
|
7
|
-
defs [id$="-barbEnd"] {
|
|
8
|
-
fill: ${e.transitionColor};
|
|
9
|
-
stroke: ${e.transitionColor};
|
|
10
|
-
}
|
|
11
|
-
g.stateGroup text {
|
|
12
|
-
fill: ${e.nodeBorder};
|
|
13
|
-
stroke: none;
|
|
14
|
-
font-size: 10px;
|
|
15
|
-
}
|
|
16
|
-
g.stateGroup text {
|
|
17
|
-
fill: ${e.textColor};
|
|
18
|
-
stroke: none;
|
|
19
|
-
font-size: 10px;
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
g.stateGroup .state-title {
|
|
23
|
-
font-weight: bolder;
|
|
24
|
-
fill: ${e.stateLabelColor};
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
g.stateGroup rect {
|
|
28
|
-
fill: ${e.mainBkg};
|
|
29
|
-
stroke: ${e.nodeBorder};
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
g.stateGroup line {
|
|
33
|
-
stroke: ${e.lineColor};
|
|
34
|
-
stroke-width: ${e.strokeWidth||1};
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.transition {
|
|
38
|
-
stroke: ${e.transitionColor};
|
|
39
|
-
stroke-width: ${e.strokeWidth||1};
|
|
40
|
-
fill: none;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.stateGroup .composit {
|
|
44
|
-
fill: ${e.background};
|
|
45
|
-
border-bottom: 1px
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.stateGroup .alt-composit {
|
|
49
|
-
fill: #e0e0e0;
|
|
50
|
-
border-bottom: 1px
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.state-note {
|
|
54
|
-
stroke: ${e.noteBorderColor};
|
|
55
|
-
fill: ${e.noteBkgColor};
|
|
56
|
-
|
|
57
|
-
text {
|
|
58
|
-
fill: ${e.noteTextColor};
|
|
59
|
-
stroke: none;
|
|
60
|
-
font-size: 10px;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.stateLabel .box {
|
|
65
|
-
stroke: none;
|
|
66
|
-
stroke-width: 0;
|
|
67
|
-
fill: ${e.mainBkg};
|
|
68
|
-
opacity: 0.5;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.edgeLabel .label rect {
|
|
72
|
-
fill: ${e.labelBackgroundColor};
|
|
73
|
-
opacity: 0.5;
|
|
74
|
-
}
|
|
75
|
-
.edgeLabel {
|
|
76
|
-
background-color: ${e.edgeLabelBackground};
|
|
77
|
-
p {
|
|
78
|
-
background-color: ${e.edgeLabelBackground};
|
|
79
|
-
}
|
|
80
|
-
rect {
|
|
81
|
-
opacity: 0.5;
|
|
82
|
-
background-color: ${e.edgeLabelBackground};
|
|
83
|
-
fill: ${e.edgeLabelBackground};
|
|
84
|
-
}
|
|
85
|
-
text-align: center;
|
|
86
|
-
}
|
|
87
|
-
.edgeLabel .label text {
|
|
88
|
-
fill: ${e.transitionLabelColor||e.tertiaryTextColor};
|
|
89
|
-
}
|
|
90
|
-
.label div .edgeLabel {
|
|
91
|
-
color: ${e.transitionLabelColor||e.tertiaryTextColor};
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.stateLabel text {
|
|
95
|
-
fill: ${e.stateLabelColor};
|
|
96
|
-
font-size: 10px;
|
|
97
|
-
font-weight: bold;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.node circle.state-start {
|
|
101
|
-
fill: ${e.specialStateColor};
|
|
102
|
-
stroke: ${e.specialStateColor};
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.node .fork-join {
|
|
106
|
-
fill: ${e.specialStateColor};
|
|
107
|
-
stroke: ${e.specialStateColor};
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.node circle.state-end {
|
|
111
|
-
fill: ${e.innerEndBackground};
|
|
112
|
-
stroke: ${e.background};
|
|
113
|
-
stroke-width: 1.5
|
|
114
|
-
}
|
|
115
|
-
.end-state-inner {
|
|
116
|
-
fill: ${e.compositeBackground||e.background};
|
|
117
|
-
// stroke: ${e.background};
|
|
118
|
-
stroke-width: 1.5
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.node rect {
|
|
122
|
-
fill: ${e.stateBkg||e.mainBkg};
|
|
123
|
-
stroke: ${e.stateBorder||e.nodeBorder};
|
|
124
|
-
stroke-width: ${e.strokeWidth||1}px;
|
|
125
|
-
}
|
|
126
|
-
.node polygon {
|
|
127
|
-
fill: ${e.mainBkg};
|
|
128
|
-
stroke: ${e.stateBorder||e.nodeBorder};;
|
|
129
|
-
stroke-width: ${e.strokeWidth||1}px;
|
|
130
|
-
}
|
|
131
|
-
[id$="-barbEnd"] {
|
|
132
|
-
fill: ${e.lineColor};
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.statediagram-cluster rect {
|
|
136
|
-
fill: ${e.compositeTitleBackground};
|
|
137
|
-
stroke: ${e.stateBorder||e.nodeBorder};
|
|
138
|
-
stroke-width: ${e.strokeWidth||1}px;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.cluster-label, .nodeLabel {
|
|
142
|
-
color: ${e.stateLabelColor};
|
|
143
|
-
// line-height: 1;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.statediagram-cluster rect.outer {
|
|
147
|
-
rx: 5px;
|
|
148
|
-
ry: 5px;
|
|
149
|
-
}
|
|
150
|
-
.statediagram-state .divider {
|
|
151
|
-
stroke: ${e.stateBorder||e.nodeBorder};
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.statediagram-state .title-state {
|
|
155
|
-
rx: 5px;
|
|
156
|
-
ry: 5px;
|
|
157
|
-
}
|
|
158
|
-
.statediagram-cluster.statediagram-cluster .inner {
|
|
159
|
-
fill: ${e.compositeBackground||e.background};
|
|
160
|
-
}
|
|
161
|
-
.statediagram-cluster.statediagram-cluster-alt .inner {
|
|
162
|
-
fill: ${e.altBackground?e.altBackground:`#efefef`};
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.statediagram-cluster .inner {
|
|
166
|
-
rx:0;
|
|
167
|
-
ry:0;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.statediagram-state rect.basic {
|
|
171
|
-
rx: 5px;
|
|
172
|
-
ry: 5px;
|
|
173
|
-
}
|
|
174
|
-
.statediagram-state rect.divider {
|
|
175
|
-
stroke-dasharray: 10,10;
|
|
176
|
-
fill: ${e.altBackground?e.altBackground:`#efefef`};
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.note-edge {
|
|
180
|
-
stroke-dasharray: 5;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.statediagram-note rect {
|
|
184
|
-
fill: ${e.noteBkgColor};
|
|
185
|
-
stroke: ${e.noteBorderColor};
|
|
186
|
-
stroke-width: 1px;
|
|
187
|
-
rx: 0;
|
|
188
|
-
ry: 0;
|
|
189
|
-
}
|
|
190
|
-
.statediagram-note rect {
|
|
191
|
-
fill: ${e.noteBkgColor};
|
|
192
|
-
stroke: ${e.noteBorderColor};
|
|
193
|
-
stroke-width: 1px;
|
|
194
|
-
rx: 0;
|
|
195
|
-
ry: 0;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.statediagram-note text {
|
|
199
|
-
fill: ${e.noteTextColor};
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.statediagram-note .nodeLabel {
|
|
203
|
-
color: ${e.noteTextColor};
|
|
204
|
-
}
|
|
205
|
-
.statediagram .edgeLabel {
|
|
206
|
-
color: red; // ${e.noteTextColor};
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
[id$="-dependencyStart"], [id$="-dependencyEnd"] {
|
|
210
|
-
fill: ${e.lineColor};
|
|
211
|
-
stroke: ${e.lineColor};
|
|
212
|
-
stroke-width: ${e.strokeWidth||1};
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.statediagramTitleText {
|
|
216
|
-
text-anchor: middle;
|
|
217
|
-
font-size: 18px;
|
|
218
|
-
fill: ${e.textColor};
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
[data-look="neo"].statediagram-cluster rect {
|
|
222
|
-
fill: ${e.mainBkg};
|
|
223
|
-
stroke: ${e.useGradient?`url(`+e.svgId+`-gradient)`:e.stateBorder||e.nodeBorder};
|
|
224
|
-
stroke-width: ${e.strokeWidth??1};
|
|
225
|
-
}
|
|
226
|
-
[data-look="neo"].statediagram-cluster rect.outer {
|
|
227
|
-
rx: ${e.radius}px;
|
|
228
|
-
ry: ${e.radius}px;
|
|
229
|
-
filter: ${e.dropShadow?e.dropShadow.replace(`url(#drop-shadow)`,`url(${e.svgId}-drop-shadow)`):`none`}
|
|
230
|
-
}
|
|
231
|
-
`,`getStyles`);export{Se as i,b as n,me as r,xe as t};
|
|
232
|
-
//# sourceMappingURL=chunk-EX3LRPZG-B7fiWf8z.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/dagre-VKFMJZFB-COHUH3Np.js","assets/dagre-D7MBpcKV.js","assets/useLiteMemberGuard-klZnweA7.js","assets/rolldown-runtime-DAXXjFlN.js","assets/react-BUD3sqOU.js","assets/portal-FJIui2Z2.js","assets/jsx-runtime-CFwixLRt.js","assets/IsolatedErrorBoundary-OupgoYEt.js","assets/box-Ck5lef6C.js","assets/text-A3qvcMyN.js","assets/dismissable-layer-B-YbfJzk.js","assets/initial-focus-C3M_2NS-.js","assets/icon-CkSWK_vf.js","assets/dialog.anatomy-DHRPVAsV.js","assets/split-presence-props-lKjSaAa-.js","assets/h-stack-CMPhqSp5.js","assets/v-stack-ClAMS101.js","assets/createLucideIcon-WbxVGt4j.js","assets/close-button-RGOW3hmk.js","assets/icon-button-Ce2kwA7j.js","assets/lu-DlSq9Be4.js","assets/skeleton-YwQIu7Tp.js","assets/shikiAdapter-S_u9TjIh.js","assets/shiki-CS25xJLQ.js","assets/info-CtYT35g4.js","assets/resize-observer-DVkbZnNT.js","assets/toaster-CRP22oRW.js","assets/icons-DbK9WJNH.js","assets/info-Bii0i81f.js","assets/visually-hidden-Bv77dNd2.js","assets/index-CUhcyBp3.js","assets/components-CxJbXUhe.js","assets/lib-C55MVODY.js","assets/field-AkuX7DGP.js","assets/use-field-context-Ct2EZR3u.js","assets/next-router-Bn5Y8Iek.js","assets/trace-api-Bb6hR6FO.js","assets/api-BK6L1im2.js","assets/src-RcSZrN9Q.js","assets/usePublicEnv-CATGNgPr.js","assets/auth-client-4OIM4EvK.js","assets/defaultOptions-DTVx3qsT.js","assets/index-BmwDapuG.css","assets/tooltip-Croc0I6e.js","assets/dist-B6lQ-KU0.js","assets/ExternalImage-DbtOSrKl.js","assets/external-link-BzETHrAG.js","assets/spacer-CbmCSsJg.js","assets/loadModelCatalog-CtqlQvVB.js","assets/radio-group-DJFHT54R.js","assets/alert-C5hocQt_.js","assets/group-ZvcI05Se.js","assets/fetchSSE-DWKCnoHV.js","assets/immer-tl_oI9yy.js","assets/OpenAI-DFYm1n1s.js","assets/immer-BknSH0r7.css","assets/Markdown-Dm0jXfOR.js","assets/_Uint8Array-B8b3z1r6.js","assets/_baseFor-C04Mk-th.js","assets/_baseClone-o3pPcmbM.js","assets/_arrayEach-D_HpLtqV.js","assets/_baseAssignValue-D7YNnh37.js","assets/isArrayLikeObject-CJZEoMj_.js","assets/index.esm-C0ipNBTK.js","assets/zod-BGMkf8aO.js","assets/parse-CckliRy2.js","assets/isSymbol-IFJb2-6T.js","assets/_baseEach-CJ0DbEY4.js","assets/now-Sx_cFlpx.js","assets/graphlib-Dn160vFe.js","assets/map-DH6XyRvi.js","assets/chunk-RYQCIY6F-Bzb9D1UT.js","assets/chunk-Y2CYZVJY-DsF7k-Jl.js","assets/src-7ugfKe9P.js","assets/dayjs.min-yZk4pRyU.js","assets/src-BC8fyS2p.js","assets/string-f6JzSHaO.js","assets/chunk-WYO6CB5R-DrXopwXN.js","assets/chunk-ICXQ74PX-CBGBbB0s.js","assets/isArrayLikeObject-DK5GhsCu.js","assets/math-Bi_r_ZWc.js","assets/dist-Dr6qRSPx.js","assets/chunk-HOUHSVGY-KCI5VyfN.js","assets/chunk-Q4XR5HBZ-Ckl7D0pA.js","assets/chunk-7BUUIJ7U-Bb538aSH.js","assets/chunk-OGEWGWER-tXhe91qF.js","assets/chunk-C7G6YPKG-Cczu3qbd.js","assets/chunk-ZGVPDNZ5-_vNOpeVi.js","assets/rough.esm-CSKSodPl.js","assets/chunk-52WLFC77-CyjMpySG.js","assets/swimlanes-5IMT3BWC-BSx4-zBB.js","assets/cose-bilkent-JH36ORCC-DnzwiaTb.js","assets/cytoscape.esm-Djp6vQyU.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{S as e}from"./shiki-CS25xJLQ.js";import{n as t}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t as n}from"./src-7ugfKe9P.js";import{b as r,s as i}from"./chunk-WYO6CB5R-DrXopwXN.js";import{d as a}from"./chunk-ICXQ74PX-CBGBbB0s.js";import{a as o,i as s,s as c}from"./chunk-ZGVPDNZ5-_vNOpeVi.js";import{a as l,i as u,o as d,r as f}from"./chunk-52WLFC77-CyjMpySG.js";var p={common:i,getConfig:r,insertCluster:s,insertEdge:f,insertEdgeLabel:u,insertMarkers:l,insertNode:o,interpolateToCurve:a,labelHelper:c,log:n,positionEdgeLabel:d},m={},h=t(e=>{for(let t of e)m[t.name]=t},`registerLayoutLoaders`);t(()=>{h([{name:`dagre`,loader:t(async()=>await e(()=>import(`./dagre-VKFMJZFB-COHUH3Np.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89])),`loader`)},{name:`swimlane`,loader:t(async()=>await e(()=>import(`./swimlanes-5IMT3BWC-BSx4-zBB.js`),__vite__mapDeps([90,23,3,69,52,4,5,6,38,30,31,32,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,26,27,28,33,34,35,36,37,39,40,41,42,67,66,57,58,62,60,71,59,61,70,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89])),`loader`)},{name:`cose-bilkent`,loader:t(async()=>await e(()=>import(`./cose-bilkent-JH36ORCC-DnzwiaTb.js`),__vite__mapDeps([91,3,72,73,74,75,76,92])),`loader`)}])},`registerDefaultLayoutLoaders`)();var g=t(async(e,t,n)=>{if(!(e.layoutAlgorithm in m))throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(let t of e.nodes){let n=t.domId||t.id;t.domId=`${e.diagramId}-${n}`}let r=m[e.layoutAlgorithm],i=await r.loader(),{theme:a,themeVariables:o}=e.config,{useGradient:s,gradientStart:c,gradientStop:l}=o,u=t.attr(`id`);if(t.append(`defs`).append(`filter`).attr(`id`,`${u}-drop-shadow`).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${a?.includes(`dark`)?`#FFFFFF`:`#000000`}`),t.append(`defs`).append(`filter`).attr(`id`,`${u}-drop-shadow-small`).attr(`height`,`150%`).attr(`width`,`150%`).append(`feDropShadow`).attr(`dx`,`2`).attr(`dy`,`2`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${a?.includes(`dark`)?`#FFFFFF`:`#000000`}`),s){let e=t.append(`linearGradient`).attr(`id`,t.attr(`id`)+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);e.append(`svg:stop`).attr(`offset`,`0%`).attr(`stop-color`,c).attr(`stop-opacity`,1),e.append(`svg:stop`).attr(`offset`,`100%`).attr(`stop-color`,l).attr(`stop-opacity`,1)}return i.render(e,t,p,{algorithm:r.algorithm},n)},`render`),_=t((e=``,{fallback:t=`dagre`}={})=>{if(e in m)return e;if(t in m)return n.warn(`Layout algorithm ${e} is not registered. Using ${t} as fallback.`),t;throw Error(`Both layout algorithms ${e} and ${t} are not registered.`)},`getRegisteredLayoutAlgorithm`);export{h as n,g as r,_ as t};
|
|
3
|
-
//# sourceMappingURL=chunk-FWX5IMBZ-CiS2XotT.js.map
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t}from"./src-7ugfKe9P.js";import{$ as n,G as r,H as i,K as a,U as o,a as s,d as c,it as l,k as u,s as d,v as f,w as p,x as m,y as h}from"./chunk-WYO6CB5R-DrXopwXN.js";import{t as g}from"./channel-D3H3pkY4.js";import{f as _}from"./src-BC8fyS2p.js";import{c as v,g as ee}from"./chunk-ICXQ74PX-CBGBbB0s.js";import{t as te}from"./chunk-5VM5RSS4-ZNzvKenW.js";import{t as ne}from"./chunk-32BRIVSS-CFzTSNEZ.js";import{t as y}from"./chunk-XXDRQBXY-B-zyTdG8.js";import{t as b}from"./chunk-VR4S4FIN-kgt10gXB.js";import{o as x}from"./chunk-ZGVPDNZ5-_vNOpeVi.js";import{r as S,t as C}from"./chunk-FWX5IMBZ-CiS2XotT.js";import{n as w,t as T}from"./chunk-ZIRB5QZD-C6fEPe3t.js";var E=`flowchart-`,D=class{constructor(){this.vertexCounter=0,this.config=m(),this.diagramId=``,this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=o,this.setAccDescription=i,this.setDiagramTitle=a,this.getAccTitle=h,this.getAccDescription=f,this.getDiagramTitle=p,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen(`gen-2`)}static{e(this,`FlowDB`)}sanitizeText(e){return d.sanitizeText(e,this.config)}sanitizeNodeLabelType(e){switch(e){case`markdown`:case`string`:case`text`:return e;default:return`markdown`}}setDiagramId(e){this.diagramId=e}lookUpDomId(e){for(let t of this.vertices.values())if(t.id===e)return this.diagramId?`${this.diagramId}-${t.domId}`:t.domId;return this.diagramId?`${this.diagramId}-${e}`:e}addVertex(e,n,r,i,a,o,s={},c){if(!e||e.trim().length===0)return;let l;if(c!==void 0){let e;e=c.includes(`
|
|
2
|
-
`)?c+`
|
|
3
|
-
`:`{
|
|
4
|
-
`+c+`
|
|
5
|
-
}`,l=w(e,{schema:T})}let u=this.edges.find(t=>t.id===e);if(u){let e=l;e?.animate!==void 0&&(u.animate=e.animate),e?.animation!==void 0&&(u.animation=e.animation),e?.curve!==void 0&&(u.interpolate=e.curve);return}let d,f=this.vertices.get(e);if(f===void 0&&(n===void 0&&r===void 0&&i!=null&&t.warn(`Style applied to unknown node "${e}". This may indicate a typo. The node will be created automatically.`),f={id:e,labelType:`text`,domId:E+e+`-`+this.vertexCounter,styles:[],classes:[]},this.vertices.set(e,f)),this.vertexCounter++,n===void 0?f.text===void 0&&(f.text=e):(this.config=m(),d=this.sanitizeText(n.text.trim()),f.labelType=n.type,d.startsWith(`"`)&&d.endsWith(`"`)&&(d=d.substring(1,d.length-1)),f.text=d),r!==void 0&&(f.type=r),i?.forEach(e=>{f.styles.push(e)}),a?.forEach(e=>{f.classes.push(e)}),o!==void 0&&(f.dir=o),f.props===void 0?f.props=s:s!==void 0&&Object.assign(f.props,s),l!==void 0){if(l.shape){if(l.shape!==l.shape.toLowerCase()||l.shape.includes(`_`))throw Error(`No such shape: ${l.shape}. Shape names should be lowercase.`);if(!x(l.shape))throw Error(`No such shape: ${l.shape}.`);f.type=l?.shape}l?.label&&(f.text=l?.label,f.labelType=this.sanitizeNodeLabelType(l?.labelType)),l?.icon&&(f.icon=l?.icon,!l.label?.trim()&&f.text===e&&(f.text=``)),l?.form&&(f.form=l?.form),l?.pos&&(f.pos=l?.pos),l?.img&&(f.img=l?.img,!l.label?.trim()&&f.text===e&&(f.text=``)),l?.constraint&&(f.constraint=l.constraint),l.w&&(f.assetWidth=Number(l.w)),l.h&&(f.assetHeight=Number(l.h))}}addSingleLink(e,n,r,i){let a={start:e,end:n,type:void 0,text:``,labelType:`text`,classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};t.info(`abc78 Got edge...`,a);let o=r.text;if(o!==void 0&&(a.text=this.sanitizeText(o.text.trim()),a.text.startsWith(`"`)&&a.text.endsWith(`"`)&&(a.text=a.text.substring(1,a.text.length-1)),a.labelType=this.sanitizeNodeLabelType(o.type)),r!==void 0&&(a.type=r.type,a.stroke=r.stroke,a.length=r.length>10?10:r.length),i&&!this.edges.some(e=>e.id===i))a.id=i,a.isUserDefinedId=!0;else{let e=this.edges.filter(e=>e.start===a.start&&e.end===a.end);e.length===0?a.id=v(a.start,a.end,{counter:0,prefix:`L`}):a.id=v(a.start,a.end,{counter:e.length+1,prefix:`L`})}if(this.edges.length<(this.config.maxEdges??500))t.info(`Pushing edge...`),this.edges.push(a);else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
|
|
6
|
-
|
|
7
|
-
Initialize mermaid with maxEdges set to a higher number to allow more edges.
|
|
8
|
-
You cannot set this config via configuration inside the diagram as it is a secure config.
|
|
9
|
-
You have to call mermaid.initialize.`)}isLinkData(e){return typeof e==`object`&&!!e&&`id`in e&&typeof e.id==`string`}addLink(e,n,r){let i=this.isLinkData(r)?r.id.replace(`@`,``):void 0;t.info(`addLink`,e,n,i);for(let t of e)for(let a of n){let o=t===e[e.length-1],s=a===n[0];o&&s?this.addSingleLink(t,a,r,i):this.addSingleLink(t,a,r,void 0)}}updateLinkInterpolate(e,t){e.forEach(e=>{e==="default"?this.edges.defaultInterpolate=t:this.edges[e].interpolate=t})}updateLink(e,t){e.forEach(e=>{if(typeof e==`number`&&e>=this.edges.length)throw Error(`The index ${e} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);e==="default"?this.edges.defaultStyle=t:(this.edges[e].style=t,(this.edges[e]?.style?.length??0)>0&&!this.edges[e]?.style?.some(e=>e?.startsWith(`fill`))&&this.edges[e]?.style?.push(`fill:none`))})}addClass(e,t){let n=t.join().replace(/\\,/g,`§§§`).replace(/,/g,`;`).replace(/§§§/g,`,`).split(`;`);e.split(`,`).forEach(e=>{let t=this.classes.get(e);t===void 0&&(t={id:e,styles:[],textStyles:[]},this.classes.set(e,t)),n?.forEach(e=>{if(/color/.exec(e)){let n=e.replace(`fill`,`bgFill`);t.textStyles.push(n)}t.styles.push(e)})})}setDirection(e){this.direction=e.trim(),/.*</.exec(this.direction)&&(this.direction=`RL`),/.*\^/.exec(this.direction)&&(this.direction=`BT`),/.*>/.exec(this.direction)&&(this.direction=`LR`),/.*v/.exec(this.direction)&&(this.direction=`TB`),this.direction===`TD`&&(this.direction=`TB`)}setClass(e,t){for(let n of e.split(`,`)){let e=this.vertices.get(n);e&&e.classes.push(t);let r=this.edges.find(e=>e.id===n);r&&r.classes.push(t);let i=this.subGraphLookup.get(n);i&&i.classes.push(t)}}setTooltip(e,t){if(t!==void 0){t=this.sanitizeText(t);for(let n of e.split(`,`))this.tooltips.set(this.version===`gen-1`?this.lookUpDomId(n):n,t)}}setClickFun(e,t,n){if(m().securityLevel!==`loose`||t===void 0)return;let r=[];if(typeof n==`string`){r=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e<r.length;e++){let t=r[e].trim();t.startsWith(`"`)&&t.endsWith(`"`)&&(t=t.substr(1,t.length-2)),r[e]=t}}r.length===0&&r.push(e);let i=this.vertices.get(e);i&&(i.haveCallback=!0,this.funs.push(()=>{let n=this.lookUpDomId(e),i=document.querySelector(`[id="${n}"]`);i!==null&&i.addEventListener(`click`,()=>{ee.runFunc(t,...r)},!1)}))}setLink(e,t,n){e.split(`,`).forEach(e=>{let r=this.vertices.get(e);r!==void 0&&(r.link=ee.formatUrl(t,this.config),r.linkTarget=n)}),this.setClass(e,`clickable`)}getTooltip(e){return this.tooltips.get(e)}setClickEvent(e,t,n){e.split(`,`).forEach(e=>{this.setClickFun(e,t,n)}),this.setClass(e,`clickable`)}bindFunctions(e){this.funs.forEach(t=>{t(e)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}getClasses(){return this.classes}setupToolTips(e){let t=ne();_(e).select(`svg`).selectAll(`g.node`).on(`mouseover`,e=>{let r=_(e.currentTarget),i=r.attr(`title`);if(i===null)return;let a=e.currentTarget?.getBoundingClientRect();t.transition().duration(200).style(`opacity`,`.9`),t.text(r.attr(`title`)).style(`left`,window.scrollX+a.left+(a.right-a.left)/2+`px`).style(`top`,window.scrollY+a.bottom+`px`),t.html(n.sanitize(i)),r.classed(`hover`,!0)}).on(`mouseout`,e=>{t.transition().duration(500).style(`opacity`,0),_(e.currentTarget).classed(`hover`,!1)})}clear(e=`gen-2`){this.vertices=new Map,this.classes=new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.diagramId=``,this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=e,this.config=m(),s()}setGen(e){this.version=e||`gen-2`}defaultStyle(){return`fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;`}addSubGraph(n,r,i){let a=n.text.trim(),o=i.text;n===i&&/\s/.exec(i.text)&&(a=void 0);let s=e(e=>{let t={boolean:{},number:{},string:{}},n=[],r;return{nodeList:e.filter(function(e){let i=typeof e;return e.stmt&&e.stmt===`dir`?(r=e.value,!1):e.trim()===``?!1:i in t?t[i].hasOwnProperty(e)?!1:t[i][e]=!0:n.includes(e)?!1:n.push(e)}),dir:r}},`uniq`)(r.flat()),c=s.nodeList,l=s.dir,u=l!==void 0,d=m().flowchart??{},f=l??(d.inheritDir?this.getDirection()??m().direction??void 0:void 0);if(this.version===`gen-1`)for(let e=0;e<c.length;e++)c[e]=this.lookUpDomId(c[e]);a??=`subGraph`+this.subCount,o||=``,o=this.sanitizeText(o),this.subCount+=1;let p={id:a,nodes:c,title:o.trim(),classes:[],dir:f,hasExplicitDir:u,labelType:this.sanitizeNodeLabelType(i?.type)};return t.info(`Adding`,p.id,p.nodes,p.dir),p.nodes=this.makeUniq(p,this.subGraphs).nodes,this.subGraphs.push(p),this.subGraphLookup.set(a,p),a}getPosForId(e){for(let[t,n]of this.subGraphs.entries())if(n.id===e)return t;return-1}indexNodes2(e,t){let n=this.subGraphs[t].nodes;if(this.secCount+=1,this.secCount>2e3)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=t,this.subGraphs[t].id===e)return{result:!0,count:0};let r=0,i=1;for(;r<n.length;){let t=this.getPosForId(n[r]);if(t>=0){let n=this.indexNodes2(e,t);if(n.result)return{result:!0,count:i+n.count};i+=n.count}r+=1}return{result:!1,count:i}}getDepthFirstPos(e){return this.posCrossRef[e]}indexNodes(){this.secCount=-1,this.subGraphs.length>0&&this.indexNodes2(`none`,this.subGraphs.length-1)}getSubGraphs(){return this.subGraphs}firstGraph(){return this.firstGraphFlag?(this.firstGraphFlag=!1,!0):!1}destructStartLink(e){let t=e.trim(),n=`arrow_open`;switch(t[0]){case`<`:n=`arrow_point`,t=t.slice(1);break;case`x`:n=`arrow_cross`,t=t.slice(1);break;case`o`:n=`arrow_circle`,t=t.slice(1);break}let r=`normal`;return t.includes(`=`)&&(r=`thick`),t.includes(`.`)&&(r=`dotted`),{type:n,stroke:r}}countChar(e,t){let n=t.length,r=0;for(let i=0;i<n;++i)t[i]===e&&++r;return r}destructEndLink(e){let t=e.trim(),n=t.slice(0,-1),r=`arrow_open`;switch(t.slice(-1)){case`x`:r=`arrow_cross`,t.startsWith(`x`)&&(r=`double_`+r,n=n.slice(1));break;case`>`:r=`arrow_point`,t.startsWith(`<`)&&(r=`double_`+r,n=n.slice(1));break;case`o`:r=`arrow_circle`,t.startsWith(`o`)&&(r=`double_`+r,n=n.slice(1));break}let i=`normal`,a=n.length-1;n.startsWith(`=`)&&(i=`thick`),n.startsWith(`~`)&&(i=`invisible`);let o=this.countChar(`.`,n);return o&&(i=`dotted`,a=o),{type:r,stroke:i,length:a}}destructLink(e,t){let n=this.destructEndLink(e),r;if(t){if(r=this.destructStartLink(t),r.stroke!==n.stroke)return{type:`INVALID`,stroke:`INVALID`};if(r.type===`arrow_open`)r.type=n.type;else{if(r.type!==n.type)return{type:`INVALID`,stroke:`INVALID`};r.type=`double_`+r.type}return r.type===`double_arrow`&&(r.type=`double_arrow_point`),r.length=n.length,r}return n}exists(e,t){for(let n of e)if(n.nodes.includes(t))return!0;return!1}makeUniq(e,t){let n=[];return e.nodes.forEach((r,i)=>{this.exists(t,r)||n.push(e.nodes[i])}),{nodes:n}}getTypeFromVertex(e){if(e.img)return`imageSquare`;if(e.icon)return e.form===`circle`?`iconCircle`:e.form===`square`?`iconSquare`:e.form===`rounded`?`iconRounded`:`icon`;switch(e.type){case`square`:case void 0:return`squareRect`;case`round`:return`roundedRect`;case`ellipse`:return`ellipse`;default:return e.type}}findNode(e,t){return e.find(e=>e.id===t)}destructEdgeType(e){let t=`none`,n=`arrow_point`;switch(e){case`arrow_point`:case`arrow_circle`:case`arrow_cross`:n=e;break;case`double_arrow_point`:case`double_arrow_circle`:case`double_arrow_cross`:t=e.replace(`double_`,``),n=t;break}return{arrowTypeStart:t,arrowTypeEnd:n}}addNodeFromVertex(e,t,n,r,i,a){let o=n.get(e.id),s=r.get(e.id)??!1,c=this.findNode(t,e.id);if(c)c.cssStyles=e.styles,c.cssCompiledStyles=this.getCompiledStyles(e.classes),c.cssClasses=e.classes.join(` `);else{let n={id:e.id,label:e.text,labelType:e.labelType,labelStyle:``,parentId:o,padding:i.flowchart?.padding||8,cssStyles:e.styles,cssCompiledStyles:this.getCompiledStyles([`default`,`node`,...e.classes]),cssClasses:`default `+e.classes.join(` `),dir:e.dir,domId:e.domId,look:a,link:e.link,linkTarget:e.linkTarget,tooltip:this.getTooltip(e.id),icon:e.icon,pos:e.pos,img:e.img,assetWidth:e.assetWidth,assetHeight:e.assetHeight,constraint:e.constraint};s?t.push({...n,isGroup:!0,shape:`rect`}):t.push({...n,isGroup:!1,shape:this.getTypeFromVertex(e)})}}getCompiledStyles(e){let t=[];for(let n of e){let e=this.classes.get(n);e?.styles&&(t=[...t,...e.styles??[]].map(e=>e.trim())),e?.textStyles&&(t=[...t,...e.textStyles??[]].map(e=>e.trim()))}return t}getData(){let e=m(),t=[],n=[],r=this.getSubGraphs(),i=new Map,a=new Map;for(let e=r.length-1;e>=0;e--){let t=r[e];t.nodes.length>0&&a.set(t.id,!0);for(let e of t.nodes)i.set(e,t.id)}for(let n=r.length-1;n>=0;n--){let a=r[n];t.push({id:a.id,label:a.title,labelStyle:``,labelType:a.labelType,parentId:i.get(a.id),padding:8,cssCompiledStyles:this.getCompiledStyles(a.classes),cssClasses:a.classes.join(` `),shape:`rect`,dir:a.dir===`TD`?`TB`:a.dir,explicitDir:a.hasExplicitDir,isGroup:!0,look:e.look})}this.getVertices().forEach(n=>{this.addNodeFromVertex(n,t,i,a,e,e.look||`classic`)});let o=this.getEdges();return o.forEach((t,r)=>{let{arrowTypeStart:i,arrowTypeEnd:a}=this.destructEdgeType(t.type),s=[...o.defaultStyle??[]];t.style&&s.push(...t.style);let c={id:v(t.start,t.end,{counter:r,prefix:`L`},t.id),isUserDefinedId:t.isUserDefinedId,start:t.start,end:t.end,type:t.type??`normal`,label:t.text,labelType:t.labelType,labelpos:`c`,thickness:t.stroke,minlen:t.length,classes:t?.stroke===`invisible`?``:`edge-thickness-normal edge-pattern-solid flowchart-link`,arrowTypeStart:t?.stroke===`invisible`||t?.type===`arrow_open`?`none`:i,arrowTypeEnd:t?.stroke===`invisible`||t?.type===`arrow_open`?`none`:a,arrowheadStyle:`fill: #333`,cssCompiledStyles:this.getCompiledStyles(t.classes),labelStyle:s,style:s,pattern:t.stroke,look:e.look,animate:t.animate,animation:t.animation,curve:t.interpolate||this.edges.defaultInterpolate||e.flowchart?.curve};n.push(c)}),{nodes:t,edges:n,other:{},config:e}}defaultConfig(){return c.flowchart}},O={getClasses:e(function(e,t){return t.db.getClasses()},`getClasses`),draw:e(async function(e,n,r,i,a){t.info(`REF0:`),t.info(`Drawing state diagram (v2)`,n);let{securityLevel:o,flowchart:s,layout:c}=m();i.db.setDiagramId(n),t.debug(`Before getData: `);let l=i.db.getData();t.debug(`Data: `,l);let u=y(n,o),d=i.db.getDirection();l.type=i.type,l.layoutAlgorithm=C(c),l.layoutAlgorithm===`dagre`&&c===`elk`&&t.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."),l.direction=d,l.nodeSpacing=s?.nodeSpacing||50,l.rankSpacing=s?.rankSpacing||50,l.markers=[`point`,`circle`,`cross`],l.diagramId=n,t.debug(`REF1:`,l),await S(l,u,a);let f=l.config.flowchart?.diagramPadding??8;ee.insertTitle(u,`flowchartTitleText`,s?.titleTopMargin||0,i.db.getDiagramTitle()),b(u,f,`flowchart`,s?.useMaxWidth||!1)},`draw`)},k=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,3],i=[1,5],a=[1,8,9,10,11,27,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],o=[2,2],s=[1,13],c=[1,14],l=[1,15],u=[1,16],d=[1,23],f=[1,25],p=[1,26],m=[1,27],h=[1,50],g=[1,49],_=[1,29],v=[1,30],ee=[1,31],te=[1,32],ne=[1,33],y=[1,45],b=[1,47],x=[1,43],S=[1,48],C=[1,44],w=[1,51],T=[1,46],E=[1,52],D=[1,53],O=[1,34],k=[1,35],re=[1,36],ie=[1,37],ae=[1,38],A=[1,58],j=[1,8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],M=[1,62],N=[1,61],P=[1,63],oe=[8,9,11,75,77,78],se=[1,79],ce=[1,92],le=[1,97],ue=[1,96],de=[1,93],fe=[1,89],pe=[1,95],me=[1,91],he=[1,98],ge=[1,94],_e=[1,99],ve=[1,90],ye=[8,9,10,11,40,75,77,78],F=[8,9,10,11,40,46,75,77,78],I=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,78,89,102,105,106,109,111,114,115,116],be=[8,9,11,44,60,75,77,78,89,102,105,106,109,111,114,115,116],xe=[44,60,89,102,105,106,109,111,114,115,116],Se=[1,122],Ce=[1,123],we=[1,125],Te=[1,124],Ee=[44,60,62,74,89,102,105,106,109,111,114,115,116],De=[1,134],Oe=[1,148],ke=[1,149],Ae=[1,150],je=[1,151],Me=[1,136],Ne=[1,138],Pe=[1,142],Fe=[1,143],Ie=[1,144],Le=[1,145],Re=[1,146],ze=[1,147],Be=[1,152],Ve=[1,153],He=[1,132],Ue=[1,133],We=[1,140],Ge=[1,135],Ke=[1,139],qe=[1,137],Je=[8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],Ye=[1,155],Xe=[1,157],L=[8,9,11],R=[8,9,10,11,14,44,60,89,105,106,109,111,114,115,116],z=[1,177],B=[1,173],V=[1,174],H=[1,178],U=[1,175],W=[1,176],Ze=[77,116,119],G=[8,9,10,11,12,14,27,29,32,44,60,75,84,85,86,87,88,89,90,105,109,111,114,115,116],Qe=[10,106],$e=[31,49,51,53,55,57,62,64,66,67,69,71,116,117,118],K=[1,248],q=[1,246],J=[1,250],Y=[1,244],X=[1,245],Z=[1,247],et=[1,249],Q=[1,251],tt=[1,269],nt=[8,9,11,106],$=[8,9,10,11,60,84,105,106,109,110,111,112],rt={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,LINK_ID:78,edgeTextToken:79,STR:80,MD_STR:81,textToken:82,keywords:83,STYLE:84,LINKSTYLE:85,CLASSDEF:86,CLASS:87,CLICK:88,DOWN:89,UP:90,textNoTagsToken:91,stylesOpt:92,"idString[vertex]":93,"idString[class]":94,CALLBACKNAME:95,CALLBACKARGS:96,HREF:97,LINK_TARGET:98,"STR[link]":99,"STR[tooltip]":100,alphaNum:101,DEFAULT:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,NODE_STRING:109,UNIT:110,BRKT:111,PCT:112,idStringToken:113,MINUS:114,MULT:115,UNICODE_TEXT:116,TEXT:117,TAGSTART:118,EDGE_TEXT:119,alphaNumToken:120,direction_tb:121,direction_bt:122,direction_rl:123,direction_lr:124,direction_td:125,$accept:0,$end:1},terminals_:{2:`error`,8:`SEMI`,9:`NEWLINE`,10:`SPACE`,11:`EOF`,12:`GRAPH`,13:`NODIR`,14:`DIR`,27:`subgraph`,29:`SQS`,31:`SQE`,32:`end`,34:`acc_title`,35:`acc_title_value`,36:`acc_descr`,37:`acc_descr_value`,38:`acc_descr_multiline_value`,40:`SHAPE_DATA`,44:`AMP`,46:`STYLE_SEPARATOR`,48:`DOUBLECIRCLESTART`,49:`DOUBLECIRCLEEND`,50:`PS`,51:`PE`,52:`(-`,53:`-)`,54:`STADIUMSTART`,55:`STADIUMEND`,56:`SUBROUTINESTART`,57:`SUBROUTINEEND`,58:`VERTEX_WITH_PROPS_START`,59:`NODE_STRING[field]`,60:`COLON`,61:`NODE_STRING[value]`,62:`PIPE`,63:`CYLINDERSTART`,64:`CYLINDEREND`,65:`DIAMOND_START`,66:`DIAMOND_STOP`,67:`TAGEND`,68:`TRAPSTART`,69:`TRAPEND`,70:`INVTRAPSTART`,71:`INVTRAPEND`,74:`TESTSTR`,75:`START_LINK`,77:`LINK`,78:`LINK_ID`,80:`STR`,81:`MD_STR`,84:`STYLE`,85:`LINKSTYLE`,86:`CLASSDEF`,87:`CLASS`,88:`CLICK`,89:`DOWN`,90:`UP`,93:`idString[vertex]`,94:`idString[class]`,95:`CALLBACKNAME`,96:`CALLBACKARGS`,97:`HREF`,98:`LINK_TARGET`,99:`STR[link]`,100:`STR[tooltip]`,102:`DEFAULT`,104:`INTERPOLATE`,105:`NUM`,106:`COMMA`,109:`NODE_STRING`,110:`UNIT`,111:`BRKT`,112:`PCT`,114:`MINUS`,115:`MULT`,116:`UNICODE_TEXT`,117:`TEXT`,118:`TAGSTART`,119:`EDGE_TEXT`,121:`direction_tb`,122:`direction_bt`,123:`direction_rl`,124:`direction_lr`,125:`direction_td`},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,3],[20,4],[20,2],[20,2],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[41,4],[76,1],[76,2],[76,1],[76,1],[72,1],[72,2],[73,3],[30,1],[30,2],[30,1],[30,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[103,1],[103,3],[92,1],[92,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[82,1],[82,1],[82,1],[82,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[79,1],[79,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[47,1],[47,2],[101,1],[101,2],[33,1],[33,1],[33,1],[33,1],[33,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 2:this.$=[];break;case 3:(!Array.isArray(a[s])||a[s].length>0)&&a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 183:this.$=a[s];break;case 11:r.setDirection(`TB`),this.$=`TB`;break;case 12:r.setDirection(a[s-1]),this.$=a[s-1];break;case 27:this.$=a[s-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=r.addSubGraph(a[s-6],a[s-1],a[s-4]);break;case 34:this.$=r.addSubGraph(a[s-3],a[s-1],a[s-3]);break;case 35:this.$=r.addSubGraph(void 0,a[s-1],void 0);break;case 37:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 38:case 39:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 43:this.$=a[s-1]+a[s];break;case 44:this.$=a[s];break;case 45:r.addVertex(a[s-1][a[s-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,a[s]),r.addLink(a[s-3].stmt,a[s-1],a[s-2]),this.$={stmt:a[s-1],nodes:a[s-1].concat(a[s-3].nodes)};break;case 46:r.addLink(a[s-2].stmt,a[s],a[s-1]),this.$={stmt:a[s],nodes:a[s].concat(a[s-2].nodes)};break;case 47:r.addLink(a[s-3].stmt,a[s-1],a[s-2]),this.$={stmt:a[s-1],nodes:a[s-1].concat(a[s-3].nodes)};break;case 48:this.$={stmt:a[s-1],nodes:a[s-1]};break;case 49:r.addVertex(a[s-1][a[s-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,a[s]),this.$={stmt:a[s-1],nodes:a[s-1],shapeData:a[s]};break;case 50:this.$={stmt:a[s],nodes:a[s]};break;case 51:this.$=[a[s]];break;case 52:r.addVertex(a[s-5][a[s-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,a[s-4]),this.$=a[s-5].concat(a[s]);break;case 53:this.$=a[s-4].concat(a[s]);break;case 54:this.$=a[s];break;case 55:this.$=a[s-2],r.setClass(a[s-2],a[s]);break;case 56:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`square`);break;case 57:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`doublecircle`);break;case 58:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],`circle`);break;case 59:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`ellipse`);break;case 60:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`stadium`);break;case 61:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`subroutine`);break;case 62:this.$=a[s-7],r.addVertex(a[s-7],a[s-1],`rect`,void 0,void 0,void 0,Object.fromEntries([[a[s-5],a[s-3]]]));break;case 63:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`cylinder`);break;case 64:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`round`);break;case 65:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`diamond`);break;case 66:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],`hexagon`);break;case 67:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`odd`);break;case 68:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`trapezoid`);break;case 69:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`inv_trapezoid`);break;case 70:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`lean_right`);break;case 71:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`lean_left`);break;case 72:this.$=a[s],r.addVertex(a[s]);break;case 73:a[s-1].text=a[s],this.$=a[s-1];break;case 74:case 75:a[s-2].text=a[s-1],this.$=a[s-2];break;case 76:this.$=a[s];break;case 77:var c=r.destructLink(a[s],a[s-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,text:a[s-1]};break;case 78:var c=r.destructLink(a[s],a[s-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,text:a[s-1],id:a[s-3]};break;case 79:this.$={text:a[s],type:`text`};break;case 80:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 81:this.$={text:a[s],type:`string`};break;case 82:this.$={text:a[s],type:`markdown`};break;case 83:var c=r.destructLink(a[s]);this.$={type:c.type,stroke:c.stroke,length:c.length};break;case 84:var c=r.destructLink(a[s]);this.$={type:c.type,stroke:c.stroke,length:c.length,id:a[s-1]};break;case 85:this.$=a[s-1];break;case 86:this.$={text:a[s],type:`text`};break;case 87:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 88:this.$={text:a[s],type:`string`};break;case 89:case 104:this.$={text:a[s],type:`markdown`};break;case 101:this.$={text:a[s],type:`text`};break;case 102:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 103:this.$={text:a[s],type:`text`};break;case 105:this.$=a[s-4],r.addClass(a[s-2],a[s]);break;case 106:this.$=a[s-4],r.setClass(a[s-2],a[s]);break;case 107:case 115:this.$=a[s-1],r.setClickEvent(a[s-1],a[s]);break;case 108:case 116:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 109:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 110:this.$=a[s-4],r.setClickEvent(a[s-4],a[s-3],a[s-2]),r.setTooltip(a[s-4],a[s]);break;case 111:this.$=a[s-2],r.setLink(a[s-2],a[s]);break;case 112:this.$=a[s-4],r.setLink(a[s-4],a[s-2]),r.setTooltip(a[s-4],a[s]);break;case 113:this.$=a[s-4],r.setLink(a[s-4],a[s-2],a[s]);break;case 114:this.$=a[s-6],r.setLink(a[s-6],a[s-4],a[s]),r.setTooltip(a[s-6],a[s-2]);break;case 117:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 118:this.$=a[s-3],r.setLink(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 119:this.$=a[s-3],r.setLink(a[s-3],a[s-2],a[s]);break;case 120:this.$=a[s-5],r.setLink(a[s-5],a[s-4],a[s]),r.setTooltip(a[s-5],a[s-2]);break;case 121:this.$=a[s-4],r.addVertex(a[s-2],void 0,void 0,a[s]);break;case 122:this.$=a[s-4],r.updateLink([a[s-2]],a[s]);break;case 123:this.$=a[s-4],r.updateLink(a[s-2],a[s]);break;case 124:this.$=a[s-8],r.updateLinkInterpolate([a[s-6]],a[s-2]),r.updateLink([a[s-6]],a[s]);break;case 125:this.$=a[s-8],r.updateLinkInterpolate(a[s-6],a[s-2]),r.updateLink(a[s-6],a[s]);break;case 126:this.$=a[s-6],r.updateLinkInterpolate([a[s-4]],a[s]);break;case 127:this.$=a[s-6],r.updateLinkInterpolate(a[s-4],a[s]);break;case 128:case 130:this.$=[a[s]];break;case 129:case 131:a[s-2].push(a[s]),this.$=a[s-2];break;case 133:this.$=a[s-1]+a[s];break;case 181:this.$=a[s];break;case 182:this.$=a[s-1]+``+a[s];break;case 184:this.$=a[s-1]+``+a[s];break;case 185:this.$={stmt:`dir`,value:`TB`};break;case 186:this.$={stmt:`dir`,value:`BT`};break;case 187:this.$={stmt:`dir`,value:`RL`};break;case 188:this.$={stmt:`dir`,value:`LR`};break;case 189:this.$={stmt:`dir`,value:`TD`};break}},`anonymous`),table:[{3:1,4:2,9:n,10:r,12:i},{1:[3]},t(a,o,{5:6}),{4:7,9:n,10:r,12:i},{4:8,9:n,10:r,12:i},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:s,9:c,10:l,11:u,20:17,22:18,23:19,24:20,25:21,26:22,27:d,33:24,34:f,36:p,38:m,42:28,43:39,44:h,45:40,47:41,60:g,84:_,85:v,86:ee,87:te,88:ne,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D,121:O,122:k,123:re,124:ie,125:ae},t(a,[2,9]),t(a,[2,10]),t(a,[2,11]),{8:[1,55],9:[1,56],10:A,15:54,18:57},t(j,[2,3]),t(j,[2,4]),t(j,[2,5]),t(j,[2,6]),t(j,[2,7]),t(j,[2,8]),{8:M,9:N,11:P,21:59,41:60,72:64,75:[1,65],77:[1,67],78:[1,66]},{8:M,9:N,11:P,21:68},{8:M,9:N,11:P,21:69},{8:M,9:N,11:P,21:70},{8:M,9:N,11:P,21:71},{8:M,9:N,11:P,21:72},{8:M,9:N,10:[1,73],11:P,21:74},t(j,[2,36]),{35:[1,75]},{37:[1,76]},t(j,[2,39]),t(oe,[2,50],{18:77,39:78,10:A,40:se}),{10:[1,80]},{10:[1,81]},{10:[1,82]},{10:[1,83]},{14:ce,44:le,60:ue,80:[1,87],89:de,95:[1,84],97:[1,85],101:86,105:fe,106:pe,109:me,111:he,114:ge,115:_e,116:ve,120:88},t(j,[2,185]),t(j,[2,186]),t(j,[2,187]),t(j,[2,188]),t(j,[2,189]),t(ye,[2,51]),t(ye,[2,54],{46:[1,100]}),t(F,[2,72],{113:113,29:[1,101],44:h,48:[1,102],50:[1,103],52:[1,104],54:[1,105],56:[1,106],58:[1,107],60:g,63:[1,108],65:[1,109],67:[1,110],68:[1,111],70:[1,112],89:y,102:b,105:x,106:S,109:C,111:w,114:T,115:E,116:D}),t(I,[2,181]),t(I,[2,142]),t(I,[2,143]),t(I,[2,144]),t(I,[2,145]),t(I,[2,146]),t(I,[2,147]),t(I,[2,148]),t(I,[2,149]),t(I,[2,150]),t(I,[2,151]),t(I,[2,152]),t(a,[2,12]),t(a,[2,18]),t(a,[2,19]),{9:[1,114]},t(be,[2,26],{18:115,10:A}),t(j,[2,27]),{42:116,43:39,44:h,45:40,47:41,60:g,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D},t(j,[2,40]),t(j,[2,41]),t(j,[2,42]),t(xe,[2,76],{73:117,62:[1,119],74:[1,118]}),{76:120,79:121,80:Se,81:Ce,116:we,119:Te},{75:[1,126],77:[1,127]},t(Ee,[2,83]),t(j,[2,28]),t(j,[2,29]),t(j,[2,30]),t(j,[2,31]),t(j,[2,32]),{10:De,12:Oe,14:ke,27:Ae,28:128,32:je,44:Me,60:Ne,75:Pe,80:[1,130],81:[1,131],83:141,84:Fe,85:Ie,86:Le,87:Re,88:ze,89:Be,90:Ve,91:129,105:He,109:Ue,111:We,114:Ge,115:Ke,116:qe},t(Je,o,{5:154}),t(j,[2,37]),t(j,[2,38]),t(oe,[2,48],{44:Ye}),t(oe,[2,49],{18:156,10:A,40:Xe}),t(ye,[2,44]),{44:h,47:158,60:g,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D},{102:[1,159],103:160,105:[1,161]},{44:h,47:162,60:g,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D},{44:h,47:163,60:g,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D},t(L,[2,107],{10:[1,164],96:[1,165]}),{80:[1,166]},t(L,[2,115],{120:168,10:[1,167],14:ce,44:le,60:ue,89:de,105:fe,106:pe,109:me,111:he,114:ge,115:_e,116:ve}),t(L,[2,117],{10:[1,169]}),t(R,[2,183]),t(R,[2,170]),t(R,[2,171]),t(R,[2,172]),t(R,[2,173]),t(R,[2,174]),t(R,[2,175]),t(R,[2,176]),t(R,[2,177]),t(R,[2,178]),t(R,[2,179]),t(R,[2,180]),{44:h,47:170,60:g,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D},{30:171,67:z,80:B,81:V,82:172,116:H,117:U,118:W},{30:179,67:z,80:B,81:V,82:172,116:H,117:U,118:W},{30:181,50:[1,180],67:z,80:B,81:V,82:172,116:H,117:U,118:W},{30:182,67:z,80:B,81:V,82:172,116:H,117:U,118:W},{30:183,67:z,80:B,81:V,82:172,116:H,117:U,118:W},{30:184,67:z,80:B,81:V,82:172,116:H,117:U,118:W},{109:[1,185]},{30:186,67:z,80:B,81:V,82:172,116:H,117:U,118:W},{30:187,65:[1,188],67:z,80:B,81:V,82:172,116:H,117:U,118:W},{30:189,67:z,80:B,81:V,82:172,116:H,117:U,118:W},{30:190,67:z,80:B,81:V,82:172,116:H,117:U,118:W},{30:191,67:z,80:B,81:V,82:172,116:H,117:U,118:W},t(I,[2,182]),t(a,[2,20]),t(be,[2,25]),t(oe,[2,46],{39:192,18:193,10:A,40:se}),t(xe,[2,73],{10:[1,194]}),{10:[1,195]},{30:196,67:z,80:B,81:V,82:172,116:H,117:U,118:W},{77:[1,197],79:198,116:we,119:Te},t(Ze,[2,79]),t(Ze,[2,81]),t(Ze,[2,82]),t(Ze,[2,168]),t(Ze,[2,169]),{76:199,79:121,80:Se,81:Ce,116:we,119:Te},t(Ee,[2,84]),{8:M,9:N,10:De,11:P,12:Oe,14:ke,21:201,27:Ae,29:[1,200],32:je,44:Me,60:Ne,75:Pe,83:141,84:Fe,85:Ie,86:Le,87:Re,88:ze,89:Be,90:Ve,91:202,105:He,109:Ue,111:We,114:Ge,115:Ke,116:qe},t(G,[2,101]),t(G,[2,103]),t(G,[2,104]),t(G,[2,157]),t(G,[2,158]),t(G,[2,159]),t(G,[2,160]),t(G,[2,161]),t(G,[2,162]),t(G,[2,163]),t(G,[2,164]),t(G,[2,165]),t(G,[2,166]),t(G,[2,167]),t(G,[2,90]),t(G,[2,91]),t(G,[2,92]),t(G,[2,93]),t(G,[2,94]),t(G,[2,95]),t(G,[2,96]),t(G,[2,97]),t(G,[2,98]),t(G,[2,99]),t(G,[2,100]),{6:11,7:12,8:s,9:c,10:l,11:u,20:17,22:18,23:19,24:20,25:21,26:22,27:d,32:[1,203],33:24,34:f,36:p,38:m,42:28,43:39,44:h,45:40,47:41,60:g,84:_,85:v,86:ee,87:te,88:ne,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D,121:O,122:k,123:re,124:ie,125:ae},{10:A,18:204},{44:[1,205]},t(ye,[2,43]),{10:[1,206],44:h,60:g,89:y,102:b,105:x,106:S,109:C,111:w,113:113,114:T,115:E,116:D},{10:[1,207]},{10:[1,208],106:[1,209]},t(Qe,[2,128]),{10:[1,210],44:h,60:g,89:y,102:b,105:x,106:S,109:C,111:w,113:113,114:T,115:E,116:D},{10:[1,211],44:h,60:g,89:y,102:b,105:x,106:S,109:C,111:w,113:113,114:T,115:E,116:D},{80:[1,212]},t(L,[2,109],{10:[1,213]}),t(L,[2,111],{10:[1,214]}),{80:[1,215]},t(R,[2,184]),{80:[1,216],98:[1,217]},t(ye,[2,55],{113:113,44:h,60:g,89:y,102:b,105:x,106:S,109:C,111:w,114:T,115:E,116:D}),{31:[1,218],67:z,82:219,116:H,117:U,118:W},t($e,[2,86]),t($e,[2,88]),t($e,[2,89]),t($e,[2,153]),t($e,[2,154]),t($e,[2,155]),t($e,[2,156]),{49:[1,220],67:z,82:219,116:H,117:U,118:W},{30:221,67:z,80:B,81:V,82:172,116:H,117:U,118:W},{51:[1,222],67:z,82:219,116:H,117:U,118:W},{53:[1,223],67:z,82:219,116:H,117:U,118:W},{55:[1,224],67:z,82:219,116:H,117:U,118:W},{57:[1,225],67:z,82:219,116:H,117:U,118:W},{60:[1,226]},{64:[1,227],67:z,82:219,116:H,117:U,118:W},{66:[1,228],67:z,82:219,116:H,117:U,118:W},{30:229,67:z,80:B,81:V,82:172,116:H,117:U,118:W},{31:[1,230],67:z,82:219,116:H,117:U,118:W},{67:z,69:[1,231],71:[1,232],82:219,116:H,117:U,118:W},{67:z,69:[1,234],71:[1,233],82:219,116:H,117:U,118:W},t(oe,[2,45],{18:156,10:A,40:Xe}),t(oe,[2,47],{44:Ye}),t(xe,[2,75]),t(xe,[2,74]),{62:[1,235],67:z,82:219,116:H,117:U,118:W},t(xe,[2,77]),t(Ze,[2,80]),{77:[1,236],79:198,116:we,119:Te},{30:237,67:z,80:B,81:V,82:172,116:H,117:U,118:W},t(Je,o,{5:238}),t(G,[2,102]),t(j,[2,35]),{43:239,44:h,45:40,47:41,60:g,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D},{10:A,18:240},{10:K,60:q,84:J,92:241,105:Y,107:242,108:243,109:X,110:Z,111:et,112:Q},{10:K,60:q,84:J,92:252,104:[1,253],105:Y,107:242,108:243,109:X,110:Z,111:et,112:Q},{10:K,60:q,84:J,92:254,104:[1,255],105:Y,107:242,108:243,109:X,110:Z,111:et,112:Q},{105:[1,256]},{10:K,60:q,84:J,92:257,105:Y,107:242,108:243,109:X,110:Z,111:et,112:Q},{44:h,47:258,60:g,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D},t(L,[2,108]),{80:[1,259]},{80:[1,260],98:[1,261]},t(L,[2,116]),t(L,[2,118],{10:[1,262]}),t(L,[2,119]),t(F,[2,56]),t($e,[2,87]),t(F,[2,57]),{51:[1,263],67:z,82:219,116:H,117:U,118:W},t(F,[2,64]),t(F,[2,59]),t(F,[2,60]),t(F,[2,61]),{109:[1,264]},t(F,[2,63]),t(F,[2,65]),{66:[1,265],67:z,82:219,116:H,117:U,118:W},t(F,[2,67]),t(F,[2,68]),t(F,[2,70]),t(F,[2,69]),t(F,[2,71]),t([10,44,60,89,102,105,106,109,111,114,115,116],[2,85]),t(xe,[2,78]),{31:[1,266],67:z,82:219,116:H,117:U,118:W},{6:11,7:12,8:s,9:c,10:l,11:u,20:17,22:18,23:19,24:20,25:21,26:22,27:d,32:[1,267],33:24,34:f,36:p,38:m,42:28,43:39,44:h,45:40,47:41,60:g,84:_,85:v,86:ee,87:te,88:ne,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D,121:O,122:k,123:re,124:ie,125:ae},t(ye,[2,53]),{43:268,44:h,45:40,47:41,60:g,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D},t(L,[2,121],{106:tt}),t(nt,[2,130],{108:270,10:K,60:q,84:J,105:Y,109:X,110:Z,111:et,112:Q}),t($,[2,132]),t($,[2,134]),t($,[2,135]),t($,[2,136]),t($,[2,137]),t($,[2,138]),t($,[2,139]),t($,[2,140]),t($,[2,141]),t(L,[2,122],{106:tt}),{10:[1,271]},t(L,[2,123],{106:tt}),{10:[1,272]},t(Qe,[2,129]),t(L,[2,105],{106:tt}),t(L,[2,106],{113:113,44:h,60:g,89:y,102:b,105:x,106:S,109:C,111:w,114:T,115:E,116:D}),t(L,[2,110]),t(L,[2,112],{10:[1,273]}),t(L,[2,113]),{98:[1,274]},{51:[1,275]},{62:[1,276]},{66:[1,277]},{8:M,9:N,11:P,21:278},t(j,[2,34]),t(ye,[2,52]),{10:K,60:q,84:J,105:Y,107:279,108:243,109:X,110:Z,111:et,112:Q},t($,[2,133]),{14:ce,44:le,60:ue,89:de,101:280,105:fe,106:pe,109:me,111:he,114:ge,115:_e,116:ve,120:88},{14:ce,44:le,60:ue,89:de,101:281,105:fe,106:pe,109:me,111:he,114:ge,115:_e,116:ve,120:88},{98:[1,282]},t(L,[2,120]),t(F,[2,58]),{30:283,67:z,80:B,81:V,82:172,116:H,117:U,118:W},t(F,[2,66]),t(Je,o,{5:284}),t(nt,[2,131],{108:270,10:K,60:q,84:J,105:Y,109:X,110:Z,111:et,112:Q}),t(L,[2,126],{120:168,10:[1,285],14:ce,44:le,60:ue,89:de,105:fe,106:pe,109:me,111:he,114:ge,115:_e,116:ve}),t(L,[2,127],{120:168,10:[1,286],14:ce,44:le,60:ue,89:de,105:fe,106:pe,109:me,111:he,114:ge,115:_e,116:ve}),t(L,[2,114]),{31:[1,287],67:z,82:219,116:H,117:U,118:W},{6:11,7:12,8:s,9:c,10:l,11:u,20:17,22:18,23:19,24:20,25:21,26:22,27:d,32:[1,288],33:24,34:f,36:p,38:m,42:28,43:39,44:h,45:40,47:41,60:g,84:_,85:v,86:ee,87:te,88:ne,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D,121:O,122:k,123:re,124:ie,125:ae},{10:K,60:q,84:J,92:289,105:Y,107:242,108:243,109:X,110:Z,111:et,112:Q},{10:K,60:q,84:J,92:290,105:Y,107:242,108:243,109:X,110:Z,111:et,112:Q},t(F,[2,62]),t(j,[2,33]),t(L,[2,124],{106:tt}),t(L,[2,125],{106:tt})],defaultActions:{},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var ee=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function te(e){r.length-=2*e,a.length-=e,o.length-=e}e(te,`popStack`);function ne(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(ne,`lex`);for(var y,b,x,S,C,w={},T,E,D,O;;){if(x=r[r.length-1],this.defaultActions[x]?S=this.defaultActions[x]:(y??=ne(),S=s[x]&&s[x][y]),S===void 0||!S.length||!S[0]){var k=``;for(T in O=[],s[x])this.terminals_[T]&&T>f&&O.push(`'`+this.terminals_[T]+`'`);k=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
10
|
-
`+h.showPosition()+`
|
|
11
|
-
Expecting `+O.join(`, `)+`, got '`+(this.terminals_[y]||y)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(y==p?`end of input`:`'`+(this.terminals_[y]||y)+`'`),this.parseError(k,{text:h.match,token:this.terminals_[y]||y,line:h.yylineno,loc:v,expected:O})}if(S[0]instanceof Array&&S.length>1)throw Error(`Parse Error: multiple actions possible at state: `+x+`, token: `+y);switch(S[0]){case 1:r.push(y),a.push(h.yytext),o.push(h.yylloc),r.push(S[1]),y=null,b?(y=b,b=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(E=this.productions_[S[1]][1],w.$=a[a.length-E],w._$={first_line:o[o.length-(E||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(E||1)].first_column,last_column:o[o.length-1].last_column},ee&&(w._$.range=[o[o.length-(E||1)].range[0],o[o.length-1].range[1]]),C=this.performAction.apply(w,[c,u,l,g.yy,S[1],a,o].concat(m)),C!==void 0)return C;E&&(r=r.slice(0,-1*E*2),a=a.slice(0,-1*E),o=o.slice(0,-1*E)),r.push(this.productions_[S[1]][0]),a.push(w.$),o.push(w._$),D=s[r[r.length-2]][r[r.length-1]],r.push(D);break;case 3:return!0}}return!0},`parse`)};rt.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e(function(){return this._more=!0,this},`more`),reject:e(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
12
|
-
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
13
|
-
`+t+`^`},`showPosition`),test_match:e(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:e(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e===!1?!1:e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
|
|
14
|
-
`+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:e(function(){return this.next()||this.lex()},`lex`),begin:e(function(e){this.conditionStack.push(e)},`begin`),popState:e(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:e(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:e(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:e(function(e){this.begin(e)},`pushState`),stateStackSize:e(function(){return this.conditionStack.length},`stateStackSize`),options:{},performAction:e(function(e,t,n,r){switch(n){case 0:return this.begin(`acc_title`),34;case 1:return this.popState(),`acc_title_value`;case 2:return this.begin(`acc_descr`),36;case 3:return this.popState(),`acc_descr_value`;case 4:this.begin(`acc_descr_multiline`);break;case 5:this.popState();break;case 6:return`acc_descr_multiline_value`;case 7:return this.pushState(`shapeData`),t.yytext=``,40;case 8:return this.pushState(`shapeDataStr`),40;case 9:return this.popState(),40;case 10:return t.yytext=t.yytext.replace(/\n\s*/g,`<br/>`),40;case 11:return 40;case 12:this.popState();break;case 13:this.begin(`callbackname`);break;case 14:this.popState();break;case 15:this.popState(),this.begin(`callbackargs`);break;case 16:return 95;case 17:this.popState();break;case 18:return 96;case 19:return`MD_STR`;case 20:this.popState();break;case 21:this.begin(`md_string`);break;case 22:return`STR`;case 23:this.popState();break;case 24:this.pushState(`string`);break;case 25:return 84;case 26:return 102;case 27:return 85;case 28:return 104;case 29:return 86;case 30:return 87;case 31:return 97;case 32:this.begin(`click`);break;case 33:this.popState();break;case 34:return 88;case 35:return e.lex.firstGraph()&&this.begin(`dir`),12;case 36:return e.lex.firstGraph()&&this.begin(`dir`),12;case 37:return e.lex.firstGraph()&&this.begin(`dir`),12;case 38:return e.lex.firstGraph()&&this.begin(`dir`),12;case 39:return 27;case 40:return 32;case 41:return 98;case 42:return 98;case 43:return 98;case 44:return 98;case 45:return this.popState(),13;case 46:return this.popState(),14;case 47:return this.popState(),14;case 48:return this.popState(),14;case 49:return this.popState(),14;case 50:return this.popState(),14;case 51:return this.popState(),14;case 52:return this.popState(),14;case 53:return this.popState(),14;case 54:return this.popState(),14;case 55:return this.popState(),14;case 56:return 121;case 57:return 122;case 58:return 123;case 59:return 124;case 60:return 125;case 61:return 78;case 62:return 105;case 63:return 111;case 64:return 46;case 65:return 60;case 66:return 44;case 67:return 8;case 68:return 106;case 69:return 115;case 70:return this.popState(),77;case 71:return this.pushState(`edgeText`),75;case 72:return 119;case 73:return this.popState(),77;case 74:return this.pushState(`thickEdgeText`),75;case 75:return 119;case 76:return this.popState(),77;case 77:return this.pushState(`dottedEdgeText`),75;case 78:return 119;case 79:return 77;case 80:return this.popState(),53;case 81:return`TEXT`;case 82:return this.pushState(`ellipseText`),52;case 83:return this.popState(),55;case 84:return this.pushState(`text`),54;case 85:return this.popState(),57;case 86:return this.pushState(`text`),56;case 87:return 58;case 88:return this.pushState(`text`),67;case 89:return this.popState(),64;case 90:return this.pushState(`text`),63;case 91:return this.popState(),49;case 92:return this.pushState(`text`),48;case 93:return this.popState(),69;case 94:return this.popState(),71;case 95:return 117;case 96:return this.pushState(`trapText`),68;case 97:return this.pushState(`trapText`),70;case 98:return 118;case 99:return 67;case 100:return 90;case 101:return`SEP`;case 102:return 89;case 103:return 115;case 104:return 111;case 105:return 44;case 106:return 109;case 107:return 114;case 108:return 116;case 109:return this.popState(),62;case 110:return this.pushState(`text`),62;case 111:return this.popState(),51;case 112:return this.pushState(`text`),50;case 113:return this.popState(),31;case 114:return this.pushState(`text`),29;case 115:return this.popState(),66;case 116:return this.pushState(`text`),65;case 117:return`TEXT`;case 118:return`QUOTE`;case 119:return 9;case 120:return 10;case 121:return 11}},`anonymous`),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:swimlane-beta\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:.*direction\s+TD[^\n]*)/,/^(?:[^\s\"]+@(?=[^\{\"]))/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},shapeData:{rules:[8,11,12,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},callbackargs:{rules:[17,18,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},callbackname:{rules:[14,15,16,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},href:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},click:{rules:[21,24,33,34,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},dottedEdgeText:{rules:[21,24,76,78,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},thickEdgeText:{rules:[21,24,73,75,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},edgeText:{rules:[21,24,70,72,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},trapText:{rules:[21,24,79,82,84,86,90,92,93,94,95,96,97,110,112,114,116],inclusive:!1},ellipseText:{rules:[21,24,79,80,81,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},text:{rules:[21,24,79,82,83,84,85,86,89,90,91,92,96,97,109,110,111,112,113,114,115,116,117],inclusive:!1},vertex:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},dir:{rules:[21,24,45,46,47,48,49,50,51,52,53,54,55,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_descr:{rules:[3,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_title:{rules:[1,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},md_string:{rules:[19,20,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},string:{rules:[21,22,23,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,44,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,73,74,76,77,79,82,84,86,87,88,90,92,96,97,98,99,100,101,102,103,104,105,106,107,108,110,112,114,116,118,119,120,121],inclusive:!0}}}})();function it(){this.yy={}}return e(it,`Parser`),it.prototype=rt,rt.Parser=it,new it})();k.parser=k;var re=k,ie=Object.assign({},re);ie.parse=e=>{let t=e.replace(/}\s*\n/g,`}
|
|
15
|
-
`);return re.parse(t)};var ae=ie,A=e((e,t)=>{let n=g;return l(n(e,`r`),n(e,`g`),n(e,`b`),t)},`fade`),j=e(e=>`.label {
|
|
16
|
-
font-family: ${e.fontFamily};
|
|
17
|
-
color: ${e.nodeTextColor||e.textColor};
|
|
18
|
-
}
|
|
19
|
-
.cluster-label text {
|
|
20
|
-
fill: ${e.titleColor};
|
|
21
|
-
}
|
|
22
|
-
.cluster-label span {
|
|
23
|
-
color: ${e.titleColor};
|
|
24
|
-
}
|
|
25
|
-
.cluster-label span p {
|
|
26
|
-
background-color: transparent;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.label text,span {
|
|
30
|
-
fill: ${e.nodeTextColor||e.textColor};
|
|
31
|
-
color: ${e.nodeTextColor||e.textColor};
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.node rect,
|
|
35
|
-
.node circle,
|
|
36
|
-
.node ellipse,
|
|
37
|
-
.node polygon,
|
|
38
|
-
.node path {
|
|
39
|
-
fill: ${e.mainBkg};
|
|
40
|
-
stroke: ${e.nodeBorder};
|
|
41
|
-
stroke-width: ${e.strokeWidth??1}px;
|
|
42
|
-
}
|
|
43
|
-
.rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
|
|
44
|
-
text-anchor: middle;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.node .katex path {
|
|
48
|
-
fill: #000;
|
|
49
|
-
stroke: #000;
|
|
50
|
-
stroke-width: 1px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
|
|
54
|
-
text-align: center;
|
|
55
|
-
}
|
|
56
|
-
.node.clickable {
|
|
57
|
-
cursor: pointer;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
.root .anchor path {
|
|
62
|
-
fill: ${e.lineColor} !important;
|
|
63
|
-
stroke-width: 0;
|
|
64
|
-
stroke: ${e.lineColor};
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.arrowheadPath {
|
|
68
|
-
fill: ${e.arrowheadColor};
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.edgePath .path {
|
|
72
|
-
stroke: ${e.lineColor};
|
|
73
|
-
stroke-width: ${e.strokeWidth??2}px;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.flowchart-link {
|
|
77
|
-
stroke: ${e.lineColor};
|
|
78
|
-
fill: none;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.edgeLabel {
|
|
82
|
-
background-color: ${e.edgeLabelBackground};
|
|
83
|
-
p {
|
|
84
|
-
background-color: ${e.edgeLabelBackground};
|
|
85
|
-
}
|
|
86
|
-
rect {
|
|
87
|
-
opacity: 0.5;
|
|
88
|
-
background-color: ${e.edgeLabelBackground};
|
|
89
|
-
fill: ${e.edgeLabelBackground};
|
|
90
|
-
}
|
|
91
|
-
text-align: center;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/* For html labels only */
|
|
95
|
-
.labelBkg {
|
|
96
|
-
background-color: ${A(e.edgeLabelBackground,.5)};
|
|
97
|
-
// background-color:
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.cluster rect {
|
|
101
|
-
fill: ${e.clusterBkg};
|
|
102
|
-
stroke: ${e.clusterBorder};
|
|
103
|
-
stroke-width: 1px;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.cluster text {
|
|
107
|
-
fill: ${e.titleColor};
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.cluster span {
|
|
111
|
-
color: ${e.titleColor};
|
|
112
|
-
}
|
|
113
|
-
/* .cluster div {
|
|
114
|
-
color: ${e.titleColor};
|
|
115
|
-
} */
|
|
116
|
-
|
|
117
|
-
div.mermaidTooltip {
|
|
118
|
-
position: absolute;
|
|
119
|
-
text-align: center;
|
|
120
|
-
max-width: 200px;
|
|
121
|
-
padding: 2px;
|
|
122
|
-
font-family: ${e.fontFamily};
|
|
123
|
-
font-size: 12px;
|
|
124
|
-
background: ${e.tertiaryColor};
|
|
125
|
-
border: 1px solid ${e.border2};
|
|
126
|
-
border-radius: 2px;
|
|
127
|
-
pointer-events: none;
|
|
128
|
-
z-index: 100;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.flowchartTitleText {
|
|
132
|
-
text-anchor: middle;
|
|
133
|
-
font-size: 18px;
|
|
134
|
-
fill: ${e.textColor};
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
rect.text {
|
|
138
|
-
fill: none;
|
|
139
|
-
stroke-width: 0;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.icon-shape, .image-shape {
|
|
143
|
-
background-color: ${e.edgeLabelBackground};
|
|
144
|
-
p {
|
|
145
|
-
background-color: ${e.edgeLabelBackground};
|
|
146
|
-
padding: 2px;
|
|
147
|
-
}
|
|
148
|
-
.label rect {
|
|
149
|
-
opacity: 0.5;
|
|
150
|
-
background-color: ${e.edgeLabelBackground};
|
|
151
|
-
fill: ${e.edgeLabelBackground};
|
|
152
|
-
}
|
|
153
|
-
text-align: center;
|
|
154
|
-
}
|
|
155
|
-
${te()}
|
|
156
|
-
`,`getStyles`),M=e(({defaultLayout:t,styles:n=j}={})=>({parser:ae,get db(){return new D},renderer:O,styles:n,init:e(e=>{e.flowchart||={};let n=u().layout??t??e.layout;n&&r({layout:n}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,r({flowchart:{arrowMarkerAbsolute:e.arrowMarkerAbsolute}})},`init`)}),`createFlowDiagram`),N=M();export{N as n,j as r,M as t};
|
|
157
|
-
//# sourceMappingURL=chunk-PUDLZKDR-_aske-8B.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./_baseClone-o3pPcmbM.js";import{r as t,t as n}from"./graphlib-Dn160vFe.js";import{t as r}from"./map-DH6XyRvi.js";import{n as i}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t as a}from"./src-7ugfKe9P.js";var o=4;function s(t){return e(t,o)}function c(e){var n={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:l(e),edges:u(e)};return t(e.graph())||(n.value=s(e.graph())),n}function l(e){return r(e.nodes(),function(n){var r=e.node(n),i=e.parent(n),a={v:n};return t(r)||(a.value=r),t(i)||(a.parent=i),a})}function u(e){return r(e.edges(),function(n){var r=e.edge(n),i={v:n.v,w:n.w};return t(n.name)||(i.name=n.name),t(r)||(i.value=r),i})}var d=new Map,f=new Map,p=new Map,m=i(()=>{f.clear(),p.clear(),d.clear()},`clear`),h=i((e,t)=>{let n=f.get(t)||[];return a.trace(`In isDescendant`,t,` `,e,` = `,n.includes(e)),n.includes(e)},`isDescendant`),g=i((e,t)=>{let n=f.get(t)||[];return a.info(`Descendants of `,t,` is `,n),a.info(`Edge is `,e),e.v===t||e.w===t?!1:n?n.includes(e.v)||h(e.v,t)||h(e.w,t)||n.includes(e.w):(a.debug(`Tilt, `,t,`,not in descendants`),!1)},`edgeInCluster`),_=i((e,t,n,r)=>{a.warn(`Copying children of `,e,`root`,r,`data`,t.node(e),r);let i=t.children(e)||[];e!==r&&i.push(e),a.warn(`Copying (nodes) clusterId`,e,`nodes`,i),i.forEach(i=>{if(t.children(i).length>0)_(i,t,n,r);else{let o=t.node(i);a.info(`cp `,i,` to `,r,` with parent `,e),n.setNode(i,o),r!==t.parent(i)&&(a.warn(`Setting parent`,i,t.parent(i)),n.setParent(i,t.parent(i))),e!==r&&i!==e?(a.debug(`Setting parent`,i,e),n.setParent(i,e)):(a.info(`In copy `,e,`root`,r,`data`,t.node(e),r),a.debug(`Not Setting parent for node=`,i,`cluster!==rootId`,e!==r,`node!==clusterId`,i!==e));let s=t.edges(i);a.debug(`Copying Edges`,s),s.forEach(i=>{a.info(`Edge`,i);let o=t.edge(i.v,i.w,i.name);a.info(`Edge data`,o,r);try{if(g(i,r)){let e=f.get(r)||[],s=e.includes(i.v)||h(i.v,r)||i.v===r,c=e.includes(i.w)||h(i.w,r)||i.w===r;if(s&&c)a.info(`Copying as `,i.v,i.w,o,i.name),n.setEdge(i.v,i.w,o,i.name),a.info(`newGraph edges `,n.edges(),n.edge(n.edges()[0]));else{let e=s?r:i.v,n=c?r:i.w;a.info(`Rebinding cross-boundary edge as `,e,n,o,i.name),t.setEdge(e,n,o,i.name)}}else a.info(`Skipping copy of edge `,i.v,`-->`,i.w,` rootId: `,r,` clusterId:`,e)}catch(e){a.error(e)}})}a.debug(`Removing node`,i),t.removeNode(i)})},`copy`),v=i((e,t)=>{let n=t.children(e),r=[...n];for(let i of n)p.set(i,e),r=[...r,...v(i,t)];return r},`extractDescendants`),y=i((e,t,n)=>{let r=e.edges().filter(e=>e.v===t||e.w===t),i=e.edges().filter(e=>e.v===n||e.w===n),a=r.map(e=>({v:e.v===t?n:e.v,w:e.w===t?t:e.w})),o=i.map(e=>({v:e.v,w:e.w}));return a.filter(e=>o.some(t=>e.v===t.v&&e.w===t.w))},`findCommonEdges`),b=i((e,t,n)=>{let r=t.children(e);if(a.trace(`Searching children of id `,e,r),r.length<1)return e;let i;for(let e of r){let r=b(e,t,n),a=y(t,n,r);if(r)if(a.length>0)i=r;else return r}return i},`findNonClusterChild`),x=i(e=>!d.has(e)||!d.get(e).externalConnections?e:d.has(e)?d.get(e).id:e,`getAnchorId`),S=i((e,t)=>{if(!e||t>10){a.debug(`Opting out, no graph `);return}else a.debug(`Opting in, graph `);e.nodes().forEach(function(t){e.children(t).length>0&&(a.warn(`Cluster identified`,t,` Replacement id in edges: `,b(t,e,t)),f.set(t,v(t,e)),d.set(t,{id:b(t,e,t),clusterData:e.node(t)}))}),e.nodes().forEach(function(t){let n=e.children(t),r=e.edges();n.length>0?(a.debug(`Cluster identified`,t,f),r.forEach(e=>{h(e.v,t)^h(e.w,t)&&(a.warn(`Edge: `,e,` leaves cluster `,t),a.warn(`Descendants of XXX `,t,`: `,f.get(t)),d.get(t).externalConnections=!0)})):a.debug(`Not a cluster `,t,f)});for(let t of d.keys()){let n=d.get(t).id,r=e.parent(n);r!==t&&d.has(r)&&!d.get(r).externalConnections&&(d.get(t).id=r);let i=e.edges().some(e=>e.v===t);if(n&&d.get(t)?.externalConnections&&i&&E(e,n,t)){let r=D(e,t,e.parent(n));r&&(d.get(t).id=r)}}e.edges().forEach(function(t){let n=e.edge(t);a.warn(`Edge `+t.v+` -> `+t.w+`: `+JSON.stringify(t)),a.warn(`Edge `+t.v+` -> `+t.w+`: `+JSON.stringify(e.edge(t)));let r=t.v,i=t.w;if(a.warn(`Fix XXX`,d,`ids:`,t.v,t.w,`Translating: `,d.get(t.v),` --- `,d.get(t.w)),d.get(t.v)||d.get(t.w)){if(a.warn(`Fixing and trying - removing XXX`,t.v,t.w,t.name),r=x(t.v),i=x(t.w),e.removeEdge(t.v,t.w,t.name),r!==t.v){let i=e.parent(r);d.get(i).externalConnections=!0,n.fromCluster=t.v}if(i!==t.w){let r=e.parent(i);d.get(r).externalConnections=!0,n.toCluster=t.w}a.warn(`Fix Replacing with XXX`,r,i,t.name),e.setEdge(r,i,n,t.name)}}),a.warn(`Adjusted Graph`,c(e)),C(e,0),a.trace(d)},`adjustClustersAndEdges`),C=i((e,t)=>{if(a.warn(`extractor - `,t,c(e),e.children(`D`)),t>10){a.error(`Bailing out`);return}let r=e.nodes(),i=!1;for(let t of r){let n=e.children(t);i||=n.length>0}if(!i){a.debug(`Done, no node has children`,e.nodes());return}a.debug(`Nodes = `,r,t);for(let i of r)if(a.debug(`Extracting node`,i,d,d.has(i)&&!d.get(i).externalConnections,!e.parent(i),e.node(i),e.children(`D`),` Depth `,t),!d.has(i))a.debug(`Not a cluster`,i,t);else if(d.get(i)?.clusterData?.explicitDir&&e.children(i)&&e.children(i).length>0){a.warn(`Cluster with explicit dir, creating subgraph for children`,i,t);let r=d.get(i).clusterData.dir,o=new n({multigraph:!0,compound:!0}).setGraph({rankdir:r,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});_(i,e,o,i);let s=e.node(i)||{};e.setNode(i,{...s,clusterNode:!0,id:i,clusterData:d.get(i).clusterData,label:d.get(i).label,graph:o}),a.warn(`Subgraph for cluster with explicit dir created:`,i,c(o))}else if(!d.get(i).externalConnections&&e.children(i)&&e.children(i).length>0){a.warn(`Cluster without external connections, without a parent and with children`,i,t);let r=e.graph().rankdir===`TB`?`LR`:`TB`;d.get(i)?.clusterData?.dir&&(r=d.get(i).clusterData.dir,a.warn(`Fixing dir`,d.get(i).clusterData.dir,r));let o=new n({multigraph:!0,compound:!0}).setGraph({rankdir:r,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});_(i,e,o,i);let s=e.node(i)||{};e.setNode(i,{...s,clusterNode:!0,id:i,clusterData:d.get(i).clusterData,label:d.get(i).label,graph:o}),a.debug(`Old graph after copy`,c(e))}else a.warn(`Cluster ** `,i,` **not meeting the criteria !externalConnections:`,!d.get(i).externalConnections,` no parent: `,!e.parent(i),` children `,e.children(i)&&e.children(i).length>0,e.children(`D`),t),a.debug(d);r=e.nodes(),a.warn(`New list of nodes`,r);for(let n of r){let r=e.node(n);a.warn(` Now next level`,n,r),r?.clusterNode&&C(r.graph,t+1)}},`extractor`),w=i((e,t)=>{if(t.length===0)return[];let n=Object.assign([],t);return t.forEach(t=>{let r=w(e,e.children(t));n=[...n,...r]}),n},`sorter`),T=i(e=>w(e,e.children()),`sortNodesByHierarchy`),E=i((e,t,n)=>{let r=e.parent(t);for(;r&&r!==n;){let t=d.get(r);if(t&&!t.externalConnections)return!0;r=e.parent(r)}return!1},`isNodeInExtractableCluster`),D=i((e,t,n)=>{let r=e.children(t)??[];for(let i of r){if(i===n||h(i,n))continue;let r=b(i,e,t);if(r&&!E(e,r,t))return r}return null},`findSafeAnchorNode`);export{T as a,b as i,m as n,c as o,d as r,S as t};
|
|
2
|
-
//# sourceMappingURL=chunk-RYQCIY6F-Bzb9D1UT.js.map
|