@spteck/react-controls-v2 2.3.7 → 2.3.8
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/dist/LocalizationProvider-B6NxHbu2.cjs +2 -0
- package/dist/LocalizationProvider-te5iu_6z.js +363 -0
- package/dist/_arrayEach-BuSFKyFt.js +54 -0
- package/dist/_arrayEach-ChR-TejB.cjs +2 -0
- package/dist/_getTag-BRuLtYrv.js +28 -0
- package/dist/_getTag-D6VVyrEu.cjs +2 -0
- package/dist/abstractions/IApplicationContext.d.ts +0 -1
- package/dist/abstractions/IAuthenticationProvider.d.ts +0 -1
- package/dist/abstractions/ILocalizationProvider.d.ts +0 -1
- package/dist/abstractions/providers/ConsoleLoggingProvider.d.ts +0 -1
- package/dist/abstractions/providers/DefaultGraphClient.d.ts +0 -1
- package/dist/abstractions/providers/DefaultLocalizationProvider.d.ts +0 -1
- package/dist/abstractions/providers/LocalStorageProvider.d.ts +0 -1
- package/dist/abstractions/providers/LocalizationProvider.d.ts +0 -1
- package/dist/ar-Blifx2MN.js +210 -0
- package/dist/ar-ip3bGOX3.cjs +2 -0
- package/dist/arc-4yb49ncY.js +82 -0
- package/dist/arc-djsA8IT0.cjs +2 -0
- package/dist/architecture-PBZL5I3N-CvTfVLFi.js +3 -0
- package/dist/architecture-PBZL5I3N-wZIE3ggH.cjs +1 -0
- package/dist/architectureDiagram-2XIMDMQ5-DFEvJNx1.cjs +37 -0
- package/dist/architectureDiagram-2XIMDMQ5-g-HotzpG.js +4047 -0
- package/dist/array-BNB_vRFv.cjs +2 -0
- package/dist/array-DP0duYiO.js +8 -0
- package/dist/az-CMhDjtnj.js +210 -0
- package/dist/az-CyVLdUDz.cjs +2 -0
- package/dist/bg-Bexoz3hL.cjs +2 -0
- package/dist/bg-C96WirSv.js +210 -0
- package/dist/blockDiagram-WCTKOSBZ-DWgb5Ghz.js +3165 -0
- package/dist/blockDiagram-WCTKOSBZ-Dl04FBAy.cjs +133 -0
- package/dist/bs-MMcvhwLv.cjs +2 -0
- package/dist/bs-_St1wBE_.js +210 -0
- package/dist/c4Diagram-IC4MRINW-ClZvialQ.js +2966 -0
- package/dist/c4Diagram-IC4MRINW-ZFE2cGZP.cjs +11 -0
- package/dist/ca-BspMSeHN.cjs +2 -0
- package/dist/ca-QlLcV4wf.js +210 -0
- package/dist/channel-2Bqnb1FY.js +7 -0
- package/dist/channel-5_aP1EVB.cjs +2 -0
- package/dist/chunk-4BX2VUAB-B5Va_oZz.js +10 -0
- package/dist/chunk-4BX2VUAB-BWDW-gYk.cjs +2 -0
- package/dist/chunk-55IACEB6-4ind_ByS.cjs +2 -0
- package/dist/chunk-55IACEB6-Pcyz_aR_.js +10 -0
- package/dist/chunk-7E7YKBS2-Sw9_w4gt.cjs +2 -0
- package/dist/chunk-7E7YKBS2-VHdgsed6.js +25 -0
- package/dist/chunk-7R4GIKGN-BKoqTTU_.cjs +81 -0
- package/dist/chunk-7R4GIKGN-CaQJ0QBF.js +2598 -0
- package/dist/chunk-C72U2L5F-CCvi6jiy.cjs +2 -0
- package/dist/chunk-C72U2L5F-MjJQTOMh.js +25 -0
- package/dist/chunk-D-IZpNpi.cjs +1 -0
- package/dist/chunk-EGIJ26TM-Bffl84Wq.cjs +2 -0
- package/dist/chunk-EGIJ26TM-DLMAfvpZ.js +25 -0
- package/dist/{chunk-FMBD7UC4-DD0xIF4q.js → chunk-FMBD7UC4-BvqqU04Z.cjs} +3 -7
- package/dist/chunk-FMBD7UC4-xjRtkFXe.js +7 -0
- package/dist/chunk-GEFDOKGD-BNgT40Ex.js +1302 -0
- package/dist/chunk-GEFDOKGD-BOwd6Jqp.cjs +3 -0
- package/dist/chunk-GLR3WWYH-DdNAJNRC.cjs +2 -0
- package/dist/chunk-GLR3WWYH-kyo6BUtq.js +43 -0
- package/dist/chunk-HHEYEP7N-DO1AYIZw.js +11 -0
- package/dist/chunk-HHEYEP7N-pdmgQZzP.cjs +2 -0
- package/dist/chunk-JSJVCQXG-Ci0seBb4.cjs +2 -0
- package/dist/chunk-JSJVCQXG-DowfYWcD.js +62 -0
- package/dist/chunk-KX2RTZJC-BJeOHReu.cjs +2 -0
- package/dist/chunk-KX2RTZJC-D-bUTSNy.js +27 -0
- package/dist/chunk-KYZI473N-DEPuSXaW.js +3436 -0
- package/dist/chunk-KYZI473N-DzBMFOER.cjs +54 -0
- package/dist/chunk-L3YUKLVL-BDGCTzmy.js +25 -0
- package/dist/chunk-L3YUKLVL-BZ17sqh5.cjs +2 -0
- package/dist/chunk-MX3YWQON-CAsnAj2e.js +82 -0
- package/dist/chunk-MX3YWQON-DulrBJdn.cjs +2 -0
- package/dist/chunk-NBPlniwU.js +23 -0
- package/dist/chunk-NQ4KR5QH-BJBAT2kM.cjs +221 -0
- package/dist/chunk-NQ4KR5QH-DFem-ORD.js +2004 -0
- package/dist/chunk-O4XLMI2P-BQF7MAo7.cjs +8 -0
- package/dist/chunk-O4XLMI2P-DA4TPzPG.js +513 -0
- package/dist/chunk-OZEHJAEY-CAiiXJUP.cjs +2 -0
- package/dist/chunk-OZEHJAEY-D7SX2SbR.js +66 -0
- package/dist/chunk-PQ6SQG4A-BZnW4-Sd.cjs +2 -0
- package/dist/chunk-PQ6SQG4A-ObFGkauo.js +69 -0
- package/dist/chunk-PU5JKC2W-BM5NPS-q.js +1887 -0
- package/dist/chunk-PU5JKC2W-eRU8wnTH.cjs +71 -0
- package/dist/chunk-QZHKN3VN-Dhli_tM0.cjs +2 -0
- package/dist/chunk-QZHKN3VN-x258g6EH.js +17 -0
- package/dist/chunk-R5LLSJPH-CNTEucEd.cjs +2 -0
- package/dist/chunk-R5LLSJPH-Gt27ml2m.js +37 -0
- package/dist/chunk-WL4C6EOR-CQXw6d0l.cjs +190 -0
- package/dist/chunk-WL4C6EOR-DuM6QmqM.js +3196 -0
- package/dist/chunk-XIRO2GV7-CswC9CO8.cjs +2 -0
- package/dist/chunk-XIRO2GV7-DXlO8X82.js +32 -0
- package/dist/chunk-XPW4576I-Bpsr4SZJ.js +1148 -0
- package/dist/chunk-XPW4576I-C68T-WIW.cjs +33 -0
- package/dist/chunk-XZSTWKYB-DJv9rEVU.cjs +95 -0
- package/dist/chunk-XZSTWKYB-jD9M1izK.js +16132 -0
- package/dist/chunk-YBOYWFTD-B6CeuteH.js +34 -0
- package/dist/chunk-YBOYWFTD-CiLW6HW_.cjs +2 -0
- package/dist/classDiagram-VBA2DB6C-Us0kuDfz.cjs +2 -0
- package/dist/classDiagram-VBA2DB6C-VOsE3gN0.js +31 -0
- package/dist/classDiagram-v2-RAHNMMFH-BWsm3ea6.cjs +2 -0
- package/dist/classDiagram-v2-RAHNMMFH-DPqMNfOz.js +31 -0
- package/dist/components/AISearchControl/useAISearchControlStyles.d.ts +0 -1
- package/dist/components/AspectRatio/AspectRatio.d.ts +0 -1
- package/dist/components/AspectRatio/IAspectRationProps.d.ts +0 -1
- package/dist/components/Card/ICardProps.d.ts +0 -1
- package/dist/components/Carousel/ICarouselProps.d.ts +0 -1
- package/dist/components/Carousel/useCarouselButton.d.ts +0 -1
- package/dist/components/Carousel/useCarouselStyles.d.ts +0 -1
- package/dist/components/Center/ICenterProps.d.ts +0 -1
- package/dist/components/ContentRenderer/IContentRendererProps.d.ts +0 -1
- package/dist/components/DataGridV2/DataGridV2.d.ts +2 -1
- package/dist/components/DataGridV2/IDataGridV2ExtraProps.d.ts +0 -1
- package/dist/components/Grid/IGridProps.d.ts +0 -1
- package/dist/components/ItemPicker/IItemPickerProps.d.ts +0 -1
- package/dist/components/KPIControl/IKpiCardProps.d.ts +0 -1
- package/dist/components/ListItemActivityMessage/IActivity.d.ts +0 -1
- package/dist/components/ListItemActivityMessage/IActivityMessageProps.d.ts +0 -1
- package/dist/components/ListItemActivityMessage/IActor.d.ts +0 -1
- package/dist/components/ListItemActivityMessage/useSharePointActivities.d.ts +0 -1
- package/dist/components/ListToolbar/FlatItem.d.ts +0 -1
- package/dist/components/ListToolbar/IListToolbarProps.d.ts +0 -1
- package/dist/components/ListToolbar/IToolbarItem.d.ts +0 -1
- package/dist/components/ListToolbar/IToolbarItemRendererProps.d.ts +0 -1
- package/dist/components/ListToolbar/helpers.d.ts +0 -1
- package/dist/components/MermaidDiagram/useMermaidDiagramStyles.d.ts +0 -1
- package/dist/components/Navigation/Navigation.d.ts +0 -1
- package/dist/components/Popup/Popup.d.ts +0 -1
- package/dist/components/Provider/UniversalProvider.d.ts +0 -1
- package/dist/components/Space/ISpaceProps.d.ts +0 -1
- package/dist/components/SplitPane/ISplitPaneProps.d.ts +0 -1
- package/dist/components/SplitPane/useSplitPaneStyles.d.ts +0 -1
- package/dist/components/Stack/IStackProps.d.ts +0 -1
- package/dist/components/StackedUsers/IStackedUsersProps.d.ts +0 -1
- package/dist/components/StackedUsers/StackedUsers.d.ts +0 -1
- package/dist/components/adaptiveCardHost/AdaptiveCardHost.HostConfig.d.ts +0 -1
- package/dist/components/adaptiveCardHost/AdaptiveCardHost.Utilities.d.ts +0 -1
- package/dist/components/adaptiveCardHost/AdaptiveCardHost.d.ts +0 -1
- package/dist/components/adaptiveCardHost/IAdaptiveCardHostProps.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/Elements.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/FluentUIChoiceSetInput.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/FluentUIDateInput.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/FluentUINumberInput.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/FluentUITextInput.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/FluentUIToggleInput.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/HostCapability.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/HostConfig.d.ts +0 -1
- package/dist/components/adaptiveCardHost/fluentUI/Styles.d.ts +0 -1
- package/dist/components/adaptiveCardHost/models/IAdaptiveCardHostConfigResult.d.ts +0 -1
- package/dist/components/adaptiveCardHost/models/IAdaptiveCardHostEvaluationContext.d.ts +0 -1
- package/dist/components/aiAssistant/ChatAction.d.ts +0 -1
- package/dist/components/aiAssistant/ChatInputProps.d.ts +0 -1
- package/dist/components/aiAssistant/ChatInputWithMensions.d.ts +0 -1
- package/dist/components/aiAssistant/ChatInputWithMensionsProps.d.ts +0 -1
- package/dist/components/aiAssistant/ChatInputWithMensionsV1.d.ts +0 -1
- package/dist/components/aiAssistant/ChatInputWithMensionsV2.d.ts +0 -1
- package/dist/components/aiAssistant/ChatState.d.ts +0 -1
- package/dist/components/aiAssistant/IAIAssistantProps.d.ts +0 -1
- package/dist/components/aiAssistant/chatReducer.d.ts +0 -1
- package/dist/components/aiAssistant/useChatInputStyles.d.ts +0 -1
- package/dist/components/aiAssistant/useChatInputWithMensionsStyles.d.ts +0 -1
- package/dist/components/aiAssistant/useStyles.d.ts +0 -1
- package/dist/components/appDashboard/AppDashboard.d.ts +0 -1
- package/dist/components/appDashboard/IAppDashboardProps.d.ts +0 -1
- package/dist/components/baseComponentProps/IBaseProps.d.ts +0 -1
- package/dist/components/breadcrumb/Breadcrumb.d.ts +0 -1
- package/dist/components/breadcrumb/IBreadcrumProps.d.ts +0 -1
- package/dist/components/breadcrumb/OverflowMenu.d.ts +0 -1
- package/dist/components/breadcrumb/useBreadcrumStyles.d.ts +0 -1
- package/dist/components/calendarControl/hooks/useCalendar.d.ts +0 -1
- package/dist/components/calendarControl/hooks/useUtils.d.ts +0 -1
- package/dist/components/calendarControl/models/ICalendarControlProps.d.ts +0 -1
- package/dist/components/calendarControl/models/IEvents.d.ts +0 -1
- package/dist/components/customControlBar/ICustomControlBarProps.d.ts +0 -1
- package/dist/components/dataGrid/DataGrid.d.ts +0 -1
- package/dist/components/dataGrid/IDataGridProps.d.ts +0 -1
- package/dist/components/dataGrid/ISortState.d.ts +0 -1
- package/dist/components/dataGrid/stack/IStackProps.d.ts +0 -1
- package/dist/components/dataGrid/stack/Stack.d.ts +0 -1
- package/dist/components/dataGrid/useDataGridStyles.d.ts +0 -1
- package/dist/components/dropDownField/IDropDownFieldProps.d.ts +0 -1
- package/dist/components/fluentUIProvider/FluentUIProvider.d.ts +0 -1
- package/dist/components/iconButton/IconButton.d.ts +0 -1
- package/dist/components/iconButton/IconButtonProps.d.ts +0 -1
- package/dist/components/mensions/IMensionsProps.d.ts +0 -1
- package/dist/components/mensions/Mensions.d.ts +0 -1
- package/dist/components/mensions/MensionsExample.d.ts +0 -1
- package/dist/components/renderAdaptiveCard/RenderAdaptiveCard.d.ts +0 -1
- package/dist/components/searchControl/useSearchControlStyles.d.ts +0 -1
- package/dist/components/selectView/SelectView.d.ts +0 -1
- package/dist/components/showError/ShowError.d.ts +0 -1
- package/dist/components/stackv2/IStackV2Props.d.ts +0 -1
- package/dist/components/stackv2/StackV2.d.ts +0 -1
- package/dist/components/userCard/IUserCardProps.d.ts +0 -1
- package/dist/components/userCard/IUserInfo.d.ts +0 -1
- package/dist/components/userCard/UserCard.d.ts +0 -1
- package/dist/components/userCard/constants.d.ts +0 -1
- package/dist/components/userCard/useUserProfile.d.ts +0 -1
- package/dist/components/videoPlayer/VideoPlayer.d.ts +0 -1
- package/dist/components/videoPlayer/useVideoStyles.d.ts +0 -1
- package/dist/components/worldMap/IWorldMapProps.d.ts +0 -1
- package/dist/components/worldMap/MaplibreWorldMapProps.d.ts +0 -1
- package/dist/components/worldMap/WorldMap.d.ts +0 -1
- package/dist/components/worldMap/WorldMapControl.d.ts +0 -1
- package/dist/components/worldMap/useCleanMapStyle.d.ts +0 -1
- package/dist/components/worldMap/useGeocodedCountries.d.ts +0 -1
- package/dist/cose-bilkent-S5V4N54A-CKhwzobJ.js +2252 -0
- package/dist/cose-bilkent-S5V4N54A-DmyaRQ6l.cjs +2 -0
- package/dist/cs-FZSeHYld.cjs +2 -0
- package/dist/cs-MrS2bH7F.js +210 -0
- package/dist/cy-BX97Tgwk.js +210 -0
- package/dist/cy-CzQmM2lQ.cjs +2 -0
- package/dist/cytoscape.esm-CcJAI0wG.cjs +322 -0
- package/dist/cytoscape.esm-D9EjU25_.js +18102 -0
- package/dist/da-BnewPPrh.js +210 -0
- package/dist/da-CexFt-Oj.cjs +2 -0
- package/dist/dagre-CpEPaL3r.cjs +2 -0
- package/dist/dagre-Dd8wCGc6.js +1305 -0
- package/dist/dagre-KLK3FWXG-BpxkjvB3.js +294 -0
- package/dist/dagre-KLK3FWXG-DIznPQl_.cjs +5 -0
- package/dist/de-B68HwuYu.cjs +2 -0
- package/dist/de-BSZuzGTL.js +210 -0
- package/dist/defaultLocale-CYOzCjwh.js +203 -0
- package/dist/defaultLocale-DSgylVA1.cjs +2 -0
- package/dist/diagram-E7M64L7V-dXqTi77U.cjs +25 -0
- package/dist/diagram-E7M64L7V-oX07GVAD.js +529 -0
- package/dist/diagram-IFDJBPK2-CriVAAmI.cjs +44 -0
- package/dist/diagram-IFDJBPK2-lCNF06_S.js +215 -0
- package/dist/diagram-P4PSJMXO-TfwVJh4S.js +135 -0
- package/dist/diagram-P4PSJMXO-k7F0lH6Q.cjs +25 -0
- package/dist/dist-CV9Ez7cn.js +52 -0
- package/dist/dist-DVthN7lF.cjs +2 -0
- package/dist/el-DQc4jSMd.cjs +2 -0
- package/dist/el-DrOk3N7-.js +210 -0
- package/dist/erDiagram-INFDFZHY-CDt3mOSU.cjs +71 -0
- package/dist/erDiagram-INFDFZHY-Ds_R2Ds4.js +1668 -0
- package/dist/es-CGqzubZ2.js +210 -0
- package/dist/es-DI8Y4Bv1.cjs +2 -0
- package/dist/et-DGqkocuq.js +210 -0
- package/dist/et-DfaryKvp.cjs +2 -0
- package/dist/eu-BVOSXciF.cjs +2 -0
- package/dist/eu-DEo7fdTW.js +210 -0
- package/dist/fi-C5L-OzaI.cjs +2 -0
- package/dist/fi-DxErwnd5.js +210 -0
- package/dist/flowDiagram-PKNHOUZH-7XJG07fo.cjs +163 -0
- package/dist/flowDiagram-PKNHOUZH-CkeYebJ5.js +4163 -0
- package/dist/fr-yFvjqx8B.cjs +2 -0
- package/dist/fr-zrtSZX0o.js +210 -0
- package/dist/ga-6mVQhlWi.cjs +2 -0
- package/dist/ga-CbHxGc9_.js +210 -0
- package/dist/ganttDiagram-A5KZAMGK-Bbck1pyM.cjs +293 -0
- package/dist/ganttDiagram-A5KZAMGK-CFT3Xn_r.js +3074 -0
- package/dist/gitGraph-HDMCJU4V-BKE04oIl.js +3 -0
- package/dist/gitGraph-HDMCJU4V-C9GYfOYb.cjs +1 -0
- package/dist/gitGraphDiagram-K3NZZRJ6-CXz9SHBX.js +627 -0
- package/dist/gitGraphDiagram-K3NZZRJ6-Dt4D-ig1.cjs +66 -0
- package/dist/gl--w0P3RY4.js +210 -0
- package/dist/gl-BJzJe1sq.cjs +2 -0
- package/dist/graphlib-CPo7oIsu.js +223 -0
- package/dist/graphlib-CmUS4Qin.cjs +2 -0
- package/dist/he-B3Bw3qr0.cjs +2 -0
- package/dist/he-DY19lzWp.js +210 -0
- package/dist/hi-CFSsoO_8.js +210 -0
- package/dist/hi-kofL-mD8.cjs +2 -0
- package/dist/hooks/useBrandCenterFonts.d.ts +0 -1
- package/dist/hooks/useGraphAPI.d.ts +0 -1
- package/dist/hooks/useLocalizationStrings.d.ts +0 -1
- package/dist/hooks/useLogging.d.ts +0 -1
- package/dist/hr-CDxqA9Jm.cjs +2 -0
- package/dist/hr-DIRJ1Z8e.js +210 -0
- package/dist/hu-Defen_75.cjs +2 -0
- package/dist/hu-DqYPRWZh.js +210 -0
- package/dist/id-DcwMRgmX.cjs +2 -0
- package/dist/id-Dgj7SUCi.js +210 -0
- package/dist/identity-6JlhFhuM.cjs +2 -0
- package/dist/identity-C1jKsMoW.js +395 -0
- package/dist/index.cjs +453 -2
- package/dist/index.js +22827 -168
- package/dist/info-3K5VOQVL-DfN_3mKd.js +3 -0
- package/dist/info-3K5VOQVL-d6J9FY0_.cjs +1 -0
- package/dist/infoDiagram-LFFYTUFH-Bp9btqnA.cjs +3 -0
- package/dist/infoDiagram-LFFYTUFH-DnvgRFnx.js +21 -0
- package/dist/init-BAFZAp9S.cjs +2 -0
- package/dist/init-m0TwgR4W.js +17 -0
- package/dist/isEmpty-BTp1uKIj.cjs +2 -0
- package/dist/isEmpty-uXVYZZYe.js +17 -0
- package/dist/ishikawaDiagram-PHBUUO56-DLaOkz38.js +719 -0
- package/dist/ishikawaDiagram-PHBUUO56-DmqObwMZ.cjs +71 -0
- package/dist/it-D5nM6KCi.cjs +2 -0
- package/dist/it-QdChHqVN.js +210 -0
- package/dist/ja-BNS0BbY-.js +210 -0
- package/dist/ja-BtuHirv7.cjs +2 -0
- package/dist/journeyDiagram-4ABVD52K-Cv0DbLMi.cjs +140 -0
- package/dist/journeyDiagram-4ABVD52K-DYmmcNK4.js +885 -0
- package/dist/kanban-definition-K7BYSVSG-BdQLAMeB.cjs +90 -0
- package/dist/kanban-definition-K7BYSVSG-CLEYqSz5.js +973 -0
- package/dist/katex-B-Nju2J8.js +22002 -0
- package/dist/katex-WY67Rp7A.cjs +266 -0
- package/dist/kk-BSl8IqgQ.cjs +2 -0
- package/dist/kk-Dhkax68h.js +210 -0
- package/dist/ko-eplb1GD0.cjs +2 -0
- package/dist/ko-heRMHZWp.js +210 -0
- package/dist/line-CbEBKCYr.js +36 -0
- package/dist/line-DqSdvtRR.cjs +2 -0
- package/dist/linear-DvLDpS6A.cjs +2 -0
- package/dist/linear-Eb79THx6.js +291 -0
- package/dist/localization/ILibraryStrings.d.ts +0 -1
- package/dist/localization/defaults/ar.d.ts +0 -1
- package/dist/localization/defaults/az.d.ts +0 -1
- package/dist/localization/defaults/bg.d.ts +0 -1
- package/dist/localization/defaults/bs.d.ts +0 -1
- package/dist/localization/defaults/ca.d.ts +0 -1
- package/dist/localization/defaults/cs.d.ts +0 -1
- package/dist/localization/defaults/cy.d.ts +0 -1
- package/dist/localization/defaults/da.d.ts +0 -1
- package/dist/localization/defaults/de.d.ts +0 -1
- package/dist/localization/defaults/el.d.ts +0 -1
- package/dist/localization/defaults/en.d.ts +0 -1
- package/dist/localization/defaults/es.d.ts +0 -1
- package/dist/localization/defaults/et.d.ts +0 -1
- package/dist/localization/defaults/eu.d.ts +0 -1
- package/dist/localization/defaults/fi.d.ts +0 -1
- package/dist/localization/defaults/fr.d.ts +0 -1
- package/dist/localization/defaults/ga.d.ts +0 -1
- package/dist/localization/defaults/gl.d.ts +0 -1
- package/dist/localization/defaults/he.d.ts +0 -1
- package/dist/localization/defaults/hi.d.ts +0 -1
- package/dist/localization/defaults/hr.d.ts +0 -1
- package/dist/localization/defaults/hu.d.ts +0 -1
- package/dist/localization/defaults/id.d.ts +0 -1
- package/dist/localization/defaults/it.d.ts +0 -1
- package/dist/localization/defaults/ja.d.ts +0 -1
- package/dist/localization/defaults/kk.d.ts +0 -1
- package/dist/localization/defaults/ko.d.ts +0 -1
- package/dist/localization/defaults/lt.d.ts +0 -1
- package/dist/localization/defaults/lv.d.ts +0 -1
- package/dist/localization/defaults/mk.d.ts +0 -1
- package/dist/localization/defaults/ms.d.ts +0 -1
- package/dist/localization/defaults/nb.d.ts +0 -1
- package/dist/localization/defaults/nl.d.ts +0 -1
- package/dist/localization/defaults/pl.d.ts +0 -1
- package/dist/localization/defaults/pt.d.ts +0 -1
- package/dist/localization/defaults/ro.d.ts +0 -1
- package/dist/localization/defaults/ru.d.ts +0 -1
- package/dist/localization/defaults/sk.d.ts +0 -1
- package/dist/localization/defaults/sl.d.ts +0 -1
- package/dist/localization/defaults/sr.d.ts +0 -1
- package/dist/localization/defaults/sv.d.ts +0 -1
- package/dist/localization/defaults/th.d.ts +0 -1
- package/dist/localization/defaults/tr.d.ts +0 -1
- package/dist/localization/defaults/uk.d.ts +0 -1
- package/dist/localization/defaults/vi.d.ts +0 -1
- package/dist/localization/defaults/zh.d.ts +0 -1
- package/dist/lt-Decqbo8S.js +210 -0
- package/dist/lt-DsYAWFbF.cjs +2 -0
- package/dist/lv-DHmTjCb8.cjs +2 -0
- package/dist/lv-wZASv0Lw.js +210 -0
- package/dist/maplibre-gl-qSrG75fp.js +33003 -0
- package/dist/maplibre-gl-tm_pVdmb.cjs +757 -0
- package/dist/math-DR9t6ixc.cjs +2 -0
- package/dist/math-DyURnvXC.js +12 -0
- package/dist/mermaid-parser.core-BdTB9qx-.js +61 -0
- package/dist/mermaid-parser.core-BlzF5RRD.cjs +4 -0
- package/dist/mindmap-definition-YRQLILUH-CzcVgr-U.js +966 -0
- package/dist/mindmap-definition-YRQLILUH-zWN_YXC3.cjs +69 -0
- package/dist/mk-BTsLGTJT.js +210 -0
- package/dist/mk-CCV_308U.cjs +2 -0
- package/dist/ms-C0cVNwky.js +210 -0
- package/dist/ms-CH83xVYN.cjs +2 -0
- package/dist/nb-DGX4q4tS.js +210 -0
- package/dist/nb-DZ-DlwcL.cjs +2 -0
- package/dist/nl-CnXZa8tZ.js +210 -0
- package/dist/nl-Xdf-A19i.cjs +2 -0
- package/dist/ordinal-BAWGEQkf.js +67 -0
- package/dist/ordinal-CL2X4e2C.cjs +2 -0
- package/dist/packet-RMMSAZCW-Bek1stRX.cjs +1 -0
- package/dist/packet-RMMSAZCW-DUN6t9lN.js +3 -0
- package/dist/path-Bt6guLtL.cjs +2 -0
- package/dist/path-DSzKK8fH.js +87 -0
- package/dist/pie-UPGHQEXC-DjqNO54R.js +3 -0
- package/dist/pie-UPGHQEXC-pJq6_YgE.cjs +1 -0
- package/dist/pieDiagram-SKSYHLDU-Ba-c0fRA.cjs +31 -0
- package/dist/pieDiagram-SKSYHLDU-ya07MTY-.js +167 -0
- package/dist/pl-BStql1S-.cjs +2 -0
- package/dist/pl-DbIdTNpg.js +210 -0
- package/dist/providers.cjs +2 -2
- package/dist/providers.d.ts +1 -0
- package/dist/providers.js +188 -252
- package/dist/pt-CcKYweQk.js +210 -0
- package/dist/pt-Dk4jELuZ.cjs +2 -0
- package/dist/quadrantDiagram-337W2JSQ-CQQEVC49.cjs +8 -0
- package/dist/quadrantDiagram-337W2JSQ-Dp_QyIEO.js +1976 -0
- package/dist/radar-KQ55EAFF-Bid2hXXI.cjs +1 -0
- package/dist/radar-KQ55EAFF-C6zhEkCz.js +3 -0
- package/dist/requirementDiagram-Z7DCOOCP-CRl2914V.js +2203 -0
- package/dist/requirementDiagram-Z7DCOOCP-CeMYhXEm.cjs +74 -0
- package/dist/ro-BvhMyTKh.cjs +2 -0
- package/dist/ro-C-8tiqgA.js +210 -0
- package/dist/rough.esm-BjJ_weyP.cjs +2 -0
- package/dist/rough.esm-DBHP55VQ.js +1354 -0
- package/dist/ru-BQosng8l.cjs +2 -0
- package/dist/ru-Dhnz96q2.js +210 -0
- package/dist/sankeyDiagram-WA2Y5GQK-BFrF47Iv.js +922 -0
- package/dist/sankeyDiagram-WA2Y5GQK-DDfjtQ4G.cjs +11 -0
- package/dist/sequenceDiagram-2WXFIKYE-B-zWyr9f.cjs +146 -0
- package/dist/sequenceDiagram-2WXFIKYE-BAd8OVlz.js +4111 -0
- package/dist/sk-BU-Z5EsC.js +210 -0
- package/dist/sk-BhA7UeAk.cjs +2 -0
- package/dist/sl-6Mczv4jG.cjs +2 -0
- package/dist/sl-CcfjJFxo.js +210 -0
- package/dist/sr-CxObZdu0.cjs +2 -0
- package/dist/sr-S53unrLA.js +210 -0
- package/dist/src-DFxq-N5I.cjs +2 -0
- package/dist/src-Dm6r9c7l.js +2148 -0
- package/dist/stateDiagram-RAJIS63D-C-tfqeC-.js +219 -0
- package/dist/stateDiagram-RAJIS63D-C1Aj8vJQ.cjs +2 -0
- package/dist/stateDiagram-v2-FVOUBMTO-C-w53gXL.js +29 -0
- package/dist/stateDiagram-v2-FVOUBMTO-VoIE_KVn.cjs +2 -0
- package/dist/sv-BfiunVuX.cjs +2 -0
- package/dist/sv-BiJrVfZr.js +210 -0
- package/dist/th-BqLGltZi.cjs +2 -0
- package/dist/th-vQ7LQ7nD.js +210 -0
- package/dist/timeline-definition-YZTLITO2-CE1y2S_r.js +832 -0
- package/dist/timeline-definition-YZTLITO2-D8aFfnYE.cjs +62 -0
- package/dist/tr-Brwl4o_Z.cjs +2 -0
- package/dist/tr-C5RrNGLz.js +210 -0
- package/dist/treemap-KZPCXAKY-D2v0uStP.cjs +1 -0
- package/dist/treemap-KZPCXAKY-DLE_f1Bk.js +3 -0
- package/dist/types/THorizontalSpacing.d.ts +0 -1
- package/dist/types/THorizontalSpacingBreakPoints.d.ts +0 -1
- package/dist/types/TPaddingBreakPoints.d.ts +0 -1
- package/dist/types/TPading.d.ts +0 -1
- package/dist/types/TVerticalSpacing.d.ts +0 -1
- package/dist/types/TVerticalSpacingBreakPoints.d.ts +0 -1
- package/dist/uk-CV49TRvS.cjs +2 -0
- package/dist/uk-WGCFH0fY.js +210 -0
- package/dist/vennDiagram-LZ73GAT5-BSpVMORX.js +1860 -0
- package/dist/vennDiagram-LZ73GAT5-DvnB0e7u.cjs +35 -0
- package/dist/vi-JzM7bjn_.cjs +2 -0
- package/dist/vi-Waa7HkXq.js +210 -0
- package/dist/xychartDiagram-JWTSCODW-0qbVGrDs.cjs +8 -0
- package/dist/xychartDiagram-JWTSCODW-DpIry-th.js +2043 -0
- package/dist/zh-BmUS7Wn_.js +210 -0
- package/dist/zh-DEm0SGzZ.cjs +2 -0
- package/package.json +7 -7
- package/dist/LocalizationProvider-BLjmybBa.cjs +0 -2
- package/dist/LocalizationProvider-BSlUf0tp.js +0 -497
- package/dist/_arrayEach-Cje_jmPk.cjs +0 -2
- package/dist/_arrayEach-FofefpDi.js +0 -61
- package/dist/ar-C1pLt8fa.js +0 -219
- package/dist/ar-Jzw7PLrc.cjs +0 -2
- package/dist/arc-5Gjtja_I.js +0 -132
- package/dist/arc-DJHyDr2O.cjs +0 -2
- package/dist/architecture-7HQA4BMR-B3tJE43W.js +0 -6
- package/dist/architecture-7HQA4BMR-gT33-zCB.cjs +0 -2
- package/dist/architectureDiagram-VXUJARFQ-2JSYYGtM.js +0 -8680
- package/dist/architectureDiagram-VXUJARFQ-DXZHHpiT.cjs +0 -2
- package/dist/az-C0Ow5Hxa.cjs +0 -2
- package/dist/az-C3-F9ybX.js +0 -219
- package/dist/bg-YB0TmpRF.cjs +0 -2
- package/dist/bg-w2e_udiK.js +0 -219
- package/dist/blockDiagram-VD42YOAC-B6nGrskI.js +0 -3756
- package/dist/blockDiagram-VD42YOAC-quPSWMXj.cjs +0 -2
- package/dist/bs-BoW04lRb.cjs +0 -2
- package/dist/bs-CEe_gjEx.js +0 -219
- package/dist/c4Diagram-YG6GDRKO-CvSU_nSb.js +0 -2483
- package/dist/c4Diagram-YG6GDRKO-yrm6z9xI.cjs +0 -2
- package/dist/ca-Bsy2Y5pS.cjs +0 -2
- package/dist/ca-CKpd72XI.js +0 -219
- package/dist/channel-BGx_PGej.cjs +0 -2
- package/dist/channel-Dx_x_I-e.js +0 -8
- package/dist/chunk-4BX2VUAB-DE7Tf1KJ.js +0 -18
- package/dist/chunk-4BX2VUAB-hg2h7y7T.cjs +0 -2
- package/dist/chunk-55IACEB6-5VDRE5b9.js +0 -14
- package/dist/chunk-55IACEB6-DQzh2BFT.cjs +0 -2
- package/dist/chunk-B4BG7PRW-BONACuKe.cjs +0 -2
- package/dist/chunk-B4BG7PRW-ClXZOBBj.js +0 -1828
- package/dist/chunk-DI55MBZ5-CnX_pntz.cjs +0 -2
- package/dist/chunk-DI55MBZ5-Cw4AXuM5.js +0 -1928
- package/dist/chunk-FMBD7UC4-vGLXIanH.cjs +0 -2
- package/dist/chunk-QN33PNHL-Bi6cNSdZ.cjs +0 -2
- package/dist/chunk-QN33PNHL-NyikcZce.js +0 -26
- package/dist/chunk-QZHKN3VN-Cj-nkoY3.cjs +0 -2
- package/dist/chunk-QZHKN3VN-DRpbGzBX.js +0 -18
- package/dist/chunk-TZMSLE5B-Dbk2wKaP.cjs +0 -2
- package/dist/chunk-TZMSLE5B-DiEITu_i.js +0 -109
- package/dist/classDiagram-2ON5EDUG-CZ8qM-r0.js +0 -20
- package/dist/classDiagram-2ON5EDUG-GEqVHOl4.cjs +0 -2
- package/dist/classDiagram-v2-WZHVMYZB-CZ8qM-r0.js +0 -20
- package/dist/classDiagram-v2-WZHVMYZB-GEqVHOl4.cjs +0 -2
- package/dist/cose-bilkent-S5V4N54A-Bk5UrOC6.cjs +0 -2
- package/dist/cose-bilkent-S5V4N54A-D9POuI1b.js +0 -4934
- package/dist/cs-D-801PIR.cjs +0 -2
- package/dist/cs-DQvRPciB.js +0 -219
- package/dist/cy-BxyJCM05.js +0 -219
- package/dist/cy-aUPUcn-S.cjs +0 -2
- package/dist/cytoscape.esm-BS1owLay.js +0 -30250
- package/dist/cytoscape.esm-BxB3woZB.cjs +0 -10
- package/dist/da-B05ad5Iq.js +0 -219
- package/dist/da-CTiLOqut.cjs +0 -2
- package/dist/dagre-6UL2VRFP-BGgMwKrx.cjs +0 -2
- package/dist/dagre-6UL2VRFP-D1VXYHDk.js +0 -696
- package/dist/de-DJ5iwpd7.js +0 -219
- package/dist/de-Dm204UMA.cjs +0 -2
- package/dist/defaultLocale-7NeEK7SF.cjs +0 -2
- package/dist/defaultLocale-DVr69WTU.js +0 -207
- package/dist/diagram-PSM6KHXK-BnJ6u90U.cjs +0 -2
- package/dist/diagram-PSM6KHXK-MkySzwCw.js +0 -848
- package/dist/diagram-QEK2KX5R-7oJbO__T.js +0 -305
- package/dist/diagram-QEK2KX5R-CQjADuvs.cjs +0 -2
- package/dist/diagram-S2PKOQOG-AFF7RL6D.cjs +0 -2
- package/dist/diagram-S2PKOQOG-t6d3dY_R.js +0 -212
- package/dist/el-CBS9mHS3.js +0 -219
- package/dist/el-DbtZj-ph.cjs +0 -2
- package/dist/erDiagram-Q2GNP2WA-BY5cfs21.js +0 -1160
- package/dist/erDiagram-Q2GNP2WA-CsdjPSsg.cjs +0 -2
- package/dist/es-Bo08apQr.js +0 -219
- package/dist/es-Cc-4Vqf7.cjs +0 -2
- package/dist/et-D5pQ66eY.cjs +0 -2
- package/dist/et-pRL0Tmle.js +0 -219
- package/dist/eu-Br68gaf7.js +0 -219
- package/dist/eu-RZ-27koK.cjs +0 -2
- package/dist/fi-BCXB-k_X.js +0 -219
- package/dist/fi-Dqa9mgnW.cjs +0 -2
- package/dist/flowDiagram-NV44I4VS-BcaW6-_t.cjs +0 -2
- package/dist/flowDiagram-NV44I4VS-DoSHOTLX.js +0 -2339
- package/dist/fr-B7fhkle4.cjs +0 -2
- package/dist/fr-gKE1SSIF.js +0 -219
- package/dist/ga-4Hf7vKvr.cjs +0 -2
- package/dist/ga-C1SpITZy.js +0 -219
- package/dist/ganttDiagram-JELNMOA3-C8aHKsjy.js +0 -3652
- package/dist/ganttDiagram-JELNMOA3-YuzFUWYN.cjs +0 -2
- package/dist/gitGraph-G5XIXVHT-DN5M1zzB.cjs +0 -2
- package/dist/gitGraph-G5XIXVHT-kJP_icZ5.js +0 -6
- package/dist/gitGraphDiagram-V2S2FVAM-Bl2LJ6uK.js +0 -1215
- package/dist/gitGraphDiagram-V2S2FVAM-DI5S_ure.cjs +0 -2
- package/dist/gl-COSpsMSK.cjs +0 -2
- package/dist/gl-CSzCeu2L.js +0 -219
- package/dist/graph-C7xixGrW.cjs +0 -2
- package/dist/graph-DH3cnEko.js +0 -421
- package/dist/he-BrkfqoIm.js +0 -219
- package/dist/he-C7Wi6-EL.cjs +0 -2
- package/dist/hi-C1RGDPzn.js +0 -219
- package/dist/hi-ojklJj-a.cjs +0 -2
- package/dist/hr-CsO_h2VT.js +0 -219
- package/dist/hr-DkEwOCGU.cjs +0 -2
- package/dist/hu-CVtbM-V2.js +0 -219
- package/dist/hu-D8uAAzvN.cjs +0 -2
- package/dist/id-18yPGK2f.cjs +0 -2
- package/dist/id-CARSN0W8.js +0 -219
- package/dist/index-BMfuEpa-.cjs +0 -428
- package/dist/index-BiWHWaTZ.js +0 -55588
- package/dist/info-VBDWY6EO-0yZ4VJNq.cjs +0 -2
- package/dist/info-VBDWY6EO-CcLNynBA.js +0 -6
- package/dist/infoDiagram-HS3SLOUP-Bp0yOoLT.js +0 -32
- package/dist/infoDiagram-HS3SLOUP-C0Zno052.cjs +0 -2
- package/dist/init-DZ96s0AS.cjs +0 -2
- package/dist/init-ZxktEp_H.js +0 -17
- package/dist/it-BVq911RW.cjs +0 -2
- package/dist/it-ClWGK7XT.js +0 -219
- package/dist/ja-BgcKuKZ4.cjs +0 -2
- package/dist/ja-DGL12HwE.js +0 -219
- package/dist/journeyDiagram-XKPGCS4Q-0OiMrl1O.cjs +0 -2
- package/dist/journeyDiagram-XKPGCS4Q-Ci2gigtu.js +0 -1255
- package/dist/kanban-definition-3W4ZIXB7-DTLYV2yk.js +0 -1049
- package/dist/kanban-definition-3W4ZIXB7-DbJAXyvr.cjs +0 -2
- package/dist/katex-DPu4QpBP.cjs +0 -2
- package/dist/katex-Dd1-wdX2.js +0 -14523
- package/dist/kk-CkKXbKso.js +0 -219
- package/dist/kk-Dn3FBkOR.cjs +0 -2
- package/dist/ko-CKAbV25b.cjs +0 -2
- package/dist/ko-QYvDV2aw.js +0 -219
- package/dist/layout-D6yO7DzL.cjs +0 -2
- package/dist/layout-bxkZz7Cm.js +0 -1919
- package/dist/linear-CmvLp6xX.js +0 -341
- package/dist/linear-d_werDwb.cjs +0 -2
- package/dist/lt-BKnFyiLV.js +0 -219
- package/dist/lt-BnGNEsIS.cjs +0 -2
- package/dist/lv-Clqo0Ogm.js +0 -219
- package/dist/lv-D3rJQRhc.cjs +0 -2
- package/dist/maplibre-gl-B3PlRf6V.js +0 -23511
- package/dist/maplibre-gl-Cc1i9T04.cjs +0 -6
- package/dist/mermaid-parser.core-CNPkkUbW.cjs +0 -2
- package/dist/mermaid-parser.core-CnjbJ8mb.js +0 -23791
- package/dist/mindmap-definition-VGOIOE7T-D4S37eSG.cjs +0 -2
- package/dist/mindmap-definition-VGOIOE7T-z7i6md6S.js +0 -1129
- package/dist/mk-EhcD0RzW.js +0 -219
- package/dist/mk-hVxJgrE0.cjs +0 -2
- package/dist/ms-CJACwjo7.js +0 -219
- package/dist/ms-D0txYckK.cjs +0 -2
- package/dist/nb-BfKRl99z.cjs +0 -2
- package/dist/nb-NCgnP0Pu.js +0 -219
- package/dist/nl-EgsNCunP.js +0 -219
- package/dist/nl-ZXiLkBj_.cjs +0 -2
- package/dist/ordinal-BZdahNih.cjs +0 -2
- package/dist/ordinal-DSZU4PqD.js +0 -77
- package/dist/packet-DYOGHKS2-8TxNXRiu.js +0 -6
- package/dist/packet-DYOGHKS2-T2_NOyn2.cjs +0 -2
- package/dist/pie-VRWISCQL-CVgwt5hn.cjs +0 -2
- package/dist/pie-VRWISCQL-Cw5ps4Uc.js +0 -6
- package/dist/pieDiagram-ADFJNKIX-9tCdDAIz.cjs +0 -2
- package/dist/pieDiagram-ADFJNKIX-BLMaZqln.js +0 -238
- package/dist/pl-H28GVtiG.js +0 -219
- package/dist/pl-tVjdYTB9.cjs +0 -2
- package/dist/pt-1k62N9F3.cjs +0 -2
- package/dist/pt-BSPZhWKl.js +0 -211
- package/dist/quadrantDiagram-AYHSOK5B-B_5PU35F.cjs +0 -2
- package/dist/quadrantDiagram-AYHSOK5B-Njb3KunW.js +0 -1338
- package/dist/radar-ZZBFDIW7-B5WKe_gp.js +0 -6
- package/dist/radar-ZZBFDIW7-DGwkdfQQ.cjs +0 -2
- package/dist/requirementDiagram-UZGBJVZJ-BOgHmi8B.cjs +0 -2
- package/dist/requirementDiagram-UZGBJVZJ-wkSzPa52.js +0 -1164
- package/dist/ro-9Qt1qDDA.cjs +0 -2
- package/dist/ro-BpaZLre_.js +0 -219
- package/dist/ru-4WxRouIU.cjs +0 -2
- package/dist/ru-CUZzD-Tx.js +0 -219
- package/dist/sankeyDiagram-TZEHDZUN-p1th2H-P.js +0 -1194
- package/dist/sankeyDiagram-TZEHDZUN-wNi-DuI_.cjs +0 -2
- package/dist/sequenceDiagram-WL72ISMW-CZsA3nl_.js +0 -3882
- package/dist/sequenceDiagram-WL72ISMW-DHsfFVVL.cjs +0 -2
- package/dist/sk-CoQ6XiCY.js +0 -219
- package/dist/sk-uWukDQab.cjs +0 -2
- package/dist/sl-B6DVbKg6.cjs +0 -2
- package/dist/sl-CHW-ZGol.js +0 -219
- package/dist/sr-BOD8Tc-D.cjs +0 -2
- package/dist/sr-EQGjIBJE.js +0 -219
- package/dist/stateDiagram-FKZM4ZOC-CZDqf83I.js +0 -449
- package/dist/stateDiagram-FKZM4ZOC-uCSdqeo_.cjs +0 -2
- package/dist/stateDiagram-v2-4FDKWEC3-Ard7BOGd.js +0 -20
- package/dist/stateDiagram-v2-4FDKWEC3-LQ3nCDHa.cjs +0 -2
- package/dist/sv-B6nLuQr7.cjs +0 -2
- package/dist/sv-DTxWN6ED.js +0 -219
- package/dist/th-BVPzHvBf.js +0 -219
- package/dist/th-DmULV6uT.cjs +0 -2
- package/dist/timeline-definition-IT6M3QCI-5Kl_f6ac.cjs +0 -2
- package/dist/timeline-definition-IT6M3QCI-DOIExRzF.js +0 -1227
- package/dist/tr-BE5geTUC.cjs +0 -2
- package/dist/tr-BHR1QA-D.js +0 -219
- package/dist/treemap-GDKQZRPO-BsGYh-La.cjs +0 -2
- package/dist/treemap-GDKQZRPO-DQPba0Eh.js +0 -6
- package/dist/uk-Bc5TwelE.js +0 -219
- package/dist/uk-DS5ukB_-.cjs +0 -2
- package/dist/vi-D9FF4kkG.cjs +0 -2
- package/dist/vi-DC0eQZb7.js +0 -219
- package/dist/xychartDiagram-PRI3JC2R-DkaIeov2.cjs +0 -2
- package/dist/xychartDiagram-PRI3JC2R-DyqZd9yp.js +0 -1887
- package/dist/zh-CGcOiJ3s.cjs +0 -2
- package/dist/zh-GsCLn8OE.js +0 -219
|
@@ -0,0 +1,922 @@
|
|
|
1
|
+
import { h as e, p as t } from "./src-Dm6r9c7l.js";
|
|
2
|
+
import { B as n, C as r, K as i, V as a, W as o, _ as s, a as c, b as l, s as u, u as d, v as f } from "./chunk-7R4GIKGN-CaQJ0QBF.js";
|
|
3
|
+
import { t as p } from "./ordinal-BAWGEQkf.js";
|
|
4
|
+
//#region node_modules/d3-scale-chromatic/src/colors.js
|
|
5
|
+
function m(e) {
|
|
6
|
+
for (var t = e.length / 6 | 0, n = Array(t), r = 0; r < t;) n[r] = "#" + e.slice(r * 6, ++r * 6);
|
|
7
|
+
return n;
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region node_modules/d3-scale-chromatic/src/categorical/Tableau10.js
|
|
11
|
+
var h = m("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region node_modules/d3-sankey/node_modules/d3-array/src/max.js
|
|
14
|
+
function g(e, t) {
|
|
15
|
+
let n;
|
|
16
|
+
if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);
|
|
17
|
+
else {
|
|
18
|
+
let r = -1;
|
|
19
|
+
for (let i of e) (i = t(i, ++r, e)) != null && (n < i || n === void 0 && i >= i) && (n = i);
|
|
20
|
+
}
|
|
21
|
+
return n;
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region node_modules/d3-sankey/node_modules/d3-array/src/min.js
|
|
25
|
+
function _(e, t) {
|
|
26
|
+
let n;
|
|
27
|
+
if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);
|
|
28
|
+
else {
|
|
29
|
+
let r = -1;
|
|
30
|
+
for (let i of e) (i = t(i, ++r, e)) != null && (n > i || n === void 0 && i >= i) && (n = i);
|
|
31
|
+
}
|
|
32
|
+
return n;
|
|
33
|
+
}
|
|
34
|
+
//#endregion
|
|
35
|
+
//#region node_modules/d3-sankey/node_modules/d3-array/src/sum.js
|
|
36
|
+
function v(e, t) {
|
|
37
|
+
let n = 0;
|
|
38
|
+
if (t === void 0) for (let t of e) (t = +t) && (n += t);
|
|
39
|
+
else {
|
|
40
|
+
let r = -1;
|
|
41
|
+
for (let i of e) (i = +t(i, ++r, e)) && (n += i);
|
|
42
|
+
}
|
|
43
|
+
return n;
|
|
44
|
+
}
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region node_modules/d3-sankey/src/align.js
|
|
47
|
+
function y(e) {
|
|
48
|
+
return e.target.depth;
|
|
49
|
+
}
|
|
50
|
+
function b(e) {
|
|
51
|
+
return e.depth;
|
|
52
|
+
}
|
|
53
|
+
function x(e, t) {
|
|
54
|
+
return t - 1 - e.height;
|
|
55
|
+
}
|
|
56
|
+
function S(e, t) {
|
|
57
|
+
return e.sourceLinks.length ? e.depth : t - 1;
|
|
58
|
+
}
|
|
59
|
+
function C(e) {
|
|
60
|
+
return e.targetLinks.length ? e.depth : e.sourceLinks.length ? _(e.sourceLinks, y) - 1 : 0;
|
|
61
|
+
}
|
|
62
|
+
//#endregion
|
|
63
|
+
//#region node_modules/d3-sankey/src/constant.js
|
|
64
|
+
function w(e) {
|
|
65
|
+
return function() {
|
|
66
|
+
return e;
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
//#endregion
|
|
70
|
+
//#region node_modules/d3-sankey/src/sankey.js
|
|
71
|
+
function T(e, t) {
|
|
72
|
+
return D(e.source, t.source) || e.index - t.index;
|
|
73
|
+
}
|
|
74
|
+
function E(e, t) {
|
|
75
|
+
return D(e.target, t.target) || e.index - t.index;
|
|
76
|
+
}
|
|
77
|
+
function D(e, t) {
|
|
78
|
+
return e.y0 - t.y0;
|
|
79
|
+
}
|
|
80
|
+
function O(e) {
|
|
81
|
+
return e.value;
|
|
82
|
+
}
|
|
83
|
+
function k(e) {
|
|
84
|
+
return e.index;
|
|
85
|
+
}
|
|
86
|
+
function A(e) {
|
|
87
|
+
return e.nodes;
|
|
88
|
+
}
|
|
89
|
+
function j(e) {
|
|
90
|
+
return e.links;
|
|
91
|
+
}
|
|
92
|
+
function M(e, t) {
|
|
93
|
+
let n = e.get(t);
|
|
94
|
+
if (!n) throw Error("missing: " + t);
|
|
95
|
+
return n;
|
|
96
|
+
}
|
|
97
|
+
function N({ nodes: e }) {
|
|
98
|
+
for (let t of e) {
|
|
99
|
+
let e = t.y0, n = e;
|
|
100
|
+
for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;
|
|
101
|
+
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
function P() {
|
|
105
|
+
let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = k, c = S, l, u, d = A, f = j, p = 6;
|
|
106
|
+
function m() {
|
|
107
|
+
let e = {
|
|
108
|
+
nodes: d.apply(null, arguments),
|
|
109
|
+
links: f.apply(null, arguments)
|
|
110
|
+
};
|
|
111
|
+
return h(e), y(e), b(e), x(e), F(e), N(e), e;
|
|
112
|
+
}
|
|
113
|
+
m.update = function(e) {
|
|
114
|
+
return N(e), e;
|
|
115
|
+
}, m.nodeId = function(e) {
|
|
116
|
+
return arguments.length ? (s = typeof e == "function" ? e : w(e), m) : s;
|
|
117
|
+
}, m.nodeAlign = function(e) {
|
|
118
|
+
return arguments.length ? (c = typeof e == "function" ? e : w(e), m) : c;
|
|
119
|
+
}, m.nodeSort = function(e) {
|
|
120
|
+
return arguments.length ? (l = e, m) : l;
|
|
121
|
+
}, m.nodeWidth = function(e) {
|
|
122
|
+
return arguments.length ? (i = +e, m) : i;
|
|
123
|
+
}, m.nodePadding = function(e) {
|
|
124
|
+
return arguments.length ? (a = o = +e, m) : a;
|
|
125
|
+
}, m.nodes = function(e) {
|
|
126
|
+
return arguments.length ? (d = typeof e == "function" ? e : w(e), m) : d;
|
|
127
|
+
}, m.links = function(e) {
|
|
128
|
+
return arguments.length ? (f = typeof e == "function" ? e : w(e), m) : f;
|
|
129
|
+
}, m.linkSort = function(e) {
|
|
130
|
+
return arguments.length ? (u = e, m) : u;
|
|
131
|
+
}, m.size = function(i) {
|
|
132
|
+
return arguments.length ? (e = t = 0, n = +i[0], r = +i[1], m) : [n - e, r - t];
|
|
133
|
+
}, m.extent = function(i) {
|
|
134
|
+
return arguments.length ? (e = +i[0][0], n = +i[1][0], t = +i[0][1], r = +i[1][1], m) : [[e, t], [n, r]];
|
|
135
|
+
}, m.iterations = function(e) {
|
|
136
|
+
return arguments.length ? (p = +e, m) : p;
|
|
137
|
+
};
|
|
138
|
+
function h({ nodes: e, links: t }) {
|
|
139
|
+
for (let [t, n] of e.entries()) n.index = t, n.sourceLinks = [], n.targetLinks = [];
|
|
140
|
+
let n = new Map(e.map((t, n) => [s(t, n, e), t]));
|
|
141
|
+
for (let [e, r] of t.entries()) {
|
|
142
|
+
r.index = e;
|
|
143
|
+
let { source: t, target: i } = r;
|
|
144
|
+
typeof t != "object" && (t = r.source = M(n, t)), typeof i != "object" && (i = r.target = M(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
|
|
145
|
+
}
|
|
146
|
+
if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);
|
|
147
|
+
}
|
|
148
|
+
function y({ nodes: e }) {
|
|
149
|
+
for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(v(t.sourceLinks, O), v(t.targetLinks, O)) : t.fixedValue;
|
|
150
|
+
}
|
|
151
|
+
function b({ nodes: e }) {
|
|
152
|
+
let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
|
|
153
|
+
for (; n.size;) {
|
|
154
|
+
for (let e of n) {
|
|
155
|
+
e.depth = i;
|
|
156
|
+
for (let { target: t } of e.sourceLinks) r.add(t);
|
|
157
|
+
}
|
|
158
|
+
if (++i > t) throw Error("circular link");
|
|
159
|
+
n = r, r = /* @__PURE__ */ new Set();
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
function x({ nodes: e }) {
|
|
163
|
+
let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
|
|
164
|
+
for (; n.size;) {
|
|
165
|
+
for (let e of n) {
|
|
166
|
+
e.height = i;
|
|
167
|
+
for (let { source: t } of e.targetLinks) r.add(t);
|
|
168
|
+
}
|
|
169
|
+
if (++i > t) throw Error("circular link");
|
|
170
|
+
n = r, r = /* @__PURE__ */ new Set();
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
function C({ nodes: t }) {
|
|
174
|
+
let r = g(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
|
|
175
|
+
for (let n of t) {
|
|
176
|
+
let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));
|
|
177
|
+
n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];
|
|
178
|
+
}
|
|
179
|
+
if (l) for (let e of o) e.sort(l);
|
|
180
|
+
return o;
|
|
181
|
+
}
|
|
182
|
+
function P(e) {
|
|
183
|
+
let n = _(e, (e) => (r - t - (e.length - 1) * o) / v(e, O));
|
|
184
|
+
for (let i of e) {
|
|
185
|
+
let e = t;
|
|
186
|
+
for (let t of i) {
|
|
187
|
+
t.y0 = e, t.y1 = e + t.value * n, e = t.y1 + o;
|
|
188
|
+
for (let e of t.sourceLinks) e.width = e.value * n;
|
|
189
|
+
}
|
|
190
|
+
e = (r - e + o) / (i.length + 1);
|
|
191
|
+
for (let t = 0; t < i.length; ++t) {
|
|
192
|
+
let n = i[t];
|
|
193
|
+
n.y0 += e * (t + 1), n.y1 += e * (t + 1);
|
|
194
|
+
}
|
|
195
|
+
H(i);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
function F(e) {
|
|
199
|
+
let n = C(e);
|
|
200
|
+
o = Math.min(a, (r - t) / (g(n, (e) => e.length) - 1)), P(n);
|
|
201
|
+
for (let e = 0; e < p; ++e) {
|
|
202
|
+
let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);
|
|
203
|
+
L(n, t, r), I(n, t, r);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
function I(e, t, n) {
|
|
207
|
+
for (let r = 1, i = e.length; r < i; ++r) {
|
|
208
|
+
let i = e[r];
|
|
209
|
+
for (let e of i) {
|
|
210
|
+
let n = 0, r = 0;
|
|
211
|
+
for (let { source: t, value: i } of e.targetLinks) {
|
|
212
|
+
let a = i * (e.layer - t.layer);
|
|
213
|
+
n += U(t, e) * a, r += a;
|
|
214
|
+
}
|
|
215
|
+
if (!(r > 0)) continue;
|
|
216
|
+
let i = (n / r - e.y0) * t;
|
|
217
|
+
e.y0 += i, e.y1 += i, V(e);
|
|
218
|
+
}
|
|
219
|
+
l === void 0 && i.sort(D), R(i, n);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
function L(e, t, n) {
|
|
223
|
+
for (let r = e.length - 2; r >= 0; --r) {
|
|
224
|
+
let i = e[r];
|
|
225
|
+
for (let e of i) {
|
|
226
|
+
let n = 0, r = 0;
|
|
227
|
+
for (let { target: t, value: i } of e.sourceLinks) {
|
|
228
|
+
let a = i * (t.layer - e.layer);
|
|
229
|
+
n += W(e, t) * a, r += a;
|
|
230
|
+
}
|
|
231
|
+
if (!(r > 0)) continue;
|
|
232
|
+
let i = (n / r - e.y0) * t;
|
|
233
|
+
e.y0 += i, e.y1 += i, V(e);
|
|
234
|
+
}
|
|
235
|
+
l === void 0 && i.sort(D), R(i, n);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
function R(e, n) {
|
|
239
|
+
let i = e.length >> 1, a = e[i];
|
|
240
|
+
B(e, a.y0 - o, i - 1, n), z(e, a.y1 + o, i + 1, n), B(e, r, e.length - 1, n), z(e, t, 0, n);
|
|
241
|
+
}
|
|
242
|
+
function z(e, t, n, r) {
|
|
243
|
+
for (; n < e.length; ++n) {
|
|
244
|
+
let i = e[n], a = (t - i.y0) * r;
|
|
245
|
+
a > 1e-6 && (i.y0 += a, i.y1 += a), t = i.y1 + o;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
function B(e, t, n, r) {
|
|
249
|
+
for (; n >= 0; --n) {
|
|
250
|
+
let i = e[n], a = (i.y1 - t) * r;
|
|
251
|
+
a > 1e-6 && (i.y0 -= a, i.y1 -= a), t = i.y0 - o;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
function V({ sourceLinks: e, targetLinks: t }) {
|
|
255
|
+
if (u === void 0) {
|
|
256
|
+
for (let { source: { sourceLinks: e } } of t) e.sort(E);
|
|
257
|
+
for (let { target: { targetLinks: t } } of e) t.sort(T);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
function H(e) {
|
|
261
|
+
if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(E), n.sort(T);
|
|
262
|
+
}
|
|
263
|
+
function U(e, t) {
|
|
264
|
+
let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;
|
|
265
|
+
for (let { target: r, width: i } of e.sourceLinks) {
|
|
266
|
+
if (r === t) break;
|
|
267
|
+
n += i + o;
|
|
268
|
+
}
|
|
269
|
+
for (let { source: r, width: i } of t.targetLinks) {
|
|
270
|
+
if (r === e) break;
|
|
271
|
+
n -= i;
|
|
272
|
+
}
|
|
273
|
+
return n;
|
|
274
|
+
}
|
|
275
|
+
function W(e, t) {
|
|
276
|
+
let n = t.y0 - (t.targetLinks.length - 1) * o / 2;
|
|
277
|
+
for (let { source: r, width: i } of t.targetLinks) {
|
|
278
|
+
if (r === e) break;
|
|
279
|
+
n += i + o;
|
|
280
|
+
}
|
|
281
|
+
for (let { target: r, width: i } of e.sourceLinks) {
|
|
282
|
+
if (r === t) break;
|
|
283
|
+
n -= i;
|
|
284
|
+
}
|
|
285
|
+
return n;
|
|
286
|
+
}
|
|
287
|
+
return m;
|
|
288
|
+
}
|
|
289
|
+
//#endregion
|
|
290
|
+
//#region node_modules/d3-sankey/node_modules/d3-path/src/path.js
|
|
291
|
+
var F = Math.PI, I = 2 * F, L = 1e-6, R = I - L;
|
|
292
|
+
function z() {
|
|
293
|
+
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
|
|
294
|
+
}
|
|
295
|
+
function B() {
|
|
296
|
+
return new z();
|
|
297
|
+
}
|
|
298
|
+
z.prototype = B.prototype = {
|
|
299
|
+
constructor: z,
|
|
300
|
+
moveTo: function(e, t) {
|
|
301
|
+
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);
|
|
302
|
+
},
|
|
303
|
+
closePath: function() {
|
|
304
|
+
this._x1 !== null && (this._x1 = this._x0, this._y1 = this._y0, this._ += "Z");
|
|
305
|
+
},
|
|
306
|
+
lineTo: function(e, t) {
|
|
307
|
+
this._ += "L" + (this._x1 = +e) + "," + (this._y1 = +t);
|
|
308
|
+
},
|
|
309
|
+
quadraticCurveTo: function(e, t, n, r) {
|
|
310
|
+
this._ += "Q" + +e + "," + +t + "," + (this._x1 = +n) + "," + (this._y1 = +r);
|
|
311
|
+
},
|
|
312
|
+
bezierCurveTo: function(e, t, n, r, i, a) {
|
|
313
|
+
this._ += "C" + +e + "," + +t + "," + +n + "," + +r + "," + (this._x1 = +i) + "," + (this._y1 = +a);
|
|
314
|
+
},
|
|
315
|
+
arcTo: function(e, t, n, r, i) {
|
|
316
|
+
e = +e, t = +t, n = +n, r = +r, i = +i;
|
|
317
|
+
var a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
|
|
318
|
+
if (i < 0) throw Error("negative radius: " + i);
|
|
319
|
+
if (this._x1 === null) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t);
|
|
320
|
+
else if (d > L) if (!(Math.abs(u * s - c * l) > L) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
|
|
321
|
+
else {
|
|
322
|
+
var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((F - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
|
|
323
|
+
Math.abs(y - 1) > L && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
arc: function(e, t, n, r, i, a) {
|
|
327
|
+
e = +e, t = +t, n = +n, a = !!a;
|
|
328
|
+
var o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
|
|
329
|
+
if (n < 0) throw Error("negative radius: " + n);
|
|
330
|
+
this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > L || Math.abs(this._y1 - l) > L) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % I + I), d > R ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > L && (this._ += "A" + n + "," + n + ",0," + +(d >= F) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
|
|
331
|
+
},
|
|
332
|
+
rect: function(e, t, n, r) {
|
|
333
|
+
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t) + "h" + +n + "v" + +r + "h" + -n + "Z";
|
|
334
|
+
},
|
|
335
|
+
toString: function() {
|
|
336
|
+
return this._;
|
|
337
|
+
}
|
|
338
|
+
};
|
|
339
|
+
//#endregion
|
|
340
|
+
//#region node_modules/d3-sankey/node_modules/d3-shape/src/constant.js
|
|
341
|
+
function V(e) {
|
|
342
|
+
return function() {
|
|
343
|
+
return e;
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
//#endregion
|
|
347
|
+
//#region node_modules/d3-sankey/node_modules/d3-shape/src/point.js
|
|
348
|
+
function H(e) {
|
|
349
|
+
return e[0];
|
|
350
|
+
}
|
|
351
|
+
function U(e) {
|
|
352
|
+
return e[1];
|
|
353
|
+
}
|
|
354
|
+
//#endregion
|
|
355
|
+
//#region node_modules/d3-sankey/node_modules/d3-shape/src/array.js
|
|
356
|
+
var W = Array.prototype.slice;
|
|
357
|
+
//#endregion
|
|
358
|
+
//#region node_modules/d3-sankey/node_modules/d3-shape/src/link/index.js
|
|
359
|
+
function ee(e) {
|
|
360
|
+
return e.source;
|
|
361
|
+
}
|
|
362
|
+
function G(e) {
|
|
363
|
+
return e.target;
|
|
364
|
+
}
|
|
365
|
+
function K(e) {
|
|
366
|
+
var t = ee, n = G, r = H, i = U, a = null;
|
|
367
|
+
function o() {
|
|
368
|
+
var o, s = W.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
|
|
369
|
+
if (a ||= o = B(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;
|
|
370
|
+
}
|
|
371
|
+
return o.source = function(e) {
|
|
372
|
+
return arguments.length ? (t = e, o) : t;
|
|
373
|
+
}, o.target = function(e) {
|
|
374
|
+
return arguments.length ? (n = e, o) : n;
|
|
375
|
+
}, o.x = function(e) {
|
|
376
|
+
return arguments.length ? (r = typeof e == "function" ? e : V(+e), o) : r;
|
|
377
|
+
}, o.y = function(e) {
|
|
378
|
+
return arguments.length ? (i = typeof e == "function" ? e : V(+e), o) : i;
|
|
379
|
+
}, o.context = function(e) {
|
|
380
|
+
return arguments.length ? (a = e ?? null, o) : a;
|
|
381
|
+
}, o;
|
|
382
|
+
}
|
|
383
|
+
function q(e, t, n, r, i) {
|
|
384
|
+
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
|
|
385
|
+
}
|
|
386
|
+
function te() {
|
|
387
|
+
return K(q);
|
|
388
|
+
}
|
|
389
|
+
//#endregion
|
|
390
|
+
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
|
|
391
|
+
function ne(e) {
|
|
392
|
+
return [e.source.x1, e.y0];
|
|
393
|
+
}
|
|
394
|
+
function re(e) {
|
|
395
|
+
return [e.target.x0, e.y1];
|
|
396
|
+
}
|
|
397
|
+
function ie() {
|
|
398
|
+
return te().source(ne).target(re);
|
|
399
|
+
}
|
|
400
|
+
//#endregion
|
|
401
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-WA2Y5GQK.mjs
|
|
402
|
+
var J = (function() {
|
|
403
|
+
var t = /* @__PURE__ */ e(function(e, t, n, r) {
|
|
404
|
+
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
|
405
|
+
return n;
|
|
406
|
+
}, "o"), n = [1, 9], r = [1, 10], i = [
|
|
407
|
+
1,
|
|
408
|
+
5,
|
|
409
|
+
10,
|
|
410
|
+
12
|
|
411
|
+
], a = {
|
|
412
|
+
trace: /* @__PURE__ */ e(function() {}, "trace"),
|
|
413
|
+
yy: {},
|
|
414
|
+
symbols_: {
|
|
415
|
+
error: 2,
|
|
416
|
+
start: 3,
|
|
417
|
+
SANKEY: 4,
|
|
418
|
+
NEWLINE: 5,
|
|
419
|
+
csv: 6,
|
|
420
|
+
opt_eof: 7,
|
|
421
|
+
record: 8,
|
|
422
|
+
csv_tail: 9,
|
|
423
|
+
EOF: 10,
|
|
424
|
+
"field[source]": 11,
|
|
425
|
+
COMMA: 12,
|
|
426
|
+
"field[target]": 13,
|
|
427
|
+
"field[value]": 14,
|
|
428
|
+
field: 15,
|
|
429
|
+
escaped: 16,
|
|
430
|
+
non_escaped: 17,
|
|
431
|
+
DQUOTE: 18,
|
|
432
|
+
ESCAPED_TEXT: 19,
|
|
433
|
+
NON_ESCAPED_TEXT: 20,
|
|
434
|
+
$accept: 0,
|
|
435
|
+
$end: 1
|
|
436
|
+
},
|
|
437
|
+
terminals_: {
|
|
438
|
+
2: "error",
|
|
439
|
+
4: "SANKEY",
|
|
440
|
+
5: "NEWLINE",
|
|
441
|
+
10: "EOF",
|
|
442
|
+
11: "field[source]",
|
|
443
|
+
12: "COMMA",
|
|
444
|
+
13: "field[target]",
|
|
445
|
+
14: "field[value]",
|
|
446
|
+
18: "DQUOTE",
|
|
447
|
+
19: "ESCAPED_TEXT",
|
|
448
|
+
20: "NON_ESCAPED_TEXT"
|
|
449
|
+
},
|
|
450
|
+
productions_: [
|
|
451
|
+
0,
|
|
452
|
+
[3, 4],
|
|
453
|
+
[6, 2],
|
|
454
|
+
[9, 2],
|
|
455
|
+
[9, 0],
|
|
456
|
+
[7, 1],
|
|
457
|
+
[7, 0],
|
|
458
|
+
[8, 5],
|
|
459
|
+
[15, 1],
|
|
460
|
+
[15, 1],
|
|
461
|
+
[16, 3],
|
|
462
|
+
[17, 1]
|
|
463
|
+
],
|
|
464
|
+
performAction: /* @__PURE__ */ e(function(e, t, n, r, i, a, o) {
|
|
465
|
+
var s = a.length - 1;
|
|
466
|
+
switch (i) {
|
|
467
|
+
case 7:
|
|
468
|
+
let e = r.findOrCreateNode(a[s - 4].trim().replaceAll("\"\"", "\"")), t = r.findOrCreateNode(a[s - 2].trim().replaceAll("\"\"", "\"")), n = parseFloat(a[s].trim());
|
|
469
|
+
r.addLink(e, t, n);
|
|
470
|
+
break;
|
|
471
|
+
case 8:
|
|
472
|
+
case 9:
|
|
473
|
+
case 11:
|
|
474
|
+
this.$ = a[s];
|
|
475
|
+
break;
|
|
476
|
+
case 10:
|
|
477
|
+
this.$ = a[s - 1];
|
|
478
|
+
break;
|
|
479
|
+
}
|
|
480
|
+
}, "anonymous"),
|
|
481
|
+
table: [
|
|
482
|
+
{
|
|
483
|
+
3: 1,
|
|
484
|
+
4: [1, 2]
|
|
485
|
+
},
|
|
486
|
+
{ 1: [3] },
|
|
487
|
+
{ 5: [1, 3] },
|
|
488
|
+
{
|
|
489
|
+
6: 4,
|
|
490
|
+
8: 5,
|
|
491
|
+
15: 6,
|
|
492
|
+
16: 7,
|
|
493
|
+
17: 8,
|
|
494
|
+
18: n,
|
|
495
|
+
20: r
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
1: [2, 6],
|
|
499
|
+
7: 11,
|
|
500
|
+
10: [1, 12]
|
|
501
|
+
},
|
|
502
|
+
t(r, [2, 4], {
|
|
503
|
+
9: 13,
|
|
504
|
+
5: [1, 14]
|
|
505
|
+
}),
|
|
506
|
+
{ 12: [1, 15] },
|
|
507
|
+
t(i, [2, 8]),
|
|
508
|
+
t(i, [2, 9]),
|
|
509
|
+
{ 19: [1, 16] },
|
|
510
|
+
t(i, [2, 11]),
|
|
511
|
+
{ 1: [2, 1] },
|
|
512
|
+
{ 1: [2, 5] },
|
|
513
|
+
t(r, [2, 2]),
|
|
514
|
+
{
|
|
515
|
+
6: 17,
|
|
516
|
+
8: 5,
|
|
517
|
+
15: 6,
|
|
518
|
+
16: 7,
|
|
519
|
+
17: 8,
|
|
520
|
+
18: n,
|
|
521
|
+
20: r
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
15: 18,
|
|
525
|
+
16: 7,
|
|
526
|
+
17: 8,
|
|
527
|
+
18: n,
|
|
528
|
+
20: r
|
|
529
|
+
},
|
|
530
|
+
{ 18: [1, 19] },
|
|
531
|
+
t(r, [2, 3]),
|
|
532
|
+
{ 12: [1, 20] },
|
|
533
|
+
t(i, [2, 10]),
|
|
534
|
+
{
|
|
535
|
+
15: 21,
|
|
536
|
+
16: 7,
|
|
537
|
+
17: 8,
|
|
538
|
+
18: n,
|
|
539
|
+
20: r
|
|
540
|
+
},
|
|
541
|
+
t([
|
|
542
|
+
1,
|
|
543
|
+
5,
|
|
544
|
+
10
|
|
545
|
+
], [2, 7])
|
|
546
|
+
],
|
|
547
|
+
defaultActions: {
|
|
548
|
+
11: [2, 1],
|
|
549
|
+
12: [2, 5]
|
|
550
|
+
},
|
|
551
|
+
parseError: /* @__PURE__ */ e(function(e, t) {
|
|
552
|
+
if (t.recoverable) this.trace(e);
|
|
553
|
+
else {
|
|
554
|
+
var n = Error(e);
|
|
555
|
+
throw n.hash = t, n;
|
|
556
|
+
}
|
|
557
|
+
}, "parseError"),
|
|
558
|
+
parse: /* @__PURE__ */ e(function(t) {
|
|
559
|
+
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: {} };
|
|
560
|
+
for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
|
|
561
|
+
h.setInput(t, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
|
|
562
|
+
var v = h.yylloc;
|
|
563
|
+
o.push(v);
|
|
564
|
+
var y = h.options && h.options.ranges;
|
|
565
|
+
typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
566
|
+
function b(e) {
|
|
567
|
+
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
568
|
+
}
|
|
569
|
+
e(b, "popStack");
|
|
570
|
+
function x() {
|
|
571
|
+
var e = i.pop() || h.lex() || p;
|
|
572
|
+
return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
|
|
573
|
+
}
|
|
574
|
+
e(x, "lex");
|
|
575
|
+
for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
|
|
576
|
+
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]) {
|
|
577
|
+
var M = "";
|
|
578
|
+
for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
|
|
579
|
+
M = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + 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, {
|
|
580
|
+
text: h.match,
|
|
581
|
+
token: this.terminals_[S] || S,
|
|
582
|
+
line: h.yylineno,
|
|
583
|
+
loc: v,
|
|
584
|
+
expected: j
|
|
585
|
+
});
|
|
586
|
+
}
|
|
587
|
+
if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
|
|
588
|
+
switch (T[0]) {
|
|
589
|
+
case 1:
|
|
590
|
+
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--);
|
|
591
|
+
break;
|
|
592
|
+
case 2:
|
|
593
|
+
if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
|
|
594
|
+
first_line: o[o.length - (k || 1)].first_line,
|
|
595
|
+
last_line: o[o.length - 1].last_line,
|
|
596
|
+
first_column: o[o.length - (k || 1)].first_column,
|
|
597
|
+
last_column: o[o.length - 1].last_column
|
|
598
|
+
}, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
|
|
599
|
+
c,
|
|
600
|
+
u,
|
|
601
|
+
l,
|
|
602
|
+
g.yy,
|
|
603
|
+
T[1],
|
|
604
|
+
a,
|
|
605
|
+
o
|
|
606
|
+
].concat(m)), E !== void 0) return E;
|
|
607
|
+
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);
|
|
608
|
+
break;
|
|
609
|
+
case 3: return !0;
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
return !0;
|
|
613
|
+
}, "parse")
|
|
614
|
+
};
|
|
615
|
+
a.lexer = /* @__PURE__ */ (function() {
|
|
616
|
+
return {
|
|
617
|
+
EOF: 1,
|
|
618
|
+
parseError: /* @__PURE__ */ e(function(e, t) {
|
|
619
|
+
if (this.yy.parser) this.yy.parser.parseError(e, t);
|
|
620
|
+
else throw Error(e);
|
|
621
|
+
}, "parseError"),
|
|
622
|
+
setInput: /* @__PURE__ */ e(function(e, t) {
|
|
623
|
+
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 = {
|
|
624
|
+
first_line: 1,
|
|
625
|
+
first_column: 0,
|
|
626
|
+
last_line: 1,
|
|
627
|
+
last_column: 0
|
|
628
|
+
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
629
|
+
}, "setInput"),
|
|
630
|
+
input: /* @__PURE__ */ e(function() {
|
|
631
|
+
var e = this._input[0];
|
|
632
|
+
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;
|
|
633
|
+
}, "input"),
|
|
634
|
+
unput: /* @__PURE__ */ e(function(e) {
|
|
635
|
+
var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
|
|
636
|
+
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
|
|
637
|
+
var r = this.match.split(/(?:\r\n?|\n)/g);
|
|
638
|
+
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);
|
|
639
|
+
var i = this.yylloc.range;
|
|
640
|
+
return this.yylloc = {
|
|
641
|
+
first_line: this.yylloc.first_line,
|
|
642
|
+
last_line: this.yylineno + 1,
|
|
643
|
+
first_column: this.yylloc.first_column,
|
|
644
|
+
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
|
|
645
|
+
}, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
|
|
646
|
+
}, "unput"),
|
|
647
|
+
more: /* @__PURE__ */ e(function() {
|
|
648
|
+
return this._more = !0, this;
|
|
649
|
+
}, "more"),
|
|
650
|
+
reject: /* @__PURE__ */ e(function() {
|
|
651
|
+
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
652
|
+
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).\n" + this.showPosition(), {
|
|
653
|
+
text: "",
|
|
654
|
+
token: null,
|
|
655
|
+
line: this.yylineno
|
|
656
|
+
});
|
|
657
|
+
return this;
|
|
658
|
+
}, "reject"),
|
|
659
|
+
less: /* @__PURE__ */ e(function(e) {
|
|
660
|
+
this.unput(this.match.slice(e));
|
|
661
|
+
}, "less"),
|
|
662
|
+
pastInput: /* @__PURE__ */ e(function() {
|
|
663
|
+
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
664
|
+
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
665
|
+
}, "pastInput"),
|
|
666
|
+
upcomingInput: /* @__PURE__ */ e(function() {
|
|
667
|
+
var e = this.match;
|
|
668
|
+
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
669
|
+
}, "upcomingInput"),
|
|
670
|
+
showPosition: /* @__PURE__ */ e(function() {
|
|
671
|
+
var e = this.pastInput(), t = Array(e.length + 1).join("-");
|
|
672
|
+
return e + this.upcomingInput() + "\n" + t + "^";
|
|
673
|
+
}, "showPosition"),
|
|
674
|
+
test_match: /* @__PURE__ */ e(function(e, t) {
|
|
675
|
+
var n, r, i;
|
|
676
|
+
if (this.options.backtrack_lexer && (i = {
|
|
677
|
+
yylineno: this.yylineno,
|
|
678
|
+
yylloc: {
|
|
679
|
+
first_line: this.yylloc.first_line,
|
|
680
|
+
last_line: this.last_line,
|
|
681
|
+
first_column: this.yylloc.first_column,
|
|
682
|
+
last_column: this.yylloc.last_column
|
|
683
|
+
},
|
|
684
|
+
yytext: this.yytext,
|
|
685
|
+
match: this.match,
|
|
686
|
+
matches: this.matches,
|
|
687
|
+
matched: this.matched,
|
|
688
|
+
yyleng: this.yyleng,
|
|
689
|
+
offset: this.offset,
|
|
690
|
+
_more: this._more,
|
|
691
|
+
_input: this._input,
|
|
692
|
+
yy: this.yy,
|
|
693
|
+
conditionStack: this.conditionStack.slice(0),
|
|
694
|
+
done: this.done
|
|
695
|
+
}, 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 = {
|
|
696
|
+
first_line: this.yylloc.last_line,
|
|
697
|
+
last_line: this.yylineno + 1,
|
|
698
|
+
first_column: this.yylloc.last_column,
|
|
699
|
+
last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
|
|
700
|
+
}, 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;
|
|
701
|
+
if (this._backtrack) {
|
|
702
|
+
for (var a in i) this[a] = i[a];
|
|
703
|
+
return !1;
|
|
704
|
+
}
|
|
705
|
+
return !1;
|
|
706
|
+
}, "test_match"),
|
|
707
|
+
next: /* @__PURE__ */ e(function() {
|
|
708
|
+
if (this.done) return this.EOF;
|
|
709
|
+
this._input || (this.done = !0);
|
|
710
|
+
var e, t, n, r;
|
|
711
|
+
this._more || (this.yytext = "", this.match = "");
|
|
712
|
+
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)) {
|
|
713
|
+
if (t = n, r = a, this.options.backtrack_lexer) {
|
|
714
|
+
if (e = this.test_match(n, i[a]), e !== !1) return e;
|
|
715
|
+
if (this._backtrack) {
|
|
716
|
+
t = !1;
|
|
717
|
+
continue;
|
|
718
|
+
} else return !1;
|
|
719
|
+
} else if (!this.options.flex) break;
|
|
720
|
+
}
|
|
721
|
+
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.\n" + this.showPosition(), {
|
|
722
|
+
text: "",
|
|
723
|
+
token: null,
|
|
724
|
+
line: this.yylineno
|
|
725
|
+
});
|
|
726
|
+
}, "next"),
|
|
727
|
+
lex: /* @__PURE__ */ e(function() {
|
|
728
|
+
return this.next() || this.lex();
|
|
729
|
+
}, "lex"),
|
|
730
|
+
begin: /* @__PURE__ */ e(function(e) {
|
|
731
|
+
this.conditionStack.push(e);
|
|
732
|
+
}, "begin"),
|
|
733
|
+
popState: /* @__PURE__ */ e(function() {
|
|
734
|
+
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
735
|
+
}, "popState"),
|
|
736
|
+
_currentRules: /* @__PURE__ */ e(function() {
|
|
737
|
+
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
738
|
+
}, "_currentRules"),
|
|
739
|
+
topState: /* @__PURE__ */ e(function(e) {
|
|
740
|
+
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
741
|
+
}, "topState"),
|
|
742
|
+
pushState: /* @__PURE__ */ e(function(e) {
|
|
743
|
+
this.begin(e);
|
|
744
|
+
}, "pushState"),
|
|
745
|
+
stateStackSize: /* @__PURE__ */ e(function() {
|
|
746
|
+
return this.conditionStack.length;
|
|
747
|
+
}, "stateStackSize"),
|
|
748
|
+
options: { "case-insensitive": !0 },
|
|
749
|
+
performAction: /* @__PURE__ */ e(function(e, t, n, r) {
|
|
750
|
+
switch (n) {
|
|
751
|
+
case 0: return this.pushState("csv"), 4;
|
|
752
|
+
case 1: return this.pushState("csv"), 4;
|
|
753
|
+
case 2: return 10;
|
|
754
|
+
case 3: return 5;
|
|
755
|
+
case 4: return 12;
|
|
756
|
+
case 5: return this.pushState("escaped_text"), 18;
|
|
757
|
+
case 6: return 20;
|
|
758
|
+
case 7: return this.popState("escaped_text"), 18;
|
|
759
|
+
case 8: return 19;
|
|
760
|
+
}
|
|
761
|
+
}, "anonymous"),
|
|
762
|
+
rules: [
|
|
763
|
+
/^(?:sankey-beta\b)/i,
|
|
764
|
+
/^(?:sankey\b)/i,
|
|
765
|
+
/^(?:$)/i,
|
|
766
|
+
/^(?:((\u000D\u000A)|(\u000A)))/i,
|
|
767
|
+
/^(?:(\u002C))/i,
|
|
768
|
+
/^(?:(\u0022))/i,
|
|
769
|
+
/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i,
|
|
770
|
+
/^(?:(\u0022)(?!(\u0022)))/i,
|
|
771
|
+
/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i
|
|
772
|
+
],
|
|
773
|
+
conditions: {
|
|
774
|
+
csv: {
|
|
775
|
+
rules: [
|
|
776
|
+
2,
|
|
777
|
+
3,
|
|
778
|
+
4,
|
|
779
|
+
5,
|
|
780
|
+
6,
|
|
781
|
+
7,
|
|
782
|
+
8
|
|
783
|
+
],
|
|
784
|
+
inclusive: !1
|
|
785
|
+
},
|
|
786
|
+
escaped_text: {
|
|
787
|
+
rules: [7, 8],
|
|
788
|
+
inclusive: !1
|
|
789
|
+
},
|
|
790
|
+
INITIAL: {
|
|
791
|
+
rules: [
|
|
792
|
+
0,
|
|
793
|
+
1,
|
|
794
|
+
2,
|
|
795
|
+
3,
|
|
796
|
+
4,
|
|
797
|
+
5,
|
|
798
|
+
6,
|
|
799
|
+
7,
|
|
800
|
+
8
|
|
801
|
+
],
|
|
802
|
+
inclusive: !0
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
};
|
|
806
|
+
})();
|
|
807
|
+
function o() {
|
|
808
|
+
this.yy = {};
|
|
809
|
+
}
|
|
810
|
+
return e(o, "Parser"), o.prototype = a, a.Parser = o, new o();
|
|
811
|
+
})();
|
|
812
|
+
J.parser = J;
|
|
813
|
+
var Y = J, X = [], Z = [], Q = /* @__PURE__ */ new Map(), ae = /* @__PURE__ */ e(() => {
|
|
814
|
+
X = [], Z = [], Q = /* @__PURE__ */ new Map(), c();
|
|
815
|
+
}, "clear"), oe = class {
|
|
816
|
+
constructor(e, t, n = 0) {
|
|
817
|
+
this.source = e, this.target = t, this.value = n;
|
|
818
|
+
}
|
|
819
|
+
static {
|
|
820
|
+
e(this, "SankeyLink");
|
|
821
|
+
}
|
|
822
|
+
}, se = /* @__PURE__ */ e((e, t, n) => {
|
|
823
|
+
X.push(new oe(e, t, n));
|
|
824
|
+
}, "addLink"), ce = class {
|
|
825
|
+
constructor(e) {
|
|
826
|
+
this.ID = e;
|
|
827
|
+
}
|
|
828
|
+
static {
|
|
829
|
+
e(this, "SankeyNode");
|
|
830
|
+
}
|
|
831
|
+
}, le = {
|
|
832
|
+
nodesMap: Q,
|
|
833
|
+
getConfig: /* @__PURE__ */ e(() => l().sankey, "getConfig"),
|
|
834
|
+
getNodes: /* @__PURE__ */ e(() => Z, "getNodes"),
|
|
835
|
+
getLinks: /* @__PURE__ */ e(() => X, "getLinks"),
|
|
836
|
+
getGraph: /* @__PURE__ */ e(() => ({
|
|
837
|
+
nodes: Z.map((e) => ({ id: e.ID })),
|
|
838
|
+
links: X.map((e) => ({
|
|
839
|
+
source: e.source.ID,
|
|
840
|
+
target: e.target.ID,
|
|
841
|
+
value: e.value
|
|
842
|
+
}))
|
|
843
|
+
}), "getGraph"),
|
|
844
|
+
addLink: se,
|
|
845
|
+
findOrCreateNode: /* @__PURE__ */ e((e) => {
|
|
846
|
+
e = u.sanitizeText(e, l());
|
|
847
|
+
let t = Q.get(e);
|
|
848
|
+
return t === void 0 && (t = new ce(e), Q.set(e, t), Z.push(t)), t;
|
|
849
|
+
}, "findOrCreateNode"),
|
|
850
|
+
getAccTitle: f,
|
|
851
|
+
setAccTitle: a,
|
|
852
|
+
getAccDescription: s,
|
|
853
|
+
setAccDescription: n,
|
|
854
|
+
getDiagramTitle: r,
|
|
855
|
+
setDiagramTitle: o,
|
|
856
|
+
clear: ae
|
|
857
|
+
}, $ = class t {
|
|
858
|
+
static {
|
|
859
|
+
e(this, "Uid");
|
|
860
|
+
}
|
|
861
|
+
static {
|
|
862
|
+
this.count = 0;
|
|
863
|
+
}
|
|
864
|
+
static next(e) {
|
|
865
|
+
return new t(e + ++t.count);
|
|
866
|
+
}
|
|
867
|
+
constructor(e) {
|
|
868
|
+
this.id = e, this.href = `#${e}`;
|
|
869
|
+
}
|
|
870
|
+
toString() {
|
|
871
|
+
return "url(" + this.href + ")";
|
|
872
|
+
}
|
|
873
|
+
}, ue = {
|
|
874
|
+
left: b,
|
|
875
|
+
right: x,
|
|
876
|
+
center: C,
|
|
877
|
+
justify: S
|
|
878
|
+
}, de = { draw: /* @__PURE__ */ e(function(n, r, a, o) {
|
|
879
|
+
let { securityLevel: s, sankey: c } = l(), u = d.sankey, f;
|
|
880
|
+
s === "sandbox" && (f = t("#i" + r));
|
|
881
|
+
let m = t(s === "sandbox" ? f.nodes()[0].contentDocument.body : "body"), g = s === "sandbox" ? m.select(`[id="${r}"]`) : t(`[id="${r}"]`), _ = c?.width ?? u.width, v = c?.height ?? u.width, y = c?.useMaxWidth ?? u.useMaxWidth, b = c?.nodeAlignment ?? u.nodeAlignment, x = c?.prefix ?? u.prefix, S = c?.suffix ?? u.suffix, C = c?.showValues ?? u.showValues, w = o.db.getGraph(), T = ue[b];
|
|
882
|
+
P().nodeId((e) => e.id).nodeWidth(10).nodePadding(10 + (C ? 15 : 0)).nodeAlign(T).extent([[0, 0], [_, v]])(w);
|
|
883
|
+
let E = p(h);
|
|
884
|
+
g.append("g").attr("class", "nodes").selectAll(".node").data(w.nodes).join("g").attr("class", "node").attr("id", (e) => (e.uid = $.next("node-")).id).attr("transform", function(e) {
|
|
885
|
+
return "translate(" + e.x0 + "," + e.y0 + ")";
|
|
886
|
+
}).attr("x", (e) => e.x0).attr("y", (e) => e.y0).append("rect").attr("height", (e) => e.y1 - e.y0).attr("width", (e) => e.x1 - e.x0).attr("fill", (e) => E(e.id));
|
|
887
|
+
let D = /* @__PURE__ */ e(({ id: e, value: t }) => C ? `${e}
|
|
888
|
+
${x}${Math.round(t * 100) / 100}${S}` : e, "getText");
|
|
889
|
+
g.append("g").attr("class", "node-labels").attr("font-size", 14).selectAll("text").data(w.nodes).join("text").attr("x", (e) => e.x0 < _ / 2 ? e.x1 + 6 : e.x0 - 6).attr("y", (e) => (e.y1 + e.y0) / 2).attr("dy", `${C ? "0" : "0.35"}em`).attr("text-anchor", (e) => e.x0 < _ / 2 ? "start" : "end").text(D);
|
|
890
|
+
let O = g.append("g").attr("class", "links").attr("fill", "none").attr("stroke-opacity", .5).selectAll(".link").data(w.links).join("g").attr("class", "link").style("mix-blend-mode", "multiply"), k = c?.linkColor ?? "gradient";
|
|
891
|
+
if (k === "gradient") {
|
|
892
|
+
let e = O.append("linearGradient").attr("id", (e) => (e.uid = $.next("linearGradient-")).id).attr("gradientUnits", "userSpaceOnUse").attr("x1", (e) => e.source.x1).attr("x2", (e) => e.target.x0);
|
|
893
|
+
e.append("stop").attr("offset", "0%").attr("stop-color", (e) => E(e.source.id)), e.append("stop").attr("offset", "100%").attr("stop-color", (e) => E(e.target.id));
|
|
894
|
+
}
|
|
895
|
+
let A;
|
|
896
|
+
switch (k) {
|
|
897
|
+
case "gradient":
|
|
898
|
+
A = /* @__PURE__ */ e((e) => e.uid, "coloring");
|
|
899
|
+
break;
|
|
900
|
+
case "source":
|
|
901
|
+
A = /* @__PURE__ */ e((e) => E(e.source.id), "coloring");
|
|
902
|
+
break;
|
|
903
|
+
case "target":
|
|
904
|
+
A = /* @__PURE__ */ e((e) => E(e.target.id), "coloring");
|
|
905
|
+
break;
|
|
906
|
+
default: A = k;
|
|
907
|
+
}
|
|
908
|
+
O.append("path").attr("d", ie()).attr("stroke", A).attr("stroke-width", (e) => Math.max(1, e.width)), i(void 0, g, 0, y);
|
|
909
|
+
}, "draw") }, fe = /* @__PURE__ */ e((e) => e.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g, "").replaceAll(/([\n\r])+/g, "\n").trim(), "prepareTextForParsing"), pe = /* @__PURE__ */ e((e) => `.label {
|
|
910
|
+
font-family: ${e.fontFamily};
|
|
911
|
+
}`, "getStyles"), me = Y.parse.bind(Y);
|
|
912
|
+
Y.parse = (e) => me(fe(e));
|
|
913
|
+
var he = {
|
|
914
|
+
styles: pe,
|
|
915
|
+
parser: Y,
|
|
916
|
+
db: le,
|
|
917
|
+
renderer: de
|
|
918
|
+
};
|
|
919
|
+
//#endregion
|
|
920
|
+
export { he as diagram };
|
|
921
|
+
|
|
922
|
+
//# sourceMappingURL=sankeyDiagram-WA2Y5GQK-BFrF47Iv.js.map
|