n8n-editor-ui 2.3.1 → 2.4.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/data/node-popularity.json +1920 -1916
- package/dist/assets/{AddDataTableModal-DnW0v2OC.js → AddDataTableModal-Y13E7Akf.js} +18 -22
- package/dist/assets/{AgentEditorModal-CnYw6elM.css → AgentEditorModal-9v5_7c4M.css} +11 -7
- package/dist/assets/{AgentEditorModal-Djnq_0FY.js → AgentEditorModal-BrMkCIu5.js} +34 -38
- package/dist/assets/{Alert-KBN7v2aB.js → Alert-C0sX2MmC.js} +9 -9
- package/dist/assets/AnimatedSpinner-B25lpnvb.js +15 -0
- package/dist/assets/{AnnotationTagsDropdown.ee-QStDN6Th.js → AnnotationTagsDropdown.ee-D52VzZRF.js} +6 -6
- package/dist/assets/{MainHeader-D7esq2FA.js → AppHeader-BMRzlZ88.js} +359 -529
- package/dist/assets/{MainHeader-CSaAWCWj.css → AppHeader-CiEVBSe4.css} +42 -160
- package/dist/assets/{MainSidebar-BehIhk7J.js → AppSidebar-B88OkpG6.js} +107 -84
- package/dist/assets/{MainSidebar-CEsQ8o1Y.css → AppSidebar-qYnACKTG.css} +13 -4
- package/dist/assets/{AuthView-8nC1kvaA.js → AuthView-B28bjxIF.js} +12 -12
- package/dist/assets/{SettingsView-6sirGv9l.css → BottomMenu-CYgiV90C.css} +57 -37
- package/dist/assets/{BottomMenu-B-HQRX4l.js → BottomMenu-CfzAqh6J.js} +70 -168
- package/dist/assets/{useCanvasMapping-Cl6iFzZx.js → CanvasRunWorkflowButton-CLV9eJ9R.js} +268 -262
- package/dist/assets/{useCanvasMapping-CyDAqgNV.css → CanvasRunWorkflowButton-D_Rqnskj.css} +203 -203
- package/dist/assets/{ChangePasswordView-B4U_r0Av.js → ChangePasswordView-CXDHJS_U.js} +14 -19
- package/dist/assets/ChatAgentAvatar-BqR7_kd_.js +67 -0
- package/dist/assets/{ChatAgentAvatar-B68ZZ295.css → ChatAgentAvatar-D94COYC_.css} +10 -13
- package/dist/assets/{ChatFile-Dtf_b24Y.js → ChatFile-DGN9Z6P_.js} +17 -17
- package/dist/assets/{ChatLayout-CxM-3LAt.css → ChatLayout-C5Cltxb6.css} +1 -8
- package/dist/assets/{ChatLayout-BfWVFhWE.js → ChatLayout-IMyTW2P2.js} +11 -15
- package/dist/assets/{ChatPersonalAgentsView-DTF6JtUh.js → ChatPersonalAgentsView-PT_0eEaD.js} +19 -25
- package/dist/assets/{ChatSidebar-DU5x3UPL.js → ChatSidebar-CG-7B_hY.js} +56 -72
- package/dist/assets/{ChatSidebar-DcNxY7Pt.css → ChatSidebar-D-hWKn7w.css} +126 -0
- package/dist/assets/{ChatView-D8ScSRRr.js → ChatView-DaUB9Ecc.js} +113 -113
- package/dist/assets/{ChatView-DrZ9gYjI.css → ChatView-DjGNW1KJ.css} +58 -50
- package/dist/assets/{ChatWorkflowAgentsView-Kiqxl5Dz.js → ChatWorkflowAgentsView-Dv-lY297.js} +19 -25
- package/dist/assets/CollectionParameter-CEz9OjV2.js +42 -0
- package/dist/assets/{CommunityNodeUpdateInfo-DsR3DdTu.js → CommunityNodeUpdateInfo-CauvhKGq.js} +13 -13
- package/dist/assets/{CopyInput-DJ2yTciL.js → CopyInput-B4eaHdxj.js} +15 -15
- package/dist/assets/{CredentialIcon-DJybkA4h.js → CredentialIcon-BtjftPax.js} +6 -6
- package/dist/assets/{CredentialPicker-Bao3p-41.js → CredentialPicker-BFTsdquZ.js} +8 -8
- package/dist/assets/{CredentialSelectorModal-DaRU1zXR.js → CredentialSelectorModal-y04x0moO.js} +22 -27
- package/dist/assets/{CredentialsView-wSH7BheV.js → CredentialsView-CbhjEdy6.js} +46 -52
- package/dist/assets/{DataTableActions-BMf3BHPM.js → DataTableActions-V_mGpWNk.js} +6 -6
- package/dist/assets/{DataTableDetailsView-CSIqpXLA.js → DataTableDetailsView-BaCljaXy.js} +27 -31
- package/dist/assets/{DataTableView-Blgv7Ln8.js → DataTableView-DtSSvuD-.js} +31 -37
- package/dist/assets/DemoFooter-2XBpYf-9.js +53 -0
- package/dist/assets/{Draggable-DQjeTEFr.js → Draggable-uo-iesAL.js} +5 -5
- package/dist/assets/{EmptySharedSectionActionBox-CogY0uW5.js → EmptySharedSectionActionBox-BoSKCX6d.js} +5 -5
- package/dist/assets/{EnterpriseEdition.ee-CFcDsU4a.js → EnterpriseEdition.ee-CyI_U9yB.js} +2 -2
- package/dist/assets/{EntityNotFound-DmFtFwaH.js → EntityNotFound-qBJJDr9S.js} +9 -13
- package/dist/assets/{EntityUnAuthorised-CoFxjgq9.js → EntityUnAuthorised-Ci980jH0.js} +8 -12
- package/dist/assets/{ErrorView-fGVmNs6l.js → ErrorView-D33JJAX4.js} +13 -17
- package/dist/assets/{EvaluationsRootView-CnsgFQrF.js → EvaluationsRootView-B2SD_0sA.js} +34 -37
- package/dist/assets/{EvaluationsView-V0hiFoAc.js → EvaluationsView-D9anu-so.js} +28 -34
- package/dist/assets/{ExecutionsTime-SXIffRZe.js → ExecutionsTime-Co23FVKL.js} +16 -15
- package/dist/assets/{ExecutionsView-1YV6qmab.js → ExecutionsView-BYR0BCB9.js} +62 -66
- package/dist/assets/{ExternalSecretsProviderConnectionSwitch.ee-CwhFUTJx.js → ExternalSecretsProviderConnectionSwitch.ee-DaF1WXYB.js} +18 -17
- package/dist/assets/FixedCollectionParameter-COuGvpZ8.css +642 -0
- package/dist/assets/FixedCollectionParameter-DDwNWqZ8.js +1571 -0
- package/dist/assets/FolderBreadcrumbs-CqjobwTB.js +187 -0
- package/dist/assets/{SaveButton-Dc01Y2MA.css → FolderBreadcrumbs-eBFopiOp.css} +7 -14
- package/dist/assets/{ForgotMyPasswordView-Bgtqx-Pb.js → ForgotMyPasswordView-CcxGYqHh.js} +14 -19
- package/dist/assets/{InsightsChartAverageRuntime-gpxjFP2f.js → InsightsChartAverageRuntime-69U4sUmH.js} +10 -11
- package/dist/assets/{InsightsChartFailed-DBcygly6.js → InsightsChartFailed-Ct64T5GJ.js} +8 -9
- package/dist/assets/{InsightsChartFailureRate-CY3HP65L.js → InsightsChartFailureRate-BOdV-Q3d.js} +9 -11
- package/dist/assets/{InsightsChartTimeSaved-DAfnPiRJ.js → InsightsChartTimeSaved-B83s59mL.js} +9 -11
- package/dist/assets/{InsightsChartTotal-CLtcCYXo.js → InsightsChartTotal-1A5vqW4E.js} +7 -9
- package/dist/assets/{InsightsDashboard-D3vC4R1n.js → InsightsDashboard-BgxhoT5G.js} +37 -39
- package/dist/assets/{InsightsPaywall-0gL3KDRU.js → InsightsPaywall-DlLnPCl2.js} +15 -19
- package/dist/assets/{InsightsSummary-CnIu-BEq.js → InsightsSummary-BB8IwI5i.js} +11 -11
- package/dist/assets/{InsightsTableWorkflows-BIKybxql.js → InsightsTableWorkflows-Dnldlw-H.js} +22 -25
- package/dist/assets/{KeyboardShortcutTooltip-Bg_9TS__.js → KeyboardShortcutTooltip-Dwz4Hv8g.js} +6 -6
- package/dist/assets/LogsPanel-C9bshHRi.js +40 -0
- package/dist/assets/{LogsPanel-CeaPnpLp.js → LogsPanel-CfaRZWyh.js} +100 -100
- package/dist/assets/{MCPConnectWorkflowsModal-Td3mGUN9.js → MCPConnectWorkflowsModal-DgeHxB8D.js} +36 -42
- package/dist/assets/{MigrationRuleDetail-ChDD18D8.js → MigrationRuleDetail-CtWwVzUC.js} +23 -27
- package/dist/assets/{MigrationRules-Bx-faTM3.js → MigrationRules-Om8sz8NC.js} +21 -25
- package/dist/assets/{Modal-DbNRq20p.js → Modal-DDyUIg-j.js} +27 -26
- package/dist/assets/{ModelByIdSelectorModal-Zys7oCrF.js → ModelByIdSelectorModal-DOo5k-Da.js} +18 -23
- package/dist/assets/{NDVEmptyState-DLSJV_-K.js → NDVEmptyState-CJWa4Aka.js} +15 -12
- package/dist/assets/{NodeCreation-D-51ue5r.js → NodeCreation-ClTqHJhs.js} +30 -53
- package/dist/assets/{ItemsRenderer-DkobJF9f.css → NodeCreator-039HRrqJ.css} +1525 -6
- package/dist/assets/{NodeCreator-DNZlk7YI.js → NodeCreator-BHs8o7J3.js} +978 -88
- package/dist/assets/{NodeDetailsView-Bx2kED62.js → NodeDetailsView-Cr9dlkiW.js} +72 -87
- package/dist/assets/{NodeDetailsViewV2-Cs-DNkN8.js → NodeDetailsViewV2-D_UwwehT.js} +69 -86
- package/dist/assets/{NodeIcon-BbsF7HzQ.js → NodeIcon-CXamMxe5.js} +10 -10
- package/dist/assets/{NodeIcon-BDxr0f30.css → NodeIcon-zqTc5h-V.css} +1 -1
- package/dist/assets/{NodeSettings-CihRSGnT.js → NodeSettings-DiMGfIPh.js} +73 -73
- package/dist/assets/{NodeView-C6e9qYIb.js → NodeView-CqK4OOpZ.js} +171 -149
- package/dist/assets/{NodeView-AuBajxDh.css → NodeView-Xwcu11Wh.css} +11 -11
- package/dist/assets/{OAuthConsentView-DgEpMzqe.js → OAuthConsentView-D4rD7kPg.js} +14 -18
- package/dist/assets/{ParameterInputList-C1BdtAjc.css → ParameterInputList-BUZ33Aem.css} +717 -208
- package/dist/assets/{ParameterInputList-BdolYdHT.js → ParameterInputList-DlsnXTOE.js} +1864 -1039
- package/dist/assets/{ProjectBreadcrumb-C78U49qA.js → ProjectBreadcrumb-D9hS-MYJ.js} +8 -8
- package/dist/assets/{ProjectCardBadge-BJrdwkUy.js → ProjectCardBadge-BE0KUpWh.js} +10 -10
- package/dist/assets/{ProjectHeader-BWd_Jpki.js → ProjectHeader-C_C9sbjt.js} +14 -14
- package/dist/assets/{ProjectIcon-CNEqHlzp.js → ProjectIcon-gwTM9uPG.js} +8 -8
- package/dist/assets/{ProjectRoleView-DgDH-CAz.js → ProjectRoleView-Bf4zP3qm.js} +19 -23
- package/dist/assets/{ProjectRolesView-lS6Xs6d0.js → ProjectRolesView-DhAgSeyy.js} +18 -22
- package/dist/assets/{ProjectSettings-BBjtsGXK.js → ProjectSettings-C687D50w.js} +31 -34
- package/dist/assets/{ProjectSharing-BEcymROT.js → ProjectSharing-C8e9oK7q.js} +16 -16
- package/dist/assets/{ProjectVariables-BYbTctFU.js → ProjectVariables-Bjvk3j7l.js} +40 -46
- package/dist/assets/{ProviderSettingsModal-COAKwlLh.js → ProviderSettingsModal-D7PL4Ovf.js} +20 -26
- package/dist/assets/{PushConnectionTracker-CY-LPI6v.js → PushConnectionTracker-BLfijnvC.js} +4 -4
- package/dist/assets/{ResolversView-CxbdIBE2.js → ResolversView-wd5fu-tV.js} +20 -24
- package/dist/assets/{ResourceFiltersDropdown-BlSZzGLj.js → ResourceFiltersDropdown-B9N5y-vt.js} +12 -12
- package/dist/assets/{ResourcesListLayout-DLAMdJD5.css → ResourcesListLayout-BhnhvHiw.css} +140 -0
- package/dist/assets/{ResourcesListLayout-Ej5Hcdb7.js → ResourcesListLayout-O9_3CxcA.js} +32 -23
- package/dist/assets/{RunData-CSkVEMJc.js → RunData-BhqFCEeO.js} +20367 -28266
- package/dist/assets/{RunData-CGWkR8tE.css → RunData-xpRgLK8S.css} +2 -2
- package/dist/assets/{RunDataHtml-CS6G8R8Z.js → RunDataHtml-BMxc-zRm.js} +5 -5
- package/dist/assets/RunDataHtml-wQh8fACG.js +5 -0
- package/dist/assets/{RunDataJson-BoMj9Y4H.js → RunDataJson-DXh-JzHh.js} +31 -31
- package/dist/assets/{RunDataJsonActions-BYw5OJyd.js → RunDataJsonActions-jMhBcnZ4.js} +19 -23
- package/dist/assets/{RunDataParsedAiContent-Cci_idnL.js → RunDataParsedAiContent-BbTgNtPy.js} +15 -16
- package/dist/assets/RunDataParsedAiContent-CcCTmhG0.js +15 -0
- package/dist/assets/{RunDataSearch-Cl17NZ8f.js → RunDataSearch-BVW7uE4N.js} +10 -14
- package/dist/assets/{RunDataTable-ldjWmEyj.js → RunDataTable-DUJIxl0f.js} +32 -36
- package/dist/assets/{SamlOnboarding-B4udEOGL.js → SamlOnboarding-CxYoa2cp.js} +14 -19
- package/dist/assets/{SelectedItemsInfo-0qmaX5TI.js → SelectedItemsInfo-CKmcAObD.js} +5 -5
- package/dist/assets/{SettingsApiView-DWWkTI8H.js → SettingsApiView-D3gPC7wS.js} +24 -27
- package/dist/assets/{SettingsChatHubView-DdY-v1Oz.js → SettingsChatHubView-Dyl6agLq.js} +18 -24
- package/dist/assets/{SettingsCommunityNodesView-Bh_N6Npj.js → SettingsCommunityNodesView-esGDUBkV.js} +38 -42
- package/dist/assets/{SettingsExternalSecrets-D1ahXEoY.js → SettingsExternalSecrets-BRP-TFnF.js} +18 -22
- package/dist/assets/{SettingsLdapView-BDKazZKJ.js → SettingsLdapView-BiLAMZMp.js} +22 -26
- package/dist/assets/{SettingsLogStreamingView-Rq7vLTVL.js → SettingsLogStreamingView-ByUHLila.js} +21 -24
- package/dist/assets/{SettingsMCPView-DKx7RcRB.js → SettingsMCPView-ByBI3gAH.js} +42 -46
- package/dist/assets/{SettingsPersonalView-5d6_p-hw.js → SettingsPersonalView-PuPbUFF4.js} +15 -19
- package/dist/assets/SettingsSidebar-DWKnhzbu.js +58 -0
- package/dist/assets/{useCommandBar-eK4Fv9lH.css → SettingsSidebar-hr5ASDKX.css} +22 -24
- package/dist/assets/{SettingsSourceControl-CTzXIqE3.js → SettingsSourceControl-e3k-B-T-.js} +19 -23
- package/dist/assets/{SettingsSso-CUrz-7l8.js → SettingsSso-ELd6d7Cd.js} +26 -29
- package/dist/assets/{SettingsUsageAndPlan-R9q7LfRv.js → SettingsUsageAndPlan-DTbcjDth.js} +20 -23
- package/dist/assets/{SettingsUsersView-DcmC9oO-.js → SettingsUsersView-CLdVPGwv.js} +50 -28
- package/dist/assets/{SetupTemplateFormStep-C0bRvmcc.js → SetupTemplateFormStep-CRd1UZx9.js} +15 -15
- package/dist/assets/{SetupView-Bpj6SVkS.js → SetupView-BWvvVJ_i.js} +14 -19
- package/dist/assets/{SetupWorkflowCredentialsButton-CZpFSpx5.js → SetupWorkflowCredentialsButton-Dh4fkO6K.js} +21 -20
- package/dist/assets/{SetupWorkflowFromTemplateView-DhK63ZNL.js → SetupWorkflowFromTemplateView-C5i9N-Xc.js} +21 -25
- package/dist/assets/{SeverityTag-4JkejesH.js → SeverityTag-CO2h99Dy.js} +6 -6
- package/dist/assets/{SigninView-D3PBF8fA.js → SigninView-BU__AvOm.js} +16 -20
- package/dist/assets/{SignoutView-DZcfsILm.js → SignoutView-BOMbF2VO.js} +10 -10
- package/dist/assets/{SignupView-D2QARHWC.js → SignupView-Cqs9OeBV.js} +27 -27
- package/dist/assets/{SkeletonAgentCard-BhJ27v2W.js → SkeletonAgentCard-BKWUxHb9.js} +12 -12
- package/dist/assets/{PageViewLayout-Cn6FD0Wt.css → SlideTransition-Bv5Vx35L.css} +6 -17
- package/dist/assets/SlideTransition-CWSKQ4XI.js +11 -0
- package/dist/assets/{TagsDropdown-8x1FnXzA.js → TagsDropdown-DGbottaK.js} +9 -9
- package/dist/assets/{TemplateCard-DxKAmiWm.js → TemplateCard-XTHKCDKs.js} +9 -9
- package/dist/assets/{TemplateDetails-bBAnDzfL.js → TemplateDetails-DSp01RKG.js} +20 -20
- package/dist/assets/{TemplateList-DxQ3fBxn.js → TemplateList-rOlAyX39.js} +44 -44
- package/dist/assets/{TemplatesCollectionView-DCJk2jwq.js → TemplatesCollectionView-BVfAAgHo.js} +22 -26
- package/dist/assets/{TemplatesSearchView-Bh8wuhTx.js → TemplatesSearchView-BRZPm62G.js} +49 -53
- package/dist/assets/{TemplatesView-w-y6NvIc.js → TemplatesView-B2WxZgCT.js} +6 -6
- package/dist/assets/{TemplatesWorkflowView-eo3ddDao.js → TemplatesWorkflowView-HRwmMyaL.js} +23 -27
- package/dist/assets/{TestRunDetailView-DGEhYj5_.js → TestRunDetailView-D5RXX1zN.js} +20 -25
- package/dist/assets/{TextWithHighlights-DjzuDrgO.js → TextWithHighlights-CH5Zsswa.js} +2 -2
- package/dist/assets/{TimeAgo-0Rdm0Kiq.js → TimeAgo-i_jQQBzo.js} +4 -4
- package/dist/assets/{ToolsSelectorModal-SnNw9Jip.js → ToolsSelectorModal-Cr50cu-v.js} +20 -24
- package/dist/assets/{TriggerPanel-ChJuzrpN.js → TriggerPanel-DsPiGMWb.js} +51 -51
- package/dist/assets/{VirtualSchema-wgdUJECR.js → VirtualSchema-DUQ68BrH.js} +60 -61
- package/dist/assets/{VirtualSchema-CwutU4vj.css → VirtualSchema-pdpcVEq9.css} +1 -1
- package/dist/assets/VirtualSchema-vD1WN6xC.js +28 -0
- package/dist/assets/{VueMarkdown-BRiaIhX9.js → VueMarkdown-D0Ufjusy.js} +3 -3
- package/dist/assets/{WorkerView-DPgZMV-u.js → WorkerView-tKUhJ5Dl.js} +38 -43
- package/dist/assets/{WorkflowExecutionsInfoAccordion-tLNnztlE.js → WorkflowExecutionsInfoAccordion-hO-vNiAf.js} +7 -7
- package/dist/assets/{WorkflowExecutionsLandingPage-DzSdsRSM.js → WorkflowExecutionsLandingPage-DzrSOo1F.js} +14 -18
- package/dist/assets/{WorkflowExecutionsPreview-DcRbTjpx.js → WorkflowExecutionsPreview-CizWQG9x.js} +44 -47
- package/dist/assets/{WorkflowExecutionsView-BvQhNwyi.js → WorkflowExecutionsView-DJ27bPYq.js} +60 -62
- package/dist/assets/{WorkflowHistory-C7k0u5n4.js → WorkflowHistory-CD8N5qTi.js} +198 -197
- package/dist/assets/{WorkflowHistory-BBHdNsOb.css → WorkflowHistory-dUpsKg3Z.css} +42 -75
- package/dist/assets/{WorkflowLocation-DU_oqOxw.js → WorkflowLocation-ChaEWxVS.js} +18 -18
- package/dist/assets/{WorkflowOnboardingView-DsT28Lna.js → WorkflowOnboardingView-COBDyXiZ.js} +10 -10
- package/dist/assets/{WorkflowPreview-Cv_yCx4J.js → WorkflowPreview-pbJ_UfWP.js} +9 -9
- package/dist/assets/{WorkflowTagsDropdown-BHpackqb.js → WorkflowTagsDropdown-C0g5t367.js} +6 -6
- package/dist/assets/{WorkflowsView-C-PD10oe.css → WorkflowsView-0_qNZeIx.css} +32 -42
- package/dist/assets/{WorkflowsView-CA_-v3jL.js → WorkflowsView-mroD5hze.js} +128 -239
- package/dist/assets/{_MapCache-ficiegRb.js → _MapCache-DkLivSSb.js} +46 -38
- package/dist/assets/{_baseOrderBy-UJkFlXQy.js → _baseOrderBy-DvuuRU7J.js} +8 -13
- package/dist/assets/{_initCloneObject-C3audwCb.js → _initCloneObject-DiO9tORE.js} +2 -2
- package/dist/assets/{aiTemplatesStarterCollection.store-BuNUUCwa.js → aiTemplatesStarterCollection.store-DUkMK-jk.js} +6 -6
- package/dist/assets/{apiKeys.store-DpzwcWGM.js → apiKeys.store-C0NHEBJ6.js} +4 -4
- package/dist/assets/{assistant.store-CiyiixCh.js → assistant.store-2i2uoZtV.js} +8 -8
- package/dist/assets/{auth.eventBus-B77G38R7.js → auth.eventBus-Ce2KL2L4.js} +1 -1
- package/dist/assets/{banners.store-D47aZI1r.js → banners.store-CxccIpTM.js} +7 -7
- package/dist/assets/{buttons.esm-CT4flsfB.js → buttons.esm-DHCtg4os.js} +0 -5
- package/dist/assets/canvas.utils-Dv0fD5Il.js +138 -0
- package/dist/assets/{chart-CE3HWIkr.js → chart-BpBZvUkM.js} +0 -6
- package/dist/assets/{chartjs.utils-CeXvwL6J.js → chartjs.utils-B8F_iMP1.js} +5 -5
- package/dist/assets/{chat.store-D1BqW7ao.js → chat.store-Crdaw-Cp.js} +34 -29
- package/dist/assets/{chatPanel.store-ChAzL_xE.js → chatPanel.store-oWfjNSnl.js} +6 -6
- package/dist/assets/{chunk-6z4oVpB-.js → chunk-r2Y0G7H8.js} +3 -2
- package/dist/assets/{col-Cd5kWzv_.js → col-gWKpvp-j.js} +2 -2
- package/dist/assets/collaboration.store-BbSwTk_d.js +287 -0
- package/dist/assets/{constants-DLTaaipl.js → constants-Bgby4me8.js} +12 -3
- package/dist/assets/{constants-DRIItkNt.js → constants-D48cSFnx.js} +921 -931
- package/dist/assets/core-CKLPLCBJ.js +4 -0
- package/dist/assets/{core-6W4wWNc1.js → core-DDiavqSm.js} +1 -1
- package/dist/assets/{dataTable.store-CkhtfeY0.js → dataTable.store-_wAVMcbO.js} +4 -4
- package/dist/assets/{date-picker-DsgFTiIp.js → date-picker-CutzRF4i.js} +13 -4
- package/dist/assets/{dateFormatter-DDfPHI9I.js → dateFormatter-BiQ9pMrA.js} +4 -4
- package/dist/assets/{dateformat-CM9k0--B.js → dateformat-BeHi9sF4.js} +2 -1
- package/dist/assets/{dialog-O4ZP7Mjj.js → dialog-D6bnhGrj.js} +4 -4
- package/dist/assets/{dist-DP_8je0B.js → dist-C4hPgTYg.js} +3 -3
- package/dist/assets/empty-nq5-pHAR.js +895 -0
- package/dist/assets/en-C4tPMX0d.js +2 -0
- package/dist/assets/{en-CF30SCh2.js → en-PrU4QUr7.js} +10 -2
- package/dist/assets/{es-DlTgUi2w.js → es-347rbIb-.js} +2 -2
- package/dist/assets/{evaluation.constants-DbxnAcTc.js → evaluation.constants-CSD02Lo1.js} +12 -15
- package/dist/assets/{executions.store-a5l7sYPn.js → executions.store-SHgwsnWe.js} +4 -4
- package/dist/assets/{exports-hpMZaOPT.js → exports-DwuuoPh-.js} +1 -3
- package/dist/assets/{externalSecrets.ee.store-HP2ldANj.js → externalSecrets.ee.store-Zyuqq2w2.js} +4 -4
- package/dist/assets/{folders.store-j6Xz9xvI.js → folders.store-D8rP_Hdz.js} +4 -4
- package/dist/assets/{index-B2rFJ2JV.js → index-BYX1_H81.js} +4327 -1865
- package/dist/assets/{index-U6fZiFvz.css → index-BhFfa3xu.css} +3083 -2437
- package/dist/assets/{insights.constants-C8GITe6H.js → insights.constants-98xWnZQu.js} +3 -3
- package/dist/assets/{insights.store-EBGeDNzp.js → insights.store-BtoZsG-U.js} +7 -7
- package/dist/assets/{insights.utils-B7OXsqrQ.js → insights.utils-B0txVt0Q.js} +6 -6
- package/dist/assets/{languageModules-D_uyjb6R.js → languageModules-DyQaii5v.js} +1 -1
- package/dist/assets/{logStreaming.store-C8IxWNZB.js → logStreaming.store-7BkB5s2r.js} +3 -3
- package/dist/assets/{mcp.store-BLq1CDNz.js → mcp.store-G7xff9jI.js} +4 -4
- package/dist/assets/{merge-k8vSyyXH.js → merge-B0-p153C.js} +2 -2
- package/dist/assets/{nodeCreator.store-DTc1zzIQ.js → nodeCreator.store-Dl91ajnd.js} +1932 -2216
- package/dist/assets/{nodeIcon-BWuZ9Qxh.js → nodeIcon-CUi9_d-e.js} +3 -3
- package/dist/assets/{nodeTransforms-A9ckRbW1.js → nodeTransforms-D71MPFbn.js} +2 -2
- package/dist/assets/{orderBy-BCjtsqzS.js → orderBy-zIIUzfE0.js} +3 -3
- package/dist/assets/{personalizedTemplatesV3.store-DBi4yorm.js → personalizedTemplatesV3.store-CwD8voN0.js} +4 -4
- package/dist/assets/{pickBy-1X5wiyPT.js → pickBy-BpQ_nS0j.js} +3 -3
- package/dist/assets/pushConnection.store-DEMBEciq.js +496 -0
- package/dist/assets/{radio-BeejvdFG.js → radio-I_Y35sEo.js} +2 -2
- package/dist/assets/{readyToRun.store-DfU30_Nq.js → readyToRun.store-D7MVH-Yc.js} +17 -8
- package/dist/assets/{readyToRunWorkflows.store-DgUOIs41.js → readyToRunWorkflows.store-CTCJvvBk.js} +6 -6
- package/dist/assets/{roles.store-W8yXuo53.js → roles.store-eBIJuaNR.js} +4 -4
- package/dist/assets/{router-RpMr830s.js → router-zEaOc-tq.js} +316 -304
- package/dist/assets/{sanitize-html-fRP2gWb9.js → sanitize-html-DeDnsMgc.js} +17 -18
- package/dist/assets/{semver-mGRAx708.js → semver-Bz8_abNa.js} +6 -8
- package/dist/assets/{sourceControl.eventBus-Bry8gLG7.js → sourceControl.eventBus-l-XuMGfW.js} +1 -1
- package/dist/assets/{sqlite3-worker1-bundler-friendly-BOYmhhGN.js → sqlite3-worker1-bundler-friendly-BvaOkVlV.js} +9 -2
- package/dist/assets/{src-CMoPZtHv.css → src-CUiJtOrW.css} +5070 -4059
- package/dist/assets/{src-XLGanEOK.js → src-DpZSuyLC.js} +5805 -2547
- package/dist/assets/{sso.store-B7JPsojt.js → sso.store-9EWHvrSy.js} +3 -3
- package/dist/assets/{table-Dl2CV3mu.js → table-C3aerURh.js} +5 -5
- package/dist/assets/{templateActions-CjSRb54_.js → templateActions-qowBM3Zz.js} +5 -5
- package/dist/assets/{templateTransforms-Cr1Vxjyo.js → templateTransforms-CU4zdmOp.js} +1 -1
- package/dist/assets/{truncate-B1HVeveJ.js → truncate-BrM_9cme.js} +5 -5
- package/dist/assets/{typescript.worker-CYqLvLHh.js → typescript.worker-DZR6qltN.js} +224 -176
- package/dist/assets/{usage.store-7DVTEzLA.js → usage.store-BDZxETBd.js} +3 -3
- package/dist/assets/{useActions-BVMLDnB7.js → useActions-BItklJWS.js} +5 -5
- package/dist/assets/useBugReporting-Bi1700UJ.js +130 -0
- package/dist/assets/useCalloutHelpers-DSFmB8y4.js +80 -0
- package/dist/assets/{useCanvasOperations-DmDkQZsZ.js → useCanvasOperations-DVIzBTSq.js} +36 -32
- package/dist/assets/{useClipboard-DAKz3pSk.js → useClipboard-CTTDlv6b.js} +3 -3
- package/dist/assets/{useCredentialResolvers-Bib-mabw.js → useCredentialResolvers-0jZuH4WO.js} +5 -5
- package/dist/assets/useCustomAgent-CjjqdMoN.js +630 -0
- package/dist/assets/{useCustomAgent-tUoLIUar.css → useCustomAgent-D8Sw5vcC.css} +32 -9
- package/dist/assets/{useDebounce-Bnb8W2LR.js → useDebounce-C4ttil9E.js} +12 -12
- package/dist/assets/{useExecutionData-DWNDlbxK.js → useExecutionData-BLsmVbDx.js} +2 -2
- package/dist/assets/{useExecutionDebugging-C3LhPoKB.js → useExecutionDebugging-unzyZJSo.js} +7 -7
- package/dist/assets/{useExecutionHelpers-ZH8Lpu7H.js → useExecutionHelpers-VADBx6Yx.js} +5 -5
- package/dist/assets/useGlobalEntityCreation-5MrJOTFc.js +192 -0
- package/dist/assets/{useImportCurlCommand-UjbNISl9.js → useImportCurlCommand-I3o_giV2.js} +41 -37
- package/dist/assets/{useIntersectionObserver-DXKoRNFj.js → useIntersectionObserver-CGg561I6.js} +1 -1
- package/dist/assets/{useKeybindings-DDEBPDlo.js → useKeybindings-CKjI_jnI.js} +5 -5
- package/dist/assets/{useLogsTreeExpand-DBG-3__y.js → useLogsTreeExpand-BfExNgUz.js} +41 -41
- package/dist/assets/{useMcp-zjwReQ-Q.js → useMcp-BL9EJIG9.js} +2 -2
- package/dist/assets/{usePageRedirectionHelper-w7WYnki8.js → usePageRedirectionHelper--cm71zDE.js} +3 -3
- package/dist/assets/{usePinnedData-FgnIiWSJ.js → usePinnedData-D1DKG6vB.js} +6 -6
- package/dist/assets/{usePushConnection-DL83_AN-.js → usePushConnection-DbVAGHmZ.js} +12 -16
- package/dist/assets/{useRunWorkflow-DfbxLgl-.js → useRunWorkflow-CBEpMo-i.js} +106 -486
- package/dist/assets/{useSettingsItems-CNv2tIdk.js → useSettingsItems-DDLH7vvJ.js} +5 -5
- package/dist/assets/{useTelemetryContext-B3sCbxNK.js → useTelemetryContext-s869bjx6.js} +4 -4
- package/dist/assets/{useWorkflowsCache-BG2C8qik.js → useWorkflowsCache-Cwc7AaSS.js} +2 -2
- package/dist/assets/{userRoleProvisioning.store-6aoaalkv.js → userRoleProvisioning.store-r3gAhXvj.js} +3 -3
- package/dist/assets/{builder.store-D6GyopzN.js → users.store-Dh2O3NbU.js} +22801 -23949
- package/dist/assets/utils-5SA0VwN3.js +133 -0
- package/dist/assets/{versions.store-a3DCEQMP.js → versions.store-BIW6cbdc.js} +4 -4
- package/dist/assets/{vue-Dg_43WEg.js → vue-atn33zIp.js} +255 -213
- package/dist/assets/{vue-json-pretty-DGKuDe33.js → vue-json-pretty-CTqCbq0T.js} +1 -1
- package/dist/assets/{vue.runtime.esm-bundler-tP5dCd7J.js → vue.runtime.esm-bundler-XtMkEjzB.js} +703 -538
- package/dist/assets/{worker-CIvWfg3a.js → worker-BnP12nj7.js} +10 -3
- package/dist/index.html +116 -120
- package/package.json +1 -1
- package/tsconfig.json +1 -1
- package/dist/assets/AnimatedSpinner-wiGFgffA.js +0 -15
- package/dist/assets/BottomMenu-CRVyIu-B.css +0 -474
- package/dist/assets/ChatAgentAvatar-DAg-f4vg.js +0 -67
- package/dist/assets/CollectionParameter-Y2KojQS6.js +0 -50
- package/dist/assets/DemoFooter-CySiu1O2.js +0 -63
- package/dist/assets/FixedCollectionParameter-B__avC2s.js +0 -494
- package/dist/assets/FixedCollectionParameter-DT3ELzS9.css +0 -202
- package/dist/assets/ItemsRenderer-B8E9eO9o.js +0 -922
- package/dist/assets/LogsPanel-Cei4fiyW.js +0 -50
- package/dist/assets/NodeCreator-OSIpRI6S.css +0 -1649
- package/dist/assets/PageViewLayout-BHSzOio1.js +0 -12
- package/dist/assets/PrebuiltAgentTemplatesView-C274fvLb.js +0 -152
- package/dist/assets/PrebuiltAgentTemplatesView-jF7HvWnL.css +0 -166
- package/dist/assets/RunDataHtml-CX8Hqg6s.js +0 -7
- package/dist/assets/RunDataParsedAiContent-C3de0i2J.js +0 -24
- package/dist/assets/SaveButton-DGuEjyOq.js +0 -89
- package/dist/assets/SettingsView-Clf40hKH.js +0 -88
- package/dist/assets/VirtualSchema-zUWStOer.js +0 -34
- package/dist/assets/WorkflowActivationErrorMessage-v37Lr_Ej.js +0 -17
- package/dist/assets/WorkflowActivator-BGcCOUCH.css +0 -391
- package/dist/assets/WorkflowActivator-DW5QJWKR.js +0 -362
- package/dist/assets/core-BbiIkN91.js +0 -4
- package/dist/assets/empty-DUjwPfU3.js +0 -2125
- package/dist/assets/en-DyO2pPiC.js +0 -2
- package/dist/assets/path-browserify-CJwRhuT8.js +0 -328
- package/dist/assets/schemaPreview.store-ngPsbwff.js +0 -113
- package/dist/assets/uniqBy-BInks7VO.js +0 -10
- package/dist/assets/useBeforeUnload-BNDKBmDK.js +0 -40
- package/dist/assets/useCommandBar-Ddao4vJv.js +0 -2425
- package/dist/assets/useCustomAgent-DA57piBT.js +0 -471
- package/dist/assets/useRecentResources-D-zHnbqB.js +0 -118
- package/dist/assets/useWorkflowActivate-Ct_BovMQ.js +0 -152
- package/dist/assets/utils-C2GPI2gK.js +0 -54
- /package/dist/assets/{CalendarDate-zWqgZMlk.js → CalendarDate-CogIFc4_.js} +0 -0
- /package/dist/assets/{_plugin-vue_export-helper-BwBpWJRZ.js → _plugin-vue_export-helper-fRq25RGE.js} +0 -0
- /package/dist/assets/{fileUtils-D_SiS8no.js → fileUtils-C-Bxka0b.js} +0 -0
- /package/dist/assets/{mcp.constants-DQPD3Ntp.js → mcp.constants-Djm5lWYR.js} +0 -0
- /package/dist/assets/{preload-helper-CR0ecmWK.js → preload-helper-D8n1yiy9.js} +0 -0
- /package/dist/assets/{retry-dP46utx2.js → retry-BLsJRFf0.js} +0 -0
- /package/dist/assets/{smartDecimal-DK6-_VSq.js → smartDecimal-D3Shg2YQ.js} +0 -0
- /package/dist/assets/{sortByProperty-CV1aCzkS.js → sortByProperty-Dip6DXbv.js} +0 -0
- /package/dist/assets/{sqlite3-opfs-async-proxy-vVtmDGHX.js → sqlite3-opfs-async-proxy-BrtqH9Si.js} +0 -0
- /package/dist/assets/{xml-B6veOr9z.js → xml-Cf0o4TxQ.js} +0 -0
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { a as __toCommonJS, n as __esmMin, o as __toESM, r as __export, t as __commonJSMin } from "./chunk-
|
|
2
|
-
import {
|
|
3
|
-
import { a as
|
|
4
|
-
import { a as
|
|
5
|
-
import { C as
|
|
6
|
-
import { A as require__Uint8Array, C as require_isTypedArray, D as require__isIndex, E as require_isLength, O as require_isBuffer, S as require__arrayLikeKeys, T as require__baseUnary, _ as require__baseFor, a as require__overRest, b as require__overArg, c as require__copyObject, d as require__initCloneObject, f as require__getPrototype, g as require__cloneBuffer, h as require__cloneArrayBuffer, i as require__setToString, j as require__Stack, k as require_isArguments$1, l as require__assignValue, m as require__cloneTypedArray, o as require_identity, p as require__copyArray, s as require_keysIn, t as require_merge, v as require__baseAssignValue, w as require__nodeUtil, x as require__isPrototype, y as require_isArrayLike } from "./merge-k8vSyyXH.js";
|
|
1
|
+
import { a as __toCommonJS, n as __esmMin, o as __toESM, r as __export, t as __commonJSMin } from "./chunk-r2Y0G7H8.js";
|
|
2
|
+
import { a as require__getNative, c as require_isObject, d as require__Symbol, f as require__root, i as require_eq, l as require_isObjectLike, m as require_isArray, n as require__Map, o as require__toSource, t as require__MapCache, u as require__baseGetTag } from "./_MapCache-DkLivSSb.js";
|
|
3
|
+
import { a as require__toKey, i as require__baseGet, o as require__castPath, r as require_get, s as require_toString, u as require__isKey, w as require_lib$1 } from "./truncate-BrM_9cme.js";
|
|
4
|
+
import { _ as require_es_object_atoms, a as require_hasown, b as require___vite_browser_external, c as require_actualApply, f as require_shams$1, h as require_syntax, i as require_get_intrinsic, l as require_functionApply, m as require_gopd, n as init_empty, o as require_get_proto, p as require_es_define_property, r as require_call_bound, s as require_call_bind_apply_helpers, t as empty_exports, u as require_function_bind, v as require_type, y as require_path_browserify } from "./empty-nq5-pHAR.js";
|
|
5
|
+
import { A as require__Uint8Array, C as require_isTypedArray, D as require__isIndex, E as require_isLength, O as require_isBuffer, S as require__arrayLikeKeys, T as require__baseUnary, _ as require__baseFor, a as require__overRest, b as require__overArg, c as require__copyObject, d as require__initCloneObject, f as require__getPrototype, g as require__cloneBuffer, h as require__cloneArrayBuffer, i as require__setToString, j as require__Stack, k as require_isArguments$1, l as require__assignValue, m as require__cloneTypedArray, o as require_identity, p as require__copyArray, s as require_keysIn, t as require_merge, v as require__baseAssignValue, w as require__nodeUtil, x as require__isPrototype, y as require_isArrayLike } from "./merge-B0-p153C.js";
|
|
7
6
|
let WORKFLOW_MENU_ACTIONS = /* @__PURE__ */ function(WORKFLOW_MENU_ACTIONS$1) {
|
|
8
7
|
WORKFLOW_MENU_ACTIONS$1["DUPLICATE"] = "duplicate";
|
|
9
8
|
WORKFLOW_MENU_ACTIONS$1["DOWNLOAD"] = "download";
|
|
@@ -80,6 +79,7 @@ const TIME = {
|
|
|
80
79
|
const THREE_DAYS_IN_MILLIS = 3 * TIME.DAY;
|
|
81
80
|
const SEVEN_DAYS_IN_MILLIS = 7 * TIME.DAY;
|
|
82
81
|
const SIX_MONTHS_IN_MILLIS = 180 * TIME.DAY;
|
|
82
|
+
const LOADING_ANIMATION_MIN_DURATION = 1e3;
|
|
83
83
|
const EnterpriseEditionFeature = {
|
|
84
84
|
AdvancedExecutionFilters: "advancedExecutionFilters",
|
|
85
85
|
Sharing: "sharing",
|
|
@@ -98,99 +98,66 @@ const EnterpriseEditionFeature = {
|
|
|
98
98
|
ApiKeyScopes: "apiKeyScopes",
|
|
99
99
|
Provisioning: "provisioning"
|
|
100
100
|
};
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
const
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
variant: "variant"
|
|
115
|
-
};
|
|
116
|
-
const EXTRA_TEMPLATE_LINKS_EXPERIMENT = {
|
|
117
|
-
name: "034_extra_template_links",
|
|
118
|
-
control: "control",
|
|
119
|
-
variant: "variant"
|
|
120
|
-
};
|
|
121
|
-
const TEMPLATE_ONBOARDING_EXPERIMENT = {
|
|
122
|
-
name: "035_template_onboarding",
|
|
101
|
+
function createExperiment(name, variants) {
|
|
102
|
+
return {
|
|
103
|
+
name,
|
|
104
|
+
...variants ?? {
|
|
105
|
+
control: "control",
|
|
106
|
+
variant: "variant"
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
const CANVAS_ZOOMED_VIEW_EXPERIMENT = createExperiment("canvas_zoomed_view");
|
|
111
|
+
const NDV_IN_FOCUS_PANEL_EXPERIMENT = createExperiment("ndv_in_focus_panel");
|
|
112
|
+
const EXTRA_TEMPLATE_LINKS_EXPERIMENT = createExperiment("034_extra_template_links");
|
|
113
|
+
const TEMPLATE_ONBOARDING_EXPERIMENT = createExperiment("035_template_onboarding", {
|
|
123
114
|
control: "control",
|
|
124
115
|
variantStarterPack: "variant-starter-pack",
|
|
125
116
|
variantSuggestedTemplates: "variant-suggested-templates"
|
|
126
|
-
};
|
|
127
|
-
const BATCH_11AUG_EXPERIMENT = {
|
|
128
|
-
name: "37_onboarding_experiments_batch_aug11",
|
|
117
|
+
});
|
|
118
|
+
const BATCH_11AUG_EXPERIMENT = createExperiment("37_onboarding_experiments_batch_aug11", {
|
|
129
119
|
control: "control",
|
|
130
120
|
variantReadyToRun: "variant-ready-to-run-workflows",
|
|
131
121
|
variantReadyToRun2: "variant-ready-to-run-workflows_v2",
|
|
132
122
|
variantReadyToRun3: "variant-ready-to-run-workflows_v3"
|
|
133
|
-
};
|
|
134
|
-
const
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
variant: "variant"
|
|
138
|
-
};
|
|
139
|
-
const TEMPLATE_RECO_V2 = {
|
|
140
|
-
name: "039_template_onboarding_v2",
|
|
141
|
-
control: "control",
|
|
142
|
-
variant: "variant"
|
|
143
|
-
};
|
|
144
|
-
const UPGRADE_PLAN_CTA_EXPERIMENT = {
|
|
145
|
-
name: "054_upgrade_plan_cta",
|
|
146
|
-
control: "control",
|
|
147
|
-
variant: "variant"
|
|
148
|
-
};
|
|
149
|
-
const TEMPLATES_DATA_QUALITY_EXPERIMENT = {
|
|
150
|
-
name: "046_templates_data_quality",
|
|
123
|
+
});
|
|
124
|
+
const TEMPLATE_RECO_V2 = createExperiment("039_template_onboarding_v2");
|
|
125
|
+
const UPGRADE_PLAN_CTA_EXPERIMENT = createExperiment("054_upgrade_plan_cta");
|
|
126
|
+
const TEMPLATES_DATA_QUALITY_EXPERIMENT = createExperiment("046_templates_data_quality", {
|
|
151
127
|
control: "control",
|
|
152
128
|
variant1: "variant-batch-1",
|
|
153
129
|
variant2: "variant-batch-2",
|
|
154
130
|
variant3: "variant-batch-3"
|
|
155
|
-
};
|
|
156
|
-
|
|
157
|
-
|
|
131
|
+
});
|
|
132
|
+
createExperiment("042_ready-to-run-worfklow_v2", {
|
|
133
|
+
control: "control",
|
|
134
|
+
variant1: "variant-1-singlebox",
|
|
135
|
+
variant2: "variant-2-twoboxes"
|
|
136
|
+
});
|
|
137
|
+
const READY_TO_RUN_V2_P3_EXPERIMENT = createExperiment("059_ready-to-run-worfklow_v2-3", {
|
|
158
138
|
control: "control",
|
|
159
139
|
variant5: "variant-5",
|
|
160
140
|
variant6: "variant-6"
|
|
161
|
-
};
|
|
162
|
-
const PERSONALIZED_TEMPLATES_V3 =
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
const
|
|
168
|
-
name: "055_template_setup_experience",
|
|
169
|
-
control: "control",
|
|
170
|
-
variant: "variant"
|
|
171
|
-
};
|
|
172
|
-
const AI_BUILDER_TEMPLATE_EXAMPLES_EXPERIMENT = {
|
|
173
|
-
name: "056_ai_builder_template_examples",
|
|
174
|
-
control: "control",
|
|
175
|
-
variant: "variant"
|
|
176
|
-
};
|
|
177
|
-
const AI_BUILDER_MULTI_AGENT_EXPERIMENT = {
|
|
178
|
-
name: "057_ai_builder_multi_agent",
|
|
179
|
-
control: "control",
|
|
180
|
-
variant: "variant"
|
|
181
|
-
};
|
|
141
|
+
});
|
|
142
|
+
const PERSONALIZED_TEMPLATES_V3 = createExperiment("044_template_reco_v3");
|
|
143
|
+
const COLLECTION_OVERHAUL_EXPERIMENT = createExperiment("048_collection_overhaul");
|
|
144
|
+
const TEMPLATE_SETUP_EXPERIENCE = createExperiment("055_template_setup_experience");
|
|
145
|
+
const AI_BUILDER_TEMPLATE_EXAMPLES_EXPERIMENT = createExperiment("056_ai_builder_template_examples");
|
|
146
|
+
const AI_BUILDER_MULTI_AGENT_EXPERIMENT = createExperiment("057_ai_builder_multi_agent");
|
|
147
|
+
const TAMPER_PROOF_INVITE_LINKS = createExperiment("061_tamper_proof_invite_links");
|
|
182
148
|
const EXPERIMENTS_TO_TRACK = [
|
|
183
149
|
EXTRA_TEMPLATE_LINKS_EXPERIMENT.name,
|
|
184
150
|
TEMPLATE_ONBOARDING_EXPERIMENT.name,
|
|
185
151
|
BATCH_11AUG_EXPERIMENT.name,
|
|
186
|
-
PRE_BUILT_AGENTS_EXPERIMENT.name,
|
|
187
152
|
TEMPLATE_RECO_V2.name,
|
|
188
153
|
TEMPLATES_DATA_QUALITY_EXPERIMENT.name,
|
|
189
154
|
READY_TO_RUN_V2_P3_EXPERIMENT.name,
|
|
190
155
|
UPGRADE_PLAN_CTA_EXPERIMENT.name,
|
|
191
156
|
AI_BUILDER_TEMPLATE_EXAMPLES_EXPERIMENT.name,
|
|
192
157
|
AI_BUILDER_MULTI_AGENT_EXPERIMENT.name,
|
|
193
|
-
TEMPLATE_SETUP_EXPERIENCE.name
|
|
158
|
+
TEMPLATE_SETUP_EXPERIENCE.name,
|
|
159
|
+
COLLECTION_OVERHAUL_EXPERIMENT.name,
|
|
160
|
+
TAMPER_PROOF_INVITE_LINKS.name
|
|
194
161
|
];
|
|
195
162
|
const CanvasKey = "canvas";
|
|
196
163
|
const CanvasNodeKey = "canvasNode";
|
|
@@ -257,7 +224,6 @@ const STOP_MANY_EXECUTIONS_MODAL_KEY = "stopManyExecutions";
|
|
|
257
224
|
const WORKFLOW_EXTRACTION_NAME_MODAL_KEY = "workflowExtractionName";
|
|
258
225
|
const WHATS_NEW_MODAL_KEY = "whatsNew";
|
|
259
226
|
const WORKFLOW_DIFF_MODAL_KEY = "workflowDiff";
|
|
260
|
-
const PRE_BUILT_AGENTS_MODAL_KEY = "preBuiltAgents";
|
|
261
227
|
const EXPERIMENT_TEMPLATE_RECO_V2_KEY = "templateRecoV2";
|
|
262
228
|
const EXPERIMENT_TEMPLATE_RECO_V3_KEY = "templateRecoV3";
|
|
263
229
|
const EXPERIMENT_TEMPLATES_DATA_QUALITY_KEY = "templatesDataQuality";
|
|
@@ -327,7 +293,6 @@ let VIEWS = /* @__PURE__ */ function(VIEWS$1) {
|
|
|
327
293
|
VIEWS$1["SHARED_CREDENTIALS"] = "SharedCredentials";
|
|
328
294
|
VIEWS$1["ENTITY_NOT_FOUND"] = "EntityNotFound";
|
|
329
295
|
VIEWS$1["ENTITY_UNAUTHORIZED"] = "EntityUnAuthorized";
|
|
330
|
-
VIEWS$1["PRE_BUILT_AGENT_TEMPLATES"] = "PreBuiltAgentTemplates";
|
|
331
296
|
VIEWS$1["OAUTH_CONSENT"] = "OAuthConsent";
|
|
332
297
|
VIEWS$1["MIGRATION_REPORT"] = "MigrationReport";
|
|
333
298
|
VIEWS$1["MIGRATION_RULE_REPORT"] = "MigrationRuleReport";
|
|
@@ -616,8 +581,8 @@ function getErrorMap$1() {
|
|
|
616
581
|
return overrideErrorMap;
|
|
617
582
|
}
|
|
618
583
|
const makeIssue = (params) => {
|
|
619
|
-
const { data, path, errorMaps, issueData } = params;
|
|
620
|
-
const fullPath = [...path, ...issueData.path || []];
|
|
584
|
+
const { data, path: path$1, errorMaps, issueData } = params;
|
|
585
|
+
const fullPath = [...path$1, ...issueData.path || []];
|
|
621
586
|
const fullIssue = {
|
|
622
587
|
...issueData,
|
|
623
588
|
path: fullPath
|
|
@@ -723,11 +688,11 @@ var errorUtil;
|
|
|
723
688
|
errorUtil$1.toString = (message) => typeof message === "string" ? message : message?.message;
|
|
724
689
|
})(errorUtil || (errorUtil = {}));
|
|
725
690
|
var ParseInputLazyPath = class {
|
|
726
|
-
constructor(parent, value, path, key) {
|
|
691
|
+
constructor(parent, value, path$1, key) {
|
|
727
692
|
this._cachedPath = [];
|
|
728
693
|
this.parent = parent;
|
|
729
694
|
this.data = value;
|
|
730
|
-
this._path = path;
|
|
695
|
+
this._path = path$1;
|
|
731
696
|
this._key = key;
|
|
732
697
|
}
|
|
733
698
|
get path() {
|
|
@@ -3870,7 +3835,7 @@ ZodPromise$1.create;
|
|
|
3870
3835
|
ZodEffects.create;
|
|
3871
3836
|
ZodOptional$1.create;
|
|
3872
3837
|
ZodNullable$1.create;
|
|
3873
|
-
ZodEffects.createWithPreprocess;
|
|
3838
|
+
var preprocessType = ZodEffects.createWithPreprocess;
|
|
3874
3839
|
ZodPipeline.create;
|
|
3875
3840
|
const coerce = {
|
|
3876
3841
|
string: ((arg) => ZodString$1.create({
|
|
@@ -3912,6 +3877,7 @@ var schemaValidator = lazyType(() => objectType({
|
|
|
3912
3877
|
value: unionType([stringType(), lazyType(() => schemaValidator.array())]),
|
|
3913
3878
|
path: stringType()
|
|
3914
3879
|
}));
|
|
3880
|
+
stringType().uuid().optional(), stringType().uuid().optional(), stringType().optional();
|
|
3915
3881
|
const credentialResolverIdSchema = stringType().max(36);
|
|
3916
3882
|
const credentialResolverNameSchema = stringType().trim().min(1).max(255);
|
|
3917
3883
|
const credentialResolverTypeNameSchema = stringType().trim().min(1).max(255);
|
|
@@ -3981,6 +3947,7 @@ const RESOURCES = {
|
|
|
3981
3947
|
"resetPassword",
|
|
3982
3948
|
"changeRole",
|
|
3983
3949
|
"enforceMfa",
|
|
3950
|
+
"generateInviteLink",
|
|
3984
3951
|
...DEFAULT_OPERATIONS
|
|
3985
3952
|
],
|
|
3986
3953
|
variable: [...DEFAULT_OPERATIONS],
|
|
@@ -4140,6 +4107,7 @@ const GLOBAL_OWNER_SCOPES = [
|
|
|
4140
4107
|
"user:delete",
|
|
4141
4108
|
"user:list",
|
|
4142
4109
|
"user:resetPassword",
|
|
4110
|
+
"user:generateInviteLink",
|
|
4143
4111
|
"user:changeRole",
|
|
4144
4112
|
"user:enforceMfa",
|
|
4145
4113
|
"variable:create",
|
|
@@ -4626,6 +4594,32 @@ stringType().min(1, "key must be at least 1 character long").max(50, "key cannot
|
|
|
4626
4594
|
stringType().max(VALUE_MAX_LENGTH, `value cannot be longer than ${VALUE_MAX_LENGTH} characters`);
|
|
4627
4595
|
enumType(TYPE_ENUM).default(TYPE_DEFAULT);
|
|
4628
4596
|
enumType(["true", "false"]).transform((value) => value === "true");
|
|
4597
|
+
stringType().min(1, { message: "Workflow name is required" }).max(128, { message: `Workflow name must be 128 characters or less` });
|
|
4598
|
+
const workflowDescriptionSchema = stringType().nullable();
|
|
4599
|
+
custom$2((val) => Array.isArray(val), { message: "Nodes must be an array" });
|
|
4600
|
+
custom$2((val) => typeof val === "object" && val !== null && !Array.isArray(val), { message: "Connections must be an object" });
|
|
4601
|
+
const workflowSettingsSchema = custom$2((val) => val === null || typeof val === "object" && val !== null && !Array.isArray(val), { message: "Settings must be an object or null" });
|
|
4602
|
+
const workflowStaticDataSchema = preprocessType((val) => {
|
|
4603
|
+
if (typeof val === "string") try {
|
|
4604
|
+
return JSON.parse(val);
|
|
4605
|
+
} catch {
|
|
4606
|
+
throw new Error("Static data string must be valid JSON");
|
|
4607
|
+
}
|
|
4608
|
+
return val;
|
|
4609
|
+
}, custom$2((val) => val === null || typeof val === "object" && val !== null && !Array.isArray(val), { message: "Static data must be an object or null" }));
|
|
4610
|
+
const workflowPinDataSchema = custom$2((val) => val === null || typeof val === "object" && val !== null && !Array.isArray(val), { message: "Pin data must be an object or null" });
|
|
4611
|
+
const workflowMetaSchema = recordType(stringType(), unknownType()).nullable();
|
|
4612
|
+
workflowDescriptionSchema.optional(), workflowSettingsSchema.optional(), workflowStaticDataSchema.optional(), workflowMetaSchema.optional(), workflowPinDataSchema.optional(), stringType().optional(), stringType().optional(), objectType({
|
|
4613
|
+
id: stringType(),
|
|
4614
|
+
name: stringType()
|
|
4615
|
+
}).nullable().optional(), unionType([arrayType(stringType()), arrayType(objectType({
|
|
4616
|
+
id: stringType(),
|
|
4617
|
+
name: stringType()
|
|
4618
|
+
}))]).transform((val) => {
|
|
4619
|
+
if (val.length > 0 && typeof val[0] === "object" && "id" in val[0]) return val.map((tag) => tag.id);
|
|
4620
|
+
return val;
|
|
4621
|
+
}).optional(), stringType().optional(), booleanType().optional(), stringType().optional(), booleanType().optional();
|
|
4622
|
+
stringType();
|
|
4629
4623
|
const WORKFLOW_VERSION_NAME_MAX_LENGTH = 128;
|
|
4630
4624
|
const WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH = 2048;
|
|
4631
4625
|
stringType().max(128, { message: `Version name cannot be longer than 128 characters` }).optional();
|
|
@@ -4681,7 +4675,7 @@ var require_callsites = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4681
4675
|
}));
|
|
4682
4676
|
var import_callsites$1 = /* @__PURE__ */ __toESM(require_callsites());
|
|
4683
4677
|
var ApplicationError = class extends Error {
|
|
4684
|
-
constructor(message, { level, tags = {}, extra
|
|
4678
|
+
constructor(message, { level, tags = {}, extra, ...rest } = {}) {
|
|
4685
4679
|
super(message, rest);
|
|
4686
4680
|
this.level = level ?? "error";
|
|
4687
4681
|
this.tags = tags;
|
|
@@ -5489,7 +5483,7 @@ function getCachedINF(locString, opts = {}) {
|
|
|
5489
5483
|
}
|
|
5490
5484
|
var intlRelCache = {};
|
|
5491
5485
|
function getCachedRTF(locString, opts = {}) {
|
|
5492
|
-
const { base
|
|
5486
|
+
const { base, ...cacheKeyOpts } = opts;
|
|
5493
5487
|
const key = JSON.stringify([locString, cacheKeyOpts]);
|
|
5494
5488
|
let inf = intlRelCache[key];
|
|
5495
5489
|
if (!inf) {
|
|
@@ -5578,7 +5572,7 @@ var PolyNumberFormatter = class {
|
|
|
5578
5572
|
constructor(intl, forceSimple, opts) {
|
|
5579
5573
|
this.padTo = opts.padTo || 0;
|
|
5580
5574
|
this.floor = opts.floor || false;
|
|
5581
|
-
const { padTo, floor: floor$1
|
|
5575
|
+
const { padTo, floor: floor$1, ...otherOpts } = opts;
|
|
5582
5576
|
if (!forceSimple || Object.keys(otherOpts).length > 0) {
|
|
5583
5577
|
const intlOpts = {
|
|
5584
5578
|
useGrouping: false,
|
|
@@ -8967,7 +8961,7 @@ var BaseError = class extends Error {
|
|
|
8967
8961
|
tags;
|
|
8968
8962
|
extra;
|
|
8969
8963
|
packageName;
|
|
8970
|
-
constructor(message, { level = "error", description, shouldReport, tags = {}, extra
|
|
8964
|
+
constructor(message, { level = "error", description, shouldReport, tags = {}, extra, ...rest } = {}) {
|
|
8971
8965
|
super(message, rest);
|
|
8972
8966
|
this.level = level;
|
|
8973
8967
|
this.shouldReport = shouldReport ?? (level === "error" || level === "fatal");
|
|
@@ -10760,15 +10754,15 @@ var require_XMLNode = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
10760
10754
|
}));
|
|
10761
10755
|
var require_XMLStringifier = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10762
10756
|
(function() {
|
|
10763
|
-
var bind$
|
|
10757
|
+
var bind$1 = function(fn$1, me) {
|
|
10764
10758
|
return function() {
|
|
10765
10759
|
return fn$1.apply(me, arguments);
|
|
10766
10760
|
};
|
|
10767
10761
|
}, hasProp = {}.hasOwnProperty;
|
|
10768
10762
|
module.exports = (function() {
|
|
10769
10763
|
function XMLStringifier(options) {
|
|
10770
|
-
this.assertLegalName = bind$
|
|
10771
|
-
this.assertLegalChar = bind$
|
|
10764
|
+
this.assertLegalName = bind$1(this.assertLegalName, this);
|
|
10765
|
+
this.assertLegalChar = bind$1(this.assertLegalChar, this);
|
|
10772
10766
|
var key, ref, value;
|
|
10773
10767
|
options || (options = {});
|
|
10774
10768
|
this.options = options;
|
|
@@ -12029,6 +12023,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
12029
12023
|
}));
|
|
12030
12024
|
var require_builder = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
12031
12025
|
(function() {
|
|
12026
|
+
"use strict";
|
|
12032
12027
|
var builder, defaults$1, escapeCDATA, requiresCDATA, wrapCDATA, hasProp = {}.hasOwnProperty;
|
|
12033
12028
|
builder = require_lib();
|
|
12034
12029
|
defaults$1 = require_defaults().defaults;
|
|
@@ -12514,7 +12509,6 @@ var require_base64_js = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
12514
12509
|
}
|
|
12515
12510
|
}));
|
|
12516
12511
|
var require_ieee754 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
12517
|
-
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
12518
12512
|
exports.read = function(buffer$1, offset$1, isLE, mLen, nBytes) {
|
|
12519
12513
|
var e$1, m$1;
|
|
12520
12514
|
var eLen = nBytes * 8 - mLen - 1;
|
|
@@ -13647,23 +13641,23 @@ var require_shams = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
13647
13641
|
};
|
|
13648
13642
|
}));
|
|
13649
13643
|
var require_define_data_property = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13650
|
-
var $defineProperty$
|
|
13644
|
+
var $defineProperty$2 = require_es_define_property();
|
|
13651
13645
|
var $SyntaxError = require_syntax();
|
|
13652
|
-
var $TypeError$
|
|
13646
|
+
var $TypeError$2 = require_type();
|
|
13653
13647
|
var gopd = require_gopd();
|
|
13654
13648
|
module.exports = function defineDataProperty$1(obj, property$2, value) {
|
|
13655
|
-
if (!obj || typeof obj !== "object" && typeof obj !== "function") throw new $TypeError$
|
|
13656
|
-
if (typeof property$2 !== "string" && typeof property$2 !== "symbol") throw new $TypeError$
|
|
13657
|
-
if (arguments.length > 3 && typeof arguments[3] !== "boolean" && arguments[3] !== null) throw new $TypeError$
|
|
13658
|
-
if (arguments.length > 4 && typeof arguments[4] !== "boolean" && arguments[4] !== null) throw new $TypeError$
|
|
13659
|
-
if (arguments.length > 5 && typeof arguments[5] !== "boolean" && arguments[5] !== null) throw new $TypeError$
|
|
13660
|
-
if (arguments.length > 6 && typeof arguments[6] !== "boolean") throw new $TypeError$
|
|
13649
|
+
if (!obj || typeof obj !== "object" && typeof obj !== "function") throw new $TypeError$2("`obj` must be an object or a function`");
|
|
13650
|
+
if (typeof property$2 !== "string" && typeof property$2 !== "symbol") throw new $TypeError$2("`property` must be a string or a symbol`");
|
|
13651
|
+
if (arguments.length > 3 && typeof arguments[3] !== "boolean" && arguments[3] !== null) throw new $TypeError$2("`nonEnumerable`, if provided, must be a boolean or null");
|
|
13652
|
+
if (arguments.length > 4 && typeof arguments[4] !== "boolean" && arguments[4] !== null) throw new $TypeError$2("`nonWritable`, if provided, must be a boolean or null");
|
|
13653
|
+
if (arguments.length > 5 && typeof arguments[5] !== "boolean" && arguments[5] !== null) throw new $TypeError$2("`nonConfigurable`, if provided, must be a boolean or null");
|
|
13654
|
+
if (arguments.length > 6 && typeof arguments[6] !== "boolean") throw new $TypeError$2("`loose`, if provided, must be a boolean");
|
|
13661
13655
|
var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
|
|
13662
13656
|
var nonWritable = arguments.length > 4 ? arguments[4] : null;
|
|
13663
13657
|
var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
|
|
13664
13658
|
var loose = arguments.length > 6 ? arguments[6] : false;
|
|
13665
13659
|
var desc = !!gopd && gopd(obj, property$2);
|
|
13666
|
-
if ($defineProperty$
|
|
13660
|
+
if ($defineProperty$2) $defineProperty$2(obj, property$2, {
|
|
13667
13661
|
configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
|
|
13668
13662
|
enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
|
|
13669
13663
|
value,
|
|
@@ -13674,14 +13668,14 @@ var require_define_data_property = /* @__PURE__ */ __commonJSMin(((exports, modu
|
|
|
13674
13668
|
};
|
|
13675
13669
|
}));
|
|
13676
13670
|
var require_has_property_descriptors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13677
|
-
var $defineProperty$
|
|
13671
|
+
var $defineProperty$1 = require_es_define_property();
|
|
13678
13672
|
var hasPropertyDescriptors = function hasPropertyDescriptors$1() {
|
|
13679
|
-
return !!$defineProperty$
|
|
13673
|
+
return !!$defineProperty$1;
|
|
13680
13674
|
};
|
|
13681
13675
|
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
13682
|
-
if (!$defineProperty$
|
|
13676
|
+
if (!$defineProperty$1) return null;
|
|
13683
13677
|
try {
|
|
13684
|
-
return $defineProperty$
|
|
13678
|
+
return $defineProperty$1([], "length", { value: 1 }).length !== 1;
|
|
13685
13679
|
} catch (e$1) {
|
|
13686
13680
|
return true;
|
|
13687
13681
|
}
|
|
@@ -13689,15 +13683,15 @@ var require_has_property_descriptors = /* @__PURE__ */ __commonJSMin(((exports,
|
|
|
13689
13683
|
module.exports = hasPropertyDescriptors;
|
|
13690
13684
|
}));
|
|
13691
13685
|
var require_set_function_length = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13692
|
-
var GetIntrinsic$
|
|
13686
|
+
var GetIntrinsic$1 = require_get_intrinsic();
|
|
13693
13687
|
var define$5 = require_define_data_property();
|
|
13694
13688
|
var hasDescriptors = require_has_property_descriptors()();
|
|
13695
13689
|
var gOPD$2 = require_gopd();
|
|
13696
|
-
var $TypeError$
|
|
13697
|
-
var $floor = GetIntrinsic$
|
|
13698
|
-
module.exports = function setFunctionLength$
|
|
13699
|
-
if (typeof fn$1 !== "function") throw new $TypeError$
|
|
13700
|
-
if (typeof length$1 !== "number" || length$1 < 0 || length$1 > 4294967295 || $floor(length$1) !== length$1) throw new $TypeError$
|
|
13690
|
+
var $TypeError$1 = require_type();
|
|
13691
|
+
var $floor = GetIntrinsic$1("%Math.floor%");
|
|
13692
|
+
module.exports = function setFunctionLength$1(fn$1, length$1) {
|
|
13693
|
+
if (typeof fn$1 !== "function") throw new $TypeError$1("`fn` is not a function");
|
|
13694
|
+
if (typeof length$1 !== "number" || length$1 < 0 || length$1 > 4294967295 || $floor(length$1) !== length$1) throw new $TypeError$1("`length` must be a positive 32-bit integer");
|
|
13701
13695
|
var loose = arguments.length > 2 && !!arguments[2];
|
|
13702
13696
|
var functionLengthIsConfigurable = true;
|
|
13703
13697
|
var functionLengthIsWritable = true;
|
|
@@ -13712,39 +13706,39 @@ var require_set_function_length = /* @__PURE__ */ __commonJSMin(((exports, modul
|
|
|
13712
13706
|
};
|
|
13713
13707
|
}));
|
|
13714
13708
|
var require_applyBind = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13715
|
-
var bind
|
|
13716
|
-
var $apply
|
|
13709
|
+
var bind = require_function_bind();
|
|
13710
|
+
var $apply = require_functionApply();
|
|
13717
13711
|
var actualApply = require_actualApply();
|
|
13718
|
-
module.exports = function applyBind$
|
|
13719
|
-
return actualApply(bind
|
|
13712
|
+
module.exports = function applyBind$1() {
|
|
13713
|
+
return actualApply(bind, $apply, arguments);
|
|
13720
13714
|
};
|
|
13721
13715
|
}));
|
|
13722
|
-
var require_call_bind
|
|
13723
|
-
var setFunctionLength
|
|
13724
|
-
var $defineProperty
|
|
13716
|
+
var require_call_bind = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13717
|
+
var setFunctionLength = require_set_function_length();
|
|
13718
|
+
var $defineProperty = require_es_define_property();
|
|
13725
13719
|
var callBindBasic = require_call_bind_apply_helpers();
|
|
13726
|
-
var applyBind
|
|
13727
|
-
module.exports = function callBind$
|
|
13720
|
+
var applyBind = require_applyBind();
|
|
13721
|
+
module.exports = function callBind$4(originalFunction) {
|
|
13728
13722
|
var func = callBindBasic(arguments);
|
|
13729
13723
|
var adjustedLength = originalFunction.length - (arguments.length - 1);
|
|
13730
|
-
return setFunctionLength
|
|
13724
|
+
return setFunctionLength(func, 1 + (adjustedLength > 0 ? adjustedLength : 0), true);
|
|
13731
13725
|
};
|
|
13732
|
-
if ($defineProperty
|
|
13733
|
-
else module.exports.apply = applyBind
|
|
13726
|
+
if ($defineProperty) $defineProperty(module.exports, "apply", { value: applyBind });
|
|
13727
|
+
else module.exports.apply = applyBind;
|
|
13734
13728
|
}));
|
|
13735
|
-
var require_callBound
|
|
13736
|
-
var GetIntrinsic
|
|
13737
|
-
var callBind$
|
|
13738
|
-
var $indexOf$
|
|
13729
|
+
var require_callBound = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13730
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
13731
|
+
var callBind$3 = require_call_bind();
|
|
13732
|
+
var $indexOf$1 = callBind$3(GetIntrinsic("String.prototype.indexOf"));
|
|
13739
13733
|
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
13740
|
-
var intrinsic = GetIntrinsic
|
|
13741
|
-
if (typeof intrinsic === "function" && $indexOf$
|
|
13734
|
+
var intrinsic = GetIntrinsic(name, !!allowMissing);
|
|
13735
|
+
if (typeof intrinsic === "function" && $indexOf$1(name, ".prototype.") > -1) return callBind$3(intrinsic);
|
|
13742
13736
|
return intrinsic;
|
|
13743
13737
|
};
|
|
13744
13738
|
}));
|
|
13745
13739
|
var require_is_arguments = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13746
13740
|
var hasToStringTag$4 = require_shams()();
|
|
13747
|
-
var $toString$2 = require_callBound
|
|
13741
|
+
var $toString$2 = require_callBound()("Object.prototype.toString");
|
|
13748
13742
|
var isStandardArguments = function isArguments$2(value) {
|
|
13749
13743
|
if (hasToStringTag$4 && value && typeof value === "object" && Symbol.toStringTag in value) return false;
|
|
13750
13744
|
return $toString$2(value) === "[object Arguments]";
|
|
@@ -13800,9 +13794,9 @@ var require_safe_regex_test = /* @__PURE__ */ __commonJSMin(((exports, module) =
|
|
|
13800
13794
|
var callBound$3 = require_call_bound();
|
|
13801
13795
|
var isRegex = require_is_regex();
|
|
13802
13796
|
var $exec = callBound$3("RegExp.prototype.exec");
|
|
13803
|
-
var $TypeError
|
|
13797
|
+
var $TypeError = require_type();
|
|
13804
13798
|
module.exports = function regexTester(regex) {
|
|
13805
|
-
if (!isRegex(regex)) throw new $TypeError
|
|
13799
|
+
if (!isRegex(regex)) throw new $TypeError("`regex` must be a RegExp");
|
|
13806
13800
|
return function test(s$2) {
|
|
13807
13801
|
return $exec(regex, s$2) !== null;
|
|
13808
13802
|
};
|
|
@@ -13957,7 +13951,6 @@ var require_possible_typed_array_names = /* @__PURE__ */ __commonJSMin(((exports
|
|
|
13957
13951
|
];
|
|
13958
13952
|
}));
|
|
13959
13953
|
var require_available_typed_arrays = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13960
|
-
init_dist();
|
|
13961
13954
|
var possibleNames = require_possible_typed_array_names();
|
|
13962
13955
|
var g$2 = typeof globalThis === "undefined" ? global : globalThis;
|
|
13963
13956
|
module.exports = function availableTypedArrays$1() {
|
|
@@ -13967,10 +13960,9 @@ var require_available_typed_arrays = /* @__PURE__ */ __commonJSMin(((exports, mo
|
|
|
13967
13960
|
};
|
|
13968
13961
|
}));
|
|
13969
13962
|
var require_which_typed_array = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13970
|
-
init_dist();
|
|
13971
13963
|
var forEach = require_for_each();
|
|
13972
13964
|
var availableTypedArrays = require_available_typed_arrays();
|
|
13973
|
-
var callBind$
|
|
13965
|
+
var callBind$2 = require_call_bind();
|
|
13974
13966
|
var callBound$1 = require_call_bound();
|
|
13975
13967
|
var gOPD = require_gopd();
|
|
13976
13968
|
var getProto = require_get_proto();
|
|
@@ -13979,7 +13971,7 @@ var require_which_typed_array = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
13979
13971
|
var g$1 = typeof globalThis === "undefined" ? global : globalThis;
|
|
13980
13972
|
var typedArrays = availableTypedArrays();
|
|
13981
13973
|
var $slice = callBound$1("String.prototype.slice");
|
|
13982
|
-
var $indexOf
|
|
13974
|
+
var $indexOf = callBound$1("Array.prototype.indexOf", true) || function indexOf$1(array$1, value) {
|
|
13983
13975
|
for (var i$2 = 0; i$2 < array$1.length; i$2 += 1) if (array$1[i$2] === value) return i$2;
|
|
13984
13976
|
return -1;
|
|
13985
13977
|
};
|
|
@@ -13990,13 +13982,13 @@ var require_which_typed_array = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
13990
13982
|
var proto = getProto(arr);
|
|
13991
13983
|
var descriptor = gOPD(proto, Symbol.toStringTag);
|
|
13992
13984
|
if (!descriptor && proto) descriptor = gOPD(getProto(proto), Symbol.toStringTag);
|
|
13993
|
-
cache["$" + typedArray] = callBind$
|
|
13985
|
+
cache["$" + typedArray] = callBind$2(descriptor.get);
|
|
13994
13986
|
}
|
|
13995
13987
|
});
|
|
13996
13988
|
else forEach(typedArrays, function(typedArray) {
|
|
13997
13989
|
var arr = new g$1[typedArray]();
|
|
13998
13990
|
var fn$1 = arr.slice || arr.set;
|
|
13999
|
-
if (fn$1) cache["$" + typedArray] = callBind$
|
|
13991
|
+
if (fn$1) cache["$" + typedArray] = callBind$2(fn$1);
|
|
14000
13992
|
});
|
|
14001
13993
|
var tryTypedArrays = function tryAllTypedArrays(value) {
|
|
14002
13994
|
var found = false;
|
|
@@ -14021,7 +14013,7 @@ var require_which_typed_array = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
14021
14013
|
if (!value || typeof value !== "object") return false;
|
|
14022
14014
|
if (!hasToStringTag) {
|
|
14023
14015
|
var tag = $slice($toString(value), 8, -1);
|
|
14024
|
-
if ($indexOf
|
|
14016
|
+
if ($indexOf(typedArrays, tag) > -1) return tag;
|
|
14025
14017
|
if (tag !== "Object") return false;
|
|
14026
14018
|
return trySlices(value);
|
|
14027
14019
|
}
|
|
@@ -14246,7 +14238,6 @@ var require_isBufferBrowser = /* @__PURE__ */ __commonJSMin(((exports, module) =
|
|
|
14246
14238
|
};
|
|
14247
14239
|
}));
|
|
14248
14240
|
var require_util$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
14249
|
-
init_dist$1();
|
|
14250
14241
|
var getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors || function getOwnPropertyDescriptors$1(obj) {
|
|
14251
14242
|
var keys$9 = Object.keys(obj);
|
|
14252
14243
|
var descriptors = {};
|
|
@@ -14282,15 +14273,15 @@ var require_util$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
14282
14273
|
return str;
|
|
14283
14274
|
};
|
|
14284
14275
|
exports.deprecate = function(fn$1, msg) {
|
|
14285
|
-
if (typeof process
|
|
14286
|
-
if (typeof process
|
|
14276
|
+
if (typeof process !== "undefined" && process.noDeprecation === true) return fn$1;
|
|
14277
|
+
if (typeof process === "undefined") return function() {
|
|
14287
14278
|
return exports.deprecate(fn$1, msg).apply(this, arguments);
|
|
14288
14279
|
};
|
|
14289
14280
|
var warned$1 = false;
|
|
14290
14281
|
function deprecated() {
|
|
14291
14282
|
if (!warned$1) {
|
|
14292
|
-
if (process
|
|
14293
|
-
else if (process
|
|
14283
|
+
if (process.throwDeprecation) throw new Error(msg);
|
|
14284
|
+
else if (process.traceDeprecation) console.trace(msg);
|
|
14294
14285
|
else console.error(msg);
|
|
14295
14286
|
warned$1 = true;
|
|
14296
14287
|
}
|
|
@@ -14308,7 +14299,7 @@ var require_util$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
14308
14299
|
exports.debuglog = function(set$1) {
|
|
14309
14300
|
set$1 = set$1.toUpperCase();
|
|
14310
14301
|
if (!debugs[set$1]) if (debugEnvRegex.test(set$1)) {
|
|
14311
|
-
var pid = process
|
|
14302
|
+
var pid = process.pid;
|
|
14312
14303
|
debugs[set$1] = function() {
|
|
14313
14304
|
var msg = exports.format.apply(exports, arguments);
|
|
14314
14305
|
console.error("%s %d: %s", set$1, pid, msg);
|
|
@@ -14646,9 +14637,9 @@ var require_util$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
14646
14637
|
return maybeCb.apply(self$1, arguments);
|
|
14647
14638
|
};
|
|
14648
14639
|
original.apply(this, args).then(function(ret) {
|
|
14649
|
-
process
|
|
14640
|
+
process.nextTick(cb.bind(null, null, ret));
|
|
14650
14641
|
}, function(rej) {
|
|
14651
|
-
process
|
|
14642
|
+
process.nextTick(callbackifyOnRejected.bind(null, rej, cb));
|
|
14652
14643
|
});
|
|
14653
14644
|
}
|
|
14654
14645
|
Object.setPrototypeOf(callbackified, Object.getPrototypeOf(original));
|
|
@@ -14883,7 +14874,6 @@ var require_buffer_list = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14883
14874
|
}();
|
|
14884
14875
|
}));
|
|
14885
14876
|
var require_destroy = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14886
|
-
init_dist$1();
|
|
14887
14877
|
function destroy(err, cb) {
|
|
14888
14878
|
var _this = this;
|
|
14889
14879
|
var readableDestroyed = this._readableState && this._readableState.destroyed;
|
|
@@ -14891,10 +14881,10 @@ var require_destroy = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14891
14881
|
if (readableDestroyed || writableDestroyed) {
|
|
14892
14882
|
if (cb) cb(err);
|
|
14893
14883
|
else if (err) {
|
|
14894
|
-
if (!this._writableState) process
|
|
14884
|
+
if (!this._writableState) process.nextTick(emitErrorNT, this, err);
|
|
14895
14885
|
else if (!this._writableState.errorEmitted) {
|
|
14896
14886
|
this._writableState.errorEmitted = true;
|
|
14897
|
-
process
|
|
14887
|
+
process.nextTick(emitErrorNT, this, err);
|
|
14898
14888
|
}
|
|
14899
14889
|
}
|
|
14900
14890
|
return this;
|
|
@@ -14902,15 +14892,15 @@ var require_destroy = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14902
14892
|
if (this._readableState) this._readableState.destroyed = true;
|
|
14903
14893
|
if (this._writableState) this._writableState.destroyed = true;
|
|
14904
14894
|
this._destroy(err || null, function(err$1) {
|
|
14905
|
-
if (!cb && err$1) if (!_this._writableState) process
|
|
14895
|
+
if (!cb && err$1) if (!_this._writableState) process.nextTick(emitErrorAndCloseNT, _this, err$1);
|
|
14906
14896
|
else if (!_this._writableState.errorEmitted) {
|
|
14907
14897
|
_this._writableState.errorEmitted = true;
|
|
14908
|
-
process
|
|
14909
|
-
} else process
|
|
14898
|
+
process.nextTick(emitErrorAndCloseNT, _this, err$1);
|
|
14899
|
+
} else process.nextTick(emitCloseNT, _this);
|
|
14910
14900
|
else if (cb) {
|
|
14911
|
-
process
|
|
14901
|
+
process.nextTick(emitCloseNT, _this);
|
|
14912
14902
|
cb(err$1);
|
|
14913
|
-
} else process
|
|
14903
|
+
} else process.nextTick(emitCloseNT, _this);
|
|
14914
14904
|
});
|
|
14915
14905
|
return this;
|
|
14916
14906
|
}
|
|
@@ -15054,7 +15044,6 @@ var require_state = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15054
15044
|
module.exports = { getHighWaterMark: getHighWaterMark$2 };
|
|
15055
15045
|
}));
|
|
15056
15046
|
var require_browser$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15057
|
-
init_dist();
|
|
15058
15047
|
module.exports = deprecate;
|
|
15059
15048
|
function deprecate(fn$1, msg) {
|
|
15060
15049
|
if (config$1("noDeprecation")) return fn$1;
|
|
@@ -15082,8 +15071,6 @@ var require_browser$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15082
15071
|
}
|
|
15083
15072
|
}));
|
|
15084
15073
|
var require__stream_writable = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15085
|
-
init_dist();
|
|
15086
|
-
init_dist$1();
|
|
15087
15074
|
module.exports = Writable$1;
|
|
15088
15075
|
function CorkedRequest(state) {
|
|
15089
15076
|
var _this = this;
|
|
@@ -15193,7 +15180,7 @@ var require__stream_writable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
15193
15180
|
function writeAfterEnd(stream, cb) {
|
|
15194
15181
|
var er = new ERR_STREAM_WRITE_AFTER_END();
|
|
15195
15182
|
errorOrDestroy$1(stream, er);
|
|
15196
|
-
process
|
|
15183
|
+
process.nextTick(cb, er);
|
|
15197
15184
|
}
|
|
15198
15185
|
function validChunk(stream, state, chunk$1, cb) {
|
|
15199
15186
|
var er;
|
|
@@ -15201,7 +15188,7 @@ var require__stream_writable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
15201
15188
|
else if (typeof chunk$1 !== "string" && !state.objectMode) er = new ERR_INVALID_ARG_TYPE$3("chunk", ["string", "Buffer"], chunk$1);
|
|
15202
15189
|
if (er) {
|
|
15203
15190
|
errorOrDestroy$1(stream, er);
|
|
15204
|
-
process
|
|
15191
|
+
process.nextTick(cb, er);
|
|
15205
15192
|
return false;
|
|
15206
15193
|
}
|
|
15207
15194
|
return true;
|
|
@@ -15310,8 +15297,8 @@ var require__stream_writable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
15310
15297
|
function onwriteError(stream, state, sync, er, cb) {
|
|
15311
15298
|
--state.pendingcb;
|
|
15312
15299
|
if (sync) {
|
|
15313
|
-
process
|
|
15314
|
-
process
|
|
15300
|
+
process.nextTick(cb, er);
|
|
15301
|
+
process.nextTick(finishMaybe, stream, state);
|
|
15315
15302
|
stream._writableState.errorEmitted = true;
|
|
15316
15303
|
errorOrDestroy$1(stream, er);
|
|
15317
15304
|
} else {
|
|
@@ -15337,7 +15324,7 @@ var require__stream_writable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
15337
15324
|
else {
|
|
15338
15325
|
var finished$1 = needFinish(state) || stream.destroyed;
|
|
15339
15326
|
if (!finished$1 && !state.corked && !state.bufferProcessing && state.bufferedRequest) clearBuffer(stream, state);
|
|
15340
|
-
if (sync) process
|
|
15327
|
+
if (sync) process.nextTick(afterWrite, stream, state, finished$1, cb);
|
|
15341
15328
|
else afterWrite(stream, state, finished$1, cb);
|
|
15342
15329
|
}
|
|
15343
15330
|
}
|
|
@@ -15437,7 +15424,7 @@ var require__stream_writable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
15437
15424
|
if (!state.prefinished && !state.finalCalled) if (typeof stream._final === "function" && !state.destroyed) {
|
|
15438
15425
|
state.pendingcb++;
|
|
15439
15426
|
state.finalCalled = true;
|
|
15440
|
-
process
|
|
15427
|
+
process.nextTick(callFinal, stream, state);
|
|
15441
15428
|
} else {
|
|
15442
15429
|
state.prefinished = true;
|
|
15443
15430
|
stream.emit("prefinish");
|
|
@@ -15461,7 +15448,7 @@ var require__stream_writable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
15461
15448
|
function endWritable(stream, state, cb) {
|
|
15462
15449
|
state.ending = true;
|
|
15463
15450
|
finishMaybe(stream, state);
|
|
15464
|
-
if (cb) if (state.finished) process
|
|
15451
|
+
if (cb) if (state.finished) process.nextTick(cb);
|
|
15465
15452
|
else stream.once("finish", cb);
|
|
15466
15453
|
state.ended = true;
|
|
15467
15454
|
stream.writable = false;
|
|
@@ -15495,7 +15482,6 @@ var require__stream_writable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
15495
15482
|
};
|
|
15496
15483
|
}));
|
|
15497
15484
|
var require__stream_duplex = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15498
|
-
init_dist$1();
|
|
15499
15485
|
var objectKeys$1 = Object.keys || function(obj) {
|
|
15500
15486
|
var keys$9 = [];
|
|
15501
15487
|
for (var key in obj) keys$9.push(key);
|
|
@@ -15544,7 +15530,7 @@ var require__stream_duplex = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
15544
15530
|
});
|
|
15545
15531
|
function onend() {
|
|
15546
15532
|
if (this._writableState.ended) return;
|
|
15547
|
-
process
|
|
15533
|
+
process.nextTick(onEndNT, this);
|
|
15548
15534
|
}
|
|
15549
15535
|
function onEndNT(self$1) {
|
|
15550
15536
|
self$1.end();
|
|
@@ -15563,7 +15549,6 @@ var require__stream_duplex = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
15563
15549
|
});
|
|
15564
15550
|
}));
|
|
15565
15551
|
var require_safe_buffer = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15566
|
-
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
15567
15552
|
var buffer = require_buffer();
|
|
15568
15553
|
var Buffer$3 = buffer.Buffer;
|
|
15569
15554
|
function copyProps(src, dst) {
|
|
@@ -15902,7 +15887,6 @@ var require_end_of_stream = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
15902
15887
|
module.exports = eos$1;
|
|
15903
15888
|
}));
|
|
15904
15889
|
var require_async_iterator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15905
|
-
init_dist$1();
|
|
15906
15890
|
var _Object$setPrototypeO;
|
|
15907
15891
|
function _defineProperty$1(obj, key, value) {
|
|
15908
15892
|
if (key in obj) Object.defineProperty(obj, key, {
|
|
@@ -15941,7 +15925,7 @@ var require_async_iterator = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
15941
15925
|
}
|
|
15942
15926
|
}
|
|
15943
15927
|
function onReadable(iter) {
|
|
15944
|
-
process
|
|
15928
|
+
process.nextTick(readAndResolve, iter);
|
|
15945
15929
|
}
|
|
15946
15930
|
function wrapForNext(lastPromise, iter) {
|
|
15947
15931
|
return function(resolve, reject) {
|
|
@@ -15965,7 +15949,7 @@ var require_async_iterator = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
15965
15949
|
if (error$39 !== null) return Promise.reject(error$39);
|
|
15966
15950
|
if (this[kEnded]) return Promise.resolve(createIterResult(void 0, true));
|
|
15967
15951
|
if (this[kStream].destroyed) return new Promise(function(resolve, reject) {
|
|
15968
|
-
process
|
|
15952
|
+
process.nextTick(function() {
|
|
15969
15953
|
if (_this[kError]) reject(_this[kError]);
|
|
15970
15954
|
else resolve(createIterResult(void 0, true));
|
|
15971
15955
|
});
|
|
@@ -16059,8 +16043,6 @@ var require_from_browser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
16059
16043
|
};
|
|
16060
16044
|
}));
|
|
16061
16045
|
var require__stream_readable = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
16062
|
-
init_dist();
|
|
16063
|
-
init_dist$1();
|
|
16064
16046
|
module.exports = Readable;
|
|
16065
16047
|
var Duplex$1;
|
|
16066
16048
|
Readable.ReadableState = ReadableState;
|
|
@@ -16361,7 +16343,7 @@ var require__stream_readable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
16361
16343
|
if (!state.emittedReadable) {
|
|
16362
16344
|
debug("emitReadable", state.flowing);
|
|
16363
16345
|
state.emittedReadable = true;
|
|
16364
|
-
process
|
|
16346
|
+
process.nextTick(emitReadable_, stream);
|
|
16365
16347
|
}
|
|
16366
16348
|
}
|
|
16367
16349
|
function emitReadable_(stream) {
|
|
@@ -16377,7 +16359,7 @@ var require__stream_readable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
16377
16359
|
function maybeReadMore(stream, state) {
|
|
16378
16360
|
if (!state.readingMore) {
|
|
16379
16361
|
state.readingMore = true;
|
|
16380
|
-
process
|
|
16362
|
+
process.nextTick(maybeReadMore_, stream, state);
|
|
16381
16363
|
}
|
|
16382
16364
|
}
|
|
16383
16365
|
function maybeReadMore_(stream, state) {
|
|
@@ -16408,8 +16390,8 @@ var require__stream_readable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
16408
16390
|
}
|
|
16409
16391
|
state.pipesCount += 1;
|
|
16410
16392
|
debug("pipe count=%d opts=%j", state.pipesCount, pipeOpts);
|
|
16411
|
-
var endFn = (!pipeOpts || pipeOpts.end !== false) && dest !== process
|
|
16412
|
-
if (state.endEmitted) process
|
|
16393
|
+
var endFn = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr ? onend$1 : unpipe;
|
|
16394
|
+
if (state.endEmitted) process.nextTick(endFn);
|
|
16413
16395
|
else src.once("end", endFn);
|
|
16414
16396
|
dest.on("unpipe", onunpipe);
|
|
16415
16397
|
function onunpipe(readable, unpipeInfo) {
|
|
@@ -16537,7 +16519,7 @@ var require__stream_readable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
16537
16519
|
state.emittedReadable = false;
|
|
16538
16520
|
debug("on readable", state.length, state.reading);
|
|
16539
16521
|
if (state.length) emitReadable(this);
|
|
16540
|
-
else if (!state.reading) process
|
|
16522
|
+
else if (!state.reading) process.nextTick(nReadingNextTick, this);
|
|
16541
16523
|
}
|
|
16542
16524
|
}
|
|
16543
16525
|
return res;
|
|
@@ -16545,12 +16527,12 @@ var require__stream_readable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
16545
16527
|
Readable.prototype.addListener = Readable.prototype.on;
|
|
16546
16528
|
Readable.prototype.removeListener = function(ev, fn$1) {
|
|
16547
16529
|
var res = Stream$1.prototype.removeListener.call(this, ev, fn$1);
|
|
16548
|
-
if (ev === "readable") process
|
|
16530
|
+
if (ev === "readable") process.nextTick(updateReadableListening, this);
|
|
16549
16531
|
return res;
|
|
16550
16532
|
};
|
|
16551
16533
|
Readable.prototype.removeAllListeners = function(ev) {
|
|
16552
16534
|
var res = Stream$1.prototype.removeAllListeners.apply(this, arguments);
|
|
16553
|
-
if (ev === "readable" || ev === void 0) process
|
|
16535
|
+
if (ev === "readable" || ev === void 0) process.nextTick(updateReadableListening, this);
|
|
16554
16536
|
return res;
|
|
16555
16537
|
};
|
|
16556
16538
|
function updateReadableListening(self$1) {
|
|
@@ -16576,7 +16558,7 @@ var require__stream_readable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
16576
16558
|
function resume(stream, state) {
|
|
16577
16559
|
if (!state.resumeScheduled) {
|
|
16578
16560
|
state.resumeScheduled = true;
|
|
16579
|
-
process
|
|
16561
|
+
process.nextTick(resume_, stream, state);
|
|
16580
16562
|
}
|
|
16581
16563
|
}
|
|
16582
16564
|
function resume_(stream, state) {
|
|
@@ -16688,7 +16670,7 @@ var require__stream_readable = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
16688
16670
|
debug("endReadable", state.endEmitted);
|
|
16689
16671
|
if (!state.endEmitted) {
|
|
16690
16672
|
state.ended = true;
|
|
16691
|
-
process
|
|
16673
|
+
process.nextTick(endReadableNT, state, stream);
|
|
16692
16674
|
}
|
|
16693
16675
|
}
|
|
16694
16676
|
function endReadableNT(state, stream) {
|
|
@@ -16945,7 +16927,6 @@ var require_stream_browserify = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
16945
16927
|
};
|
|
16946
16928
|
}));
|
|
16947
16929
|
var require_sax = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
16948
|
-
init_dist$2();
|
|
16949
16930
|
(function(sax) {
|
|
16950
16931
|
sax.parser = function(strict$1, opt) {
|
|
16951
16932
|
return new SAXParser(strict$1, opt);
|
|
@@ -18104,7 +18085,6 @@ var require_sax = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
18104
18085
|
if (parser.position >= parser.bufferCheckPosition) checkBufferLength(parser);
|
|
18105
18086
|
return parser;
|
|
18106
18087
|
}
|
|
18107
|
-
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */
|
|
18108
18088
|
/* istanbul ignore next */
|
|
18109
18089
|
if (!String.fromCodePoint) (function() {
|
|
18110
18090
|
var stringFromCharCode = String.fromCharCode;
|
|
@@ -18147,6 +18127,7 @@ var require_sax = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
18147
18127
|
}));
|
|
18148
18128
|
var require_bom = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
18149
18129
|
(function() {
|
|
18130
|
+
"use strict";
|
|
18150
18131
|
exports.stripBOM = function(str) {
|
|
18151
18132
|
if (str[0] === "") return str.substring(1);
|
|
18152
18133
|
else return str;
|
|
@@ -18155,6 +18136,7 @@ var require_bom = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
18155
18136
|
}));
|
|
18156
18137
|
var require_processors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
18157
18138
|
(function() {
|
|
18139
|
+
"use strict";
|
|
18158
18140
|
var prefixMatch = /* @__PURE__ */ new RegExp(/(?!xmlns)^.*:/);
|
|
18159
18141
|
exports.normalize = function(str) {
|
|
18160
18142
|
return str.toLowerCase();
|
|
@@ -18175,10 +18157,9 @@ var require_processors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
18175
18157
|
};
|
|
18176
18158
|
}).call(exports);
|
|
18177
18159
|
}));
|
|
18178
|
-
var
|
|
18179
|
-
init_dist();
|
|
18180
|
-
init_dist$1();
|
|
18160
|
+
var require_setImmediate = /* @__PURE__ */ __commonJSMin((() => {
|
|
18181
18161
|
(function(global$1, undefined$1) {
|
|
18162
|
+
"use strict";
|
|
18182
18163
|
if (global$1.setImmediate) return;
|
|
18183
18164
|
var nextHandle = 1;
|
|
18184
18165
|
var tasksByHandle = {};
|
|
@@ -18237,7 +18218,7 @@ var init_setImmediate = __esmMin((() => {
|
|
|
18237
18218
|
}
|
|
18238
18219
|
function installNextTickImplementation() {
|
|
18239
18220
|
registerImmediate = function(handle) {
|
|
18240
|
-
process
|
|
18221
|
+
process.nextTick(function() {
|
|
18241
18222
|
runIfPresent(handle);
|
|
18242
18223
|
});
|
|
18243
18224
|
};
|
|
@@ -18302,10 +18283,9 @@ var init_setImmediate = __esmMin((() => {
|
|
|
18302
18283
|
else installSetTimeoutImplementation();
|
|
18303
18284
|
attachTo.setImmediate = setImmediate;
|
|
18304
18285
|
attachTo.clearImmediate = clearImmediate;
|
|
18305
|
-
})(typeof self === "undefined" ? typeof global === "undefined" ?
|
|
18286
|
+
})(typeof self === "undefined" ? typeof global === "undefined" ? exports : global : self);
|
|
18306
18287
|
}));
|
|
18307
18288
|
var require_main$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
18308
|
-
init_dist();
|
|
18309
18289
|
var scope = typeof global !== "undefined" && global || typeof self !== "undefined" && self || window;
|
|
18310
18290
|
var apply = Function.prototype.apply;
|
|
18311
18291
|
exports.setTimeout = function() {
|
|
@@ -18340,13 +18320,14 @@ var require_main$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
18340
18320
|
if (item._onTimeout) item._onTimeout();
|
|
18341
18321
|
}, msecs);
|
|
18342
18322
|
};
|
|
18343
|
-
|
|
18323
|
+
require_setImmediate();
|
|
18344
18324
|
exports.setImmediate = typeof self !== "undefined" && self.setImmediate || typeof global !== "undefined" && global.setImmediate || exports && exports.setImmediate;
|
|
18345
18325
|
exports.clearImmediate = typeof self !== "undefined" && self.clearImmediate || typeof global !== "undefined" && global.clearImmediate || exports && exports.clearImmediate;
|
|
18346
18326
|
}));
|
|
18347
18327
|
var require_parser$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
18348
18328
|
(function() {
|
|
18349
|
-
|
|
18329
|
+
"use strict";
|
|
18330
|
+
var bom, defaults$1, defineProperty$1, events, isEmpty$5, processItem, processors, sax, setImmediate, bind$1 = function(fn$1, me) {
|
|
18350
18331
|
return function() {
|
|
18351
18332
|
return fn$1.apply(me, arguments);
|
|
18352
18333
|
};
|
|
@@ -18370,10 +18351,10 @@ var require_parser$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
18370
18351
|
return typeof thing === "object" && thing != null && Object.keys(thing).length === 0;
|
|
18371
18352
|
};
|
|
18372
18353
|
processItem = function(processors$1, item, key) {
|
|
18373
|
-
var i$2, len$1, process;
|
|
18354
|
+
var i$2, len$1, process$1;
|
|
18374
18355
|
for (i$2 = 0, len$1 = processors$1.length; i$2 < len$1; i$2++) {
|
|
18375
|
-
process = processors$1[i$2];
|
|
18376
|
-
item = process(item, key);
|
|
18356
|
+
process$1 = processors$1[i$2];
|
|
18357
|
+
item = process$1(item, key);
|
|
18377
18358
|
}
|
|
18378
18359
|
return item;
|
|
18379
18360
|
};
|
|
@@ -18388,11 +18369,11 @@ var require_parser$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
18388
18369
|
exports.Parser = (function(superClass) {
|
|
18389
18370
|
extend$2(Parser$1, superClass);
|
|
18390
18371
|
function Parser$1(opts) {
|
|
18391
|
-
this.parseStringPromise = bind$
|
|
18392
|
-
this.parseString = bind$
|
|
18393
|
-
this.reset = bind$
|
|
18394
|
-
this.assignOrPush = bind$
|
|
18395
|
-
this.processAsync = bind$
|
|
18372
|
+
this.parseStringPromise = bind$1(this.parseStringPromise, this);
|
|
18373
|
+
this.parseString = bind$1(this.parseString, this);
|
|
18374
|
+
this.reset = bind$1(this.reset, this);
|
|
18375
|
+
this.assignOrPush = bind$1(this.assignOrPush, this);
|
|
18376
|
+
this.processAsync = bind$1(this.processAsync, this);
|
|
18396
18377
|
var key, ref, value;
|
|
18397
18378
|
if (!(this instanceof exports.Parser)) return new exports.Parser(opts);
|
|
18398
18379
|
this.options = {};
|
|
@@ -18668,6 +18649,7 @@ var require_parser$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
18668
18649
|
}));
|
|
18669
18650
|
var require_xml2js = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
18670
18651
|
(function() {
|
|
18652
|
+
"use strict";
|
|
18671
18653
|
var builder, defaults$1, parser, processors, extend$2 = function(child, parent) {
|
|
18672
18654
|
for (var key in parent) if (hasProp.call(parent, key)) child[key] = parent[key];
|
|
18673
18655
|
function ctor() {
|
|
@@ -24675,6 +24657,7 @@ function atEndOfBlockComment(text, i$2) {
|
|
|
24675
24657
|
}
|
|
24676
24658
|
var import_browser = /* @__PURE__ */ __toESM(require_browser());
|
|
24677
24659
|
require_merge();
|
|
24660
|
+
require_path_browserify();
|
|
24678
24661
|
var readStreamClasses = new Set([
|
|
24679
24662
|
"ReadStream",
|
|
24680
24663
|
"Readable",
|
|
@@ -24695,7 +24678,7 @@ const isObjectEmpty = (obj) => {
|
|
|
24695
24678
|
}
|
|
24696
24679
|
return true;
|
|
24697
24680
|
};
|
|
24698
|
-
const deepCopy = (source, hash$1 = /* @__PURE__ */ new WeakMap(), path = "") => {
|
|
24681
|
+
const deepCopy = (source, hash$1 = /* @__PURE__ */ new WeakMap(), path$1 = "") => {
|
|
24699
24682
|
const hasOwnProp = Object.prototype.hasOwnProperty.bind(source);
|
|
24700
24683
|
if (typeof source !== "object" || source === null || typeof source === "function") return source;
|
|
24701
24684
|
if (typeof source.toJSON === "function") return source.toJSON();
|
|
@@ -24703,12 +24686,12 @@ const deepCopy = (source, hash$1 = /* @__PURE__ */ new WeakMap(), path = "") =>
|
|
|
24703
24686
|
if (Array.isArray(source)) {
|
|
24704
24687
|
const clone$4 = [];
|
|
24705
24688
|
const len$1 = source.length;
|
|
24706
|
-
for (let i$2 = 0; i$2 < len$1; i$2++) clone$4[i$2] = deepCopy(source[i$2], hash$1, path + `[${i$2}]`);
|
|
24689
|
+
for (let i$2 = 0; i$2 < len$1; i$2++) clone$4[i$2] = deepCopy(source[i$2], hash$1, path$1 + `[${i$2}]`);
|
|
24707
24690
|
return clone$4;
|
|
24708
24691
|
}
|
|
24709
24692
|
const clone$3 = Object.create(Object.getPrototypeOf({}));
|
|
24710
24693
|
hash$1.set(source, clone$3);
|
|
24711
|
-
for (const i$2 in source) if (hasOwnProp(i$2)) clone$3[i$2] = deepCopy(source[i$2], hash$1, path + `.${i$2}`);
|
|
24694
|
+
for (const i$2 in source) if (hasOwnProp(i$2)) clone$3[i$2] = deepCopy(source[i$2], hash$1, path$1 + `.${i$2}`);
|
|
24712
24695
|
return clone$3;
|
|
24713
24696
|
};
|
|
24714
24697
|
function syntaxNodeToValue(expression) {
|
|
@@ -25501,11 +25484,11 @@ function displayParameter(nodeValues, parameter, node, nodeTypeDescription, node
|
|
|
25501
25484
|
}
|
|
25502
25485
|
return true;
|
|
25503
25486
|
}
|
|
25504
|
-
function displayParameterPath(nodeValues, parameter, path, node, nodeTypeDescription, displayKey = "displayOptions") {
|
|
25487
|
+
function displayParameterPath(nodeValues, parameter, path$1, node, nodeTypeDescription, displayKey = "displayOptions") {
|
|
25505
25488
|
let resolvedNodeValues = nodeValues;
|
|
25506
|
-
if (path !== "") resolvedNodeValues = (0, import_get.default)(nodeValues, path);
|
|
25489
|
+
if (path$1 !== "") resolvedNodeValues = (0, import_get.default)(nodeValues, path$1);
|
|
25507
25490
|
let nodeValuesRoot = nodeValues;
|
|
25508
|
-
if (path && path.split(".").indexOf("parameters") === 0) nodeValuesRoot = (0, import_get.default)(nodeValues, "parameters");
|
|
25491
|
+
if (path$1 && path$1.split(".").indexOf("parameters") === 0) nodeValuesRoot = (0, import_get.default)(nodeValues, "parameters");
|
|
25509
25492
|
return displayParameter(resolvedNodeValues, parameter, node, nodeTypeDescription, nodeValuesRoot, displayKey);
|
|
25510
25493
|
}
|
|
25511
25494
|
function getContext(runExecutionData, type, node) {
|
|
@@ -25599,15 +25582,15 @@ function getNodeParameters(nodePropertiesArray, nodeValues, returnDefaults, retu
|
|
|
25599
25582
|
"boolean",
|
|
25600
25583
|
"number",
|
|
25601
25584
|
"options"
|
|
25602
|
-
].includes(nodeProperties.type)) nodeParameters[nodeProperties.name] = nodeValues[nodeProperties.name] !== void 0 ? nodeValues[nodeProperties.name] : nodeProperties.default;
|
|
25603
|
-
else if (nodeProperties.type === "resourceLocator" && typeof nodeProperties.default === "object") nodeParameters[nodeProperties.name] = nodeValues[nodeProperties.name] !== void 0 ? nodeValues[nodeProperties.name] : {
|
|
25585
|
+
].includes(nodeProperties.type)) nodeParameters[nodeProperties.name] = nodeValues[nodeProperties.name] !== void 0 ? deepCopy(nodeValues[nodeProperties.name]) : nodeProperties.default;
|
|
25586
|
+
else if (nodeProperties.type === "resourceLocator" && typeof nodeProperties.default === "object") nodeParameters[nodeProperties.name] = nodeValues[nodeProperties.name] !== void 0 ? deepCopy(nodeValues[nodeProperties.name]) : {
|
|
25604
25587
|
__rl: true,
|
|
25605
25588
|
...nodeProperties.default
|
|
25606
25589
|
};
|
|
25607
|
-
else nodeParameters[nodeProperties.name] = nodeValues[nodeProperties.name] ?? nodeProperties.default;
|
|
25590
|
+
else nodeParameters[nodeProperties.name] = deepCopy(nodeValues[nodeProperties.name]) ?? nodeProperties.default;
|
|
25608
25591
|
nodeParametersFull[nodeProperties.name] = nodeParameters[nodeProperties.name];
|
|
25609
25592
|
} else if (nodeValues[nodeProperties.name] !== nodeProperties.default && typeof nodeValues[nodeProperties.name] !== "object" || typeof nodeValues[nodeProperties.name] === "object" && !(0, import_isEqual$3.default)(nodeValues[nodeProperties.name], nodeProperties.default) || nodeValues[nodeProperties.name] !== void 0 && parentType === "collection") {
|
|
25610
|
-
nodeParameters[nodeProperties.name] = nodeValues[nodeProperties.name];
|
|
25593
|
+
nodeParameters[nodeProperties.name] = deepCopy(nodeValues[nodeProperties.name]);
|
|
25611
25594
|
nodeParametersFull[nodeProperties.name] = nodeParameters[nodeProperties.name];
|
|
25612
25595
|
continue;
|
|
25613
25596
|
}
|
|
@@ -25616,7 +25599,7 @@ function getNodeParameters(nodePropertiesArray, nodeValues, returnDefaults, retu
|
|
|
25616
25599
|
let tempValue;
|
|
25617
25600
|
if (nodeProperties.type === "collection") {
|
|
25618
25601
|
if (nodeProperties.typeOptions !== void 0 && nodeProperties.typeOptions.multipleValues === true) {
|
|
25619
|
-
if (nodeValues[nodeProperties.name] !== void 0) nodeParameters[nodeProperties.name] = nodeValues[nodeProperties.name];
|
|
25602
|
+
if (nodeValues[nodeProperties.name] !== void 0) nodeParameters[nodeProperties.name] = deepCopy(nodeValues[nodeProperties.name]);
|
|
25620
25603
|
else if (returnDefaults) if (Array.isArray(nodeProperties.default)) nodeParameters[nodeProperties.name] = deepCopy(nodeProperties.default);
|
|
25621
25604
|
else nodeParameters[nodeProperties.name] = [];
|
|
25622
25605
|
nodeParametersFull[nodeProperties.name] = nodeParameters[nodeProperties.name];
|
|
@@ -25640,11 +25623,12 @@ function getNodeParameters(nodePropertiesArray, nodeValues, returnDefaults, retu
|
|
|
25640
25623
|
let tempNodeParameters;
|
|
25641
25624
|
let tempNodePropertiesArray;
|
|
25642
25625
|
let nodePropertyOptions;
|
|
25643
|
-
let propertyValues = nodeValues[nodeProperties.name];
|
|
25626
|
+
let propertyValues = deepCopy(nodeValues[nodeProperties.name]);
|
|
25644
25627
|
if (returnDefaults) {
|
|
25645
25628
|
if (propertyValues === void 0) propertyValues = deepCopy(nodeProperties.default);
|
|
25646
25629
|
}
|
|
25647
|
-
if (!returnDefaults && nodeProperties.typeOptions?.multipleValues === false && propertyValues && Object.keys(propertyValues).length === 0) return nodeValues;
|
|
25630
|
+
if (!returnDefaults && nodeProperties.typeOptions?.multipleValues === false && propertyValues && Object.keys(propertyValues).length === 0) return deepCopy(nodeValues);
|
|
25631
|
+
let hadAnyVisibleFields = false;
|
|
25648
25632
|
for (const itemName of Object.keys(propertyValues || {})) if (nodeProperties.typeOptions !== void 0 && nodeProperties.typeOptions.multipleValues === true) {
|
|
25649
25633
|
const tempArrayValue = [];
|
|
25650
25634
|
if (typeof propertyValues !== "object" || Array.isArray(propertyValues)) continue;
|
|
@@ -25666,20 +25650,35 @@ function getNodeParameters(nodePropertiesArray, nodeValues, returnDefaults, retu
|
|
|
25666
25650
|
collectionValues[itemName] = tempArrayValue;
|
|
25667
25651
|
} else {
|
|
25668
25652
|
tempNodeParameters = {};
|
|
25653
|
+
let hadVisibleFields = false;
|
|
25669
25654
|
const nodePropertyOptions$1 = nodeProperties.options.find((data) => data.name === itemName);
|
|
25670
25655
|
if (nodePropertyOptions$1 !== void 0) {
|
|
25671
25656
|
tempNodePropertiesArray = nodePropertyOptions$1.values;
|
|
25672
|
-
|
|
25657
|
+
const itemNodeValues = nodeValues[nodeProperties.name][itemName];
|
|
25658
|
+
tempValue = getNodeParameters(tempNodePropertiesArray, itemNodeValues, returnDefaults, returnNoneDisplayed, node, nodeTypeDescription, {
|
|
25673
25659
|
onlySimpleTypes: false,
|
|
25674
25660
|
dataIsResolved: false,
|
|
25675
25661
|
nodeValuesRoot,
|
|
25676
25662
|
parentType: nodeProperties.type
|
|
25677
25663
|
});
|
|
25678
|
-
if (tempValue !== null)
|
|
25664
|
+
if (tempValue !== null) {
|
|
25665
|
+
Object.assign(tempNodeParameters, tempValue);
|
|
25666
|
+
if (Object.keys(tempValue).length > 0) {
|
|
25667
|
+
hadVisibleFields = true;
|
|
25668
|
+
hadAnyVisibleFields = true;
|
|
25669
|
+
} else if (!(itemNodeValues && Object.keys(itemNodeValues).some((key) => {
|
|
25670
|
+
const field = tempNodePropertiesArray.find((f$1) => f$1.name === key);
|
|
25671
|
+
return field && !(0, import_isEqual$3.default)(itemNodeValues[key], field.default);
|
|
25672
|
+
}))) {
|
|
25673
|
+
hadVisibleFields = true;
|
|
25674
|
+
hadAnyVisibleFields = true;
|
|
25675
|
+
}
|
|
25676
|
+
}
|
|
25679
25677
|
}
|
|
25680
25678
|
if (Object.keys(tempNodeParameters).length !== 0) collectionValues[itemName] = tempNodeParameters;
|
|
25679
|
+
else if (!returnDefaults && hadVisibleFields && propertyValues && propertyValues[itemName] !== void 0) collectionValues[itemName] = tempNodeParameters;
|
|
25681
25680
|
}
|
|
25682
|
-
if (!returnDefaults && nodeProperties.typeOptions?.multipleValues === false && collectionValues && Object.keys(collectionValues).length === 0 && propertyValues && propertyValues?.constructor.name === "Object" && Object.keys(propertyValues).length !== 0) {
|
|
25681
|
+
if (!returnDefaults && hadAnyVisibleFields && nodeProperties.typeOptions?.multipleValues === false && collectionValues && Object.keys(collectionValues).length === 0 && propertyValues && propertyValues?.constructor.name === "Object" && Object.keys(propertyValues).length !== 0) {
|
|
25683
25682
|
const returnValue = {};
|
|
25684
25683
|
Object.keys(propertyValues || {}).forEach((value) => {
|
|
25685
25684
|
returnValue[value] = {};
|
|
@@ -25700,20 +25699,20 @@ function getNodeParameters(nodePropertiesArray, nodeValues, returnDefaults, retu
|
|
|
25700
25699
|
}
|
|
25701
25700
|
return nodeParameters;
|
|
25702
25701
|
}
|
|
25703
|
-
function getNodeWebhookPath(workflowId, node, path, isFullPath, restartWebhook) {
|
|
25702
|
+
function getNodeWebhookPath(workflowId, node, path$1, isFullPath, restartWebhook) {
|
|
25704
25703
|
let webhookPath = "";
|
|
25705
|
-
if (restartWebhook === true) return path;
|
|
25706
|
-
if (node.webhookId === void 0) webhookPath = `${workflowId}/${encodeURIComponent(node.name.toLowerCase())}/${path}`;
|
|
25704
|
+
if (restartWebhook === true) return path$1;
|
|
25705
|
+
if (node.webhookId === void 0) webhookPath = `${workflowId}/${encodeURIComponent(node.name.toLowerCase())}/${path$1}`;
|
|
25707
25706
|
else {
|
|
25708
|
-
if (isFullPath === true) return path || node.webhookId;
|
|
25709
|
-
webhookPath = `${node.webhookId}/${path}`;
|
|
25707
|
+
if (isFullPath === true) return path$1 || node.webhookId;
|
|
25708
|
+
webhookPath = `${node.webhookId}/${path$1}`;
|
|
25710
25709
|
}
|
|
25711
25710
|
return webhookPath;
|
|
25712
25711
|
}
|
|
25713
|
-
function getNodeWebhookUrl(baseUrl, workflowId, node, path, isFullPath) {
|
|
25714
|
-
if ((path.startsWith(":") || path.includes("/:")) && node.webhookId) isFullPath = false;
|
|
25715
|
-
if (path.startsWith("/")) path = path.slice(1);
|
|
25716
|
-
return `${baseUrl}/${getNodeWebhookPath(workflowId, node, path, isFullPath)}`;
|
|
25712
|
+
function getNodeWebhookUrl(baseUrl, workflowId, node, path$1, isFullPath) {
|
|
25713
|
+
if ((path$1.startsWith(":") || path$1.includes("/:")) && node.webhookId) isFullPath = false;
|
|
25714
|
+
if (path$1.startsWith("/")) path$1 = path$1.slice(1);
|
|
25715
|
+
return `${baseUrl}/${getNodeWebhookPath(workflowId, node, path$1, isFullPath)}`;
|
|
25717
25716
|
}
|
|
25718
25717
|
function getConnectionTypes(connections) {
|
|
25719
25718
|
return connections.map((connection) => {
|
|
@@ -25814,25 +25813,25 @@ function addToIssuesIfMissing(foundIssues, nodeProperties, value) {
|
|
|
25814
25813
|
foundIssues.parameters[nodeProperties.name].push(`Parameter "${nodeProperties.displayName}" is required.`);
|
|
25815
25814
|
}
|
|
25816
25815
|
}
|
|
25817
|
-
function getParameterValueByPath(nodeValues, parameterName, path) {
|
|
25818
|
-
return (0, import_get.default)(nodeValues, path ? `${path}.${parameterName}` : parameterName);
|
|
25816
|
+
function getParameterValueByPath(nodeValues, parameterName, path$1) {
|
|
25817
|
+
return (0, import_get.default)(nodeValues, path$1 ? `${path$1}.${parameterName}` : parameterName);
|
|
25819
25818
|
}
|
|
25820
25819
|
function isINodeParameterResourceLocator(value) {
|
|
25821
25820
|
return typeof value === "object" && value !== null && "value" in value && "mode" in value;
|
|
25822
25821
|
}
|
|
25823
|
-
function getParameterIssues(nodeProperties, nodeValues, path, node, nodeTypeDescription) {
|
|
25822
|
+
function getParameterIssues(nodeProperties, nodeValues, path$1, node, nodeTypeDescription) {
|
|
25824
25823
|
const foundIssues = {};
|
|
25825
|
-
const isDisplayed = displayParameterPath(nodeValues, nodeProperties, path, node, nodeTypeDescription);
|
|
25824
|
+
const isDisplayed = displayParameterPath(nodeValues, nodeProperties, path$1, node, nodeTypeDescription);
|
|
25826
25825
|
if (nodeProperties.required === true) {
|
|
25827
25826
|
if (isDisplayed) {
|
|
25828
|
-
const value = getParameterValueByPath(nodeValues, nodeProperties.name, path);
|
|
25827
|
+
const value = getParameterValueByPath(nodeValues, nodeProperties.name, path$1);
|
|
25829
25828
|
if (nodeProperties.typeOptions !== void 0 && nodeProperties.typeOptions.multipleValues !== void 0) {
|
|
25830
25829
|
if (Array.isArray(value)) for (const singleValue of value) addToIssuesIfMissing(foundIssues, nodeProperties, singleValue);
|
|
25831
25830
|
} else addToIssuesIfMissing(foundIssues, nodeProperties, value);
|
|
25832
25831
|
}
|
|
25833
25832
|
}
|
|
25834
25833
|
if ((nodeProperties.type === "resourceLocator" || nodeProperties.type === "workflowSelector") && isDisplayed) {
|
|
25835
|
-
const value = getParameterValueByPath(nodeValues, nodeProperties.name, path);
|
|
25834
|
+
const value = getParameterValueByPath(nodeValues, nodeProperties.name, path$1);
|
|
25836
25835
|
if (isINodeParameterResourceLocator(value)) {
|
|
25837
25836
|
const mode = nodeProperties.modes?.find((option) => option.name === value.mode);
|
|
25838
25837
|
if (mode) validateResourceLocatorParameter(value, mode).forEach((error$39) => {
|
|
@@ -25843,7 +25842,7 @@ function getParameterIssues(nodeProperties, nodeValues, path, node, nodeTypeDesc
|
|
|
25843
25842
|
}
|
|
25844
25843
|
} else if (nodeProperties.type === "resourceMapper" && isDisplayed) {
|
|
25845
25844
|
const skipRequiredCheck = nodeProperties.typeOptions?.resourceMapper?.mode !== "add";
|
|
25846
|
-
const value = getParameterValueByPath(nodeValues, nodeProperties.name, path);
|
|
25845
|
+
const value = getParameterValueByPath(nodeValues, nodeProperties.name, path$1);
|
|
25847
25846
|
if (isResourceMapperValue(value)) {
|
|
25848
25847
|
const issues = validateResourceMapperParameter(nodeProperties, value, skipRequiredCheck);
|
|
25849
25848
|
if (Object.keys(issues).length > 0) {
|
|
@@ -25856,7 +25855,7 @@ function getParameterIssues(nodeProperties, nodeValues, path, node, nodeTypeDesc
|
|
|
25856
25855
|
}
|
|
25857
25856
|
}
|
|
25858
25857
|
} else if (nodeProperties.type === "filter" && isDisplayed) {
|
|
25859
|
-
const value = getParameterValueByPath(nodeValues, nodeProperties.name, path);
|
|
25858
|
+
const value = getParameterValueByPath(nodeValues, nodeProperties.name, path$1);
|
|
25860
25859
|
if (isFilterValue(value)) {
|
|
25861
25860
|
const issues = validateFilterParameter(nodeProperties, value);
|
|
25862
25861
|
if (Object.keys(issues).length > 0) foundIssues.parameters = {
|
|
@@ -25865,7 +25864,7 @@ function getParameterIssues(nodeProperties, nodeValues, path, node, nodeTypeDesc
|
|
|
25865
25864
|
};
|
|
25866
25865
|
}
|
|
25867
25866
|
} else if (nodeProperties.validateType) {
|
|
25868
|
-
const error$39 = validateParameter(nodeProperties, getParameterValueByPath(nodeValues, nodeProperties.name, path), nodeProperties.validateType);
|
|
25867
|
+
const error$39 = validateParameter(nodeProperties, getParameterValueByPath(nodeValues, nodeProperties.name, path$1), nodeProperties.validateType);
|
|
25869
25868
|
if (error$39) {
|
|
25870
25869
|
if (foundIssues.parameters === void 0) foundIssues.parameters = {};
|
|
25871
25870
|
if (foundIssues.parameters[nodeProperties.name] === void 0) foundIssues.parameters[nodeProperties.name] = [];
|
|
@@ -25873,7 +25872,7 @@ function getParameterIssues(nodeProperties, nodeValues, path, node, nodeTypeDesc
|
|
|
25873
25872
|
}
|
|
25874
25873
|
}
|
|
25875
25874
|
if (nodeProperties.options === void 0) return foundIssues;
|
|
25876
|
-
let basePath = path ? `${path}.` : "";
|
|
25875
|
+
let basePath = path$1 ? `${path$1}.` : "";
|
|
25877
25876
|
const checkChildNodeProperties = [];
|
|
25878
25877
|
if (nodeProperties.type === "collection") for (const option of nodeProperties.options) checkChildNodeProperties.push({
|
|
25879
25878
|
basePath,
|
|
@@ -26469,7 +26468,7 @@ var util_exports = /* @__PURE__ */ __export({
|
|
|
26469
26468
|
required: () => required,
|
|
26470
26469
|
stringifyPrimitive: () => stringifyPrimitive,
|
|
26471
26470
|
unwrapMessage: () => unwrapMessage
|
|
26472
|
-
});
|
|
26471
|
+
}, 1);
|
|
26473
26472
|
function assertEqual(val) {
|
|
26474
26473
|
return val;
|
|
26475
26474
|
}
|
|
@@ -26540,9 +26539,9 @@ function assignProp(target, prop, value) {
|
|
|
26540
26539
|
configurable: true
|
|
26541
26540
|
});
|
|
26542
26541
|
}
|
|
26543
|
-
function getElementAtPath(obj, path) {
|
|
26544
|
-
if (!path) return obj;
|
|
26545
|
-
return path.reduce((acc, key) => acc?.[key], obj);
|
|
26542
|
+
function getElementAtPath(obj, path$1) {
|
|
26543
|
+
if (!path$1) return obj;
|
|
26544
|
+
return path$1.reduce((acc, key) => acc?.[key], obj);
|
|
26546
26545
|
}
|
|
26547
26546
|
function promiseAllObject(promisesObj) {
|
|
26548
26547
|
const keys$9 = Object.keys(promisesObj);
|
|
@@ -26804,11 +26803,11 @@ function aborted(x$1, startIndex = 0) {
|
|
|
26804
26803
|
for (let i$2 = startIndex; i$2 < x$1.issues.length; i$2++) if (x$1.issues[i$2].continue !== true) return true;
|
|
26805
26804
|
return false;
|
|
26806
26805
|
}
|
|
26807
|
-
function prefixIssues(path, issues) {
|
|
26806
|
+
function prefixIssues(path$1, issues) {
|
|
26808
26807
|
return issues.map((iss) => {
|
|
26809
26808
|
var _a$1;
|
|
26810
26809
|
(_a$1 = iss).path ?? (_a$1.path = []);
|
|
26811
|
-
iss.path.unshift(path);
|
|
26810
|
+
iss.path.unshift(path$1);
|
|
26812
26811
|
return iss;
|
|
26813
26812
|
});
|
|
26814
26813
|
}
|
|
@@ -26919,13 +26918,13 @@ function treeifyError(error$39, _mapper) {
|
|
|
26919
26918
|
return issue$1.message;
|
|
26920
26919
|
};
|
|
26921
26920
|
const result = { errors: [] };
|
|
26922
|
-
const processError = (error$40, path = []) => {
|
|
26921
|
+
const processError = (error$40, path$1 = []) => {
|
|
26923
26922
|
var _a$1, _b;
|
|
26924
26923
|
for (const issue$1 of error$40.issues) if (issue$1.code === "invalid_union" && issue$1.errors.length) issue$1.errors.map((issues) => processError({ issues }, issue$1.path));
|
|
26925
26924
|
else if (issue$1.code === "invalid_key") processError({ issues: issue$1.issues }, issue$1.path);
|
|
26926
26925
|
else if (issue$1.code === "invalid_element") processError({ issues: issue$1.issues }, issue$1.path);
|
|
26927
26926
|
else {
|
|
26928
|
-
const fullpath = [...path, ...issue$1.path];
|
|
26927
|
+
const fullpath = [...path$1, ...issue$1.path];
|
|
26929
26928
|
if (fullpath.length === 0) {
|
|
26930
26929
|
result.errors.push(mapper(issue$1));
|
|
26931
26930
|
continue;
|
|
@@ -26952,9 +26951,9 @@ function treeifyError(error$39, _mapper) {
|
|
|
26952
26951
|
processError(error$39);
|
|
26953
26952
|
return result;
|
|
26954
26953
|
}
|
|
26955
|
-
function toDotPath(path) {
|
|
26954
|
+
function toDotPath(path$1) {
|
|
26956
26955
|
const segs = [];
|
|
26957
|
-
for (const seg of path) if (typeof seg === "number") segs.push(`[${seg}]`);
|
|
26956
|
+
for (const seg of path$1) if (typeof seg === "number") segs.push(`[${seg}]`);
|
|
26958
26957
|
else if (typeof seg === "symbol") segs.push(`[${JSON.stringify(String(seg))}]`);
|
|
26959
26958
|
else if (/[^\w$]/.test(seg)) segs.push(`[${JSON.stringify(seg)}]`);
|
|
26960
26959
|
else {
|
|
@@ -27079,7 +27078,7 @@ var regexes_exports = /* @__PURE__ */ __export({
|
|
|
27079
27078
|
uuid6: () => uuid6,
|
|
27080
27079
|
uuid7: () => uuid7,
|
|
27081
27080
|
xid: () => xid$1
|
|
27082
|
-
});
|
|
27081
|
+
}, 1);
|
|
27083
27082
|
const cuid$1 = /^[cC][^\s-]{8,}$/;
|
|
27084
27083
|
const cuid2$1 = /^[0-9a-z]+$/;
|
|
27085
27084
|
const ulid$1 = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/;
|
|
@@ -33027,7 +33026,7 @@ var locales_exports = /* @__PURE__ */ __export({
|
|
|
33027
33026
|
vi: () => vi_default,
|
|
33028
33027
|
zhCN: () => zh_CN_default,
|
|
33029
33028
|
zhTW: () => zh_TW_default
|
|
33030
|
-
});
|
|
33029
|
+
}, 1);
|
|
33031
33030
|
const $output = Symbol("ZodOutput");
|
|
33032
33031
|
const $input = Symbol("ZodInput");
|
|
33033
33032
|
var $ZodRegistry = class {
|
|
@@ -34784,7 +34783,7 @@ var core_exports = /* @__PURE__ */ __export({
|
|
|
34784
34783
|
treeifyError: () => treeifyError,
|
|
34785
34784
|
util: () => util_exports,
|
|
34786
34785
|
version: () => version
|
|
34787
|
-
});
|
|
34786
|
+
}, 1);
|
|
34788
34787
|
var iso_exports = /* @__PURE__ */ __export({
|
|
34789
34788
|
ZodISODate: () => ZodISODate,
|
|
34790
34789
|
ZodISODateTime: () => ZodISODateTime,
|
|
@@ -34794,7 +34793,7 @@ var iso_exports = /* @__PURE__ */ __export({
|
|
|
34794
34793
|
datetime: () => datetime,
|
|
34795
34794
|
duration: () => duration,
|
|
34796
34795
|
time: () => time
|
|
34797
|
-
});
|
|
34796
|
+
}, 1);
|
|
34798
34797
|
const ZodISODateTime = /* @__PURE__ */ $constructor("ZodISODateTime", (inst, def) => {
|
|
34799
34798
|
$ZodISODateTime.init(inst, def);
|
|
34800
34799
|
ZodStringFormat.init(inst, def);
|
|
@@ -35789,7 +35788,7 @@ var coerce_exports = /* @__PURE__ */ __export({
|
|
|
35789
35788
|
date: () => date,
|
|
35790
35789
|
number: () => number,
|
|
35791
35790
|
string: () => string
|
|
35792
|
-
});
|
|
35791
|
+
}, 1);
|
|
35793
35792
|
function string(params) {
|
|
35794
35793
|
return _coercedString(ZodString, params);
|
|
35795
35794
|
}
|
|
@@ -36011,7 +36010,7 @@ var external_exports$1 = /* @__PURE__ */ __export({
|
|
|
36011
36010
|
uuidv7: () => uuidv7,
|
|
36012
36011
|
void: () => _void,
|
|
36013
36012
|
xid: () => xid
|
|
36014
|
-
});
|
|
36013
|
+
}, 1);
|
|
36015
36014
|
config(en_default());
|
|
36016
36015
|
var v4_default = external_exports$1;
|
|
36017
36016
|
var CredentialContextSchemaV1 = v4_default.object({
|
|
@@ -36201,7 +36200,7 @@ var tslib_es6_exports = /* @__PURE__ */ __export({
|
|
|
36201
36200
|
__spreadArrays: () => __spreadArrays,
|
|
36202
36201
|
__values: () => __values,
|
|
36203
36202
|
default: () => tslib_es6_default
|
|
36204
|
-
});
|
|
36203
|
+
}, 1);
|
|
36205
36204
|
function __extends(d$1, b$5) {
|
|
36206
36205
|
if (typeof b$5 !== "function" && b$5 !== null) throw new TypeError("Class extends value " + String(b$5) + " is not a constructor or null");
|
|
36207
36206
|
extendStatics(d$1, b$5);
|
|
@@ -36609,11 +36608,11 @@ function __disposeResources(env) {
|
|
|
36609
36608
|
}
|
|
36610
36609
|
return next();
|
|
36611
36610
|
}
|
|
36612
|
-
function __rewriteRelativeImportExtension(path, preserveJsx) {
|
|
36613
|
-
if (typeof path === "string" && /^\.\.?\//.test(path)) return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(m$1, tsx, d$1, ext, cm) {
|
|
36611
|
+
function __rewriteRelativeImportExtension(path$1, preserveJsx) {
|
|
36612
|
+
if (typeof path$1 === "string" && /^\.\.?\//.test(path$1)) return path$1.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(m$1, tsx, d$1, ext, cm) {
|
|
36614
36613
|
return tsx ? preserveJsx ? ".jsx" : ".js" : d$1 && (!ext || !cm) ? m$1 : d$1 + ext + "." + cm.toLowerCase() + "js";
|
|
36615
36614
|
});
|
|
36616
|
-
return path;
|
|
36615
|
+
return path$1;
|
|
36617
36616
|
}
|
|
36618
36617
|
var extendStatics, __assign, __createBinding, __setModuleDefault, ownKeys$1, _SuppressedError, tslib_es6_default;
|
|
36619
36618
|
var init_tslib_es6 = __esmMin((() => {
|
|
@@ -36706,6 +36705,7 @@ var init_tslib_es6 = __esmMin((() => {
|
|
|
36706
36705
|
}));
|
|
36707
36706
|
var require_shared = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
36708
36707
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36708
|
+
exports.maybeSetModuleExports = void 0;
|
|
36709
36709
|
var types_1$21 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)).__importDefault(require_types());
|
|
36710
36710
|
function default_1$23(fork) {
|
|
36711
36711
|
var types$8 = fork.use(types_1$21.default);
|
|
@@ -37323,14 +37323,14 @@ var require_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
37323
37323
|
this.__childCache = null;
|
|
37324
37324
|
};
|
|
37325
37325
|
var Pp$1 = Path$1.prototype;
|
|
37326
|
-
function getChildCache(path) {
|
|
37327
|
-
return path.__childCache || (path.__childCache = Object.create(null));
|
|
37326
|
+
function getChildCache(path$1) {
|
|
37327
|
+
return path$1.__childCache || (path$1.__childCache = Object.create(null));
|
|
37328
37328
|
}
|
|
37329
|
-
function getChildPath(path, name) {
|
|
37330
|
-
var cache$1 = getChildCache(path);
|
|
37331
|
-
var actualChildValue = path.getValueProperty(name);
|
|
37329
|
+
function getChildPath(path$1, name) {
|
|
37330
|
+
var cache$1 = getChildCache(path$1);
|
|
37331
|
+
var actualChildValue = path$1.getValueProperty(name);
|
|
37332
37332
|
var childPath = cache$1[name];
|
|
37333
|
-
if (!hasOwn$5.call(cache$1, name) || childPath.value !== actualChildValue) childPath = cache$1[name] = new path.constructor(actualChildValue, path, name);
|
|
37333
|
+
if (!hasOwn$5.call(cache$1, name) || childPath.value !== actualChildValue) childPath = cache$1[name] = new path$1.constructor(actualChildValue, path$1, name);
|
|
37334
37334
|
return childPath;
|
|
37335
37335
|
}
|
|
37336
37336
|
Pp$1.getValueProperty = function getValueProperty(name) {
|
|
@@ -37339,10 +37339,10 @@ var require_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
37339
37339
|
Pp$1.get = function get$2() {
|
|
37340
37340
|
var names = [];
|
|
37341
37341
|
for (var _i = 0; _i < arguments.length; _i++) names[_i] = arguments[_i];
|
|
37342
|
-
var path = this;
|
|
37342
|
+
var path$1 = this;
|
|
37343
37343
|
var count = names.length;
|
|
37344
|
-
for (var i$2 = 0; i$2 < count; ++i$2) path = getChildPath(path, names[i$2]);
|
|
37345
|
-
return path;
|
|
37344
|
+
for (var i$2 = 0; i$2 < count; ++i$2) path$1 = getChildPath(path$1, names[i$2]);
|
|
37345
|
+
return path$1;
|
|
37346
37346
|
};
|
|
37347
37347
|
Pp$1.each = function each(callback, context) {
|
|
37348
37348
|
var childPaths = [];
|
|
@@ -37367,10 +37367,10 @@ var require_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
37367
37367
|
return result;
|
|
37368
37368
|
};
|
|
37369
37369
|
function emptyMoves() {}
|
|
37370
|
-
function getMoves(path, offset$1, start, end) {
|
|
37371
|
-
isArray$12.assert(path.value);
|
|
37370
|
+
function getMoves(path$1, offset$1, start, end) {
|
|
37371
|
+
isArray$12.assert(path$1.value);
|
|
37372
37372
|
if (offset$1 === 0) return emptyMoves;
|
|
37373
|
-
var length$1 = path.value.length;
|
|
37373
|
+
var length$1 = path$1.value.length;
|
|
37374
37374
|
if (length$1 < 1) return emptyMoves;
|
|
37375
37375
|
var argc = arguments.length;
|
|
37376
37376
|
if (argc === 2) {
|
|
@@ -37386,9 +37386,9 @@ var require_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
37386
37386
|
isNumber$3.assert(start);
|
|
37387
37387
|
isNumber$3.assert(end);
|
|
37388
37388
|
var moves = Object.create(null);
|
|
37389
|
-
var cache$1 = getChildCache(path);
|
|
37390
|
-
for (var i$2 = start; i$2 < end; ++i$2) if (hasOwn$5.call(path.value, i$2)) {
|
|
37391
|
-
var childPath = path.get(i$2);
|
|
37389
|
+
var cache$1 = getChildCache(path$1);
|
|
37390
|
+
for (var i$2 = start; i$2 < end; ++i$2) if (hasOwn$5.call(path$1.value, i$2)) {
|
|
37391
|
+
var childPath = path$1.get(i$2);
|
|
37392
37392
|
if (childPath.name !== i$2) throw new Error("");
|
|
37393
37393
|
var newIndex = i$2 + offset$1;
|
|
37394
37394
|
childPath.name = newIndex;
|
|
@@ -37401,7 +37401,7 @@ var require_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
37401
37401
|
var childPath$1 = moves[newIndex$1];
|
|
37402
37402
|
if (childPath$1.name !== +newIndex$1) throw new Error("");
|
|
37403
37403
|
cache$1[newIndex$1] = childPath$1;
|
|
37404
|
-
path.value[newIndex$1] = childPath$1.value;
|
|
37404
|
+
path$1.value[newIndex$1] = childPath$1.value;
|
|
37405
37405
|
}
|
|
37406
37406
|
};
|
|
37407
37407
|
}
|
|
@@ -37460,23 +37460,23 @@ var require_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
37460
37460
|
for (var i$2 = 0; i$2 < argc; ++i$2) insertAtArgs.push(args[i$2]);
|
|
37461
37461
|
return pp.insertAt.apply(pp, insertAtArgs);
|
|
37462
37462
|
};
|
|
37463
|
-
function repairRelationshipWithParent(path) {
|
|
37464
|
-
if (!(path instanceof Path$1)) throw new Error("");
|
|
37465
|
-
var pp = path.parentPath;
|
|
37466
|
-
if (!pp) return path;
|
|
37463
|
+
function repairRelationshipWithParent(path$1) {
|
|
37464
|
+
if (!(path$1 instanceof Path$1)) throw new Error("");
|
|
37465
|
+
var pp = path$1.parentPath;
|
|
37466
|
+
if (!pp) return path$1;
|
|
37467
37467
|
var parentValue = pp.value;
|
|
37468
37468
|
var parentCache = getChildCache(pp);
|
|
37469
|
-
if (parentValue[path.name] === path.value) parentCache[path.name] = path;
|
|
37469
|
+
if (parentValue[path$1.name] === path$1.value) parentCache[path$1.name] = path$1;
|
|
37470
37470
|
else if (isArray$12.check(parentValue)) {
|
|
37471
|
-
var i$2 = parentValue.indexOf(path.value);
|
|
37472
|
-
if (i$2 >= 0) parentCache[path.name = i$2] = path;
|
|
37471
|
+
var i$2 = parentValue.indexOf(path$1.value);
|
|
37472
|
+
if (i$2 >= 0) parentCache[path$1.name = i$2] = path$1;
|
|
37473
37473
|
} else {
|
|
37474
|
-
parentValue[path.name] = path.value;
|
|
37475
|
-
parentCache[path.name] = path;
|
|
37474
|
+
parentValue[path$1.name] = path$1.value;
|
|
37475
|
+
parentCache[path$1.name] = path$1;
|
|
37476
37476
|
}
|
|
37477
|
-
if (parentValue[path.name] !== path.value) throw new Error("");
|
|
37478
|
-
if (path.parentPath.get(path.name) !== path) throw new Error("");
|
|
37479
|
-
return path;
|
|
37477
|
+
if (parentValue[path$1.name] !== path$1.value) throw new Error("");
|
|
37478
|
+
if (path$1.parentPath.get(path$1.name) !== path$1) throw new Error("");
|
|
37479
|
+
return path$1;
|
|
37480
37480
|
}
|
|
37481
37481
|
Pp$1.replace = function replace(replacement) {
|
|
37482
37482
|
var results = [];
|
|
@@ -37537,9 +37537,9 @@ var require_scope = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
37537
37537
|
var Expression$2 = namedTypes$1.Expression;
|
|
37538
37538
|
var isArray$12 = types$8.builtInTypes.array;
|
|
37539
37539
|
var b$5 = types$8.builders;
|
|
37540
|
-
var Scope = function Scope$1(path, parentScope) {
|
|
37540
|
+
var Scope = function Scope$1(path$1, parentScope) {
|
|
37541
37541
|
if (!(this instanceof Scope$1)) throw new Error("Scope constructor cannot be invoked without 'new'");
|
|
37542
|
-
if (!TypeParameterScopeType.check(path.value)) ScopeType.assert(path.value);
|
|
37542
|
+
if (!TypeParameterScopeType.check(path$1.value)) ScopeType.assert(path$1.value);
|
|
37543
37543
|
var depth;
|
|
37544
37544
|
if (parentScope) {
|
|
37545
37545
|
if (!(parentScope instanceof Scope$1)) throw new Error("");
|
|
@@ -37549,8 +37549,8 @@ var require_scope = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
37549
37549
|
depth = 0;
|
|
37550
37550
|
}
|
|
37551
37551
|
Object.defineProperties(this, {
|
|
37552
|
-
path: { value: path },
|
|
37553
|
-
node: { value: path.value },
|
|
37552
|
+
path: { value: path$1 },
|
|
37553
|
+
node: { value: path$1.value },
|
|
37554
37554
|
isGlobal: {
|
|
37555
37555
|
value: !parentScope,
|
|
37556
37556
|
enumerable: true
|
|
@@ -37611,60 +37611,60 @@ var require_scope = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
37611
37611
|
this.scan();
|
|
37612
37612
|
return this.types;
|
|
37613
37613
|
};
|
|
37614
|
-
function scanScope(path, bindings, scopeTypes) {
|
|
37615
|
-
var node = path.value;
|
|
37614
|
+
function scanScope(path$1, bindings, scopeTypes) {
|
|
37615
|
+
var node = path$1.value;
|
|
37616
37616
|
if (TypeParameterScopeType.check(node)) {
|
|
37617
|
-
var params = path.get("typeParameters", "params");
|
|
37617
|
+
var params = path$1.get("typeParameters", "params");
|
|
37618
37618
|
if (isArray$12.check(params.value)) params.each(function(childPath) {
|
|
37619
37619
|
addTypeParameter(childPath, scopeTypes);
|
|
37620
37620
|
});
|
|
37621
37621
|
}
|
|
37622
|
-
if (ScopeType.check(node)) if (namedTypes$1.CatchClause.check(node)) addPattern(path.get("param"), bindings);
|
|
37623
|
-
else recursiveScanScope(path, bindings, scopeTypes);
|
|
37622
|
+
if (ScopeType.check(node)) if (namedTypes$1.CatchClause.check(node)) addPattern(path$1.get("param"), bindings);
|
|
37623
|
+
else recursiveScanScope(path$1, bindings, scopeTypes);
|
|
37624
37624
|
}
|
|
37625
|
-
function recursiveScanScope(path, bindings, scopeTypes) {
|
|
37626
|
-
var node = path.value;
|
|
37627
|
-
if (path.parent && namedTypes$1.FunctionExpression.check(path.parent.node) && path.parent.node.id) addPattern(path.parent.get("id"), bindings);
|
|
37628
|
-
if (!node) {} else if (isArray$12.check(node)) path.each(function(childPath) {
|
|
37625
|
+
function recursiveScanScope(path$1, bindings, scopeTypes) {
|
|
37626
|
+
var node = path$1.value;
|
|
37627
|
+
if (path$1.parent && namedTypes$1.FunctionExpression.check(path$1.parent.node) && path$1.parent.node.id) addPattern(path$1.parent.get("id"), bindings);
|
|
37628
|
+
if (!node) {} else if (isArray$12.check(node)) path$1.each(function(childPath) {
|
|
37629
37629
|
recursiveScanChild(childPath, bindings, scopeTypes);
|
|
37630
37630
|
});
|
|
37631
37631
|
else if (namedTypes$1.Function.check(node)) {
|
|
37632
|
-
path.get("params").each(function(paramPath) {
|
|
37632
|
+
path$1.get("params").each(function(paramPath) {
|
|
37633
37633
|
addPattern(paramPath, bindings);
|
|
37634
37634
|
});
|
|
37635
|
-
recursiveScanChild(path.get("body"), bindings, scopeTypes);
|
|
37636
|
-
recursiveScanScope(path.get("typeParameters"), bindings, scopeTypes);
|
|
37637
|
-
} else if (namedTypes$1.TypeAlias && namedTypes$1.TypeAlias.check(node) || namedTypes$1.InterfaceDeclaration && namedTypes$1.InterfaceDeclaration.check(node) || namedTypes$1.TSTypeAliasDeclaration && namedTypes$1.TSTypeAliasDeclaration.check(node) || namedTypes$1.TSInterfaceDeclaration && namedTypes$1.TSInterfaceDeclaration.check(node)) addTypePattern(path.get("id"), scopeTypes);
|
|
37635
|
+
recursiveScanChild(path$1.get("body"), bindings, scopeTypes);
|
|
37636
|
+
recursiveScanScope(path$1.get("typeParameters"), bindings, scopeTypes);
|
|
37637
|
+
} else if (namedTypes$1.TypeAlias && namedTypes$1.TypeAlias.check(node) || namedTypes$1.InterfaceDeclaration && namedTypes$1.InterfaceDeclaration.check(node) || namedTypes$1.TSTypeAliasDeclaration && namedTypes$1.TSTypeAliasDeclaration.check(node) || namedTypes$1.TSInterfaceDeclaration && namedTypes$1.TSInterfaceDeclaration.check(node)) addTypePattern(path$1.get("id"), scopeTypes);
|
|
37638
37638
|
else if (namedTypes$1.VariableDeclarator.check(node)) {
|
|
37639
|
-
addPattern(path.get("id"), bindings);
|
|
37640
|
-
recursiveScanChild(path.get("init"), bindings, scopeTypes);
|
|
37641
|
-
} else if (node.type === "ImportSpecifier" || node.type === "ImportNamespaceSpecifier" || node.type === "ImportDefaultSpecifier") addPattern(path.get(node.local ? "local" : node.name ? "name" : "id"), bindings);
|
|
37639
|
+
addPattern(path$1.get("id"), bindings);
|
|
37640
|
+
recursiveScanChild(path$1.get("init"), bindings, scopeTypes);
|
|
37641
|
+
} else if (node.type === "ImportSpecifier" || node.type === "ImportNamespaceSpecifier" || node.type === "ImportDefaultSpecifier") addPattern(path$1.get(node.local ? "local" : node.name ? "name" : "id"), bindings);
|
|
37642
37642
|
else if (Node.check(node) && !Expression$2.check(node)) types$8.eachField(node, function(name, child) {
|
|
37643
|
-
var childPath = path.get(name);
|
|
37643
|
+
var childPath = path$1.get(name);
|
|
37644
37644
|
if (!pathHasValue(childPath, child)) throw new Error("");
|
|
37645
37645
|
recursiveScanChild(childPath, bindings, scopeTypes);
|
|
37646
37646
|
});
|
|
37647
37647
|
}
|
|
37648
|
-
function pathHasValue(path, value) {
|
|
37649
|
-
if (path.value === value) return true;
|
|
37650
|
-
if (Array.isArray(path.value) && path.value.length === 0 && Array.isArray(value) && value.length === 0) return true;
|
|
37648
|
+
function pathHasValue(path$1, value) {
|
|
37649
|
+
if (path$1.value === value) return true;
|
|
37650
|
+
if (Array.isArray(path$1.value) && path$1.value.length === 0 && Array.isArray(value) && value.length === 0) return true;
|
|
37651
37651
|
return false;
|
|
37652
37652
|
}
|
|
37653
|
-
function recursiveScanChild(path, bindings, scopeTypes) {
|
|
37654
|
-
var node = path.value;
|
|
37655
|
-
if (!node || Expression$2.check(node)) {} else if (namedTypes$1.FunctionDeclaration.check(node) && node.id !== null) addPattern(path.get("id"), bindings);
|
|
37653
|
+
function recursiveScanChild(path$1, bindings, scopeTypes) {
|
|
37654
|
+
var node = path$1.value;
|
|
37655
|
+
if (!node || Expression$2.check(node)) {} else if (namedTypes$1.FunctionDeclaration.check(node) && node.id !== null) addPattern(path$1.get("id"), bindings);
|
|
37656
37656
|
else if (namedTypes$1.ClassDeclaration && namedTypes$1.ClassDeclaration.check(node) && node.id !== null) {
|
|
37657
|
-
addPattern(path.get("id"), bindings);
|
|
37658
|
-
recursiveScanScope(path.get("typeParameters"), bindings, scopeTypes);
|
|
37659
|
-
} else if (namedTypes$1.InterfaceDeclaration && namedTypes$1.InterfaceDeclaration.check(node) || namedTypes$1.TSInterfaceDeclaration && namedTypes$1.TSInterfaceDeclaration.check(node)) addTypePattern(path.get("id"), scopeTypes);
|
|
37657
|
+
addPattern(path$1.get("id"), bindings);
|
|
37658
|
+
recursiveScanScope(path$1.get("typeParameters"), bindings, scopeTypes);
|
|
37659
|
+
} else if (namedTypes$1.InterfaceDeclaration && namedTypes$1.InterfaceDeclaration.check(node) || namedTypes$1.TSInterfaceDeclaration && namedTypes$1.TSInterfaceDeclaration.check(node)) addTypePattern(path$1.get("id"), scopeTypes);
|
|
37660
37660
|
else if (ScopeType.check(node)) {
|
|
37661
37661
|
if (namedTypes$1.CatchClause.check(node) && namedTypes$1.Identifier.check(node.param)) {
|
|
37662
37662
|
var catchParamName = node.param.name;
|
|
37663
37663
|
var hadBinding = hasOwn$4.call(bindings, catchParamName);
|
|
37664
|
-
recursiveScanScope(path.get("body"), bindings, scopeTypes);
|
|
37664
|
+
recursiveScanScope(path$1.get("body"), bindings, scopeTypes);
|
|
37665
37665
|
if (!hadBinding) delete bindings[catchParamName];
|
|
37666
37666
|
}
|
|
37667
|
-
} else recursiveScanScope(path, bindings, scopeTypes);
|
|
37667
|
+
} else recursiveScanScope(path$1, bindings, scopeTypes);
|
|
37668
37668
|
}
|
|
37669
37669
|
function addPattern(patternPath, bindings) {
|
|
37670
37670
|
var pattern = patternPath.value;
|
|
@@ -37928,39 +37928,39 @@ var require_node_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
37928
37928
|
NPp.firstInStatement = function() {
|
|
37929
37929
|
return firstInStatement(this);
|
|
37930
37930
|
};
|
|
37931
|
-
function firstInStatement(path) {
|
|
37932
|
-
for (var node, parent; path.parent; path = path.parent) {
|
|
37933
|
-
node = path.node;
|
|
37934
|
-
parent = path.parent.node;
|
|
37935
|
-
if (n$5.BlockStatement.check(parent) && path.parent.name === "body" && path.name === 0) {
|
|
37931
|
+
function firstInStatement(path$1) {
|
|
37932
|
+
for (var node, parent; path$1.parent; path$1 = path$1.parent) {
|
|
37933
|
+
node = path$1.node;
|
|
37934
|
+
parent = path$1.parent.node;
|
|
37935
|
+
if (n$5.BlockStatement.check(parent) && path$1.parent.name === "body" && path$1.name === 0) {
|
|
37936
37936
|
if (parent.body[0] !== node) throw new Error("Nodes must be equal");
|
|
37937
37937
|
return true;
|
|
37938
37938
|
}
|
|
37939
|
-
if (n$5.ExpressionStatement.check(parent) && path.name === "expression") {
|
|
37939
|
+
if (n$5.ExpressionStatement.check(parent) && path$1.name === "expression") {
|
|
37940
37940
|
if (parent.expression !== node) throw new Error("Nodes must be equal");
|
|
37941
37941
|
return true;
|
|
37942
37942
|
}
|
|
37943
|
-
if (n$5.SequenceExpression.check(parent) && path.parent.name === "expressions" && path.name === 0) {
|
|
37943
|
+
if (n$5.SequenceExpression.check(parent) && path$1.parent.name === "expressions" && path$1.name === 0) {
|
|
37944
37944
|
if (parent.expressions[0] !== node) throw new Error("Nodes must be equal");
|
|
37945
37945
|
continue;
|
|
37946
37946
|
}
|
|
37947
|
-
if (n$5.CallExpression.check(parent) && path.name === "callee") {
|
|
37947
|
+
if (n$5.CallExpression.check(parent) && path$1.name === "callee") {
|
|
37948
37948
|
if (parent.callee !== node) throw new Error("Nodes must be equal");
|
|
37949
37949
|
continue;
|
|
37950
37950
|
}
|
|
37951
|
-
if (n$5.MemberExpression.check(parent) && path.name === "object") {
|
|
37951
|
+
if (n$5.MemberExpression.check(parent) && path$1.name === "object") {
|
|
37952
37952
|
if (parent.object !== node) throw new Error("Nodes must be equal");
|
|
37953
37953
|
continue;
|
|
37954
37954
|
}
|
|
37955
|
-
if (n$5.ConditionalExpression.check(parent) && path.name === "test") {
|
|
37955
|
+
if (n$5.ConditionalExpression.check(parent) && path$1.name === "test") {
|
|
37956
37956
|
if (parent.test !== node) throw new Error("Nodes must be equal");
|
|
37957
37957
|
continue;
|
|
37958
37958
|
}
|
|
37959
|
-
if (isBinary$1(parent) && path.name === "left") {
|
|
37959
|
+
if (isBinary$1(parent) && path$1.name === "left") {
|
|
37960
37960
|
if (parent.left !== node) throw new Error("Nodes must be equal");
|
|
37961
37961
|
continue;
|
|
37962
37962
|
}
|
|
37963
|
-
if (n$5.UnaryExpression.check(parent) && !parent.prefix && path.name === "argument") {
|
|
37963
|
+
if (n$5.UnaryExpression.check(parent) && !parent.prefix && path$1.name === "argument") {
|
|
37964
37964
|
if (parent.argument !== node) throw new Error("Nodes must be equal");
|
|
37965
37965
|
continue;
|
|
37966
37966
|
}
|
|
@@ -38090,25 +38090,25 @@ var require_path_visitor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
38090
38090
|
throw request;
|
|
38091
38091
|
};
|
|
38092
38092
|
PVp.reset = function(_path) {};
|
|
38093
|
-
PVp.visitWithoutReset = function(path) {
|
|
38094
|
-
if (this instanceof this.Context) return this.visitor.visitWithoutReset(path);
|
|
38095
|
-
if (!(path instanceof NodePath$1)) throw new Error("");
|
|
38096
|
-
var value = path.value;
|
|
38093
|
+
PVp.visitWithoutReset = function(path$1) {
|
|
38094
|
+
if (this instanceof this.Context) return this.visitor.visitWithoutReset(path$1);
|
|
38095
|
+
if (!(path$1 instanceof NodePath$1)) throw new Error("");
|
|
38096
|
+
var value = path$1.value;
|
|
38097
38097
|
var methodName = value && typeof value === "object" && typeof value.type === "string" && this._methodNameTable[value.type];
|
|
38098
38098
|
if (methodName) {
|
|
38099
|
-
var context = this.acquireContext(path);
|
|
38099
|
+
var context = this.acquireContext(path$1);
|
|
38100
38100
|
try {
|
|
38101
38101
|
return context.invokeVisitorMethod(methodName);
|
|
38102
38102
|
} finally {
|
|
38103
38103
|
this.releaseContext(context);
|
|
38104
38104
|
}
|
|
38105
|
-
} else return visitChildren(path, this);
|
|
38105
|
+
} else return visitChildren(path$1, this);
|
|
38106
38106
|
};
|
|
38107
|
-
function visitChildren(path, visitor) {
|
|
38108
|
-
if (!(path instanceof NodePath$1)) throw new Error("");
|
|
38107
|
+
function visitChildren(path$1, visitor) {
|
|
38108
|
+
if (!(path$1 instanceof NodePath$1)) throw new Error("");
|
|
38109
38109
|
if (!(visitor instanceof PathVisitor$1)) throw new Error("");
|
|
38110
|
-
var value = path.value;
|
|
38111
|
-
if (isArray$12.check(value)) path.each(visitor.visitWithoutReset, visitor);
|
|
38110
|
+
var value = path$1.value;
|
|
38111
|
+
if (isArray$12.check(value)) path$1.each(visitor.visitWithoutReset, visitor);
|
|
38112
38112
|
else if (!isObject$10.check(value)) {} else {
|
|
38113
38113
|
var childNames = types$8.getFieldNames(value);
|
|
38114
38114
|
if (visitor._shouldVisitComments && value.comments && childNames.indexOf("comments") < 0) childNames.push("comments");
|
|
@@ -38117,15 +38117,15 @@ var require_path_visitor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
38117
38117
|
for (var i$2 = 0; i$2 < childCount; ++i$2) {
|
|
38118
38118
|
var childName = childNames[i$2];
|
|
38119
38119
|
if (!hasOwn$3.call(value, childName)) value[childName] = types$8.getFieldValue(value, childName);
|
|
38120
|
-
childPaths.push(path.get(childName));
|
|
38120
|
+
childPaths.push(path$1.get(childName));
|
|
38121
38121
|
}
|
|
38122
38122
|
for (var i$2 = 0; i$2 < childCount; ++i$2) visitor.visitWithoutReset(childPaths[i$2]);
|
|
38123
38123
|
}
|
|
38124
|
-
return path.value;
|
|
38124
|
+
return path$1.value;
|
|
38125
38125
|
}
|
|
38126
|
-
PVp.acquireContext = function(path) {
|
|
38127
|
-
if (this._reusableContextStack.length === 0) return new this.Context(path);
|
|
38128
|
-
return this._reusableContextStack.pop().reset(path);
|
|
38126
|
+
PVp.acquireContext = function(path$1) {
|
|
38127
|
+
if (this._reusableContextStack.length === 0) return new this.Context(path$1);
|
|
38128
|
+
return this._reusableContextStack.pop().reset(path$1);
|
|
38129
38129
|
};
|
|
38130
38130
|
PVp.releaseContext = function(context) {
|
|
38131
38131
|
if (!(context instanceof this.Context)) throw new Error("");
|
|
@@ -38139,17 +38139,17 @@ var require_path_visitor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
38139
38139
|
return this._changeReported;
|
|
38140
38140
|
};
|
|
38141
38141
|
function makeContextConstructor(visitor) {
|
|
38142
|
-
function Context(path) {
|
|
38142
|
+
function Context(path$1) {
|
|
38143
38143
|
if (!(this instanceof Context)) throw new Error("");
|
|
38144
38144
|
if (!(this instanceof PathVisitor$1)) throw new Error("");
|
|
38145
|
-
if (!(path instanceof NodePath$1)) throw new Error("");
|
|
38145
|
+
if (!(path$1 instanceof NodePath$1)) throw new Error("");
|
|
38146
38146
|
Object.defineProperty(this, "visitor", {
|
|
38147
38147
|
value: visitor,
|
|
38148
38148
|
writable: false,
|
|
38149
38149
|
enumerable: true,
|
|
38150
38150
|
configurable: false
|
|
38151
38151
|
});
|
|
38152
|
-
this.currentPath = path;
|
|
38152
|
+
this.currentPath = path$1;
|
|
38153
38153
|
this.needToCallTraverse = true;
|
|
38154
38154
|
Object.seal(this);
|
|
38155
38155
|
}
|
|
@@ -38160,10 +38160,10 @@ var require_path_visitor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
38160
38160
|
return Context;
|
|
38161
38161
|
}
|
|
38162
38162
|
var sharedContextProtoMethods = Object.create(null);
|
|
38163
|
-
sharedContextProtoMethods.reset = function reset(path) {
|
|
38163
|
+
sharedContextProtoMethods.reset = function reset(path$1) {
|
|
38164
38164
|
if (!(this instanceof this.Context)) throw new Error("");
|
|
38165
|
-
if (!(path instanceof NodePath$1)) throw new Error("");
|
|
38166
|
-
this.currentPath = path;
|
|
38165
|
+
if (!(path$1 instanceof NodePath$1)) throw new Error("");
|
|
38166
|
+
this.currentPath = path$1;
|
|
38167
38167
|
this.needToCallTraverse = true;
|
|
38168
38168
|
return this;
|
|
38169
38169
|
};
|
|
@@ -38177,22 +38177,22 @@ var require_path_visitor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
38177
38177
|
if (this.needToCallTraverse) this.traverse(this.currentPath);
|
|
38178
38178
|
}
|
|
38179
38179
|
if (this.needToCallTraverse !== false) throw new Error("Must either call this.traverse or return false in " + methodName);
|
|
38180
|
-
var path = this.currentPath;
|
|
38181
|
-
return path && path.value;
|
|
38180
|
+
var path$1 = this.currentPath;
|
|
38181
|
+
return path$1 && path$1.value;
|
|
38182
38182
|
};
|
|
38183
|
-
sharedContextProtoMethods.traverse = function traverse(path, newVisitor) {
|
|
38183
|
+
sharedContextProtoMethods.traverse = function traverse(path$1, newVisitor) {
|
|
38184
38184
|
if (!(this instanceof this.Context)) throw new Error("");
|
|
38185
|
-
if (!(path instanceof NodePath$1)) throw new Error("");
|
|
38185
|
+
if (!(path$1 instanceof NodePath$1)) throw new Error("");
|
|
38186
38186
|
if (!(this.currentPath instanceof NodePath$1)) throw new Error("");
|
|
38187
38187
|
this.needToCallTraverse = false;
|
|
38188
|
-
return visitChildren(path, PathVisitor$1.fromMethodsObject(newVisitor || this.visitor));
|
|
38188
|
+
return visitChildren(path$1, PathVisitor$1.fromMethodsObject(newVisitor || this.visitor));
|
|
38189
38189
|
};
|
|
38190
|
-
sharedContextProtoMethods.visit = function visit$5(path, newVisitor) {
|
|
38190
|
+
sharedContextProtoMethods.visit = function visit$5(path$1, newVisitor) {
|
|
38191
38191
|
if (!(this instanceof this.Context)) throw new Error("");
|
|
38192
|
-
if (!(path instanceof NodePath$1)) throw new Error("");
|
|
38192
|
+
if (!(path$1 instanceof NodePath$1)) throw new Error("");
|
|
38193
38193
|
if (!(this.currentPath instanceof NodePath$1)) throw new Error("");
|
|
38194
38194
|
this.needToCallTraverse = false;
|
|
38195
|
-
return PathVisitor$1.fromMethodsObject(newVisitor || this.visitor).visitWithoutReset(path);
|
|
38195
|
+
return PathVisitor$1.fromMethodsObject(newVisitor || this.visitor).visitWithoutReset(path$1);
|
|
38196
38196
|
};
|
|
38197
38197
|
sharedContextProtoMethods.reportChanged = function reportChanged() {
|
|
38198
38198
|
this.visitor.reportChanged();
|
|
@@ -39469,7 +39469,6 @@ var require_errors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
39469
39469
|
module.exports.codes = codes;
|
|
39470
39470
|
}));
|
|
39471
39471
|
var require_assertion_error = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
39472
|
-
init_dist$1();
|
|
39473
39472
|
function ownKeys(e$1, r$1) {
|
|
39474
39473
|
var t$1 = Object.keys(e$1);
|
|
39475
39474
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -39707,7 +39706,7 @@ var require_assertion_error = /* @__PURE__ */ __commonJSMin(((exports, module) =
|
|
|
39707
39706
|
if (inputLength <= kMaxShortLength) {
|
|
39708
39707
|
if ((_typeof$2(actual) !== "object" || actual === null) && (_typeof$2(expected) !== "object" || expected === null) && (actual !== 0 || expected !== 0)) return "".concat(kReadableOperator[operator], "\n\n") + "".concat(actualLines[0], " !== ").concat(expectedLines[0], "\n");
|
|
39709
39708
|
} else if (operator !== "strictEqualObject") {
|
|
39710
|
-
if (inputLength < (process
|
|
39709
|
+
if (inputLength < (process.stderr && process.stderr.isTTY ? process.stderr.columns : 80)) {
|
|
39711
39710
|
while (actualLines[0][i$2] === expectedLines[0][i$2]) i$2++;
|
|
39712
39711
|
if (i$2 > 2) {
|
|
39713
39712
|
indicator = "\n ".concat(repeat(" ", i$2), "^");
|
|
@@ -39829,7 +39828,7 @@ var require_assertion_error = /* @__PURE__ */ __commonJSMin(((exports, module) =
|
|
|
39829
39828
|
Error.stackTraceLimit = 0;
|
|
39830
39829
|
if (message != null) _this = _super.call(this, String(message));
|
|
39831
39830
|
else {
|
|
39832
|
-
if (process
|
|
39831
|
+
if (process.stderr && process.stderr.isTTY) if (process.stderr && process.stderr.getColorDepth && process.stderr.getColorDepth() !== 1) {
|
|
39833
39832
|
blue = "\x1B[34m";
|
|
39834
39833
|
green = "\x1B[32m";
|
|
39835
39834
|
white = "\x1B[39m";
|
|
@@ -40028,19 +40027,19 @@ var require_object_keys = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
40028
40027
|
var require_implementation$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
40029
40028
|
var objectKeys = require_object_keys();
|
|
40030
40029
|
var hasSymbols$1 = require_shams$1()();
|
|
40031
|
-
var callBound =
|
|
40032
|
-
var
|
|
40030
|
+
var callBound = require_call_bound();
|
|
40031
|
+
var $Object = require_es_object_atoms();
|
|
40033
40032
|
var $push = callBound("Array.prototype.push");
|
|
40034
40033
|
var $propIsEnumerable = callBound("Object.prototype.propertyIsEnumerable");
|
|
40035
|
-
var originalGetSymbols = hasSymbols$1 ? Object.getOwnPropertySymbols : null;
|
|
40034
|
+
var originalGetSymbols = hasSymbols$1 ? $Object.getOwnPropertySymbols : null;
|
|
40036
40035
|
module.exports = function assign(target, source1) {
|
|
40037
40036
|
if (target == null) throw new TypeError("target must be an object");
|
|
40038
|
-
var to =
|
|
40037
|
+
var to = $Object(target);
|
|
40039
40038
|
if (arguments.length === 1) return to;
|
|
40040
40039
|
for (var s$2 = 1; s$2 < arguments.length; ++s$2) {
|
|
40041
|
-
var from$2 =
|
|
40040
|
+
var from$2 = $Object(arguments[s$2]);
|
|
40042
40041
|
var keys$9 = objectKeys(from$2);
|
|
40043
|
-
var getSymbols$4 = hasSymbols$1 && (Object.getOwnPropertySymbols || originalGetSymbols);
|
|
40042
|
+
var getSymbols$4 = hasSymbols$1 && ($Object.getOwnPropertySymbols || originalGetSymbols);
|
|
40044
40043
|
if (getSymbols$4) {
|
|
40045
40044
|
var syms = getSymbols$4(from$2);
|
|
40046
40045
|
for (var j$1 = 0; j$1 < syms.length; ++j$1) {
|
|
@@ -40103,36 +40102,6 @@ var require_polyfill$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
40103
40102
|
return typeof Object.is === "function" ? Object.is : implementation$3;
|
|
40104
40103
|
};
|
|
40105
40104
|
}));
|
|
40106
|
-
var require_call_bind = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
40107
|
-
var bind = require_function_bind();
|
|
40108
|
-
var GetIntrinsic$1 = require_get_intrinsic();
|
|
40109
|
-
var setFunctionLength = require_set_function_length();
|
|
40110
|
-
var $TypeError = require_type();
|
|
40111
|
-
var $apply = GetIntrinsic$1("%Function.prototype.apply%");
|
|
40112
|
-
var $call = GetIntrinsic$1("%Function.prototype.call%");
|
|
40113
|
-
var $reflectApply = GetIntrinsic$1("%Reflect.apply%", true) || bind.call($call, $apply);
|
|
40114
|
-
var $defineProperty = require_es_define_property();
|
|
40115
|
-
var $max = GetIntrinsic$1("%Math.max%");
|
|
40116
|
-
module.exports = function callBind$5(originalFunction) {
|
|
40117
|
-
if (typeof originalFunction !== "function") throw new $TypeError("a function is required");
|
|
40118
|
-
return setFunctionLength($reflectApply(bind, $call, arguments), 1 + $max(0, originalFunction.length - (arguments.length - 1)), true);
|
|
40119
|
-
};
|
|
40120
|
-
var applyBind = function applyBind$2() {
|
|
40121
|
-
return $reflectApply(bind, $apply, arguments);
|
|
40122
|
-
};
|
|
40123
|
-
if ($defineProperty) $defineProperty(module.exports, "apply", { value: applyBind });
|
|
40124
|
-
else module.exports.apply = applyBind;
|
|
40125
|
-
}));
|
|
40126
|
-
var require_callBound = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
40127
|
-
var GetIntrinsic = require_get_intrinsic();
|
|
40128
|
-
var callBind$2 = require_call_bind();
|
|
40129
|
-
var $indexOf = callBind$2(GetIntrinsic("String.prototype.indexOf"));
|
|
40130
|
-
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
40131
|
-
var intrinsic = GetIntrinsic(name, !!allowMissing);
|
|
40132
|
-
if (typeof intrinsic === "function" && $indexOf(name, ".prototype.") > -1) return callBind$2(intrinsic);
|
|
40133
|
-
return intrinsic;
|
|
40134
|
-
};
|
|
40135
|
-
}));
|
|
40136
40105
|
var require_define_properties = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
40137
40106
|
var keys$5 = require_object_keys();
|
|
40138
40107
|
var hasSymbols = typeof Symbol === "function" && typeof Symbol("foo") === "symbol";
|
|
@@ -40174,7 +40143,7 @@ var require_shim$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
40174
40143
|
}));
|
|
40175
40144
|
var require_object_is = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
40176
40145
|
var define$3 = require_define_properties();
|
|
40177
|
-
var callBind$1 = require_call_bind
|
|
40146
|
+
var callBind$1 = require_call_bind();
|
|
40178
40147
|
var implementation$2 = require_implementation$1();
|
|
40179
40148
|
var getPolyfill$2 = require_polyfill$1();
|
|
40180
40149
|
var shim$1 = require_shim$1();
|
|
@@ -40210,7 +40179,7 @@ var require_shim = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
40210
40179
|
};
|
|
40211
40180
|
}));
|
|
40212
40181
|
var require_is_nan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
40213
|
-
var callBind = require_call_bind
|
|
40182
|
+
var callBind = require_call_bind();
|
|
40214
40183
|
var define$1 = require_define_properties();
|
|
40215
40184
|
var implementation = require_implementation();
|
|
40216
40185
|
var getPolyfill = require_polyfill();
|
|
@@ -40313,12 +40282,6 @@ var require_comparisons = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
40313
40282
|
function getOwnNonIndexProperties(value) {
|
|
40314
40283
|
return Object.keys(value).filter(isNonIndex).concat(objectGetOwnPropertySymbols(value).filter(Object.prototype.propertyIsEnumerable.bind(value)));
|
|
40315
40284
|
}
|
|
40316
|
-
/*!
|
|
40317
|
-
* The buffer module from node.js, for the browser.
|
|
40318
|
-
*
|
|
40319
|
-
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|
40320
|
-
* @license MIT
|
|
40321
|
-
*/
|
|
40322
40285
|
function compare(a$1, b$5) {
|
|
40323
40286
|
if (a$1 === b$5) return 0;
|
|
40324
40287
|
var x$1 = a$1.length;
|
|
@@ -40604,7 +40567,6 @@ var require_comparisons = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
40604
40567
|
};
|
|
40605
40568
|
}));
|
|
40606
40569
|
var require_assert = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
40607
|
-
init_dist$1();
|
|
40608
40570
|
function _typeof(o$1) {
|
|
40609
40571
|
"@babel/helpers - typeof";
|
|
40610
40572
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o$2) {
|
|
@@ -40676,7 +40638,7 @@ var require_assert = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
40676
40638
|
} else {
|
|
40677
40639
|
if (warned === false) {
|
|
40678
40640
|
warned = true;
|
|
40679
|
-
(process
|
|
40641
|
+
(process.emitWarning ? process.emitWarning : console.warn.bind(console))("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.", "DeprecationWarning", "DEP0094");
|
|
40680
40642
|
}
|
|
40681
40643
|
if (argsLen === 2) operator = "!=";
|
|
40682
40644
|
}
|
|
@@ -41135,14 +41097,14 @@ var require_util$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
41135
41097
|
}
|
|
41136
41098
|
exports.urlGenerate = urlGenerate;
|
|
41137
41099
|
function normalize$1(aPath) {
|
|
41138
|
-
var path = aPath;
|
|
41100
|
+
var path$1 = aPath;
|
|
41139
41101
|
var url$1 = urlParse(aPath);
|
|
41140
41102
|
if (url$1) {
|
|
41141
41103
|
if (!url$1.path) return aPath;
|
|
41142
|
-
path = url$1.path;
|
|
41104
|
+
path$1 = url$1.path;
|
|
41143
41105
|
}
|
|
41144
|
-
var isAbsolute = exports.isAbsolute(path);
|
|
41145
|
-
var parts = path.split(/\/+/);
|
|
41106
|
+
var isAbsolute = exports.isAbsolute(path$1);
|
|
41107
|
+
var parts = path$1.split(/\/+/);
|
|
41146
41108
|
for (var part, up = 0, i$2 = parts.length - 1; i$2 >= 0; i$2--) {
|
|
41147
41109
|
part = parts[i$2];
|
|
41148
41110
|
if (part === ".") parts.splice(i$2, 1);
|
|
@@ -41155,13 +41117,13 @@ var require_util$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
41155
41117
|
up--;
|
|
41156
41118
|
}
|
|
41157
41119
|
}
|
|
41158
|
-
path = parts.join("/");
|
|
41159
|
-
if (path === "") path = isAbsolute ? "/" : ".";
|
|
41120
|
+
path$1 = parts.join("/");
|
|
41121
|
+
if (path$1 === "") path$1 = isAbsolute ? "/" : ".";
|
|
41160
41122
|
if (url$1) {
|
|
41161
|
-
url$1.path = path;
|
|
41123
|
+
url$1.path = path$1;
|
|
41162
41124
|
return urlGenerate(url$1);
|
|
41163
41125
|
}
|
|
41164
|
-
return path;
|
|
41126
|
+
return path$1;
|
|
41165
41127
|
}
|
|
41166
41128
|
exports.normalize = normalize$1;
|
|
41167
41129
|
function join(aRoot, aPath) {
|
|
@@ -42335,6 +42297,7 @@ var require_source_map = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
42335
42297
|
}));
|
|
42336
42298
|
var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
42337
42299
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42300
|
+
exports.isTrailingCommaEnabled = exports.getParentExportDeclaration = exports.isExportDeclaration = exports.fixFaultyLocations = exports.getTrueLoc = exports.composeSourceMaps = exports.copyPos = exports.comparePos = exports.getUnionOfKeys = exports.getOption = exports.isBrowser = exports.getLineTerminator = void 0;
|
|
42338
42301
|
var tslib_1$7 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
42339
42302
|
var assert_1$7 = tslib_1$7.__importDefault(require_assert());
|
|
42340
42303
|
var n$2 = tslib_1$7.__importStar(require_main$1()).namedTypes;
|
|
@@ -42538,9 +42501,9 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
42538
42501
|
return false;
|
|
42539
42502
|
}
|
|
42540
42503
|
exports.isExportDeclaration = isExportDeclaration;
|
|
42541
|
-
function getParentExportDeclaration(path) {
|
|
42542
|
-
var parentNode = path.getParentNode();
|
|
42543
|
-
if (path.getName() === "declaration" && isExportDeclaration(parentNode)) return parentNode;
|
|
42504
|
+
function getParentExportDeclaration(path$1) {
|
|
42505
|
+
var parentNode = path$1.getParentNode();
|
|
42506
|
+
if (path$1.getName() === "declaration" && isExportDeclaration(parentNode)) return parentNode;
|
|
42544
42507
|
return null;
|
|
42545
42508
|
}
|
|
42546
42509
|
exports.getParentExportDeclaration = getParentExportDeclaration;
|
|
@@ -42579,6 +42542,7 @@ var require_esprima$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
42579
42542
|
return __webpack_require__(0);
|
|
42580
42543
|
})([
|
|
42581
42544
|
function(module$1, exports$1, __webpack_require__) {
|
|
42545
|
+
"use strict";
|
|
42582
42546
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
42583
42547
|
var comment_handler_1 = __webpack_require__(1);
|
|
42584
42548
|
var jsx_parser_1 = __webpack_require__(3);
|
|
@@ -42647,6 +42611,7 @@ var require_esprima$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
42647
42611
|
exports$1.version = "4.0.1";
|
|
42648
42612
|
},
|
|
42649
42613
|
function(module$1, exports$1, __webpack_require__) {
|
|
42614
|
+
"use strict";
|
|
42650
42615
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
42651
42616
|
var syntax_1 = __webpack_require__(2);
|
|
42652
42617
|
exports$1.CommentHandler = function() {
|
|
@@ -42766,6 +42731,7 @@ var require_esprima$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
42766
42731
|
}();
|
|
42767
42732
|
},
|
|
42768
42733
|
function(module$1, exports$1) {
|
|
42734
|
+
"use strict";
|
|
42769
42735
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
42770
42736
|
exports$1.Syntax = {
|
|
42771
42737
|
AssignmentExpression: "AssignmentExpression",
|
|
@@ -42837,6 +42803,7 @@ var require_esprima$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
42837
42803
|
};
|
|
42838
42804
|
},
|
|
42839
42805
|
function(module$1, exports$1, __webpack_require__) {
|
|
42806
|
+
"use strict";
|
|
42840
42807
|
/* istanbul ignore next */
|
|
42841
42808
|
var __extends$1 = this && this.__extends || (function() {
|
|
42842
42809
|
var extendStatics$1 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d$1, b$5) {
|
|
@@ -43297,6 +43264,7 @@ var require_esprima$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
43297
43264
|
}(parser_1$1.Parser);
|
|
43298
43265
|
},
|
|
43299
43266
|
function(module$1, exports$1) {
|
|
43267
|
+
"use strict";
|
|
43300
43268
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
43301
43269
|
var Regex$1 = {
|
|
43302
43270
|
NonAsciiIdentifierStart: /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\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-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\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\u0AF9\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-\u0C39\u0C3D\u0C58-\u0C5A\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\u0D5F-\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-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\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\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\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\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,
|
|
@@ -43347,6 +43315,7 @@ var require_esprima$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
43347
43315
|
};
|
|
43348
43316
|
},
|
|
43349
43317
|
function(module$1, exports$1, __webpack_require__) {
|
|
43318
|
+
"use strict";
|
|
43350
43319
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
43351
43320
|
var jsx_syntax_1 = __webpack_require__(6);
|
|
43352
43321
|
exports$1.JSXClosingElement = function() {
|
|
@@ -43435,6 +43404,7 @@ var require_esprima$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
43435
43404
|
}();
|
|
43436
43405
|
},
|
|
43437
43406
|
function(module$1, exports$1) {
|
|
43407
|
+
"use strict";
|
|
43438
43408
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
43439
43409
|
exports$1.JSXSyntax = {
|
|
43440
43410
|
JSXAttribute: "JSXAttribute",
|
|
@@ -43451,6 +43421,7 @@ var require_esprima$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
43451
43421
|
};
|
|
43452
43422
|
},
|
|
43453
43423
|
function(module$1, exports$1, __webpack_require__) {
|
|
43424
|
+
"use strict";
|
|
43454
43425
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
43455
43426
|
var syntax_1 = __webpack_require__(2);
|
|
43456
43427
|
exports$1.ArrayExpression = function() {
|
|
@@ -44055,6 +44026,7 @@ var require_esprima$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
44055
44026
|
}();
|
|
44056
44027
|
},
|
|
44057
44028
|
function(module$1, exports$1, __webpack_require__) {
|
|
44029
|
+
"use strict";
|
|
44058
44030
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
44059
44031
|
var assert_1$8 = __webpack_require__(9);
|
|
44060
44032
|
var error_handler_1 = __webpack_require__(10);
|
|
@@ -46485,6 +46457,7 @@ var require_esprima$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
46485
46457
|
}();
|
|
46486
46458
|
},
|
|
46487
46459
|
function(module$1, exports$1) {
|
|
46460
|
+
"use strict";
|
|
46488
46461
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
46489
46462
|
function assert$5(condition, message) {
|
|
46490
46463
|
/* istanbul ignore if */
|
|
@@ -46493,6 +46466,7 @@ var require_esprima$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
46493
46466
|
exports$1.assert = assert$5;
|
|
46494
46467
|
},
|
|
46495
46468
|
function(module$1, exports$1) {
|
|
46469
|
+
"use strict";
|
|
46496
46470
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
46497
46471
|
exports$1.ErrorHandler = function() {
|
|
46498
46472
|
function ErrorHandler$1() {
|
|
@@ -46540,6 +46514,7 @@ var require_esprima$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
46540
46514
|
}();
|
|
46541
46515
|
},
|
|
46542
46516
|
function(module$1, exports$1) {
|
|
46517
|
+
"use strict";
|
|
46543
46518
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
46544
46519
|
exports$1.Messages = {
|
|
46545
46520
|
BadGetterArity: "Getter must not have any formal parameters",
|
|
@@ -46603,6 +46578,7 @@ var require_esprima$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
46603
46578
|
};
|
|
46604
46579
|
},
|
|
46605
46580
|
function(module$1, exports$1, __webpack_require__) {
|
|
46581
|
+
"use strict";
|
|
46606
46582
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
46607
46583
|
var assert_1$8 = __webpack_require__(9);
|
|
46608
46584
|
var character_1 = __webpack_require__(4);
|
|
@@ -47427,6 +47403,7 @@ var require_esprima$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
47427
47403
|
}();
|
|
47428
47404
|
},
|
|
47429
47405
|
function(module$1, exports$1) {
|
|
47406
|
+
"use strict";
|
|
47430
47407
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
47431
47408
|
exports$1.TokenName = {};
|
|
47432
47409
|
exports$1.TokenName[1] = "Boolean";
|
|
@@ -47441,6 +47418,7 @@ var require_esprima$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
47441
47418
|
exports$1.TokenName[10] = "Template";
|
|
47442
47419
|
},
|
|
47443
47420
|
function(module$1, exports$1) {
|
|
47421
|
+
"use strict";
|
|
47444
47422
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
47445
47423
|
exports$1.XHTMLEntities = {
|
|
47446
47424
|
quot: "\"",
|
|
@@ -47698,6 +47676,7 @@ var require_esprima$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
47698
47676
|
};
|
|
47699
47677
|
},
|
|
47700
47678
|
function(module$1, exports$1, __webpack_require__) {
|
|
47679
|
+
"use strict";
|
|
47701
47680
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
47702
47681
|
var error_handler_1 = __webpack_require__(10);
|
|
47703
47682
|
var scanner_1 = __webpack_require__(12);
|
|
@@ -47868,6 +47847,7 @@ var require_esprima$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
47868
47847
|
}));
|
|
47869
47848
|
var require_esprima = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
47870
47849
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47850
|
+
exports.parse = void 0;
|
|
47871
47851
|
var util_1$5 = require_util();
|
|
47872
47852
|
function parse$5(source, options) {
|
|
47873
47853
|
var comments = [];
|
|
@@ -47889,6 +47869,7 @@ var require_esprima = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
47889
47869
|
}));
|
|
47890
47870
|
var require_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
47891
47871
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47872
|
+
exports.normalize = void 0;
|
|
47892
47873
|
var util_1$4 = require_util();
|
|
47893
47874
|
var defaults = {
|
|
47894
47875
|
parser: require_esprima(),
|
|
@@ -48102,6 +48083,7 @@ var require_mapping = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
48102
48083
|
}));
|
|
48103
48084
|
var require_lines = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
48104
48085
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48086
|
+
exports.concat = exports.fromString = exports.countSpaces = exports.Lines = void 0;
|
|
48105
48087
|
var tslib_1$6 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
48106
48088
|
var assert_1$5 = tslib_1$6.__importDefault(require_assert());
|
|
48107
48089
|
var source_map_1 = tslib_1$6.__importDefault(require_source_map());
|
|
@@ -48586,6 +48568,7 @@ var require_lines = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
48586
48568
|
}));
|
|
48587
48569
|
var require_comments = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
48588
48570
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48571
|
+
exports.printComments = exports.attach = void 0;
|
|
48589
48572
|
var tslib_1$5 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
48590
48573
|
var assert_1$4 = tslib_1$5.__importDefault(require_assert());
|
|
48591
48574
|
var types$7 = tslib_1$5.__importStar(require_main$1());
|
|
@@ -48754,14 +48737,14 @@ var require_comments = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
48754
48737
|
parts.push(print$4(commentPath));
|
|
48755
48738
|
return lines_1$2.concat(parts);
|
|
48756
48739
|
}
|
|
48757
|
-
function printComments(path, print$4) {
|
|
48758
|
-
var value = path.getValue();
|
|
48759
|
-
var innerLines = print$4(path);
|
|
48740
|
+
function printComments(path$1, print$4) {
|
|
48741
|
+
var value = path$1.getValue();
|
|
48742
|
+
var innerLines = print$4(path$1);
|
|
48760
48743
|
var comments = n$1.Node.check(value) && types$7.getFieldValue(value, "comments");
|
|
48761
48744
|
if (!comments || comments.length === 0) return innerLines;
|
|
48762
48745
|
var leadingParts = [];
|
|
48763
48746
|
var trailingParts = [innerLines];
|
|
48764
|
-
path.each(function(commentPath) {
|
|
48747
|
+
path$1.each(function(commentPath) {
|
|
48765
48748
|
var comment = commentPath.getValue();
|
|
48766
48749
|
var leading = types$7.getFieldValue(comment, "leading");
|
|
48767
48750
|
var trailing = types$7.getFieldValue(comment, "trailing");
|
|
@@ -48775,6 +48758,7 @@ var require_comments = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
48775
48758
|
}));
|
|
48776
48759
|
var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
48777
48760
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48761
|
+
exports.parse = void 0;
|
|
48778
48762
|
var tslib_1$4 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
48779
48763
|
var assert_1$3 = tslib_1$4.__importDefault(require_assert());
|
|
48780
48764
|
var types$6 = tslib_1$4.__importStar(require_main$1());
|
|
@@ -49012,8 +48996,8 @@ var require_fast_path = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49012
48996
|
var valueIndex = s$2.length - 1;
|
|
49013
48997
|
return s$2.lastIndexOf(s$2[valueIndex], valueIndex - 1) >= 0;
|
|
49014
48998
|
};
|
|
49015
|
-
function getNodeHelper(path, count) {
|
|
49016
|
-
var s$2 = path.stack;
|
|
48999
|
+
function getNodeHelper(path$1, count) {
|
|
49000
|
+
var s$2 = path$1.stack;
|
|
49017
49001
|
for (var i$2 = s$2.length - 1; i$2 >= 0; i$2 -= 2) {
|
|
49018
49002
|
var value = s$2[i$2];
|
|
49019
49003
|
if (n.Node.check(value) && --count < 0) return value;
|
|
@@ -49278,6 +49262,7 @@ var require_fast_path = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49278
49262
|
}));
|
|
49279
49263
|
var require_patcher = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
49280
49264
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49265
|
+
exports.getReprinter = exports.Patcher = void 0;
|
|
49281
49266
|
var tslib_1$2 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
49282
49267
|
var assert_1$1 = tslib_1$2.__importDefault(require_assert());
|
|
49283
49268
|
var linesModule = tslib_1$2.__importStar(require_lines());
|
|
@@ -49372,15 +49357,15 @@ var require_patcher = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49372
49357
|
}, "");
|
|
49373
49358
|
});
|
|
49374
49359
|
};
|
|
49375
|
-
function getReprinter(path) {
|
|
49376
|
-
assert_1$1.default.ok(path instanceof fast_path_1$1.default);
|
|
49377
|
-
var node = path.getValue();
|
|
49360
|
+
function getReprinter(path$1) {
|
|
49361
|
+
assert_1$1.default.ok(path$1 instanceof fast_path_1$1.default);
|
|
49362
|
+
var node = path$1.getValue();
|
|
49378
49363
|
if (!Printable.check(node)) return;
|
|
49379
49364
|
var orig = node.original;
|
|
49380
49365
|
var origLoc = orig && orig.loc;
|
|
49381
49366
|
var lines = origLoc && origLoc.lines;
|
|
49382
49367
|
var reprints = [];
|
|
49383
|
-
if (!lines || !findReprints(path, reprints)) return;
|
|
49368
|
+
if (!lines || !findReprints(path$1, reprints)) return;
|
|
49384
49369
|
return function(print$4) {
|
|
49385
49370
|
var patcher = new Patcher(lines);
|
|
49386
49371
|
reprints.forEach(function(reprint) {
|
|
@@ -49405,7 +49390,7 @@ var require_patcher = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49405
49390
|
patcher.replace(oldNode.loc, newLines);
|
|
49406
49391
|
});
|
|
49407
49392
|
var patchedLines = patcher.get(origLoc).indentTail(-orig.loc.indent);
|
|
49408
|
-
if (path.needsParens()) return linesModule.concat([
|
|
49393
|
+
if (path$1.needsParens()) return linesModule.concat([
|
|
49409
49394
|
"(",
|
|
49410
49395
|
patchedLines,
|
|
49411
49396
|
")"
|
|
@@ -49524,6 +49509,7 @@ var require_patcher = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49524
49509
|
}));
|
|
49525
49510
|
var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
49526
49511
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49512
|
+
exports.Printer = void 0;
|
|
49527
49513
|
var tslib_1$1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
49528
49514
|
var assert_1 = tslib_1$1.__importDefault(require_assert());
|
|
49529
49515
|
var comments_1 = require_comments();
|
|
@@ -49562,21 +49548,21 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49562
49548
|
config$2.sourceFileName = null;
|
|
49563
49549
|
function makePrintFunctionWith(options, overrides) {
|
|
49564
49550
|
options = Object.assign({}, options, overrides);
|
|
49565
|
-
return function(path) {
|
|
49566
|
-
return print$4(path, options);
|
|
49551
|
+
return function(path$1) {
|
|
49552
|
+
return print$4(path$1, options);
|
|
49567
49553
|
};
|
|
49568
49554
|
}
|
|
49569
|
-
function print$4(path, options) {
|
|
49570
|
-
assert_1.default.ok(path instanceof fast_path_1.default);
|
|
49555
|
+
function print$4(path$1, options) {
|
|
49556
|
+
assert_1.default.ok(path$1 instanceof fast_path_1.default);
|
|
49571
49557
|
options = options || {};
|
|
49572
|
-
if (options.includeComments) return comments_1.printComments(path, makePrintFunctionWith(options, { includeComments: false }));
|
|
49558
|
+
if (options.includeComments) return comments_1.printComments(path$1, makePrintFunctionWith(options, { includeComments: false }));
|
|
49573
49559
|
var oldTabWidth = config$2.tabWidth;
|
|
49574
49560
|
if (!explicitTabWidth) {
|
|
49575
|
-
var loc = path.getNode().loc;
|
|
49561
|
+
var loc = path$1.getNode().loc;
|
|
49576
49562
|
if (loc && loc.lines && loc.lines.guessTabWidth) config$2.tabWidth = loc.lines.guessTabWidth();
|
|
49577
49563
|
}
|
|
49578
|
-
var reprinter = patcher_1.getReprinter(path);
|
|
49579
|
-
var lines = reprinter ? reprinter(print$4) : genericPrint(path, config$2, options, makePrintFunctionWith(options, {
|
|
49564
|
+
var reprinter = patcher_1.getReprinter(path$1);
|
|
49565
|
+
var lines = reprinter ? reprinter(print$4) : genericPrint(path$1, config$2, options, makePrintFunctionWith(options, {
|
|
49580
49566
|
includeComments: true,
|
|
49581
49567
|
avoidRootParens: false
|
|
49582
49568
|
}));
|
|
@@ -49593,98 +49579,98 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49593
49579
|
};
|
|
49594
49580
|
this.printGenerically = function(ast) {
|
|
49595
49581
|
if (!ast) return emptyPrintResult;
|
|
49596
|
-
function printGenerically(path$
|
|
49597
|
-
return comments_1.printComments(path$
|
|
49598
|
-
return genericPrint(path$
|
|
49582
|
+
function printGenerically(path$2) {
|
|
49583
|
+
return comments_1.printComments(path$2, function(path$3) {
|
|
49584
|
+
return genericPrint(path$3, config$2, {
|
|
49599
49585
|
includeComments: true,
|
|
49600
49586
|
avoidRootParens: false
|
|
49601
49587
|
}, printGenerically);
|
|
49602
49588
|
});
|
|
49603
49589
|
}
|
|
49604
|
-
var path = fast_path_1.default.from(ast);
|
|
49590
|
+
var path$1 = fast_path_1.default.from(ast);
|
|
49605
49591
|
var oldReuseWhitespace = config$2.reuseWhitespace;
|
|
49606
49592
|
config$2.reuseWhitespace = false;
|
|
49607
|
-
var pr = new PrintResult(printGenerically(path).toString(config$2));
|
|
49593
|
+
var pr = new PrintResult(printGenerically(path$1).toString(config$2));
|
|
49608
49594
|
config$2.reuseWhitespace = oldReuseWhitespace;
|
|
49609
49595
|
return pr;
|
|
49610
49596
|
};
|
|
49611
49597
|
};
|
|
49612
|
-
function genericPrint(path, config$2, options, printPath) {
|
|
49613
|
-
assert_1.default.ok(path instanceof fast_path_1.default);
|
|
49614
|
-
var node = path.getValue();
|
|
49598
|
+
function genericPrint(path$1, config$2, options, printPath) {
|
|
49599
|
+
assert_1.default.ok(path$1 instanceof fast_path_1.default);
|
|
49600
|
+
var node = path$1.getValue();
|
|
49615
49601
|
var parts = [];
|
|
49616
|
-
var linesWithoutParens = genericPrintNoParens(path, config$2, printPath);
|
|
49602
|
+
var linesWithoutParens = genericPrintNoParens(path$1, config$2, printPath);
|
|
49617
49603
|
if (!node || linesWithoutParens.isEmpty()) return linesWithoutParens;
|
|
49618
49604
|
var shouldAddParens = false;
|
|
49619
|
-
var decoratorsLines = printDecorators(path, printPath);
|
|
49605
|
+
var decoratorsLines = printDecorators(path$1, printPath);
|
|
49620
49606
|
if (decoratorsLines.isEmpty()) {
|
|
49621
|
-
if (!options.avoidRootParens) shouldAddParens = path.needsParens();
|
|
49607
|
+
if (!options.avoidRootParens) shouldAddParens = path$1.needsParens();
|
|
49622
49608
|
} else parts.push(decoratorsLines);
|
|
49623
49609
|
if (shouldAddParens) parts.unshift("(");
|
|
49624
49610
|
parts.push(linesWithoutParens);
|
|
49625
49611
|
if (shouldAddParens) parts.push(")");
|
|
49626
49612
|
return lines_1.concat(parts);
|
|
49627
49613
|
}
|
|
49628
|
-
function genericPrintNoParens(path, options, print$4) {
|
|
49629
|
-
var n$5 = path.getValue();
|
|
49614
|
+
function genericPrintNoParens(path$1, options, print$4) {
|
|
49615
|
+
var n$5 = path$1.getValue();
|
|
49630
49616
|
if (!n$5) return lines_1.fromString("");
|
|
49631
49617
|
if (typeof n$5 === "string") return lines_1.fromString(n$5, options);
|
|
49632
49618
|
namedTypes.Printable.assert(n$5);
|
|
49633
49619
|
var parts = [];
|
|
49634
49620
|
switch (n$5.type) {
|
|
49635
|
-
case "File": return path.call(print$4, "program");
|
|
49621
|
+
case "File": return path$1.call(print$4, "program");
|
|
49636
49622
|
case "Program":
|
|
49637
|
-
if (n$5.directives) path.each(function(childPath) {
|
|
49623
|
+
if (n$5.directives) path$1.each(function(childPath) {
|
|
49638
49624
|
parts.push(print$4(childPath), ";\n");
|
|
49639
49625
|
}, "directives");
|
|
49640
|
-
if (n$5.interpreter) parts.push(path.call(print$4, "interpreter"));
|
|
49641
|
-
parts.push(path.call(function(bodyPath) {
|
|
49626
|
+
if (n$5.interpreter) parts.push(path$1.call(print$4, "interpreter"));
|
|
49627
|
+
parts.push(path$1.call(function(bodyPath) {
|
|
49642
49628
|
return printStatementSequence(bodyPath, options, print$4);
|
|
49643
49629
|
}, "body"));
|
|
49644
49630
|
return lines_1.concat(parts);
|
|
49645
49631
|
case "Noop":
|
|
49646
49632
|
case "EmptyStatement": return lines_1.fromString("");
|
|
49647
|
-
case "ExpressionStatement": return lines_1.concat([path.call(print$4, "expression"), ";"]);
|
|
49633
|
+
case "ExpressionStatement": return lines_1.concat([path$1.call(print$4, "expression"), ";"]);
|
|
49648
49634
|
case "ParenthesizedExpression": return lines_1.concat([
|
|
49649
49635
|
"(",
|
|
49650
|
-
path.call(print$4, "expression"),
|
|
49636
|
+
path$1.call(print$4, "expression"),
|
|
49651
49637
|
")"
|
|
49652
49638
|
]);
|
|
49653
49639
|
case "BinaryExpression":
|
|
49654
49640
|
case "LogicalExpression":
|
|
49655
49641
|
case "AssignmentExpression": return lines_1.fromString(" ").join([
|
|
49656
|
-
path.call(print$4, "left"),
|
|
49642
|
+
path$1.call(print$4, "left"),
|
|
49657
49643
|
n$5.operator,
|
|
49658
|
-
path.call(print$4, "right")
|
|
49644
|
+
path$1.call(print$4, "right")
|
|
49659
49645
|
]);
|
|
49660
49646
|
case "AssignmentPattern": return lines_1.concat([
|
|
49661
|
-
path.call(print$4, "left"),
|
|
49647
|
+
path$1.call(print$4, "left"),
|
|
49662
49648
|
" = ",
|
|
49663
|
-
path.call(print$4, "right")
|
|
49649
|
+
path$1.call(print$4, "right")
|
|
49664
49650
|
]);
|
|
49665
49651
|
case "MemberExpression":
|
|
49666
49652
|
case "OptionalMemberExpression":
|
|
49667
|
-
parts.push(path.call(print$4, "object"));
|
|
49668
|
-
var property$2 = path.call(print$4, "property");
|
|
49653
|
+
parts.push(path$1.call(print$4, "object"));
|
|
49654
|
+
var property$2 = path$1.call(print$4, "property");
|
|
49669
49655
|
var optional$1 = types$3.getFieldValue(n$5, "optional");
|
|
49670
49656
|
if (n$5.computed) parts.push(optional$1 ? "?.[" : "[", property$2, "]");
|
|
49671
49657
|
else parts.push(optional$1 ? "?." : ".", property$2);
|
|
49672
49658
|
return lines_1.concat(parts);
|
|
49673
|
-
case "ChainExpression": return path.call(print$4, "expression");
|
|
49659
|
+
case "ChainExpression": return path$1.call(print$4, "expression");
|
|
49674
49660
|
case "MetaProperty": return lines_1.concat([
|
|
49675
|
-
path.call(print$4, "meta"),
|
|
49661
|
+
path$1.call(print$4, "meta"),
|
|
49676
49662
|
".",
|
|
49677
|
-
path.call(print$4, "property")
|
|
49663
|
+
path$1.call(print$4, "property")
|
|
49678
49664
|
]);
|
|
49679
49665
|
case "BindExpression":
|
|
49680
|
-
if (n$5.object) parts.push(path.call(print$4, "object"));
|
|
49681
|
-
parts.push("::", path.call(print$4, "callee"));
|
|
49666
|
+
if (n$5.object) parts.push(path$1.call(print$4, "object"));
|
|
49667
|
+
parts.push("::", path$1.call(print$4, "callee"));
|
|
49682
49668
|
return lines_1.concat(parts);
|
|
49683
49669
|
case "Path": return lines_1.fromString(".").join(n$5.body);
|
|
49684
49670
|
case "Identifier": return lines_1.concat([
|
|
49685
49671
|
lines_1.fromString(n$5.name, options),
|
|
49686
49672
|
n$5.optional ? "?" : "",
|
|
49687
|
-
path.call(print$4, "typeAnnotation")
|
|
49673
|
+
path$1.call(print$4, "typeAnnotation")
|
|
49688
49674
|
]);
|
|
49689
49675
|
case "SpreadElement":
|
|
49690
49676
|
case "SpreadElementPattern":
|
|
@@ -49694,8 +49680,8 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49694
49680
|
case "ObjectTypeSpreadProperty":
|
|
49695
49681
|
case "RestElement": return lines_1.concat([
|
|
49696
49682
|
"...",
|
|
49697
|
-
path.call(print$4, "argument"),
|
|
49698
|
-
path.call(print$4, "typeAnnotation")
|
|
49683
|
+
path$1.call(print$4, "argument"),
|
|
49684
|
+
path$1.call(print$4, "typeAnnotation")
|
|
49699
49685
|
]);
|
|
49700
49686
|
case "FunctionDeclaration":
|
|
49701
49687
|
case "FunctionExpression":
|
|
@@ -49704,87 +49690,87 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49704
49690
|
if (n$5.async) parts.push("async ");
|
|
49705
49691
|
parts.push("function");
|
|
49706
49692
|
if (n$5.generator) parts.push("*");
|
|
49707
|
-
if (n$5.id) parts.push(" ", path.call(print$4, "id"), path.call(print$4, "typeParameters"));
|
|
49708
|
-
else if (n$5.typeParameters) parts.push(path.call(print$4, "typeParameters"));
|
|
49709
|
-
parts.push("(", printFunctionParams(path, options, print$4), ")", path.call(print$4, "returnType"));
|
|
49710
|
-
if (n$5.body) parts.push(" ", path.call(print$4, "body"));
|
|
49693
|
+
if (n$5.id) parts.push(" ", path$1.call(print$4, "id"), path$1.call(print$4, "typeParameters"));
|
|
49694
|
+
else if (n$5.typeParameters) parts.push(path$1.call(print$4, "typeParameters"));
|
|
49695
|
+
parts.push("(", printFunctionParams(path$1, options, print$4), ")", path$1.call(print$4, "returnType"));
|
|
49696
|
+
if (n$5.body) parts.push(" ", path$1.call(print$4, "body"));
|
|
49711
49697
|
return lines_1.concat(parts);
|
|
49712
49698
|
case "ArrowFunctionExpression":
|
|
49713
49699
|
if (n$5.async) parts.push("async ");
|
|
49714
|
-
if (n$5.typeParameters) parts.push(path.call(print$4, "typeParameters"));
|
|
49715
|
-
if (!options.arrowParensAlways && n$5.params.length === 1 && !n$5.rest && n$5.params[0].type === "Identifier" && !n$5.params[0].typeAnnotation && !n$5.returnType) parts.push(path.call(print$4, "params", 0));
|
|
49716
|
-
else parts.push("(", printFunctionParams(path, options, print$4), ")", path.call(print$4, "returnType"));
|
|
49717
|
-
parts.push(" => ", path.call(print$4, "body"));
|
|
49700
|
+
if (n$5.typeParameters) parts.push(path$1.call(print$4, "typeParameters"));
|
|
49701
|
+
if (!options.arrowParensAlways && n$5.params.length === 1 && !n$5.rest && n$5.params[0].type === "Identifier" && !n$5.params[0].typeAnnotation && !n$5.returnType) parts.push(path$1.call(print$4, "params", 0));
|
|
49702
|
+
else parts.push("(", printFunctionParams(path$1, options, print$4), ")", path$1.call(print$4, "returnType"));
|
|
49703
|
+
parts.push(" => ", path$1.call(print$4, "body"));
|
|
49718
49704
|
return lines_1.concat(parts);
|
|
49719
|
-
case "MethodDefinition": return printMethod(path, options, print$4);
|
|
49705
|
+
case "MethodDefinition": return printMethod(path$1, options, print$4);
|
|
49720
49706
|
case "YieldExpression":
|
|
49721
49707
|
parts.push("yield");
|
|
49722
49708
|
if (n$5.delegate) parts.push("*");
|
|
49723
|
-
if (n$5.argument) parts.push(" ", path.call(print$4, "argument"));
|
|
49709
|
+
if (n$5.argument) parts.push(" ", path$1.call(print$4, "argument"));
|
|
49724
49710
|
return lines_1.concat(parts);
|
|
49725
49711
|
case "AwaitExpression":
|
|
49726
49712
|
parts.push("await");
|
|
49727
49713
|
if (n$5.all) parts.push("*");
|
|
49728
|
-
if (n$5.argument) parts.push(" ", path.call(print$4, "argument"));
|
|
49714
|
+
if (n$5.argument) parts.push(" ", path$1.call(print$4, "argument"));
|
|
49729
49715
|
return lines_1.concat(parts);
|
|
49730
49716
|
case "ModuleExpression": return lines_1.concat([
|
|
49731
49717
|
"module {\n",
|
|
49732
|
-
path.call(print$4, "body").indent(options.tabWidth),
|
|
49718
|
+
path$1.call(print$4, "body").indent(options.tabWidth),
|
|
49733
49719
|
"\n}"
|
|
49734
49720
|
]);
|
|
49735
49721
|
case "ModuleDeclaration":
|
|
49736
|
-
parts.push("module", path.call(print$4, "id"));
|
|
49722
|
+
parts.push("module", path$1.call(print$4, "id"));
|
|
49737
49723
|
if (n$5.source) {
|
|
49738
49724
|
assert_1.default.ok(!n$5.body);
|
|
49739
|
-
parts.push("from", path.call(print$4, "source"));
|
|
49740
|
-
} else parts.push(path.call(print$4, "body"));
|
|
49725
|
+
parts.push("from", path$1.call(print$4, "source"));
|
|
49726
|
+
} else parts.push(path$1.call(print$4, "body"));
|
|
49741
49727
|
return lines_1.fromString(" ").join(parts);
|
|
49742
49728
|
case "ImportSpecifier":
|
|
49743
49729
|
if (n$5.importKind && n$5.importKind !== "value") parts.push(n$5.importKind + " ");
|
|
49744
49730
|
if (n$5.imported) {
|
|
49745
|
-
parts.push(path.call(print$4, "imported"));
|
|
49746
|
-
if (n$5.local && n$5.local.name !== n$5.imported.name) parts.push(" as ", path.call(print$4, "local"));
|
|
49731
|
+
parts.push(path$1.call(print$4, "imported"));
|
|
49732
|
+
if (n$5.local && n$5.local.name !== n$5.imported.name) parts.push(" as ", path$1.call(print$4, "local"));
|
|
49747
49733
|
} else if (n$5.id) {
|
|
49748
|
-
parts.push(path.call(print$4, "id"));
|
|
49749
|
-
if (n$5.name) parts.push(" as ", path.call(print$4, "name"));
|
|
49734
|
+
parts.push(path$1.call(print$4, "id"));
|
|
49735
|
+
if (n$5.name) parts.push(" as ", path$1.call(print$4, "name"));
|
|
49750
49736
|
}
|
|
49751
49737
|
return lines_1.concat(parts);
|
|
49752
49738
|
case "ExportSpecifier":
|
|
49753
49739
|
if (n$5.local) {
|
|
49754
|
-
parts.push(path.call(print$4, "local"));
|
|
49755
|
-
if (n$5.exported && n$5.exported.name !== n$5.local.name) parts.push(" as ", path.call(print$4, "exported"));
|
|
49740
|
+
parts.push(path$1.call(print$4, "local"));
|
|
49741
|
+
if (n$5.exported && n$5.exported.name !== n$5.local.name) parts.push(" as ", path$1.call(print$4, "exported"));
|
|
49756
49742
|
} else if (n$5.id) {
|
|
49757
|
-
parts.push(path.call(print$4, "id"));
|
|
49758
|
-
if (n$5.name) parts.push(" as ", path.call(print$4, "name"));
|
|
49743
|
+
parts.push(path$1.call(print$4, "id"));
|
|
49744
|
+
if (n$5.name) parts.push(" as ", path$1.call(print$4, "name"));
|
|
49759
49745
|
}
|
|
49760
49746
|
return lines_1.concat(parts);
|
|
49761
49747
|
case "ExportBatchSpecifier": return lines_1.fromString("*");
|
|
49762
49748
|
case "ImportNamespaceSpecifier":
|
|
49763
49749
|
parts.push("* as ");
|
|
49764
|
-
if (n$5.local) parts.push(path.call(print$4, "local"));
|
|
49765
|
-
else if (n$5.id) parts.push(path.call(print$4, "id"));
|
|
49750
|
+
if (n$5.local) parts.push(path$1.call(print$4, "local"));
|
|
49751
|
+
else if (n$5.id) parts.push(path$1.call(print$4, "id"));
|
|
49766
49752
|
return lines_1.concat(parts);
|
|
49767
49753
|
case "ImportDefaultSpecifier":
|
|
49768
|
-
if (n$5.local) return path.call(print$4, "local");
|
|
49769
|
-
return path.call(print$4, "id");
|
|
49770
|
-
case "TSExportAssignment": return lines_1.concat(["export = ", path.call(print$4, "expression")]);
|
|
49754
|
+
if (n$5.local) return path$1.call(print$4, "local");
|
|
49755
|
+
return path$1.call(print$4, "id");
|
|
49756
|
+
case "TSExportAssignment": return lines_1.concat(["export = ", path$1.call(print$4, "expression")]);
|
|
49771
49757
|
case "ExportDeclaration":
|
|
49772
49758
|
case "ExportDefaultDeclaration":
|
|
49773
|
-
case "ExportNamedDeclaration": return printExportDeclaration(path, options, print$4);
|
|
49759
|
+
case "ExportNamedDeclaration": return printExportDeclaration(path$1, options, print$4);
|
|
49774
49760
|
case "ExportAllDeclaration":
|
|
49775
49761
|
parts.push("export *");
|
|
49776
|
-
if (n$5.exported) parts.push(" as ", path.call(print$4, "exported"));
|
|
49777
|
-
parts.push(" from ", path.call(print$4, "source"), ";");
|
|
49762
|
+
if (n$5.exported) parts.push(" as ", path$1.call(print$4, "exported"));
|
|
49763
|
+
parts.push(" from ", path$1.call(print$4, "source"), ";");
|
|
49778
49764
|
return lines_1.concat(parts);
|
|
49779
49765
|
case "TSNamespaceExportDeclaration":
|
|
49780
|
-
parts.push("export as namespace ", path.call(print$4, "id"));
|
|
49766
|
+
parts.push("export as namespace ", path$1.call(print$4, "id"));
|
|
49781
49767
|
return maybeAddSemicolon(lines_1.concat(parts));
|
|
49782
|
-
case "ExportNamespaceSpecifier": return lines_1.concat(["* as ", path.call(print$4, "exported")]);
|
|
49783
|
-
case "ExportDefaultSpecifier": return path.call(print$4, "exported");
|
|
49768
|
+
case "ExportNamespaceSpecifier": return lines_1.concat(["* as ", path$1.call(print$4, "exported")]);
|
|
49769
|
+
case "ExportDefaultSpecifier": return path$1.call(print$4, "exported");
|
|
49784
49770
|
case "Import": return lines_1.fromString("import", options);
|
|
49785
49771
|
case "ImportExpression": return lines_1.concat([
|
|
49786
49772
|
"import(",
|
|
49787
|
-
path.call(print$4, "source"),
|
|
49773
|
+
path$1.call(print$4, "source"),
|
|
49788
49774
|
")"
|
|
49789
49775
|
]);
|
|
49790
49776
|
case "ImportDeclaration":
|
|
@@ -49793,7 +49779,7 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49793
49779
|
if (n$5.specifiers && n$5.specifiers.length > 0) {
|
|
49794
49780
|
var unbracedSpecifiers_1 = [];
|
|
49795
49781
|
var bracedSpecifiers_1 = [];
|
|
49796
|
-
path.each(function(specifierPath) {
|
|
49782
|
+
path$1.each(function(specifierPath) {
|
|
49797
49783
|
var spec = specifierPath.getValue();
|
|
49798
49784
|
if (spec.type === "ImportSpecifier") bracedSpecifiers_1.push(print$4(specifierPath));
|
|
49799
49785
|
else if (spec.type === "ImportDefaultSpecifier" || spec.type === "ImportNamespaceSpecifier") unbracedSpecifiers_1.push(print$4(specifierPath));
|
|
@@ -49812,16 +49798,16 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49812
49798
|
}
|
|
49813
49799
|
parts.push(" from ");
|
|
49814
49800
|
}
|
|
49815
|
-
parts.push(path.call(print$4, "source"), maybePrintImportAssertions(path, options, print$4), ";");
|
|
49801
|
+
parts.push(path$1.call(print$4, "source"), maybePrintImportAssertions(path$1, options, print$4), ";");
|
|
49816
49802
|
return lines_1.concat(parts);
|
|
49817
49803
|
case "ImportAttribute": return lines_1.concat([
|
|
49818
|
-
path.call(print$4, "key"),
|
|
49804
|
+
path$1.call(print$4, "key"),
|
|
49819
49805
|
": ",
|
|
49820
|
-
path.call(print$4, "value")
|
|
49806
|
+
path$1.call(print$4, "value")
|
|
49821
49807
|
]);
|
|
49822
49808
|
case "StaticBlock": parts.push("static ");
|
|
49823
49809
|
case "BlockStatement":
|
|
49824
|
-
var naked_1 = path.call(function(bodyPath) {
|
|
49810
|
+
var naked_1 = path$1.call(function(bodyPath) {
|
|
49825
49811
|
return printStatementSequence(bodyPath, options, print$4);
|
|
49826
49812
|
}, "body");
|
|
49827
49813
|
if (naked_1.isEmpty()) {
|
|
@@ -49831,7 +49817,7 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49831
49817
|
}
|
|
49832
49818
|
}
|
|
49833
49819
|
parts.push("{\n");
|
|
49834
|
-
if (n$5.directives) path.each(function(childPath) {
|
|
49820
|
+
if (n$5.directives) path$1.each(function(childPath) {
|
|
49835
49821
|
parts.push(maybeAddSemicolon(print$4(childPath).indent(options.tabWidth)), n$5.directives.length > 1 || !naked_1.isEmpty() ? "\n" : "");
|
|
49836
49822
|
}, "directives");
|
|
49837
49823
|
parts.push(naked_1.indent(options.tabWidth));
|
|
@@ -49840,7 +49826,7 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49840
49826
|
case "ReturnStatement":
|
|
49841
49827
|
parts.push("return");
|
|
49842
49828
|
if (n$5.argument) {
|
|
49843
|
-
var argLines = path.call(print$4, "argument");
|
|
49829
|
+
var argLines = path$1.call(print$4, "argument");
|
|
49844
49830
|
if (argLines.startsWithComment() || argLines.length > 1 && namedTypes.JSXElement && namedTypes.JSXElement.check(n$5.argument)) parts.push(" (\n", argLines.indent(options.tabWidth), "\n)");
|
|
49845
49831
|
else parts.push(" ", argLines);
|
|
49846
49832
|
}
|
|
@@ -49848,11 +49834,11 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49848
49834
|
return lines_1.concat(parts);
|
|
49849
49835
|
case "CallExpression":
|
|
49850
49836
|
case "OptionalCallExpression":
|
|
49851
|
-
parts.push(path.call(print$4, "callee"));
|
|
49852
|
-
if (n$5.typeParameters) parts.push(path.call(print$4, "typeParameters"));
|
|
49853
|
-
if (n$5.typeArguments) parts.push(path.call(print$4, "typeArguments"));
|
|
49837
|
+
parts.push(path$1.call(print$4, "callee"));
|
|
49838
|
+
if (n$5.typeParameters) parts.push(path$1.call(print$4, "typeParameters"));
|
|
49839
|
+
if (n$5.typeArguments) parts.push(path$1.call(print$4, "typeArguments"));
|
|
49854
49840
|
if (types$3.getFieldValue(n$5, "optional")) parts.push("?.");
|
|
49855
|
-
parts.push(printArgumentsList(path, options, print$4));
|
|
49841
|
+
parts.push(printArgumentsList(path$1, options, print$4));
|
|
49856
49842
|
return lines_1.concat(parts);
|
|
49857
49843
|
case "RecordExpression": parts.push("#");
|
|
49858
49844
|
case "ObjectExpression":
|
|
@@ -49878,7 +49864,7 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49878
49864
|
var leftBraceIndex = parts.length - 1;
|
|
49879
49865
|
var i_1 = 0;
|
|
49880
49866
|
fields.forEach(function(field) {
|
|
49881
|
-
path.each(function(childPath) {
|
|
49867
|
+
path$1.each(function(childPath) {
|
|
49882
49868
|
var lines$1 = print$4(childPath);
|
|
49883
49869
|
if (!oneLine_1) lines$1 = lines$1.indent(options.tabWidth);
|
|
49884
49870
|
var multiLine = !isTypeAnnotation_1 && lines$1.length > 1;
|
|
@@ -49904,39 +49890,39 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49904
49890
|
parts[leftBraceIndex] = leftBrace + " ";
|
|
49905
49891
|
parts[parts.length - 1] = " " + rightBrace;
|
|
49906
49892
|
}
|
|
49907
|
-
if (n$5.typeAnnotation) parts.push(path.call(print$4, "typeAnnotation"));
|
|
49893
|
+
if (n$5.typeAnnotation) parts.push(path$1.call(print$4, "typeAnnotation"));
|
|
49908
49894
|
return lines_1.concat(parts);
|
|
49909
49895
|
case "PropertyPattern": return lines_1.concat([
|
|
49910
|
-
path.call(print$4, "key"),
|
|
49896
|
+
path$1.call(print$4, "key"),
|
|
49911
49897
|
": ",
|
|
49912
|
-
path.call(print$4, "pattern")
|
|
49898
|
+
path$1.call(print$4, "pattern")
|
|
49913
49899
|
]);
|
|
49914
49900
|
case "ObjectProperty":
|
|
49915
49901
|
case "Property":
|
|
49916
|
-
if (n$5.method || n$5.kind === "get" || n$5.kind === "set") return printMethod(path, options, print$4);
|
|
49917
|
-
if (n$5.shorthand && n$5.value.type === "AssignmentPattern") return path.call(print$4, "value");
|
|
49918
|
-
var key = path.call(print$4, "key");
|
|
49902
|
+
if (n$5.method || n$5.kind === "get" || n$5.kind === "set") return printMethod(path$1, options, print$4);
|
|
49903
|
+
if (n$5.shorthand && n$5.value.type === "AssignmentPattern") return path$1.call(print$4, "value");
|
|
49904
|
+
var key = path$1.call(print$4, "key");
|
|
49919
49905
|
if (n$5.computed) parts.push("[", key, "]");
|
|
49920
49906
|
else parts.push(key);
|
|
49921
|
-
if (!n$5.shorthand || n$5.key.name !== n$5.value.name) parts.push(": ", path.call(print$4, "value"));
|
|
49907
|
+
if (!n$5.shorthand || n$5.key.name !== n$5.value.name) parts.push(": ", path$1.call(print$4, "value"));
|
|
49922
49908
|
return lines_1.concat(parts);
|
|
49923
49909
|
case "ClassMethod":
|
|
49924
49910
|
case "ObjectMethod":
|
|
49925
49911
|
case "ClassPrivateMethod":
|
|
49926
|
-
case "TSDeclareMethod": return printMethod(path, options, print$4);
|
|
49927
|
-
case "PrivateName": return lines_1.concat(["#", path.call(print$4, "id")]);
|
|
49928
|
-
case "Decorator": return lines_1.concat(["@", path.call(print$4, "expression")]);
|
|
49912
|
+
case "TSDeclareMethod": return printMethod(path$1, options, print$4);
|
|
49913
|
+
case "PrivateName": return lines_1.concat(["#", path$1.call(print$4, "id")]);
|
|
49914
|
+
case "Decorator": return lines_1.concat(["@", path$1.call(print$4, "expression")]);
|
|
49929
49915
|
case "TupleExpression": parts.push("#");
|
|
49930
49916
|
case "ArrayExpression":
|
|
49931
49917
|
case "ArrayPattern":
|
|
49932
49918
|
var len_2 = n$5.elements.length;
|
|
49933
|
-
var printed_1 = path.map(print$4, "elements");
|
|
49919
|
+
var printed_1 = path$1.map(print$4, "elements");
|
|
49934
49920
|
var joined = lines_1.fromString(", ").join(printed_1);
|
|
49935
49921
|
var oneLine_2 = joined.getLineLength(1) <= options.wrapColumn;
|
|
49936
49922
|
if (oneLine_2) if (options.arrayBracketSpacing) parts.push("[ ");
|
|
49937
49923
|
else parts.push("[");
|
|
49938
49924
|
else parts.push("[\n");
|
|
49939
|
-
path.each(function(elemPath) {
|
|
49925
|
+
path$1.each(function(elemPath) {
|
|
49940
49926
|
var i$2 = elemPath.getName();
|
|
49941
49927
|
if (!elemPath.getValue()) parts.push(",");
|
|
49942
49928
|
else {
|
|
@@ -49951,9 +49937,9 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49951
49937
|
}, "elements");
|
|
49952
49938
|
if (oneLine_2 && options.arrayBracketSpacing) parts.push(" ]");
|
|
49953
49939
|
else parts.push("]");
|
|
49954
|
-
if (n$5.typeAnnotation) parts.push(path.call(print$4, "typeAnnotation"));
|
|
49940
|
+
if (n$5.typeAnnotation) parts.push(path$1.call(print$4, "typeAnnotation"));
|
|
49955
49941
|
return lines_1.concat(parts);
|
|
49956
|
-
case "SequenceExpression": return lines_1.fromString(", ").join(path.map(print$4, "expressions"));
|
|
49942
|
+
case "SequenceExpression": return lines_1.fromString(", ").join(path$1.map(print$4, "expressions"));
|
|
49957
49943
|
case "ThisExpression": return lines_1.fromString("this");
|
|
49958
49944
|
case "Super": return lines_1.fromString("super");
|
|
49959
49945
|
case "NullLiteral": return lines_1.fromString("null");
|
|
@@ -49964,7 +49950,7 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49964
49950
|
case "StringLiteral": return lines_1.fromString(nodeStr(n$5.value, options));
|
|
49965
49951
|
case "BooleanLiteral":
|
|
49966
49952
|
case "Literal": return lines_1.fromString(getPossibleRaw(n$5) || (typeof n$5.value === "string" ? nodeStr(n$5.value, options) : n$5.value), options);
|
|
49967
|
-
case "Directive": return path.call(print$4, "value");
|
|
49953
|
+
case "Directive": return path$1.call(print$4, "value");
|
|
49968
49954
|
case "DirectiveLiteral": return lines_1.fromString(getPossibleRaw(n$5) || nodeStr(n$5.value, options), options);
|
|
49969
49955
|
case "InterpreterDirective": return lines_1.fromString("#!" + n$5.value + "\n", options);
|
|
49970
49956
|
case "ModuleSpecifier":
|
|
@@ -49973,30 +49959,30 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
49973
49959
|
case "UnaryExpression":
|
|
49974
49960
|
parts.push(n$5.operator);
|
|
49975
49961
|
if (/[a-z]$/.test(n$5.operator)) parts.push(" ");
|
|
49976
|
-
parts.push(path.call(print$4, "argument"));
|
|
49962
|
+
parts.push(path$1.call(print$4, "argument"));
|
|
49977
49963
|
return lines_1.concat(parts);
|
|
49978
49964
|
case "UpdateExpression":
|
|
49979
|
-
parts.push(path.call(print$4, "argument"), n$5.operator);
|
|
49965
|
+
parts.push(path$1.call(print$4, "argument"), n$5.operator);
|
|
49980
49966
|
if (n$5.prefix) parts.reverse();
|
|
49981
49967
|
return lines_1.concat(parts);
|
|
49982
49968
|
case "ConditionalExpression": return lines_1.concat([
|
|
49983
|
-
path.call(print$4, "test"),
|
|
49969
|
+
path$1.call(print$4, "test"),
|
|
49984
49970
|
" ? ",
|
|
49985
|
-
path.call(print$4, "consequent"),
|
|
49971
|
+
path$1.call(print$4, "consequent"),
|
|
49986
49972
|
" : ",
|
|
49987
|
-
path.call(print$4, "alternate")
|
|
49973
|
+
path$1.call(print$4, "alternate")
|
|
49988
49974
|
]);
|
|
49989
49975
|
case "NewExpression":
|
|
49990
|
-
parts.push("new ", path.call(print$4, "callee"));
|
|
49991
|
-
if (n$5.typeParameters) parts.push(path.call(print$4, "typeParameters"));
|
|
49992
|
-
if (n$5.typeArguments) parts.push(path.call(print$4, "typeArguments"));
|
|
49993
|
-
if (n$5.arguments) parts.push(printArgumentsList(path, options, print$4));
|
|
49976
|
+
parts.push("new ", path$1.call(print$4, "callee"));
|
|
49977
|
+
if (n$5.typeParameters) parts.push(path$1.call(print$4, "typeParameters"));
|
|
49978
|
+
if (n$5.typeArguments) parts.push(path$1.call(print$4, "typeArguments"));
|
|
49979
|
+
if (n$5.arguments) parts.push(printArgumentsList(path$1, options, print$4));
|
|
49994
49980
|
return lines_1.concat(parts);
|
|
49995
49981
|
case "VariableDeclaration":
|
|
49996
49982
|
if (n$5.declare) parts.push("declare ");
|
|
49997
49983
|
parts.push(n$5.kind, " ");
|
|
49998
49984
|
var maxLen_1 = 0;
|
|
49999
|
-
var printed = path.map(function(childPath) {
|
|
49985
|
+
var printed = path$1.map(function(childPath) {
|
|
50000
49986
|
var lines$1 = print$4(childPath);
|
|
50001
49987
|
maxLen_1 = Math.max(lines$1.length, maxLen_1);
|
|
50002
49988
|
return lines$1;
|
|
@@ -50004,36 +49990,36 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50004
49990
|
if (maxLen_1 === 1) parts.push(lines_1.fromString(", ").join(printed));
|
|
50005
49991
|
else if (printed.length > 1) parts.push(lines_1.fromString(",\n").join(printed).indentTail(n$5.kind.length + 1));
|
|
50006
49992
|
else parts.push(printed[0]);
|
|
50007
|
-
var parentNode = path.getParentNode();
|
|
49993
|
+
var parentNode = path$1.getParentNode();
|
|
50008
49994
|
if (!namedTypes.ForStatement.check(parentNode) && !namedTypes.ForInStatement.check(parentNode) && !(namedTypes.ForOfStatement && namedTypes.ForOfStatement.check(parentNode)) && !(namedTypes.ForAwaitStatement && namedTypes.ForAwaitStatement.check(parentNode))) parts.push(";");
|
|
50009
49995
|
return lines_1.concat(parts);
|
|
50010
|
-
case "VariableDeclarator": return n$5.init ? lines_1.fromString(" = ").join([path.call(print$4, "id"), path.call(print$4, "init")]) : path.call(print$4, "id");
|
|
49996
|
+
case "VariableDeclarator": return n$5.init ? lines_1.fromString(" = ").join([path$1.call(print$4, "id"), path$1.call(print$4, "init")]) : path$1.call(print$4, "id");
|
|
50011
49997
|
case "WithStatement": return lines_1.concat([
|
|
50012
49998
|
"with (",
|
|
50013
|
-
path.call(print$4, "object"),
|
|
49999
|
+
path$1.call(print$4, "object"),
|
|
50014
50000
|
") ",
|
|
50015
|
-
path.call(print$4, "body")
|
|
50001
|
+
path$1.call(print$4, "body")
|
|
50016
50002
|
]);
|
|
50017
50003
|
case "IfStatement":
|
|
50018
|
-
var con = adjustClause(path.call(print$4, "consequent"), options);
|
|
50019
|
-
parts.push("if (", path.call(print$4, "test"), ")", con);
|
|
50020
|
-
if (n$5.alternate) parts.push(endsWithBrace(con) ? " else" : "\nelse", adjustClause(path.call(print$4, "alternate"), options));
|
|
50004
|
+
var con = adjustClause(path$1.call(print$4, "consequent"), options);
|
|
50005
|
+
parts.push("if (", path$1.call(print$4, "test"), ")", con);
|
|
50006
|
+
if (n$5.alternate) parts.push(endsWithBrace(con) ? " else" : "\nelse", adjustClause(path$1.call(print$4, "alternate"), options));
|
|
50021
50007
|
return lines_1.concat(parts);
|
|
50022
50008
|
case "ForStatement":
|
|
50023
|
-
var init = path.call(print$4, "init");
|
|
50009
|
+
var init = path$1.call(print$4, "init");
|
|
50024
50010
|
var sep = init.length > 1 ? ";\n" : "; ";
|
|
50025
50011
|
var forParen = "for (";
|
|
50026
50012
|
var indented = lines_1.fromString(sep).join([
|
|
50027
50013
|
init,
|
|
50028
|
-
path.call(print$4, "test"),
|
|
50029
|
-
path.call(print$4, "update")
|
|
50014
|
+
path$1.call(print$4, "test"),
|
|
50015
|
+
path$1.call(print$4, "update")
|
|
50030
50016
|
]).indentTail(forParen.length);
|
|
50031
50017
|
var head = lines_1.concat([
|
|
50032
50018
|
forParen,
|
|
50033
50019
|
indented,
|
|
50034
50020
|
")"
|
|
50035
50021
|
]);
|
|
50036
|
-
var clause = adjustClause(path.call(print$4, "body"), options);
|
|
50022
|
+
var clause = adjustClause(path$1.call(print$4, "body"), options);
|
|
50037
50023
|
parts.push(head);
|
|
50038
50024
|
if (head.length > 1) {
|
|
50039
50025
|
parts.push("\n");
|
|
@@ -50043,33 +50029,33 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50043
50029
|
return lines_1.concat(parts);
|
|
50044
50030
|
case "WhileStatement": return lines_1.concat([
|
|
50045
50031
|
"while (",
|
|
50046
|
-
path.call(print$4, "test"),
|
|
50032
|
+
path$1.call(print$4, "test"),
|
|
50047
50033
|
")",
|
|
50048
|
-
adjustClause(path.call(print$4, "body"), options)
|
|
50034
|
+
adjustClause(path$1.call(print$4, "body"), options)
|
|
50049
50035
|
]);
|
|
50050
50036
|
case "ForInStatement": return lines_1.concat([
|
|
50051
50037
|
n$5.each ? "for each (" : "for (",
|
|
50052
|
-
path.call(print$4, "left"),
|
|
50038
|
+
path$1.call(print$4, "left"),
|
|
50053
50039
|
" in ",
|
|
50054
|
-
path.call(print$4, "right"),
|
|
50040
|
+
path$1.call(print$4, "right"),
|
|
50055
50041
|
")",
|
|
50056
|
-
adjustClause(path.call(print$4, "body"), options)
|
|
50042
|
+
adjustClause(path$1.call(print$4, "body"), options)
|
|
50057
50043
|
]);
|
|
50058
50044
|
case "ForOfStatement":
|
|
50059
50045
|
case "ForAwaitStatement":
|
|
50060
50046
|
parts.push("for ");
|
|
50061
50047
|
if (n$5.await || n$5.type === "ForAwaitStatement") parts.push("await ");
|
|
50062
|
-
parts.push("(", path.call(print$4, "left"), " of ", path.call(print$4, "right"), ")", adjustClause(path.call(print$4, "body"), options));
|
|
50048
|
+
parts.push("(", path$1.call(print$4, "left"), " of ", path$1.call(print$4, "right"), ")", adjustClause(path$1.call(print$4, "body"), options));
|
|
50063
50049
|
return lines_1.concat(parts);
|
|
50064
50050
|
case "DoWhileStatement":
|
|
50065
|
-
var doBody = lines_1.concat(["do", adjustClause(path.call(print$4, "body"), options)]);
|
|
50051
|
+
var doBody = lines_1.concat(["do", adjustClause(path$1.call(print$4, "body"), options)]);
|
|
50066
50052
|
parts.push(doBody);
|
|
50067
50053
|
if (endsWithBrace(doBody)) parts.push(" while");
|
|
50068
50054
|
else parts.push("\nwhile");
|
|
50069
|
-
parts.push(" (", path.call(print$4, "test"), ");");
|
|
50055
|
+
parts.push(" (", path$1.call(print$4, "test"), ");");
|
|
50070
50056
|
return lines_1.concat(parts);
|
|
50071
50057
|
case "DoExpression":
|
|
50072
|
-
var statements = path.call(function(bodyPath) {
|
|
50058
|
+
var statements = path$1.call(function(bodyPath) {
|
|
50073
50059
|
return printStatementSequence(bodyPath, options, print$4);
|
|
50074
50060
|
}, "body");
|
|
50075
50061
|
return lines_1.concat([
|
|
@@ -50079,86 +50065,86 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50079
50065
|
]);
|
|
50080
50066
|
case "BreakStatement":
|
|
50081
50067
|
parts.push("break");
|
|
50082
|
-
if (n$5.label) parts.push(" ", path.call(print$4, "label"));
|
|
50068
|
+
if (n$5.label) parts.push(" ", path$1.call(print$4, "label"));
|
|
50083
50069
|
parts.push(";");
|
|
50084
50070
|
return lines_1.concat(parts);
|
|
50085
50071
|
case "ContinueStatement":
|
|
50086
50072
|
parts.push("continue");
|
|
50087
|
-
if (n$5.label) parts.push(" ", path.call(print$4, "label"));
|
|
50073
|
+
if (n$5.label) parts.push(" ", path$1.call(print$4, "label"));
|
|
50088
50074
|
parts.push(";");
|
|
50089
50075
|
return lines_1.concat(parts);
|
|
50090
50076
|
case "LabeledStatement": return lines_1.concat([
|
|
50091
|
-
path.call(print$4, "label"),
|
|
50077
|
+
path$1.call(print$4, "label"),
|
|
50092
50078
|
":\n",
|
|
50093
|
-
path.call(print$4, "body")
|
|
50079
|
+
path$1.call(print$4, "body")
|
|
50094
50080
|
]);
|
|
50095
50081
|
case "TryStatement":
|
|
50096
|
-
parts.push("try ", path.call(print$4, "block"));
|
|
50097
|
-
if (n$5.handler) parts.push(" ", path.call(print$4, "handler"));
|
|
50098
|
-
else if (n$5.handlers) path.each(function(handlerPath) {
|
|
50082
|
+
parts.push("try ", path$1.call(print$4, "block"));
|
|
50083
|
+
if (n$5.handler) parts.push(" ", path$1.call(print$4, "handler"));
|
|
50084
|
+
else if (n$5.handlers) path$1.each(function(handlerPath) {
|
|
50099
50085
|
parts.push(" ", print$4(handlerPath));
|
|
50100
50086
|
}, "handlers");
|
|
50101
|
-
if (n$5.finalizer) parts.push(" finally ", path.call(print$4, "finalizer"));
|
|
50087
|
+
if (n$5.finalizer) parts.push(" finally ", path$1.call(print$4, "finalizer"));
|
|
50102
50088
|
return lines_1.concat(parts);
|
|
50103
50089
|
case "CatchClause":
|
|
50104
50090
|
parts.push("catch ");
|
|
50105
|
-
if (n$5.param) parts.push("(", path.call(print$4, "param"));
|
|
50106
|
-
if (n$5.guard) parts.push(" if ", path.call(print$4, "guard"));
|
|
50091
|
+
if (n$5.param) parts.push("(", path$1.call(print$4, "param"));
|
|
50092
|
+
if (n$5.guard) parts.push(" if ", path$1.call(print$4, "guard"));
|
|
50107
50093
|
if (n$5.param) parts.push(") ");
|
|
50108
|
-
parts.push(path.call(print$4, "body"));
|
|
50094
|
+
parts.push(path$1.call(print$4, "body"));
|
|
50109
50095
|
return lines_1.concat(parts);
|
|
50110
50096
|
case "ThrowStatement": return lines_1.concat([
|
|
50111
50097
|
"throw ",
|
|
50112
|
-
path.call(print$4, "argument"),
|
|
50098
|
+
path$1.call(print$4, "argument"),
|
|
50113
50099
|
";"
|
|
50114
50100
|
]);
|
|
50115
50101
|
case "SwitchStatement": return lines_1.concat([
|
|
50116
50102
|
"switch (",
|
|
50117
|
-
path.call(print$4, "discriminant"),
|
|
50103
|
+
path$1.call(print$4, "discriminant"),
|
|
50118
50104
|
") {\n",
|
|
50119
|
-
lines_1.fromString("\n").join(path.map(print$4, "cases")),
|
|
50105
|
+
lines_1.fromString("\n").join(path$1.map(print$4, "cases")),
|
|
50120
50106
|
"\n}"
|
|
50121
50107
|
]);
|
|
50122
50108
|
case "SwitchCase":
|
|
50123
|
-
if (n$5.test) parts.push("case ", path.call(print$4, "test"), ":");
|
|
50109
|
+
if (n$5.test) parts.push("case ", path$1.call(print$4, "test"), ":");
|
|
50124
50110
|
else parts.push("default:");
|
|
50125
|
-
if (n$5.consequent.length > 0) parts.push("\n", path.call(function(consequentPath) {
|
|
50111
|
+
if (n$5.consequent.length > 0) parts.push("\n", path$1.call(function(consequentPath) {
|
|
50126
50112
|
return printStatementSequence(consequentPath, options, print$4);
|
|
50127
50113
|
}, "consequent").indent(options.tabWidth));
|
|
50128
50114
|
return lines_1.concat(parts);
|
|
50129
50115
|
case "DebuggerStatement": return lines_1.fromString("debugger;");
|
|
50130
50116
|
case "JSXAttribute":
|
|
50131
|
-
parts.push(path.call(print$4, "name"));
|
|
50132
|
-
if (n$5.value) parts.push("=", path.call(print$4, "value"));
|
|
50117
|
+
parts.push(path$1.call(print$4, "name"));
|
|
50118
|
+
if (n$5.value) parts.push("=", path$1.call(print$4, "value"));
|
|
50133
50119
|
return lines_1.concat(parts);
|
|
50134
50120
|
case "JSXIdentifier": return lines_1.fromString(n$5.name, options);
|
|
50135
|
-
case "JSXNamespacedName": return lines_1.fromString(":").join([path.call(print$4, "namespace"), path.call(print$4, "name")]);
|
|
50136
|
-
case "JSXMemberExpression": return lines_1.fromString(".").join([path.call(print$4, "object"), path.call(print$4, "property")]);
|
|
50121
|
+
case "JSXNamespacedName": return lines_1.fromString(":").join([path$1.call(print$4, "namespace"), path$1.call(print$4, "name")]);
|
|
50122
|
+
case "JSXMemberExpression": return lines_1.fromString(".").join([path$1.call(print$4, "object"), path$1.call(print$4, "property")]);
|
|
50137
50123
|
case "JSXSpreadAttribute": return lines_1.concat([
|
|
50138
50124
|
"{...",
|
|
50139
|
-
path.call(print$4, "argument"),
|
|
50125
|
+
path$1.call(print$4, "argument"),
|
|
50140
50126
|
"}"
|
|
50141
50127
|
]);
|
|
50142
50128
|
case "JSXSpreadChild": return lines_1.concat([
|
|
50143
50129
|
"{...",
|
|
50144
|
-
path.call(print$4, "expression"),
|
|
50130
|
+
path$1.call(print$4, "expression"),
|
|
50145
50131
|
"}"
|
|
50146
50132
|
]);
|
|
50147
50133
|
case "JSXExpressionContainer": return lines_1.concat([
|
|
50148
50134
|
"{",
|
|
50149
|
-
path.call(print$4, "expression"),
|
|
50135
|
+
path$1.call(print$4, "expression"),
|
|
50150
50136
|
"}"
|
|
50151
50137
|
]);
|
|
50152
50138
|
case "JSXElement":
|
|
50153
50139
|
case "JSXFragment":
|
|
50154
50140
|
var openingPropName = "opening" + (n$5.type === "JSXElement" ? "Element" : "Fragment");
|
|
50155
50141
|
var closingPropName = "closing" + (n$5.type === "JSXElement" ? "Element" : "Fragment");
|
|
50156
|
-
var openingLines = path.call(print$4, openingPropName);
|
|
50142
|
+
var openingLines = path$1.call(print$4, openingPropName);
|
|
50157
50143
|
if (n$5[openingPropName].selfClosing) {
|
|
50158
50144
|
assert_1.default.ok(!n$5[closingPropName], "unexpected " + closingPropName + " element in self-closing " + n$5.type);
|
|
50159
50145
|
return openingLines;
|
|
50160
50146
|
}
|
|
50161
|
-
var childLines = lines_1.concat(path.map(function(childPath) {
|
|
50147
|
+
var childLines = lines_1.concat(path$1.map(function(childPath) {
|
|
50162
50148
|
var child = childPath.getValue();
|
|
50163
50149
|
if (namedTypes.Literal.check(child) && typeof child.value === "string") {
|
|
50164
50150
|
if (/\S/.test(child.value)) return child.value.replace(/^\s+|\s+$/g, "");
|
|
@@ -50166,16 +50152,16 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50166
50152
|
}
|
|
50167
50153
|
return print$4(childPath);
|
|
50168
50154
|
}, "children")).indentTail(options.tabWidth);
|
|
50169
|
-
var closingLines = path.call(print$4, closingPropName);
|
|
50155
|
+
var closingLines = path$1.call(print$4, closingPropName);
|
|
50170
50156
|
return lines_1.concat([
|
|
50171
50157
|
openingLines,
|
|
50172
50158
|
childLines,
|
|
50173
50159
|
closingLines
|
|
50174
50160
|
]);
|
|
50175
50161
|
case "JSXOpeningElement":
|
|
50176
|
-
parts.push("<", path.call(print$4, "name"));
|
|
50162
|
+
parts.push("<", path$1.call(print$4, "name"));
|
|
50177
50163
|
var attrParts_1 = [];
|
|
50178
|
-
path.each(function(attrPath) {
|
|
50164
|
+
path$1.each(function(attrPath) {
|
|
50179
50165
|
attrParts_1.push(" ", print$4(attrPath));
|
|
50180
50166
|
}, "attributes");
|
|
50181
50167
|
var attrLines = lines_1.concat(attrParts_1);
|
|
@@ -50192,7 +50178,7 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50192
50178
|
return lines_1.concat(parts);
|
|
50193
50179
|
case "JSXClosingElement": return lines_1.concat([
|
|
50194
50180
|
"</",
|
|
50195
|
-
path.call(print$4, "name"),
|
|
50181
|
+
path$1.call(print$4, "name"),
|
|
50196
50182
|
">"
|
|
50197
50183
|
]);
|
|
50198
50184
|
case "JSXOpeningFragment": return lines_1.fromString("<>");
|
|
@@ -50200,21 +50186,21 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50200
50186
|
case "JSXText": return lines_1.fromString(n$5.value, options);
|
|
50201
50187
|
case "JSXEmptyExpression": return lines_1.fromString("");
|
|
50202
50188
|
case "TypeAnnotatedIdentifier": return lines_1.concat([
|
|
50203
|
-
path.call(print$4, "annotation"),
|
|
50189
|
+
path$1.call(print$4, "annotation"),
|
|
50204
50190
|
" ",
|
|
50205
|
-
path.call(print$4, "identifier")
|
|
50191
|
+
path$1.call(print$4, "identifier")
|
|
50206
50192
|
]);
|
|
50207
50193
|
case "ClassBody":
|
|
50208
50194
|
if (n$5.body.length === 0) return lines_1.fromString("{}");
|
|
50209
50195
|
return lines_1.concat([
|
|
50210
50196
|
"{\n",
|
|
50211
|
-
path.call(function(bodyPath) {
|
|
50197
|
+
path$1.call(function(bodyPath) {
|
|
50212
50198
|
return printStatementSequence(bodyPath, options, print$4);
|
|
50213
50199
|
}, "body").indent(options.tabWidth),
|
|
50214
50200
|
"\n}"
|
|
50215
50201
|
]);
|
|
50216
50202
|
case "ClassPropertyDefinition":
|
|
50217
|
-
parts.push("static ", path.call(print$4, "definition"));
|
|
50203
|
+
parts.push("static ", path$1.call(print$4, "definition"));
|
|
50218
50204
|
if (!namedTypes.MethodDefinition.check(n$5.definition)) parts.push(";");
|
|
50219
50205
|
return lines_1.concat(parts);
|
|
50220
50206
|
case "ClassProperty":
|
|
@@ -50224,25 +50210,25 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50224
50210
|
if (n$5.static) parts.push("static ");
|
|
50225
50211
|
if (n$5.abstract) parts.push("abstract ");
|
|
50226
50212
|
if (n$5.readonly) parts.push("readonly ");
|
|
50227
|
-
var key = path.call(print$4, "key");
|
|
50213
|
+
var key = path$1.call(print$4, "key");
|
|
50228
50214
|
if (n$5.computed) key = lines_1.concat([
|
|
50229
50215
|
"[",
|
|
50230
50216
|
key,
|
|
50231
50217
|
"]"
|
|
50232
50218
|
]);
|
|
50233
|
-
if (n$5.variance) key = lines_1.concat([printVariance(path, print$4), key]);
|
|
50219
|
+
if (n$5.variance) key = lines_1.concat([printVariance(path$1, print$4), key]);
|
|
50234
50220
|
parts.push(key);
|
|
50235
50221
|
if (n$5.optional) parts.push("?");
|
|
50236
50222
|
if (n$5.definite) parts.push("!");
|
|
50237
|
-
if (n$5.typeAnnotation) parts.push(path.call(print$4, "typeAnnotation"));
|
|
50238
|
-
if (n$5.value) parts.push(" = ", path.call(print$4, "value"));
|
|
50223
|
+
if (n$5.typeAnnotation) parts.push(path$1.call(print$4, "typeAnnotation"));
|
|
50224
|
+
if (n$5.value) parts.push(" = ", path$1.call(print$4, "value"));
|
|
50239
50225
|
parts.push(";");
|
|
50240
50226
|
return lines_1.concat(parts);
|
|
50241
50227
|
case "ClassPrivateProperty":
|
|
50242
50228
|
if (n$5.static) parts.push("static ");
|
|
50243
|
-
parts.push(path.call(print$4, "key"));
|
|
50244
|
-
if (n$5.typeAnnotation) parts.push(path.call(print$4, "typeAnnotation"));
|
|
50245
|
-
if (n$5.value) parts.push(" = ", path.call(print$4, "value"));
|
|
50229
|
+
parts.push(path$1.call(print$4, "key"));
|
|
50230
|
+
if (n$5.typeAnnotation) parts.push(path$1.call(print$4, "typeAnnotation"));
|
|
50231
|
+
if (n$5.value) parts.push(" = ", path$1.call(print$4, "value"));
|
|
50246
50232
|
parts.push(";");
|
|
50247
50233
|
return lines_1.concat(parts);
|
|
50248
50234
|
case "ClassDeclaration":
|
|
@@ -50251,26 +50237,26 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50251
50237
|
if (n$5.declare) parts.push("declare ");
|
|
50252
50238
|
if (n$5.abstract) parts.push("abstract ");
|
|
50253
50239
|
parts.push("class");
|
|
50254
|
-
if (n$5.id) parts.push(" ", path.call(print$4, "id"));
|
|
50255
|
-
if (n$5.typeParameters) parts.push(path.call(print$4, "typeParameters"));
|
|
50256
|
-
if (n$5.superClass) parts.push(" extends ", path.call(print$4, "superClass"), path.call(print$4, "superTypeParameters"));
|
|
50257
|
-
if (n$5.extends && n$5.extends.length > 0) parts.push(" extends ", lines_1.fromString(", ").join(path.map(print$4, "extends")));
|
|
50258
|
-
if (n$5["implements"] && n$5["implements"].length > 0) parts.push(" implements ", lines_1.fromString(", ").join(path.map(print$4, "implements")));
|
|
50259
|
-
parts.push(" ", path.call(print$4, "body"));
|
|
50260
|
-
if (n$5.type === "DeclareClass") return printFlowDeclaration(path, parts);
|
|
50240
|
+
if (n$5.id) parts.push(" ", path$1.call(print$4, "id"));
|
|
50241
|
+
if (n$5.typeParameters) parts.push(path$1.call(print$4, "typeParameters"));
|
|
50242
|
+
if (n$5.superClass) parts.push(" extends ", path$1.call(print$4, "superClass"), path$1.call(print$4, "superTypeParameters"));
|
|
50243
|
+
if (n$5.extends && n$5.extends.length > 0) parts.push(" extends ", lines_1.fromString(", ").join(path$1.map(print$4, "extends")));
|
|
50244
|
+
if (n$5["implements"] && n$5["implements"].length > 0) parts.push(" implements ", lines_1.fromString(", ").join(path$1.map(print$4, "implements")));
|
|
50245
|
+
parts.push(" ", path$1.call(print$4, "body"));
|
|
50246
|
+
if (n$5.type === "DeclareClass") return printFlowDeclaration(path$1, parts);
|
|
50261
50247
|
else return lines_1.concat(parts);
|
|
50262
50248
|
case "TemplateElement": return lines_1.fromString(n$5.value.raw, options).lockIndentTail();
|
|
50263
50249
|
case "TemplateLiteral":
|
|
50264
|
-
var expressions_1 = path.map(print$4, "expressions");
|
|
50250
|
+
var expressions_1 = path$1.map(print$4, "expressions");
|
|
50265
50251
|
parts.push("`");
|
|
50266
|
-
path.each(function(childPath) {
|
|
50252
|
+
path$1.each(function(childPath) {
|
|
50267
50253
|
var i$2 = childPath.getName();
|
|
50268
50254
|
parts.push(print$4(childPath));
|
|
50269
50255
|
if (i$2 < expressions_1.length) parts.push("${", expressions_1[i$2], "}");
|
|
50270
50256
|
}, "quasis");
|
|
50271
50257
|
parts.push("`");
|
|
50272
50258
|
return lines_1.concat(parts).lockIndentTail();
|
|
50273
|
-
case "TaggedTemplateExpression": return lines_1.concat([path.call(print$4, "tag"), path.call(print$4, "quasi")]);
|
|
50259
|
+
case "TaggedTemplateExpression": return lines_1.concat([path$1.call(print$4, "tag"), path$1.call(print$4, "quasi")]);
|
|
50274
50260
|
case "Node":
|
|
50275
50261
|
case "Printable":
|
|
50276
50262
|
case "SourceLocation":
|
|
@@ -50303,7 +50289,7 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50303
50289
|
case "TypeAnnotation":
|
|
50304
50290
|
if (n$5.typeAnnotation) {
|
|
50305
50291
|
if (n$5.typeAnnotation.type !== "FunctionTypeAnnotation") parts.push(": ");
|
|
50306
|
-
parts.push(path.call(print$4, "typeAnnotation"));
|
|
50292
|
+
parts.push(path$1.call(print$4, "typeAnnotation"));
|
|
50307
50293
|
return lines_1.concat(parts);
|
|
50308
50294
|
}
|
|
50309
50295
|
return lines_1.fromString("");
|
|
@@ -50312,15 +50298,15 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50312
50298
|
case "EmptyTypeAnnotation": return lines_1.fromString("empty", options);
|
|
50313
50299
|
case "AnyTypeAnnotation": return lines_1.fromString("any", options);
|
|
50314
50300
|
case "MixedTypeAnnotation": return lines_1.fromString("mixed", options);
|
|
50315
|
-
case "ArrayTypeAnnotation": return lines_1.concat([path.call(print$4, "elementType"), "[]"]);
|
|
50301
|
+
case "ArrayTypeAnnotation": return lines_1.concat([path$1.call(print$4, "elementType"), "[]"]);
|
|
50316
50302
|
case "TupleTypeAnnotation":
|
|
50317
|
-
var printed_2 = path.map(print$4, "types");
|
|
50303
|
+
var printed_2 = path$1.map(print$4, "types");
|
|
50318
50304
|
var joined = lines_1.fromString(", ").join(printed_2);
|
|
50319
50305
|
var oneLine_3 = joined.getLineLength(1) <= options.wrapColumn;
|
|
50320
50306
|
if (oneLine_3) if (options.arrayBracketSpacing) parts.push("[ ");
|
|
50321
50307
|
else parts.push("[");
|
|
50322
50308
|
else parts.push("[\n");
|
|
50323
|
-
path.each(function(elemPath) {
|
|
50309
|
+
path$1.each(function(elemPath) {
|
|
50324
50310
|
var i$2 = elemPath.getName();
|
|
50325
50311
|
if (!elemPath.getValue()) parts.push(",");
|
|
50326
50312
|
else {
|
|
@@ -50342,114 +50328,114 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50342
50328
|
return lines_1.fromString("" + n$5.value, options);
|
|
50343
50329
|
case "InterfaceTypeAnnotation":
|
|
50344
50330
|
parts.push("interface");
|
|
50345
|
-
if (n$5.extends && n$5.extends.length > 0) parts.push(" extends ", lines_1.fromString(", ").join(path.map(print$4, "extends")));
|
|
50346
|
-
parts.push(" ", path.call(print$4, "body"));
|
|
50331
|
+
if (n$5.extends && n$5.extends.length > 0) parts.push(" extends ", lines_1.fromString(", ").join(path$1.map(print$4, "extends")));
|
|
50332
|
+
parts.push(" ", path$1.call(print$4, "body"));
|
|
50347
50333
|
return lines_1.concat(parts);
|
|
50348
|
-
case "DeclareFunction": return printFlowDeclaration(path, [
|
|
50334
|
+
case "DeclareFunction": return printFlowDeclaration(path$1, [
|
|
50349
50335
|
"function ",
|
|
50350
|
-
path.call(print$4, "id"),
|
|
50336
|
+
path$1.call(print$4, "id"),
|
|
50351
50337
|
";"
|
|
50352
50338
|
]);
|
|
50353
|
-
case "DeclareModule": return printFlowDeclaration(path, [
|
|
50339
|
+
case "DeclareModule": return printFlowDeclaration(path$1, [
|
|
50354
50340
|
"module ",
|
|
50355
|
-
path.call(print$4, "id"),
|
|
50341
|
+
path$1.call(print$4, "id"),
|
|
50356
50342
|
" ",
|
|
50357
|
-
path.call(print$4, "body")
|
|
50343
|
+
path$1.call(print$4, "body")
|
|
50358
50344
|
]);
|
|
50359
|
-
case "DeclareModuleExports": return printFlowDeclaration(path, ["module.exports", path.call(print$4, "typeAnnotation")]);
|
|
50360
|
-
case "DeclareVariable": return printFlowDeclaration(path, [
|
|
50345
|
+
case "DeclareModuleExports": return printFlowDeclaration(path$1, ["module.exports", path$1.call(print$4, "typeAnnotation")]);
|
|
50346
|
+
case "DeclareVariable": return printFlowDeclaration(path$1, [
|
|
50361
50347
|
"var ",
|
|
50362
|
-
path.call(print$4, "id"),
|
|
50348
|
+
path$1.call(print$4, "id"),
|
|
50363
50349
|
";"
|
|
50364
50350
|
]);
|
|
50365
50351
|
case "DeclareExportDeclaration":
|
|
50366
|
-
case "DeclareExportAllDeclaration": return lines_1.concat(["declare ", printExportDeclaration(path, options, print$4)]);
|
|
50352
|
+
case "DeclareExportAllDeclaration": return lines_1.concat(["declare ", printExportDeclaration(path$1, options, print$4)]);
|
|
50367
50353
|
case "EnumDeclaration": return lines_1.concat([
|
|
50368
50354
|
"enum ",
|
|
50369
|
-
path.call(print$4, "id"),
|
|
50370
|
-
path.call(print$4, "body")
|
|
50355
|
+
path$1.call(print$4, "id"),
|
|
50356
|
+
path$1.call(print$4, "body")
|
|
50371
50357
|
]);
|
|
50372
50358
|
case "EnumBooleanBody":
|
|
50373
50359
|
case "EnumNumberBody":
|
|
50374
50360
|
case "EnumStringBody":
|
|
50375
50361
|
case "EnumSymbolBody":
|
|
50376
50362
|
if (n$5.type === "EnumSymbolBody" || n$5.explicitType) parts.push(" of ", n$5.type.slice(4, -4).toLowerCase());
|
|
50377
|
-
parts.push(" {\n", lines_1.fromString("\n").join(path.map(print$4, "members")).indent(options.tabWidth), "\n}");
|
|
50363
|
+
parts.push(" {\n", lines_1.fromString("\n").join(path$1.map(print$4, "members")).indent(options.tabWidth), "\n}");
|
|
50378
50364
|
return lines_1.concat(parts);
|
|
50379
|
-
case "EnumDefaultedMember": return lines_1.concat([path.call(print$4, "id"), ","]);
|
|
50365
|
+
case "EnumDefaultedMember": return lines_1.concat([path$1.call(print$4, "id"), ","]);
|
|
50380
50366
|
case "EnumBooleanMember":
|
|
50381
50367
|
case "EnumNumberMember":
|
|
50382
50368
|
case "EnumStringMember": return lines_1.concat([
|
|
50383
|
-
path.call(print$4, "id"),
|
|
50369
|
+
path$1.call(print$4, "id"),
|
|
50384
50370
|
" = ",
|
|
50385
|
-
path.call(print$4, "init"),
|
|
50371
|
+
path$1.call(print$4, "init"),
|
|
50386
50372
|
","
|
|
50387
50373
|
]);
|
|
50388
50374
|
case "InferredPredicate": return lines_1.fromString("%checks", options);
|
|
50389
50375
|
case "DeclaredPredicate": return lines_1.concat([
|
|
50390
50376
|
"%checks(",
|
|
50391
|
-
path.call(print$4, "value"),
|
|
50377
|
+
path$1.call(print$4, "value"),
|
|
50392
50378
|
")"
|
|
50393
50379
|
]);
|
|
50394
50380
|
case "FunctionTypeAnnotation":
|
|
50395
|
-
var parent = path.getParentNode(0);
|
|
50396
|
-
var isArrowFunctionTypeAnnotation = !(namedTypes.ObjectTypeCallProperty.check(parent) || namedTypes.ObjectTypeInternalSlot.check(parent) && parent.method || namedTypes.DeclareFunction.check(path.getParentNode(2)));
|
|
50381
|
+
var parent = path$1.getParentNode(0);
|
|
50382
|
+
var isArrowFunctionTypeAnnotation = !(namedTypes.ObjectTypeCallProperty.check(parent) || namedTypes.ObjectTypeInternalSlot.check(parent) && parent.method || namedTypes.DeclareFunction.check(path$1.getParentNode(2)));
|
|
50397
50383
|
if (isArrowFunctionTypeAnnotation && !namedTypes.FunctionTypeParam.check(parent) && !namedTypes.TypeAlias.check(parent)) parts.push(": ");
|
|
50398
50384
|
var hasTypeParameters = !!n$5.typeParameters;
|
|
50399
50385
|
var needsParens = hasTypeParameters || n$5.params.length !== 1 || n$5.params[0].name;
|
|
50400
|
-
parts.push(hasTypeParameters ? path.call(print$4, "typeParameters") : "", needsParens ? "(" : "", printFunctionParams(path, options, print$4), needsParens ? ")" : "");
|
|
50401
|
-
if (n$5.returnType) parts.push(isArrowFunctionTypeAnnotation ? " => " : ": ", path.call(print$4, "returnType"));
|
|
50386
|
+
parts.push(hasTypeParameters ? path$1.call(print$4, "typeParameters") : "", needsParens ? "(" : "", printFunctionParams(path$1, options, print$4), needsParens ? ")" : "");
|
|
50387
|
+
if (n$5.returnType) parts.push(isArrowFunctionTypeAnnotation ? " => " : ": ", path$1.call(print$4, "returnType"));
|
|
50402
50388
|
return lines_1.concat(parts);
|
|
50403
50389
|
case "FunctionTypeParam":
|
|
50404
|
-
var name = path.call(print$4, "name");
|
|
50390
|
+
var name = path$1.call(print$4, "name");
|
|
50405
50391
|
parts.push(name);
|
|
50406
50392
|
if (n$5.optional) parts.push("?");
|
|
50407
50393
|
if (name.infos[0].line) parts.push(": ");
|
|
50408
|
-
parts.push(path.call(print$4, "typeAnnotation"));
|
|
50394
|
+
parts.push(path$1.call(print$4, "typeAnnotation"));
|
|
50409
50395
|
return lines_1.concat(parts);
|
|
50410
|
-
case "GenericTypeAnnotation": return lines_1.concat([path.call(print$4, "id"), path.call(print$4, "typeParameters")]);
|
|
50396
|
+
case "GenericTypeAnnotation": return lines_1.concat([path$1.call(print$4, "id"), path$1.call(print$4, "typeParameters")]);
|
|
50411
50397
|
case "DeclareInterface": parts.push("declare ");
|
|
50412
50398
|
case "InterfaceDeclaration":
|
|
50413
50399
|
case "TSInterfaceDeclaration":
|
|
50414
50400
|
if (n$5.declare) parts.push("declare ");
|
|
50415
|
-
parts.push("interface ", path.call(print$4, "id"), path.call(print$4, "typeParameters"), " ");
|
|
50416
|
-
if (n$5["extends"] && n$5["extends"].length > 0) parts.push("extends ", lines_1.fromString(", ").join(path.map(print$4, "extends")), " ");
|
|
50417
|
-
if (n$5.body) parts.push(path.call(print$4, "body"));
|
|
50401
|
+
parts.push("interface ", path$1.call(print$4, "id"), path$1.call(print$4, "typeParameters"), " ");
|
|
50402
|
+
if (n$5["extends"] && n$5["extends"].length > 0) parts.push("extends ", lines_1.fromString(", ").join(path$1.map(print$4, "extends")), " ");
|
|
50403
|
+
if (n$5.body) parts.push(path$1.call(print$4, "body"));
|
|
50418
50404
|
return lines_1.concat(parts);
|
|
50419
50405
|
case "ClassImplements":
|
|
50420
|
-
case "InterfaceExtends": return lines_1.concat([path.call(print$4, "id"), path.call(print$4, "typeParameters")]);
|
|
50421
|
-
case "IntersectionTypeAnnotation": return lines_1.fromString(" & ").join(path.map(print$4, "types"));
|
|
50422
|
-
case "NullableTypeAnnotation": return lines_1.concat(["?", path.call(print$4, "typeAnnotation")]);
|
|
50406
|
+
case "InterfaceExtends": return lines_1.concat([path$1.call(print$4, "id"), path$1.call(print$4, "typeParameters")]);
|
|
50407
|
+
case "IntersectionTypeAnnotation": return lines_1.fromString(" & ").join(path$1.map(print$4, "types"));
|
|
50408
|
+
case "NullableTypeAnnotation": return lines_1.concat(["?", path$1.call(print$4, "typeAnnotation")]);
|
|
50423
50409
|
case "NullLiteralTypeAnnotation": return lines_1.fromString("null", options);
|
|
50424
50410
|
case "ThisTypeAnnotation": return lines_1.fromString("this", options);
|
|
50425
50411
|
case "NumberTypeAnnotation": return lines_1.fromString("number", options);
|
|
50426
|
-
case "ObjectTypeCallProperty": return path.call(print$4, "value");
|
|
50412
|
+
case "ObjectTypeCallProperty": return path$1.call(print$4, "value");
|
|
50427
50413
|
case "ObjectTypeIndexer":
|
|
50428
50414
|
if (n$5.static) parts.push("static ");
|
|
50429
|
-
parts.push(printVariance(path, print$4), "[");
|
|
50430
|
-
if (n$5.id) parts.push(path.call(print$4, "id"), ": ");
|
|
50431
|
-
parts.push(path.call(print$4, "key"), "]: ", path.call(print$4, "value"));
|
|
50415
|
+
parts.push(printVariance(path$1, print$4), "[");
|
|
50416
|
+
if (n$5.id) parts.push(path$1.call(print$4, "id"), ": ");
|
|
50417
|
+
parts.push(path$1.call(print$4, "key"), "]: ", path$1.call(print$4, "value"));
|
|
50432
50418
|
return lines_1.concat(parts);
|
|
50433
50419
|
case "ObjectTypeProperty": return lines_1.concat([
|
|
50434
|
-
printVariance(path, print$4),
|
|
50435
|
-
path.call(print$4, "key"),
|
|
50420
|
+
printVariance(path$1, print$4),
|
|
50421
|
+
path$1.call(print$4, "key"),
|
|
50436
50422
|
n$5.optional ? "?" : "",
|
|
50437
50423
|
": ",
|
|
50438
|
-
path.call(print$4, "value")
|
|
50424
|
+
path$1.call(print$4, "value")
|
|
50439
50425
|
]);
|
|
50440
50426
|
case "ObjectTypeInternalSlot": return lines_1.concat([
|
|
50441
50427
|
n$5.static ? "static " : "",
|
|
50442
50428
|
"[[",
|
|
50443
|
-
path.call(print$4, "id"),
|
|
50429
|
+
path$1.call(print$4, "id"),
|
|
50444
50430
|
"]]",
|
|
50445
50431
|
n$5.optional ? "?" : "",
|
|
50446
50432
|
n$5.value.type !== "FunctionTypeAnnotation" ? ": " : "",
|
|
50447
|
-
path.call(print$4, "value")
|
|
50433
|
+
path$1.call(print$4, "value")
|
|
50448
50434
|
]);
|
|
50449
50435
|
case "QualifiedTypeIdentifier": return lines_1.concat([
|
|
50450
|
-
path.call(print$4, "qualification"),
|
|
50436
|
+
path$1.call(print$4, "qualification"),
|
|
50451
50437
|
".",
|
|
50452
|
-
path.call(print$4, "id")
|
|
50438
|
+
path$1.call(print$4, "id")
|
|
50453
50439
|
]);
|
|
50454
50440
|
case "StringLiteralTypeAnnotation": return lines_1.fromString(nodeStr(n$5.value, options), options);
|
|
50455
50441
|
case "NumberLiteralTypeAnnotation":
|
|
@@ -50461,29 +50447,29 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50461
50447
|
case "DeclareTypeAlias": parts.push("declare ");
|
|
50462
50448
|
case "TypeAlias": return lines_1.concat([
|
|
50463
50449
|
"type ",
|
|
50464
|
-
path.call(print$4, "id"),
|
|
50465
|
-
path.call(print$4, "typeParameters"),
|
|
50450
|
+
path$1.call(print$4, "id"),
|
|
50451
|
+
path$1.call(print$4, "typeParameters"),
|
|
50466
50452
|
" = ",
|
|
50467
|
-
path.call(print$4, "right"),
|
|
50453
|
+
path$1.call(print$4, "right"),
|
|
50468
50454
|
";"
|
|
50469
50455
|
]);
|
|
50470
50456
|
case "DeclareOpaqueType": parts.push("declare ");
|
|
50471
50457
|
case "OpaqueType":
|
|
50472
|
-
parts.push("opaque type ", path.call(print$4, "id"), path.call(print$4, "typeParameters"));
|
|
50473
|
-
if (n$5["supertype"]) parts.push(": ", path.call(print$4, "supertype"));
|
|
50474
|
-
if (n$5["impltype"]) parts.push(" = ", path.call(print$4, "impltype"));
|
|
50458
|
+
parts.push("opaque type ", path$1.call(print$4, "id"), path$1.call(print$4, "typeParameters"));
|
|
50459
|
+
if (n$5["supertype"]) parts.push(": ", path$1.call(print$4, "supertype"));
|
|
50460
|
+
if (n$5["impltype"]) parts.push(" = ", path$1.call(print$4, "impltype"));
|
|
50475
50461
|
parts.push(";");
|
|
50476
50462
|
return lines_1.concat(parts);
|
|
50477
50463
|
case "TypeCastExpression": return lines_1.concat([
|
|
50478
50464
|
"(",
|
|
50479
|
-
path.call(print$4, "expression"),
|
|
50480
|
-
path.call(print$4, "typeAnnotation"),
|
|
50465
|
+
path$1.call(print$4, "expression"),
|
|
50466
|
+
path$1.call(print$4, "typeAnnotation"),
|
|
50481
50467
|
")"
|
|
50482
50468
|
]);
|
|
50483
50469
|
case "TypeParameterDeclaration":
|
|
50484
50470
|
case "TypeParameterInstantiation": return lines_1.concat([
|
|
50485
50471
|
"<",
|
|
50486
|
-
lines_1.fromString(", ").join(path.map(print$4, "params")),
|
|
50472
|
+
lines_1.fromString(", ").join(path$1.map(print$4, "params")),
|
|
50487
50473
|
">"
|
|
50488
50474
|
]);
|
|
50489
50475
|
case "Variance":
|
|
@@ -50491,21 +50477,21 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50491
50477
|
if (n$5.kind === "minus") return lines_1.fromString("-");
|
|
50492
50478
|
return lines_1.fromString("");
|
|
50493
50479
|
case "TypeParameter":
|
|
50494
|
-
if (n$5.variance) parts.push(printVariance(path, print$4));
|
|
50495
|
-
parts.push(path.call(print$4, "name"));
|
|
50496
|
-
if (n$5.bound) parts.push(path.call(print$4, "bound"));
|
|
50497
|
-
if (n$5["default"]) parts.push("=", path.call(print$4, "default"));
|
|
50480
|
+
if (n$5.variance) parts.push(printVariance(path$1, print$4));
|
|
50481
|
+
parts.push(path$1.call(print$4, "name"));
|
|
50482
|
+
if (n$5.bound) parts.push(path$1.call(print$4, "bound"));
|
|
50483
|
+
if (n$5["default"]) parts.push("=", path$1.call(print$4, "default"));
|
|
50498
50484
|
return lines_1.concat(parts);
|
|
50499
|
-
case "TypeofTypeAnnotation": return lines_1.concat([lines_1.fromString("typeof ", options), path.call(print$4, "argument")]);
|
|
50485
|
+
case "TypeofTypeAnnotation": return lines_1.concat([lines_1.fromString("typeof ", options), path$1.call(print$4, "argument")]);
|
|
50500
50486
|
case "IndexedAccessType":
|
|
50501
50487
|
case "OptionalIndexedAccessType": return lines_1.concat([
|
|
50502
|
-
path.call(print$4, "objectType"),
|
|
50488
|
+
path$1.call(print$4, "objectType"),
|
|
50503
50489
|
n$5.optional ? "?." : "",
|
|
50504
50490
|
"[",
|
|
50505
|
-
path.call(print$4, "indexType"),
|
|
50491
|
+
path$1.call(print$4, "indexType"),
|
|
50506
50492
|
"]"
|
|
50507
50493
|
]);
|
|
50508
|
-
case "UnionTypeAnnotation": return lines_1.fromString(" | ").join(path.map(print$4, "types"));
|
|
50494
|
+
case "UnionTypeAnnotation": return lines_1.fromString(" | ").join(path$1.map(print$4, "types"));
|
|
50509
50495
|
case "VoidTypeAnnotation": return lines_1.fromString("void", options);
|
|
50510
50496
|
case "NullTypeAnnotation": return lines_1.fromString("null", options);
|
|
50511
50497
|
case "SymbolTypeAnnotation": return lines_1.fromString("symbol", options);
|
|
@@ -50525,39 +50511,39 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50525
50511
|
case "TSUndefinedKeyword": return lines_1.fromString("undefined", options);
|
|
50526
50512
|
case "TSUnknownKeyword": return lines_1.fromString("unknown", options);
|
|
50527
50513
|
case "TSNeverKeyword": return lines_1.fromString("never", options);
|
|
50528
|
-
case "TSArrayType": return lines_1.concat([path.call(print$4, "elementType"), "[]"]);
|
|
50529
|
-
case "TSLiteralType": return path.call(print$4, "literal");
|
|
50530
|
-
case "TSUnionType": return lines_1.fromString(" | ").join(path.map(print$4, "types"));
|
|
50531
|
-
case "TSIntersectionType": return lines_1.fromString(" & ").join(path.map(print$4, "types"));
|
|
50514
|
+
case "TSArrayType": return lines_1.concat([path$1.call(print$4, "elementType"), "[]"]);
|
|
50515
|
+
case "TSLiteralType": return path$1.call(print$4, "literal");
|
|
50516
|
+
case "TSUnionType": return lines_1.fromString(" | ").join(path$1.map(print$4, "types"));
|
|
50517
|
+
case "TSIntersectionType": return lines_1.fromString(" & ").join(path$1.map(print$4, "types"));
|
|
50532
50518
|
case "TSConditionalType":
|
|
50533
|
-
parts.push(path.call(print$4, "checkType"), " extends ", path.call(print$4, "extendsType"), " ? ", path.call(print$4, "trueType"), " : ", path.call(print$4, "falseType"));
|
|
50519
|
+
parts.push(path$1.call(print$4, "checkType"), " extends ", path$1.call(print$4, "extendsType"), " ? ", path$1.call(print$4, "trueType"), " : ", path$1.call(print$4, "falseType"));
|
|
50534
50520
|
return lines_1.concat(parts);
|
|
50535
50521
|
case "TSInferType":
|
|
50536
|
-
parts.push("infer ", path.call(print$4, "typeParameter"));
|
|
50522
|
+
parts.push("infer ", path$1.call(print$4, "typeParameter"));
|
|
50537
50523
|
return lines_1.concat(parts);
|
|
50538
50524
|
case "TSParenthesizedType": return lines_1.concat([
|
|
50539
50525
|
"(",
|
|
50540
|
-
path.call(print$4, "typeAnnotation"),
|
|
50526
|
+
path$1.call(print$4, "typeAnnotation"),
|
|
50541
50527
|
")"
|
|
50542
50528
|
]);
|
|
50543
50529
|
case "TSFunctionType": return lines_1.concat([
|
|
50544
|
-
path.call(print$4, "typeParameters"),
|
|
50530
|
+
path$1.call(print$4, "typeParameters"),
|
|
50545
50531
|
"(",
|
|
50546
|
-
printFunctionParams(path, options, print$4),
|
|
50532
|
+
printFunctionParams(path$1, options, print$4),
|
|
50547
50533
|
") => ",
|
|
50548
|
-
path.call(print$4, "typeAnnotation", "typeAnnotation")
|
|
50534
|
+
path$1.call(print$4, "typeAnnotation", "typeAnnotation")
|
|
50549
50535
|
]);
|
|
50550
50536
|
case "TSConstructorType": return lines_1.concat([
|
|
50551
50537
|
"new ",
|
|
50552
|
-
path.call(print$4, "typeParameters"),
|
|
50538
|
+
path$1.call(print$4, "typeParameters"),
|
|
50553
50539
|
"(",
|
|
50554
|
-
printFunctionParams(path, options, print$4),
|
|
50540
|
+
printFunctionParams(path$1, options, print$4),
|
|
50555
50541
|
") => ",
|
|
50556
|
-
path.call(print$4, "typeAnnotation", "typeAnnotation")
|
|
50542
|
+
path$1.call(print$4, "typeAnnotation", "typeAnnotation")
|
|
50557
50543
|
]);
|
|
50558
50544
|
case "TSMappedType":
|
|
50559
|
-
parts.push(n$5.readonly ? "readonly " : "", "[", path.call(print$4, "typeParameter"), "]", n$5.optional ? "?" : "");
|
|
50560
|
-
if (n$5.typeAnnotation) parts.push(": ", path.call(print$4, "typeAnnotation"), ";");
|
|
50545
|
+
parts.push(n$5.readonly ? "readonly " : "", "[", path$1.call(print$4, "typeParameter"), "]", n$5.optional ? "?" : "");
|
|
50546
|
+
if (n$5.typeAnnotation) parts.push(": ", path$1.call(print$4, "typeAnnotation"), ";");
|
|
50561
50547
|
return lines_1.concat([
|
|
50562
50548
|
"{\n",
|
|
50563
50549
|
lines_1.concat(parts).indent(options.tabWidth),
|
|
@@ -50565,126 +50551,126 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50565
50551
|
]);
|
|
50566
50552
|
case "TSTupleType": return lines_1.concat([
|
|
50567
50553
|
"[",
|
|
50568
|
-
lines_1.fromString(", ").join(path.map(print$4, "elementTypes")),
|
|
50554
|
+
lines_1.fromString(", ").join(path$1.map(print$4, "elementTypes")),
|
|
50569
50555
|
"]"
|
|
50570
50556
|
]);
|
|
50571
50557
|
case "TSNamedTupleMember":
|
|
50572
|
-
parts.push(path.call(print$4, "label"));
|
|
50558
|
+
parts.push(path$1.call(print$4, "label"));
|
|
50573
50559
|
if (n$5.optional) parts.push("?");
|
|
50574
|
-
parts.push(": ", path.call(print$4, "elementType"));
|
|
50560
|
+
parts.push(": ", path$1.call(print$4, "elementType"));
|
|
50575
50561
|
return lines_1.concat(parts);
|
|
50576
|
-
case "TSRestType": return lines_1.concat(["...", path.call(print$4, "typeAnnotation")]);
|
|
50577
|
-
case "TSOptionalType": return lines_1.concat([path.call(print$4, "typeAnnotation"), "?"]);
|
|
50562
|
+
case "TSRestType": return lines_1.concat(["...", path$1.call(print$4, "typeAnnotation")]);
|
|
50563
|
+
case "TSOptionalType": return lines_1.concat([path$1.call(print$4, "typeAnnotation"), "?"]);
|
|
50578
50564
|
case "TSIndexedAccessType": return lines_1.concat([
|
|
50579
|
-
path.call(print$4, "objectType"),
|
|
50565
|
+
path$1.call(print$4, "objectType"),
|
|
50580
50566
|
"[",
|
|
50581
|
-
path.call(print$4, "indexType"),
|
|
50567
|
+
path$1.call(print$4, "indexType"),
|
|
50582
50568
|
"]"
|
|
50583
50569
|
]);
|
|
50584
50570
|
case "TSTypeOperator": return lines_1.concat([
|
|
50585
|
-
path.call(print$4, "operator"),
|
|
50571
|
+
path$1.call(print$4, "operator"),
|
|
50586
50572
|
" ",
|
|
50587
|
-
path.call(print$4, "typeAnnotation")
|
|
50573
|
+
path$1.call(print$4, "typeAnnotation")
|
|
50588
50574
|
]);
|
|
50589
50575
|
case "TSTypeLiteral":
|
|
50590
|
-
var memberLines = lines_1.fromString("\n").join(path.map(print$4, "members"));
|
|
50576
|
+
var memberLines = lines_1.fromString("\n").join(path$1.map(print$4, "members"));
|
|
50591
50577
|
if (memberLines.isEmpty()) return lines_1.fromString("{}", options);
|
|
50592
50578
|
parts.push("{\n", memberLines.indent(options.tabWidth), "\n}");
|
|
50593
50579
|
return lines_1.concat(parts);
|
|
50594
50580
|
case "TSEnumMember":
|
|
50595
|
-
parts.push(path.call(print$4, "id"));
|
|
50596
|
-
if (n$5.initializer) parts.push(" = ", path.call(print$4, "initializer"));
|
|
50581
|
+
parts.push(path$1.call(print$4, "id"));
|
|
50582
|
+
if (n$5.initializer) parts.push(" = ", path$1.call(print$4, "initializer"));
|
|
50597
50583
|
return lines_1.concat(parts);
|
|
50598
|
-
case "TSTypeQuery": return lines_1.concat(["typeof ", path.call(print$4, "exprName")]);
|
|
50584
|
+
case "TSTypeQuery": return lines_1.concat(["typeof ", path$1.call(print$4, "exprName")]);
|
|
50599
50585
|
case "TSParameterProperty":
|
|
50600
50586
|
if (n$5.accessibility) parts.push(n$5.accessibility, " ");
|
|
50601
50587
|
if (n$5.export) parts.push("export ");
|
|
50602
50588
|
if (n$5.static) parts.push("static ");
|
|
50603
50589
|
if (n$5.readonly) parts.push("readonly ");
|
|
50604
|
-
parts.push(path.call(print$4, "parameter"));
|
|
50590
|
+
parts.push(path$1.call(print$4, "parameter"));
|
|
50605
50591
|
return lines_1.concat(parts);
|
|
50606
|
-
case "TSTypeReference": return lines_1.concat([path.call(print$4, "typeName"), path.call(print$4, "typeParameters")]);
|
|
50592
|
+
case "TSTypeReference": return lines_1.concat([path$1.call(print$4, "typeName"), path$1.call(print$4, "typeParameters")]);
|
|
50607
50593
|
case "TSQualifiedName": return lines_1.concat([
|
|
50608
|
-
path.call(print$4, "left"),
|
|
50594
|
+
path$1.call(print$4, "left"),
|
|
50609
50595
|
".",
|
|
50610
|
-
path.call(print$4, "right")
|
|
50596
|
+
path$1.call(print$4, "right")
|
|
50611
50597
|
]);
|
|
50612
50598
|
case "TSAsExpression":
|
|
50613
|
-
var expression = path.call(print$4, "expression");
|
|
50614
|
-
parts.push(expression, lines_1.fromString(" as "), path.call(print$4, "typeAnnotation"));
|
|
50599
|
+
var expression = path$1.call(print$4, "expression");
|
|
50600
|
+
parts.push(expression, lines_1.fromString(" as "), path$1.call(print$4, "typeAnnotation"));
|
|
50615
50601
|
return lines_1.concat(parts);
|
|
50616
|
-
case "TSNonNullExpression": return lines_1.concat([path.call(print$4, "expression"), "!"]);
|
|
50617
|
-
case "TSTypeAnnotation": return lines_1.concat([": ", path.call(print$4, "typeAnnotation")]);
|
|
50602
|
+
case "TSNonNullExpression": return lines_1.concat([path$1.call(print$4, "expression"), "!"]);
|
|
50603
|
+
case "TSTypeAnnotation": return lines_1.concat([": ", path$1.call(print$4, "typeAnnotation")]);
|
|
50618
50604
|
case "TSIndexSignature": return lines_1.concat([
|
|
50619
50605
|
n$5.readonly ? "readonly " : "",
|
|
50620
50606
|
"[",
|
|
50621
|
-
path.map(print$4, "parameters"),
|
|
50607
|
+
path$1.map(print$4, "parameters"),
|
|
50622
50608
|
"]",
|
|
50623
|
-
path.call(print$4, "typeAnnotation")
|
|
50609
|
+
path$1.call(print$4, "typeAnnotation")
|
|
50624
50610
|
]);
|
|
50625
50611
|
case "TSPropertySignature":
|
|
50626
|
-
parts.push(printVariance(path, print$4), n$5.readonly ? "readonly " : "");
|
|
50627
|
-
if (n$5.computed) parts.push("[", path.call(print$4, "key"), "]");
|
|
50628
|
-
else parts.push(path.call(print$4, "key"));
|
|
50629
|
-
parts.push(n$5.optional ? "?" : "", path.call(print$4, "typeAnnotation"));
|
|
50612
|
+
parts.push(printVariance(path$1, print$4), n$5.readonly ? "readonly " : "");
|
|
50613
|
+
if (n$5.computed) parts.push("[", path$1.call(print$4, "key"), "]");
|
|
50614
|
+
else parts.push(path$1.call(print$4, "key"));
|
|
50615
|
+
parts.push(n$5.optional ? "?" : "", path$1.call(print$4, "typeAnnotation"));
|
|
50630
50616
|
return lines_1.concat(parts);
|
|
50631
50617
|
case "TSMethodSignature":
|
|
50632
|
-
if (n$5.computed) parts.push("[", path.call(print$4, "key"), "]");
|
|
50633
|
-
else parts.push(path.call(print$4, "key"));
|
|
50618
|
+
if (n$5.computed) parts.push("[", path$1.call(print$4, "key"), "]");
|
|
50619
|
+
else parts.push(path$1.call(print$4, "key"));
|
|
50634
50620
|
if (n$5.optional) parts.push("?");
|
|
50635
|
-
parts.push(path.call(print$4, "typeParameters"), "(", printFunctionParams(path, options, print$4), ")", path.call(print$4, "typeAnnotation"));
|
|
50621
|
+
parts.push(path$1.call(print$4, "typeParameters"), "(", printFunctionParams(path$1, options, print$4), ")", path$1.call(print$4, "typeAnnotation"));
|
|
50636
50622
|
return lines_1.concat(parts);
|
|
50637
50623
|
case "TSTypePredicate":
|
|
50638
50624
|
if (n$5.asserts) parts.push("asserts ");
|
|
50639
|
-
parts.push(path.call(print$4, "parameterName"));
|
|
50640
|
-
if (n$5.typeAnnotation) parts.push(" is ", path.call(print$4, "typeAnnotation", "typeAnnotation"));
|
|
50625
|
+
parts.push(path$1.call(print$4, "parameterName"));
|
|
50626
|
+
if (n$5.typeAnnotation) parts.push(" is ", path$1.call(print$4, "typeAnnotation", "typeAnnotation"));
|
|
50641
50627
|
return lines_1.concat(parts);
|
|
50642
50628
|
case "TSCallSignatureDeclaration": return lines_1.concat([
|
|
50643
|
-
path.call(print$4, "typeParameters"),
|
|
50629
|
+
path$1.call(print$4, "typeParameters"),
|
|
50644
50630
|
"(",
|
|
50645
|
-
printFunctionParams(path, options, print$4),
|
|
50631
|
+
printFunctionParams(path$1, options, print$4),
|
|
50646
50632
|
")",
|
|
50647
|
-
path.call(print$4, "typeAnnotation")
|
|
50633
|
+
path$1.call(print$4, "typeAnnotation")
|
|
50648
50634
|
]);
|
|
50649
50635
|
case "TSConstructSignatureDeclaration":
|
|
50650
|
-
if (n$5.typeParameters) parts.push("new", path.call(print$4, "typeParameters"));
|
|
50636
|
+
if (n$5.typeParameters) parts.push("new", path$1.call(print$4, "typeParameters"));
|
|
50651
50637
|
else parts.push("new ");
|
|
50652
|
-
parts.push("(", printFunctionParams(path, options, print$4), ")", path.call(print$4, "typeAnnotation"));
|
|
50638
|
+
parts.push("(", printFunctionParams(path$1, options, print$4), ")", path$1.call(print$4, "typeAnnotation"));
|
|
50653
50639
|
return lines_1.concat(parts);
|
|
50654
50640
|
case "TSTypeAliasDeclaration": return lines_1.concat([
|
|
50655
50641
|
n$5.declare ? "declare " : "",
|
|
50656
50642
|
"type ",
|
|
50657
|
-
path.call(print$4, "id"),
|
|
50658
|
-
path.call(print$4, "typeParameters"),
|
|
50643
|
+
path$1.call(print$4, "id"),
|
|
50644
|
+
path$1.call(print$4, "typeParameters"),
|
|
50659
50645
|
" = ",
|
|
50660
|
-
path.call(print$4, "typeAnnotation"),
|
|
50646
|
+
path$1.call(print$4, "typeAnnotation"),
|
|
50661
50647
|
";"
|
|
50662
50648
|
]);
|
|
50663
50649
|
case "TSTypeParameter":
|
|
50664
|
-
parts.push(path.call(print$4, "name"));
|
|
50665
|
-
var parent = path.getParentNode(0);
|
|
50650
|
+
parts.push(path$1.call(print$4, "name"));
|
|
50651
|
+
var parent = path$1.getParentNode(0);
|
|
50666
50652
|
var isInMappedType = namedTypes.TSMappedType.check(parent);
|
|
50667
|
-
if (n$5.constraint) parts.push(isInMappedType ? " in " : " extends ", path.call(print$4, "constraint"));
|
|
50668
|
-
if (n$5["default"]) parts.push(" = ", path.call(print$4, "default"));
|
|
50653
|
+
if (n$5.constraint) parts.push(isInMappedType ? " in " : " extends ", path$1.call(print$4, "constraint"));
|
|
50654
|
+
if (n$5["default"]) parts.push(" = ", path$1.call(print$4, "default"));
|
|
50669
50655
|
return lines_1.concat(parts);
|
|
50670
50656
|
case "TSTypeAssertion":
|
|
50671
|
-
parts.push("<", path.call(print$4, "typeAnnotation"), "> ", path.call(print$4, "expression"));
|
|
50657
|
+
parts.push("<", path$1.call(print$4, "typeAnnotation"), "> ", path$1.call(print$4, "expression"));
|
|
50672
50658
|
return lines_1.concat(parts);
|
|
50673
50659
|
case "TSTypeParameterDeclaration":
|
|
50674
50660
|
case "TSTypeParameterInstantiation": return lines_1.concat([
|
|
50675
50661
|
"<",
|
|
50676
|
-
lines_1.fromString(", ").join(path.map(print$4, "params")),
|
|
50662
|
+
lines_1.fromString(", ").join(path$1.map(print$4, "params")),
|
|
50677
50663
|
">"
|
|
50678
50664
|
]);
|
|
50679
50665
|
case "TSEnumDeclaration":
|
|
50680
|
-
parts.push(n$5.declare ? "declare " : "", n$5.const ? "const " : "", "enum ", path.call(print$4, "id"));
|
|
50681
|
-
var memberLines = lines_1.fromString(",\n").join(path.map(print$4, "members"));
|
|
50666
|
+
parts.push(n$5.declare ? "declare " : "", n$5.const ? "const " : "", "enum ", path$1.call(print$4, "id"));
|
|
50667
|
+
var memberLines = lines_1.fromString(",\n").join(path$1.map(print$4, "members"));
|
|
50682
50668
|
if (memberLines.isEmpty()) parts.push(" {}");
|
|
50683
50669
|
else parts.push(" {\n", memberLines.indent(options.tabWidth), "\n}");
|
|
50684
50670
|
return lines_1.concat(parts);
|
|
50685
|
-
case "TSExpressionWithTypeArguments": return lines_1.concat([path.call(print$4, "expression"), path.call(print$4, "typeParameters")]);
|
|
50671
|
+
case "TSExpressionWithTypeArguments": return lines_1.concat([path$1.call(print$4, "expression"), path$1.call(print$4, "typeParameters")]);
|
|
50686
50672
|
case "TSInterfaceBody":
|
|
50687
|
-
var lines = lines_1.fromString("\n").join(path.map(print$4, "body"));
|
|
50673
|
+
var lines = lines_1.fromString("\n").join(path$1.map(print$4, "body"));
|
|
50688
50674
|
if (lines.isEmpty()) return lines_1.fromString("{}", options);
|
|
50689
50675
|
return lines_1.concat([
|
|
50690
50676
|
"{\n",
|
|
@@ -50692,21 +50678,21 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50692
50678
|
"\n}"
|
|
50693
50679
|
]);
|
|
50694
50680
|
case "TSImportType":
|
|
50695
|
-
parts.push("import(", path.call(print$4, "argument"), ")");
|
|
50696
|
-
if (n$5.qualifier) parts.push(".", path.call(print$4, "qualifier"));
|
|
50697
|
-
if (n$5.typeParameters) parts.push(path.call(print$4, "typeParameters"));
|
|
50681
|
+
parts.push("import(", path$1.call(print$4, "argument"), ")");
|
|
50682
|
+
if (n$5.qualifier) parts.push(".", path$1.call(print$4, "qualifier"));
|
|
50683
|
+
if (n$5.typeParameters) parts.push(path$1.call(print$4, "typeParameters"));
|
|
50698
50684
|
return lines_1.concat(parts);
|
|
50699
50685
|
case "TSImportEqualsDeclaration":
|
|
50700
50686
|
if (n$5.isExport) parts.push("export ");
|
|
50701
|
-
parts.push("import ", path.call(print$4, "id"), " = ", path.call(print$4, "moduleReference"));
|
|
50687
|
+
parts.push("import ", path$1.call(print$4, "id"), " = ", path$1.call(print$4, "moduleReference"));
|
|
50702
50688
|
return maybeAddSemicolon(lines_1.concat(parts));
|
|
50703
50689
|
case "TSExternalModuleReference": return lines_1.concat([
|
|
50704
50690
|
"require(",
|
|
50705
|
-
path.call(print$4, "expression"),
|
|
50691
|
+
path$1.call(print$4, "expression"),
|
|
50706
50692
|
")"
|
|
50707
50693
|
]);
|
|
50708
50694
|
case "TSModuleDeclaration":
|
|
50709
|
-
var parent = path.getParentNode();
|
|
50695
|
+
var parent = path$1.getParentNode();
|
|
50710
50696
|
if (parent.type === "TSModuleDeclaration") parts.push(".");
|
|
50711
50697
|
else {
|
|
50712
50698
|
if (n$5.declare) parts.push("declare ");
|
|
@@ -50715,20 +50701,20 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50715
50701
|
else parts.push("namespace ");
|
|
50716
50702
|
else parts.push("namespace ");
|
|
50717
50703
|
}
|
|
50718
|
-
parts.push(path.call(print$4, "id"));
|
|
50704
|
+
parts.push(path$1.call(print$4, "id"));
|
|
50719
50705
|
if (n$5.body) {
|
|
50720
50706
|
parts.push(" ");
|
|
50721
|
-
parts.push(path.call(print$4, "body"));
|
|
50707
|
+
parts.push(path$1.call(print$4, "body"));
|
|
50722
50708
|
}
|
|
50723
50709
|
return lines_1.concat(parts);
|
|
50724
50710
|
case "TSModuleBlock":
|
|
50725
|
-
var naked = path.call(function(bodyPath) {
|
|
50711
|
+
var naked = path$1.call(function(bodyPath) {
|
|
50726
50712
|
return printStatementSequence(bodyPath, options, print$4);
|
|
50727
50713
|
}, "body");
|
|
50728
50714
|
if (naked.isEmpty()) parts.push("{}");
|
|
50729
50715
|
else parts.push("{\n", naked.indent(options.tabWidth), "\n}");
|
|
50730
50716
|
return lines_1.concat(parts);
|
|
50731
|
-
case "V8IntrinsicIdentifier": return lines_1.concat(["%", path.call(print$4, "name")]);
|
|
50717
|
+
case "V8IntrinsicIdentifier": return lines_1.concat(["%", path$1.call(print$4, "name")]);
|
|
50732
50718
|
case "TopicReference": return lines_1.fromString("#");
|
|
50733
50719
|
case "ClassHeritage":
|
|
50734
50720
|
case "ComprehensionBlock":
|
|
@@ -50763,22 +50749,22 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50763
50749
|
throw new Error("unknown type: " + JSON.stringify(n$5.type));
|
|
50764
50750
|
}
|
|
50765
50751
|
}
|
|
50766
|
-
function printDecorators(path, printPath) {
|
|
50752
|
+
function printDecorators(path$1, printPath) {
|
|
50767
50753
|
var parts = [];
|
|
50768
|
-
var node = path.getValue();
|
|
50769
|
-
if (node.decorators && node.decorators.length > 0 && !util.getParentExportDeclaration(path)) path.each(function(decoratorPath) {
|
|
50754
|
+
var node = path$1.getValue();
|
|
50755
|
+
if (node.decorators && node.decorators.length > 0 && !util.getParentExportDeclaration(path$1)) path$1.each(function(decoratorPath) {
|
|
50770
50756
|
parts.push(printPath(decoratorPath), "\n");
|
|
50771
50757
|
}, "decorators");
|
|
50772
|
-
else if (util.isExportDeclaration(node) && node.declaration && node.declaration.decorators) path.each(function(decoratorPath) {
|
|
50758
|
+
else if (util.isExportDeclaration(node) && node.declaration && node.declaration.decorators) path$1.each(function(decoratorPath) {
|
|
50773
50759
|
parts.push(printPath(decoratorPath), "\n");
|
|
50774
50760
|
}, "declaration", "decorators");
|
|
50775
50761
|
return lines_1.concat(parts);
|
|
50776
50762
|
}
|
|
50777
|
-
function printStatementSequence(path, options, print$4) {
|
|
50763
|
+
function printStatementSequence(path$1, options, print$4) {
|
|
50778
50764
|
var filtered = [];
|
|
50779
50765
|
var sawComment = false;
|
|
50780
50766
|
var sawStatement = false;
|
|
50781
|
-
path.each(function(stmtPath) {
|
|
50767
|
+
path$1.each(function(stmtPath) {
|
|
50782
50768
|
var stmt = stmtPath.getValue();
|
|
50783
50769
|
if (!stmt) return;
|
|
50784
50770
|
if (stmt.type === "EmptyStatement" && !(stmt.comments && stmt.comments.length > 0)) return;
|
|
@@ -50832,8 +50818,8 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50832
50818
|
if (spaceLines2.length > spaceLines1.length) return spaceLines2;
|
|
50833
50819
|
return spaceLines1;
|
|
50834
50820
|
}
|
|
50835
|
-
function printMethod(path, options, print$4) {
|
|
50836
|
-
var node = path.getNode();
|
|
50821
|
+
function printMethod(path$1, options, print$4) {
|
|
50822
|
+
var node = path$1.getNode();
|
|
50837
50823
|
var kind = node.kind;
|
|
50838
50824
|
var parts = [];
|
|
50839
50825
|
var nodeValue = node.value;
|
|
@@ -50847,7 +50833,7 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50847
50833
|
if (nodeValue.async) parts.push("async ");
|
|
50848
50834
|
if (nodeValue.generator) parts.push("*");
|
|
50849
50835
|
if (kind === "get" || kind === "set") parts.push(kind, " ");
|
|
50850
|
-
var key = path.call(print$4, "key");
|
|
50836
|
+
var key = path$1.call(print$4, "key");
|
|
50851
50837
|
if (node.computed) key = lines_1.concat([
|
|
50852
50838
|
"[",
|
|
50853
50839
|
key,
|
|
@@ -50856,20 +50842,20 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50856
50842
|
parts.push(key);
|
|
50857
50843
|
if (node.optional) parts.push("?");
|
|
50858
50844
|
if (node === nodeValue) {
|
|
50859
|
-
parts.push(path.call(print$4, "typeParameters"), "(", printFunctionParams(path, options, print$4), ")", path.call(print$4, "returnType"));
|
|
50860
|
-
if (node.body) parts.push(" ", path.call(print$4, "body"));
|
|
50845
|
+
parts.push(path$1.call(print$4, "typeParameters"), "(", printFunctionParams(path$1, options, print$4), ")", path$1.call(print$4, "returnType"));
|
|
50846
|
+
if (node.body) parts.push(" ", path$1.call(print$4, "body"));
|
|
50861
50847
|
else parts.push(";");
|
|
50862
50848
|
} else {
|
|
50863
|
-
parts.push(path.call(print$4, "value", "typeParameters"), "(", path.call(function(valuePath) {
|
|
50849
|
+
parts.push(path$1.call(print$4, "value", "typeParameters"), "(", path$1.call(function(valuePath) {
|
|
50864
50850
|
return printFunctionParams(valuePath, options, print$4);
|
|
50865
|
-
}, "value"), ")", path.call(print$4, "value", "returnType"));
|
|
50866
|
-
if (nodeValue.body) parts.push(" ", path.call(print$4, "value", "body"));
|
|
50851
|
+
}, "value"), ")", path$1.call(print$4, "value", "returnType"));
|
|
50852
|
+
if (nodeValue.body) parts.push(" ", path$1.call(print$4, "value", "body"));
|
|
50867
50853
|
else parts.push(";");
|
|
50868
50854
|
}
|
|
50869
50855
|
return lines_1.concat(parts);
|
|
50870
50856
|
}
|
|
50871
|
-
function printArgumentsList(path, options, print$4) {
|
|
50872
|
-
var printed = path.map(print$4, "arguments");
|
|
50857
|
+
function printArgumentsList(path$1, options, print$4) {
|
|
50858
|
+
var printed = path$1.map(print$4, "arguments");
|
|
50873
50859
|
var trailingComma = util.isTrailingCommaEnabled(options, "parameters");
|
|
50874
50860
|
var joined = lines_1.fromString(", ").join(printed);
|
|
50875
50861
|
if (joined.getLineLength(1) > options.wrapColumn) {
|
|
@@ -50886,18 +50872,18 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50886
50872
|
")"
|
|
50887
50873
|
]);
|
|
50888
50874
|
}
|
|
50889
|
-
function printFunctionParams(path, options, print$4) {
|
|
50890
|
-
var fun = path.getValue();
|
|
50875
|
+
function printFunctionParams(path$1, options, print$4) {
|
|
50876
|
+
var fun = path$1.getValue();
|
|
50891
50877
|
var params;
|
|
50892
50878
|
var printed = [];
|
|
50893
50879
|
if (fun.params) {
|
|
50894
50880
|
params = fun.params;
|
|
50895
|
-
printed = path.map(print$4, "params");
|
|
50881
|
+
printed = path$1.map(print$4, "params");
|
|
50896
50882
|
} else if (fun.parameters) {
|
|
50897
50883
|
params = fun.parameters;
|
|
50898
|
-
printed = path.map(print$4, "parameters");
|
|
50884
|
+
printed = path$1.map(print$4, "parameters");
|
|
50899
50885
|
}
|
|
50900
|
-
if (fun.defaults) path.each(function(defExprPath) {
|
|
50886
|
+
if (fun.defaults) path$1.each(function(defExprPath) {
|
|
50901
50887
|
var i$2 = defExprPath.getName();
|
|
50902
50888
|
var p$1 = printed[i$2];
|
|
50903
50889
|
if (p$1 && defExprPath.getValue()) printed[i$2] = lines_1.concat([
|
|
@@ -50906,7 +50892,7 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50906
50892
|
print$4(defExprPath)
|
|
50907
50893
|
]);
|
|
50908
50894
|
}, "defaults");
|
|
50909
|
-
if (fun.rest) printed.push(lines_1.concat(["...", path.call(print$4, "rest")]));
|
|
50895
|
+
if (fun.rest) printed.push(lines_1.concat(["...", path$1.call(print$4, "rest")]));
|
|
50910
50896
|
var joined = lines_1.fromString(", ").join(printed);
|
|
50911
50897
|
if (joined.length > 1 || joined.getLineLength(1) > options.wrapColumn) {
|
|
50912
50898
|
joined = lines_1.fromString(",\n").join(printed);
|
|
@@ -50916,11 +50902,11 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50916
50902
|
}
|
|
50917
50903
|
return joined;
|
|
50918
50904
|
}
|
|
50919
|
-
function maybePrintImportAssertions(path, options, print$4) {
|
|
50920
|
-
var n$5 = path.getValue();
|
|
50905
|
+
function maybePrintImportAssertions(path$1, options, print$4) {
|
|
50906
|
+
var n$5 = path$1.getValue();
|
|
50921
50907
|
if (n$5.assertions && n$5.assertions.length > 0) {
|
|
50922
50908
|
var parts = [" assert {"];
|
|
50923
|
-
var printed = path.map(print$4, "assertions");
|
|
50909
|
+
var printed = path$1.map(print$4, "assertions");
|
|
50924
50910
|
var flat = lines_1.fromString(", ").join(printed);
|
|
50925
50911
|
if (flat.length > 1 || flat.getLineLength(1) > options.wrapColumn) parts.push("\n", lines_1.fromString(",\n").join(printed).indent(options.tabWidth), "\n}");
|
|
50926
50912
|
else parts.push(" ", flat, " }");
|
|
@@ -50928,8 +50914,8 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50928
50914
|
}
|
|
50929
50915
|
return lines_1.fromString("");
|
|
50930
50916
|
}
|
|
50931
|
-
function printExportDeclaration(path, options, print$4) {
|
|
50932
|
-
var decl = path.getValue();
|
|
50917
|
+
function printExportDeclaration(path$1, options, print$4) {
|
|
50918
|
+
var decl = path$1.getValue();
|
|
50933
50919
|
var parts = ["export "];
|
|
50934
50920
|
if (decl.exportKind && decl.exportKind === "type") {
|
|
50935
50921
|
if (!decl.declaration) parts.push("type ");
|
|
@@ -50937,14 +50923,14 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50937
50923
|
var shouldPrintSpaces = options.objectCurlySpacing;
|
|
50938
50924
|
namedTypes.Declaration.assert(decl);
|
|
50939
50925
|
if (decl["default"] || decl.type === "ExportDefaultDeclaration") parts.push("default ");
|
|
50940
|
-
if (decl.declaration) parts.push(path.call(print$4, "declaration"));
|
|
50926
|
+
if (decl.declaration) parts.push(path$1.call(print$4, "declaration"));
|
|
50941
50927
|
else if (decl.specifiers) {
|
|
50942
50928
|
if (decl.specifiers.length === 1 && decl.specifiers[0].type === "ExportBatchSpecifier") parts.push("*");
|
|
50943
50929
|
else if (decl.specifiers.length === 0) parts.push("{}");
|
|
50944
50930
|
else if (decl.specifiers[0].type === "ExportDefaultSpecifier") {
|
|
50945
50931
|
var unbracedSpecifiers_2 = [];
|
|
50946
50932
|
var bracedSpecifiers_2 = [];
|
|
50947
|
-
path.each(function(specifierPath) {
|
|
50933
|
+
path$1.each(function(specifierPath) {
|
|
50948
50934
|
if (specifierPath.getValue().type === "ExportDefaultSpecifier") unbracedSpecifiers_2.push(print$4(specifierPath));
|
|
50949
50935
|
else bracedSpecifiers_2.push(print$4(specifierPath));
|
|
50950
50936
|
}, "specifiers");
|
|
@@ -50960,21 +50946,21 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
50960
50946
|
else if (options.objectCurlySpacing) parts.push("{ ", lines_2, " }");
|
|
50961
50947
|
else parts.push("{", lines_2, "}");
|
|
50962
50948
|
}
|
|
50963
|
-
} else parts.push(shouldPrintSpaces ? "{ " : "{", lines_1.fromString(", ").join(path.map(print$4, "specifiers")), shouldPrintSpaces ? " }" : "}");
|
|
50964
|
-
if (decl.source) parts.push(" from ", path.call(print$4, "source"), maybePrintImportAssertions(path, options, print$4));
|
|
50949
|
+
} else parts.push(shouldPrintSpaces ? "{ " : "{", lines_1.fromString(", ").join(path$1.map(print$4, "specifiers")), shouldPrintSpaces ? " }" : "}");
|
|
50950
|
+
if (decl.source) parts.push(" from ", path$1.call(print$4, "source"), maybePrintImportAssertions(path$1, options, print$4));
|
|
50965
50951
|
}
|
|
50966
50952
|
var lines = lines_1.concat(parts);
|
|
50967
50953
|
if (lastNonSpaceCharacter(lines) !== ";" && !(decl.declaration && (decl.declaration.type === "FunctionDeclaration" || decl.declaration.type === "ClassDeclaration" || decl.declaration.type === "TSModuleDeclaration" || decl.declaration.type === "TSInterfaceDeclaration" || decl.declaration.type === "TSEnumDeclaration"))) lines = lines_1.concat([lines, ";"]);
|
|
50968
50954
|
return lines;
|
|
50969
50955
|
}
|
|
50970
|
-
function printFlowDeclaration(path, parts) {
|
|
50971
|
-
var parentExportDecl = util.getParentExportDeclaration(path);
|
|
50956
|
+
function printFlowDeclaration(path$1, parts) {
|
|
50957
|
+
var parentExportDecl = util.getParentExportDeclaration(path$1);
|
|
50972
50958
|
if (parentExportDecl) assert_1.default.strictEqual(parentExportDecl.type, "DeclareExportDeclaration");
|
|
50973
50959
|
else parts.unshift("declare ");
|
|
50974
50960
|
return lines_1.concat(parts);
|
|
50975
50961
|
}
|
|
50976
|
-
function printVariance(path, print$4) {
|
|
50977
|
-
return path.call(function(variancePath) {
|
|
50962
|
+
function printVariance(path$1, print$4) {
|
|
50963
|
+
return path$1.call(function(variancePath) {
|
|
50978
50964
|
var value = variancePath.getValue();
|
|
50979
50965
|
if (value) {
|
|
50980
50966
|
if (value === "plus") return lines_1.fromString("+");
|
|
@@ -51036,7 +51022,6 @@ var require_printer = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
51036
51022
|
}
|
|
51037
51023
|
}));
|
|
51038
51024
|
var require_main = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
51039
|
-
init_dist$1();
|
|
51040
51025
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51041
51026
|
exports.run = exports.prettyPrint = exports.print = exports.visit = exports.types = exports.parse = void 0;
|
|
51042
51027
|
var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
@@ -51066,11 +51051,11 @@ var require_main = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
51066
51051
|
}
|
|
51067
51052
|
exports.prettyPrint = prettyPrint;
|
|
51068
51053
|
function run(transformer, options) {
|
|
51069
|
-
return runFile(process
|
|
51054
|
+
return runFile(process.argv[2], transformer, options);
|
|
51070
51055
|
}
|
|
51071
51056
|
exports.run = run;
|
|
51072
|
-
function runFile(path, transformer, options) {
|
|
51073
|
-
fs_1.default.readFile(path, "utf-8", function(err, code$1) {
|
|
51057
|
+
function runFile(path$1, transformer, options) {
|
|
51058
|
+
fs_1.default.readFile(path$1, "utf-8", function(err, code$1) {
|
|
51074
51059
|
if (err) {
|
|
51075
51060
|
console.error(err);
|
|
51076
51061
|
return;
|
|
@@ -51079,7 +51064,7 @@ var require_main = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
51079
51064
|
});
|
|
51080
51065
|
}
|
|
51081
51066
|
function defaultWriteback(output) {
|
|
51082
|
-
process
|
|
51067
|
+
process.stdout.write(output);
|
|
51083
51068
|
}
|
|
51084
51069
|
function runString(code$1, transformer, options) {
|
|
51085
51070
|
var writeback = options && options.writeback || defaultWriteback;
|
|
@@ -51097,8 +51082,8 @@ const EXEMPT_IDENTIFIER_LIST = [
|
|
|
51097
51082
|
"Math",
|
|
51098
51083
|
"undefined"
|
|
51099
51084
|
];
|
|
51100
|
-
var import_main$7 =
|
|
51101
|
-
var import_main$8 =
|
|
51085
|
+
var import_main$7 = require_main();
|
|
51086
|
+
var import_main$8 = require_main$1();
|
|
51102
51087
|
function assertNever(value) {
|
|
51103
51088
|
return true;
|
|
51104
51089
|
}
|
|
@@ -51106,10 +51091,10 @@ const globalIdentifier = import_main$8.builders.identifier(typeof window !== "ob
|
|
|
51106
51091
|
var buildGlobalSwitch = (node, dataNode) => {
|
|
51107
51092
|
return import_main$8.builders.memberExpression(import_main$8.builders.conditionalExpression(import_main$8.builders.binaryExpression("in", import_main$8.builders.literal(node.name), dataNode), dataNode, globalIdentifier), import_main$8.builders.identifier(node.name));
|
|
51108
51093
|
};
|
|
51109
|
-
var isInScope = (path) => {
|
|
51110
|
-
let scope$1 = path.scope;
|
|
51094
|
+
var isInScope = (path$1) => {
|
|
51095
|
+
let scope$1 = path$1.scope;
|
|
51111
51096
|
while (scope$1 !== null) {
|
|
51112
|
-
if (scope$1.declares(path.node.name)) return true;
|
|
51097
|
+
if (scope$1.declares(path$1.node.name)) return true;
|
|
51113
51098
|
scope$1 = scope$1.parent;
|
|
51114
51099
|
}
|
|
51115
51100
|
return false;
|
|
@@ -51119,35 +51104,35 @@ var polyfillExceptions = [
|
|
|
51119
51104
|
"window",
|
|
51120
51105
|
"global"
|
|
51121
51106
|
];
|
|
51122
|
-
var polyfillVar = (path, dataNode, force = false) => {
|
|
51107
|
+
var polyfillVar = (path$1, dataNode, force = false) => {
|
|
51123
51108
|
if (!force) {
|
|
51124
|
-
if (isInScope(path)) return;
|
|
51109
|
+
if (isInScope(path$1)) return;
|
|
51125
51110
|
}
|
|
51126
|
-
if (polyfillExceptions.includes(path.node.name)) return;
|
|
51127
|
-
path.replace(buildGlobalSwitch(path.node, dataNode));
|
|
51111
|
+
if (polyfillExceptions.includes(path$1.node.name)) return;
|
|
51112
|
+
path$1.replace(buildGlobalSwitch(path$1.node, dataNode));
|
|
51128
51113
|
};
|
|
51129
51114
|
var customPatches = {
|
|
51130
|
-
MemberExpression(path, parent, dataNode) {
|
|
51131
|
-
if (parent.object === path.node || parent.computed) polyfillVar(path, dataNode);
|
|
51115
|
+
MemberExpression(path$1, parent, dataNode) {
|
|
51116
|
+
if (parent.object === path$1.node || parent.computed) polyfillVar(path$1, dataNode);
|
|
51132
51117
|
},
|
|
51133
|
-
OptionalMemberExpression(path, parent, dataNode) {
|
|
51134
|
-
if (parent.object === path.node) polyfillVar(path, dataNode);
|
|
51118
|
+
OptionalMemberExpression(path$1, parent, dataNode) {
|
|
51119
|
+
if (parent.object === path$1.node) polyfillVar(path$1, dataNode);
|
|
51135
51120
|
},
|
|
51136
|
-
Property(path, parent, dataNode) {
|
|
51137
|
-
if (path.node !== parent.value) return;
|
|
51138
|
-
const objPattern = path.parent?.parent?.node;
|
|
51121
|
+
Property(path$1, parent, dataNode) {
|
|
51122
|
+
if (path$1.node !== parent.value) return;
|
|
51123
|
+
const objPattern = path$1.parent?.parent?.node;
|
|
51139
51124
|
if (!objPattern) return;
|
|
51140
|
-
const objParent = path.parent.parent.parent?.node;
|
|
51125
|
+
const objParent = path$1.parent.parent.parent?.node;
|
|
51141
51126
|
if (!objParent) return;
|
|
51142
51127
|
if (objParent.type === "VariableDeclarator" && objParent.id === objPattern) return;
|
|
51143
51128
|
parent.shorthand = false;
|
|
51144
|
-
polyfillVar(path, dataNode);
|
|
51129
|
+
polyfillVar(path$1, dataNode);
|
|
51145
51130
|
},
|
|
51146
|
-
AssignmentPattern(path, parent, dataNode) {
|
|
51147
|
-
if (parent.right === path.node) polyfillVar(path, dataNode);
|
|
51131
|
+
AssignmentPattern(path$1, parent, dataNode) {
|
|
51132
|
+
if (parent.right === path$1.node) polyfillVar(path$1, dataNode);
|
|
51148
51133
|
},
|
|
51149
|
-
VariableDeclarator(path, parent, dataNode) {
|
|
51150
|
-
if (parent.init === path.node) polyfillVar(path, dataNode);
|
|
51134
|
+
VariableDeclarator(path$1, parent, dataNode) {
|
|
51135
|
+
if (parent.init === path$1.node) polyfillVar(path$1, dataNode);
|
|
51151
51136
|
}
|
|
51152
51137
|
};
|
|
51153
51138
|
const jsVariablePolyfill = (ast, dataNode) => {
|
|
@@ -51155,10 +51140,10 @@ const jsVariablePolyfill = (ast, dataNode) => {
|
|
|
51155
51140
|
visitImportExpression(_path) {
|
|
51156
51141
|
throw new Error("Imports are not supported");
|
|
51157
51142
|
},
|
|
51158
|
-
visitIdentifier(path) {
|
|
51159
|
-
this.traverse(path);
|
|
51160
|
-
const parent = path.parent.node;
|
|
51161
|
-
if (EXEMPT_IDENTIFIER_LIST.includes(path.node.name)) return;
|
|
51143
|
+
visitIdentifier(path$1) {
|
|
51144
|
+
this.traverse(path$1);
|
|
51145
|
+
const parent = path$1.parent.node;
|
|
51146
|
+
if (EXEMPT_IDENTIFIER_LIST.includes(path$1.node.name)) return;
|
|
51162
51147
|
switch (parent.type) {
|
|
51163
51148
|
case "AssignmentPattern":
|
|
51164
51149
|
case "Property":
|
|
@@ -51166,7 +51151,7 @@ const jsVariablePolyfill = (ast, dataNode) => {
|
|
|
51166
51151
|
case "OptionalMemberExpression":
|
|
51167
51152
|
case "VariableDeclarator":
|
|
51168
51153
|
if (!customPatches[parent.type]) throw new Error(`Couldn\'t find custom patcher for parent type: ${parent.type}`);
|
|
51169
|
-
customPatches[parent.type](path, parent, dataNode);
|
|
51154
|
+
customPatches[parent.type](path$1, parent, dataNode);
|
|
51170
51155
|
break;
|
|
51171
51156
|
case "BinaryExpression":
|
|
51172
51157
|
case "UnaryExpression":
|
|
@@ -51197,7 +51182,7 @@ const jsVariablePolyfill = (ast, dataNode) => {
|
|
|
51197
51182
|
case "ThrowStatement":
|
|
51198
51183
|
case "WithStatement":
|
|
51199
51184
|
case "TupleExpression":
|
|
51200
|
-
polyfillVar(path, dataNode);
|
|
51185
|
+
polyfillVar(path$1, dataNode);
|
|
51201
51186
|
break;
|
|
51202
51187
|
case "Super":
|
|
51203
51188
|
case "Identifier":
|
|
@@ -51304,7 +51289,7 @@ const jsVariablePolyfill = (ast, dataNode) => {
|
|
|
51304
51289
|
case "JSXExpressionContainer": break;
|
|
51305
51290
|
case "ComprehensionExpression":
|
|
51306
51291
|
case "GeneratorExpression":
|
|
51307
|
-
polyfillVar(path, dataNode);
|
|
51292
|
+
polyfillVar(path$1, dataNode);
|
|
51308
51293
|
break;
|
|
51309
51294
|
default:
|
|
51310
51295
|
assertNever(parent);
|
|
@@ -51380,7 +51365,7 @@ const joinExpression$1 = (parts) => {
|
|
|
51380
51365
|
return chunk$1.text;
|
|
51381
51366
|
}).join("");
|
|
51382
51367
|
};
|
|
51383
|
-
var import_util$1 =
|
|
51368
|
+
var import_util$1 = require_util();
|
|
51384
51369
|
function parseWithEsprimaNext$1(source, options) {
|
|
51385
51370
|
try {
|
|
51386
51371
|
return parse(source, {
|
|
@@ -51398,8 +51383,8 @@ function parseWithEsprimaNext$1(source, options) {
|
|
|
51398
51383
|
throw error$39;
|
|
51399
51384
|
}
|
|
51400
51385
|
}
|
|
51401
|
-
var import_main$5 =
|
|
51402
|
-
var import_main$6 =
|
|
51386
|
+
var import_main$5 = require_main();
|
|
51387
|
+
var import_main$6 = require_main$1();
|
|
51403
51388
|
var v$1 = import_main$6.builders.identifier("v");
|
|
51404
51389
|
var shouldAlwaysWrapList = [
|
|
51405
51390
|
"window",
|
|
@@ -51417,12 +51402,12 @@ var shouldWrapInTry = (node) => {
|
|
|
51417
51402
|
shouldWrap = true;
|
|
51418
51403
|
return false;
|
|
51419
51404
|
},
|
|
51420
|
-
visitIdentifier(path) {
|
|
51421
|
-
if (shouldAlwaysWrapList.includes(path.node.name)) {
|
|
51405
|
+
visitIdentifier(path$1) {
|
|
51406
|
+
if (shouldAlwaysWrapList.includes(path$1.node.name)) {
|
|
51422
51407
|
shouldWrap = true;
|
|
51423
51408
|
return false;
|
|
51424
51409
|
}
|
|
51425
|
-
this.traverse(path);
|
|
51410
|
+
this.traverse(path$1);
|
|
51426
51411
|
}
|
|
51427
51412
|
});
|
|
51428
51413
|
return shouldWrap;
|
|
@@ -51447,12 +51432,12 @@ var hasFunction = (node) => {
|
|
|
51447
51432
|
};
|
|
51448
51433
|
var hasTemplateString = (node) => {
|
|
51449
51434
|
let hasTemp = false;
|
|
51450
|
-
(0, import_main$5.visit)(node, { visitTemplateLiteral(path) {
|
|
51451
|
-
if (path.node.expressions.length) {
|
|
51435
|
+
(0, import_main$5.visit)(node, { visitTemplateLiteral(path$1) {
|
|
51436
|
+
if (path$1.node.expressions.length) {
|
|
51452
51437
|
hasTemp = true;
|
|
51453
51438
|
return false;
|
|
51454
51439
|
}
|
|
51455
|
-
this.traverse(path);
|
|
51440
|
+
this.traverse(path$1);
|
|
51456
51441
|
} });
|
|
51457
51442
|
return hasTemp;
|
|
51458
51443
|
};
|
|
@@ -51470,13 +51455,13 @@ var fixStringNewLines = (node) => {
|
|
|
51470
51455
|
const replace = (str) => {
|
|
51471
51456
|
return str.replace(/\n/g, "\\n");
|
|
51472
51457
|
};
|
|
51473
|
-
(0, import_main$5.visit)(node, { visitTemplateElement(path) {
|
|
51474
|
-
this.traverse(path);
|
|
51458
|
+
(0, import_main$5.visit)(node, { visitTemplateElement(path$1) {
|
|
51459
|
+
this.traverse(path$1);
|
|
51475
51460
|
const el = import_main$6.builders.templateElement({
|
|
51476
|
-
cooked: path.node.value.cooked === null ? null : replace(path.node.value.cooked),
|
|
51477
|
-
raw: replace(path.node.value.raw)
|
|
51478
|
-
}, path.node.tail);
|
|
51479
|
-
path.replace(el);
|
|
51461
|
+
cooked: path$1.node.value.cooked === null ? null : replace(path$1.node.value.cooked),
|
|
51462
|
+
raw: replace(path$1.node.value.raw)
|
|
51463
|
+
}, path$1.node.tail);
|
|
51464
|
+
path$1.replace(el);
|
|
51480
51465
|
} });
|
|
51481
51466
|
return node;
|
|
51482
51467
|
};
|
|
@@ -51851,7 +51836,7 @@ var tmpl = (function() {
|
|
|
51851
51836
|
_tmpl.version = brackets.version = "v1.0.0";
|
|
51852
51837
|
return _tmpl;
|
|
51853
51838
|
})();
|
|
51854
|
-
var import_main$4 =
|
|
51839
|
+
var import_main$4 = require_main();
|
|
51855
51840
|
var isWrapped = (node) => {
|
|
51856
51841
|
return node.program.body[1]?.type === "TryStatement";
|
|
51857
51842
|
};
|
|
@@ -51890,7 +51875,7 @@ const isDifferent = (tmpl$1, tourn) => {
|
|
|
51890
51875
|
}
|
|
51891
51876
|
return !same;
|
|
51892
51877
|
};
|
|
51893
|
-
var import_main$3 =
|
|
51878
|
+
var import_main$3 = require_main();
|
|
51894
51879
|
const getTmplDifference = (expr, dataNodeName) => {
|
|
51895
51880
|
if (!expr) return { same: true };
|
|
51896
51881
|
if (brackets.settings.brackets !== "{{ }}") brackets.set("{{ }}");
|
|
@@ -51951,18 +51936,18 @@ const stripIdentifyingInformation = (expr) => {
|
|
|
51951
51936
|
for (const chunk$1 of chunks) if (chunk$1.type === "text") chunk$1.text = replaceValue(chunk$1.text);
|
|
51952
51937
|
else {
|
|
51953
51938
|
(0, import_main$3.visit)(chunk$1.parsed, {
|
|
51954
|
-
visitLiteral(path) {
|
|
51955
|
-
this.traverse(path);
|
|
51956
|
-
if (typeof path.node.value === "string") path.node.value = replaceValue(path.node.value);
|
|
51939
|
+
visitLiteral(path$1) {
|
|
51940
|
+
this.traverse(path$1);
|
|
51941
|
+
if (typeof path$1.node.value === "string") path$1.node.value = replaceValue(path$1.node.value);
|
|
51957
51942
|
},
|
|
51958
|
-
visitStringLiteral(path) {
|
|
51959
|
-
this.traverse(path);
|
|
51960
|
-
path.node.value = replaceValue(path.node.value);
|
|
51943
|
+
visitStringLiteral(path$1) {
|
|
51944
|
+
this.traverse(path$1);
|
|
51945
|
+
path$1.node.value = replaceValue(path$1.node.value);
|
|
51961
51946
|
},
|
|
51962
|
-
visitTemplateElement(path) {
|
|
51963
|
-
this.traverse(path);
|
|
51964
|
-
if (path.node.value.cooked !== null) path.node.value.cooked = replaceValue(path.node.value.cooked);
|
|
51965
|
-
path.node.value.raw = replaceValue(path.node.value.raw);
|
|
51947
|
+
visitTemplateElement(path$1) {
|
|
51948
|
+
this.traverse(path$1);
|
|
51949
|
+
if (path$1.node.value.cooked !== null) path$1.node.value.cooked = replaceValue(path$1.node.value.cooked);
|
|
51950
|
+
path$1.node.value.raw = replaceValue(path$1.node.value.raw);
|
|
51966
51951
|
}
|
|
51967
51952
|
});
|
|
51968
51953
|
chunk$1.text = (0, import_main$3.print)(chunk$1.parsed).code;
|
|
@@ -51988,8 +51973,8 @@ var FunctionEvaluator = class {
|
|
|
51988
51973
|
return this.getFunction(expr).call(data, this.instance.errorHandler);
|
|
51989
51974
|
}
|
|
51990
51975
|
};
|
|
51991
|
-
var import_main$1 =
|
|
51992
|
-
var import_main$2 =
|
|
51976
|
+
var import_main$1 = require_main();
|
|
51977
|
+
var import_main$2 = require_main$1();
|
|
51993
51978
|
var DATA_NODE_NAME = "___n8n_data";
|
|
51994
51979
|
var Tournament = class {
|
|
51995
51980
|
evaluator;
|
|
@@ -52031,32 +52016,32 @@ var isValidDollarPropertyAccess = (expr) => {
|
|
|
52031
52016
|
};
|
|
52032
52017
|
const FunctionThisSanitizer = (ast, dataNode) => {
|
|
52033
52018
|
(0, import_main$1.visit)(ast, {
|
|
52034
|
-
visitCallExpression(path) {
|
|
52035
|
-
const { node } = path;
|
|
52019
|
+
visitCallExpression(path$1) {
|
|
52020
|
+
const { node } = path$1;
|
|
52036
52021
|
if (node.callee.type !== "FunctionExpression") {
|
|
52037
|
-
this.traverse(path);
|
|
52022
|
+
this.traverse(path$1);
|
|
52038
52023
|
return;
|
|
52039
52024
|
}
|
|
52040
52025
|
const fnExpression = node.callee;
|
|
52041
|
-
this.traverse(path);
|
|
52026
|
+
this.traverse(path$1);
|
|
52042
52027
|
const callExpression = import_main$2.builders.callExpression(import_main$2.builders.memberExpression(fnExpression, import_main$2.builders.identifier("call")), [EMPTY_CONTEXT, ...node.arguments]);
|
|
52043
|
-
path.replace(callExpression);
|
|
52028
|
+
path$1.replace(callExpression);
|
|
52044
52029
|
return false;
|
|
52045
52030
|
},
|
|
52046
|
-
visitFunctionExpression(path) {
|
|
52047
|
-
const { node } = path;
|
|
52048
|
-
this.traverse(path);
|
|
52031
|
+
visitFunctionExpression(path$1) {
|
|
52032
|
+
const { node } = path$1;
|
|
52033
|
+
this.traverse(path$1);
|
|
52049
52034
|
const boundFunction = import_main$2.builders.callExpression(import_main$2.builders.memberExpression(node, import_main$2.builders.identifier("bind")), [EMPTY_CONTEXT]);
|
|
52050
|
-
path.replace(boundFunction);
|
|
52035
|
+
path$1.replace(boundFunction);
|
|
52051
52036
|
return false;
|
|
52052
52037
|
}
|
|
52053
52038
|
});
|
|
52054
52039
|
};
|
|
52055
52040
|
const DollarSignValidator = (ast, _dataNode) => {
|
|
52056
|
-
(0, import_main$1.visit)(ast, { visitIdentifier(path) {
|
|
52057
|
-
this.traverse(path);
|
|
52058
|
-
if (path.node.name !== "$") return;
|
|
52059
|
-
const parent = path.parent;
|
|
52041
|
+
(0, import_main$1.visit)(ast, { visitIdentifier(path$1) {
|
|
52042
|
+
this.traverse(path$1);
|
|
52043
|
+
if (path$1.node.name !== "$") return;
|
|
52044
|
+
const parent = path$1.parent;
|
|
52060
52045
|
if (typeof parent !== "object" || parent === null || !("name" in parent)) throw new ExpressionError(DOLLAR_SIGN_ERROR);
|
|
52061
52046
|
if (parent.name === "callee") return;
|
|
52062
52047
|
if (parent.name === "object") throw new ExpressionError(DOLLAR_SIGN_ERROR);
|
|
@@ -52074,19 +52059,19 @@ const DollarSignValidator = (ast, _dataNode) => {
|
|
|
52074
52059
|
};
|
|
52075
52060
|
const PrototypeSanitizer = (ast, dataNode) => {
|
|
52076
52061
|
(0, import_main$1.visit)(ast, {
|
|
52077
|
-
visitMemberExpression(path) {
|
|
52078
|
-
this.traverse(path);
|
|
52079
|
-
const node = path.node;
|
|
52062
|
+
visitMemberExpression(path$1) {
|
|
52063
|
+
this.traverse(path$1);
|
|
52064
|
+
const node = path$1.node;
|
|
52080
52065
|
if (!node.computed) {
|
|
52081
52066
|
if (node.property.type !== "Identifier") throw new ExpressionError(`Unknown property type ${node.property.type} while sanitising expression`);
|
|
52082
52067
|
if (!isSafeObjectProperty(node.property.name)) throw new ExpressionError(`Cannot access "${node.property.name}" due to security concerns`);
|
|
52083
52068
|
} else if (node.property.type === "StringLiteral" || node.property.type === "Literal") {
|
|
52084
52069
|
if (!isSafeObjectProperty(node.property.value)) throw new ExpressionError(`Cannot access "${node.property.value}" due to security concerns`);
|
|
52085
|
-
} else path.replace(import_main$2.builders.memberExpression(node.object, import_main$2.builders.callExpression(import_main$2.builders.memberExpression(dataNode, sanitizerIdentifier), [node.property]), true));
|
|
52070
|
+
} else path$1.replace(import_main$2.builders.memberExpression(node.object, import_main$2.builders.callExpression(import_main$2.builders.memberExpression(dataNode, sanitizerIdentifier), [node.property]), true));
|
|
52086
52071
|
},
|
|
52087
|
-
visitObjectPattern(path) {
|
|
52088
|
-
this.traverse(path);
|
|
52089
|
-
const node = path.node;
|
|
52072
|
+
visitObjectPattern(path$1) {
|
|
52073
|
+
this.traverse(path$1);
|
|
52074
|
+
const node = path$1.node;
|
|
52090
52075
|
for (const prop of node.properties) if (prop.type === "Property") {
|
|
52091
52076
|
let keyName;
|
|
52092
52077
|
if (prop.key.type === "Identifier") keyName = prop.key.name;
|
|
@@ -53018,7 +53003,6 @@ const booleanExtensions = {
|
|
|
53018
53003
|
toDateTime: toDateTime$3
|
|
53019
53004
|
}
|
|
53020
53005
|
};
|
|
53021
|
-
init_dist$2();
|
|
53022
53006
|
var _hasatob = typeof atob === "function";
|
|
53023
53007
|
var _hasbtoa = typeof btoa === "function";
|
|
53024
53008
|
var _hasBuffer = typeof Buffer === "function";
|
|
@@ -54079,12 +54063,6 @@ var require_charenc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
54079
54063
|
module.exports = charenc;
|
|
54080
54064
|
}));
|
|
54081
54065
|
var require_is_buffer = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
54082
|
-
/*!
|
|
54083
|
-
* Determine if an object is a Buffer
|
|
54084
|
-
*
|
|
54085
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
54086
|
-
* @license MIT
|
|
54087
|
-
*/
|
|
54088
54066
|
module.exports = function(obj) {
|
|
54089
54067
|
return obj != null && (isBuffer$1(obj) || isSlowBuffer(obj) || !!obj._isBuffer);
|
|
54090
54068
|
};
|
|
@@ -54231,10 +54209,10 @@ function titleCase(input) {
|
|
|
54231
54209
|
return result;
|
|
54232
54210
|
}
|
|
54233
54211
|
var require_bundle_umd_min = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
54234
|
-
init_dist();
|
|
54235
54212
|
(function(n$5, a$1) {
|
|
54236
54213
|
"object" == typeof exports && "undefined" != typeof module ? a$1(exports) : "function" == typeof define && define.amd ? define(["exports"], a$1) : a$1((n$5 = "undefined" != typeof globalThis ? globalThis : n$5 || self).window = n$5.window || {});
|
|
54237
54214
|
})(exports, (function(n$5) {
|
|
54215
|
+
"use strict";
|
|
54238
54216
|
function a$1(n$6, a$2) {
|
|
54239
54217
|
for (var i$3 = 0; i$3 < a$2.length; i$3++) {
|
|
54240
54218
|
var e$2 = a$2[i$3];
|
|
@@ -98154,6 +98132,7 @@ var require_bundle_umd_min = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
98154
98132
|
Po.config = Fo.config.bind(Fo), Po.setData = Fo.setData.bind(Fo), n$5.slugify = Po, n$5.transl = Go, n$5.transliterate = Go, Object.defineProperty(n$5, "__esModule", { value: !0 });
|
|
98155
98133
|
}));
|
|
98156
98134
|
}));
|
|
98135
|
+
// @vitest-environment jsdom
|
|
98157
98136
|
function format$1(value, extraArgs) {
|
|
98158
98137
|
const [locales = "en-US", config$2 = {}] = extraArgs;
|
|
98159
98138
|
return new Intl.NumberFormat(locales, config$2).format(value);
|
|
@@ -98409,7 +98388,7 @@ const numberExtensions = {
|
|
|
98409
98388
|
}
|
|
98410
98389
|
};
|
|
98411
98390
|
var import_md5 = /* @__PURE__ */ __toESM(require_md5());
|
|
98412
|
-
var import_bundle_umd_min =
|
|
98391
|
+
var import_bundle_umd_min = require_bundle_umd_min();
|
|
98413
98392
|
const SupportedHashAlgorithms = [
|
|
98414
98393
|
"md5",
|
|
98415
98394
|
"sha1",
|
|
@@ -99649,8 +99628,8 @@ const joinExpression = (parts) => {
|
|
|
99649
99628
|
return chunk$1.text;
|
|
99650
99629
|
}).join("");
|
|
99651
99630
|
};
|
|
99652
|
-
var import_main =
|
|
99653
|
-
var import_util =
|
|
99631
|
+
var import_main = require_main();
|
|
99632
|
+
var import_util = require_util();
|
|
99654
99633
|
var EXPRESSION_EXTENDER = "extend";
|
|
99655
99634
|
var EXPRESSION_EXTENDER_OPTIONAL = "extendOptional";
|
|
99656
99635
|
function isEmpty(value) {
|
|
@@ -99713,8 +99692,8 @@ const extendTransform = (expression) => {
|
|
|
99713
99692
|
try {
|
|
99714
99693
|
const ast = (0, import_main.parse)(expression, { parser: { parse: parseWithEsprimaNext } });
|
|
99715
99694
|
let currentChain = 1;
|
|
99716
|
-
(0, import_main.visit)(ast, { visitChainExpression(path) {
|
|
99717
|
-
this.traverse(path);
|
|
99695
|
+
(0, import_main.visit)(ast, { visitChainExpression(path$1) {
|
|
99696
|
+
this.traverse(path$1);
|
|
99718
99697
|
const chainNumber = currentChain;
|
|
99719
99698
|
currentChain += 1;
|
|
99720
99699
|
const globalIdentifier$1 = import_main.types.builders.identifier(typeof window !== "object" ? "global" : "window");
|
|
@@ -99736,7 +99715,7 @@ const extendTransform = (expression) => {
|
|
|
99736
99715
|
const buildCancelAssignWrapper = (node) => {
|
|
99737
99716
|
return import_main.types.builders.assignmentExpression("=", cancelMemberExpression, node);
|
|
99738
99717
|
};
|
|
99739
|
-
let currentNode = path.node.expression;
|
|
99718
|
+
let currentNode = path$1.node.expression;
|
|
99740
99719
|
let currentPatch = null;
|
|
99741
99720
|
let patchTop = null;
|
|
99742
99721
|
let wrapNextTopInOptionalExtend = false;
|
|
@@ -99784,21 +99763,21 @@ const extendTransform = (expression) => {
|
|
|
99784
99763
|
patchedStack[i$2] = node;
|
|
99785
99764
|
}
|
|
99786
99765
|
const sequenceNode = import_main.types.builders.sequenceExpression(patchedStack);
|
|
99787
|
-
path.replace(sequenceNode);
|
|
99766
|
+
path$1.replace(sequenceNode);
|
|
99788
99767
|
} });
|
|
99789
|
-
(0, import_main.visit)(ast, { visitCallExpression(path) {
|
|
99790
|
-
this.traverse(path);
|
|
99791
|
-
if (path.node.callee.type === "MemberExpression" && path.node.callee.property.type === "Identifier" && isExpressionExtension(path.node.callee.property.name)) path.replace(import_main.types.builders.callExpression(import_main.types.builders.identifier(EXPRESSION_EXTENDER), [
|
|
99792
|
-
path.node.callee.object,
|
|
99793
|
-
import_main.types.builders.stringLiteral(path.node.callee.property.name),
|
|
99794
|
-
import_main.types.builders.arrayExpression(path.node.arguments)
|
|
99768
|
+
(0, import_main.visit)(ast, { visitCallExpression(path$1) {
|
|
99769
|
+
this.traverse(path$1);
|
|
99770
|
+
if (path$1.node.callee.type === "MemberExpression" && path$1.node.callee.property.type === "Identifier" && isExpressionExtension(path$1.node.callee.property.name)) path$1.replace(import_main.types.builders.callExpression(import_main.types.builders.identifier(EXPRESSION_EXTENDER), [
|
|
99771
|
+
path$1.node.callee.object,
|
|
99772
|
+
import_main.types.builders.stringLiteral(path$1.node.callee.property.name),
|
|
99773
|
+
import_main.types.builders.arrayExpression(path$1.node.arguments)
|
|
99795
99774
|
]));
|
|
99796
|
-
else if (path.node.callee.type === "Identifier" && path.node.callee.name === "$if" && path.node.arguments.every((v$3) => v$3.type !== "SpreadElement")) {
|
|
99797
|
-
if (path.node.arguments.length < 2) throw new ExpressionExtensionError("$if requires at least 2 parameters: test, value_if_true[, and value_if_false]");
|
|
99798
|
-
const test = path.node.arguments[0];
|
|
99799
|
-
const consequent = path.node.arguments[1];
|
|
99800
|
-
const alternative = path.node.arguments[2] === void 0 ? import_main.types.builders.booleanLiteral(false) : path.node.arguments[2];
|
|
99801
|
-
path.replace(import_main.types.builders.conditionalExpression(test, consequent, alternative));
|
|
99775
|
+
else if (path$1.node.callee.type === "Identifier" && path$1.node.callee.name === "$if" && path$1.node.arguments.every((v$3) => v$3.type !== "SpreadElement")) {
|
|
99776
|
+
if (path$1.node.arguments.length < 2) throw new ExpressionExtensionError("$if requires at least 2 parameters: test, value_if_true[, and value_if_false]");
|
|
99777
|
+
const test = path$1.node.arguments[0];
|
|
99778
|
+
const consequent = path$1.node.arguments[1];
|
|
99779
|
+
const alternative = path$1.node.arguments[2] === void 0 ? import_main.types.builders.booleanLiteral(false) : path$1.node.arguments[2];
|
|
99780
|
+
path$1.replace(import_main.types.builders.conditionalExpression(test, consequent, alternative));
|
|
99802
99781
|
}
|
|
99803
99782
|
} });
|
|
99804
99783
|
return (0, import_main.print)(ast);
|
|
@@ -99941,6 +99920,7 @@ const extendedFunctions = {
|
|
|
99941
99920
|
};
|
|
99942
99921
|
var require_jmespath = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
99943
99922
|
(function(exports$1) {
|
|
99923
|
+
"use strict";
|
|
99944
99924
|
function isArray$12(obj) {
|
|
99945
99925
|
if (obj !== null) return Object.prototype.toString.call(obj) === "[object Array]";
|
|
99946
99926
|
else return false;
|
|
@@ -101429,9 +101409,8 @@ const createResultError = (error$39) => ({
|
|
|
101429
101409
|
ok: false,
|
|
101430
101410
|
error: error$39
|
|
101431
101411
|
});
|
|
101432
|
-
init_dist$1();
|
|
101433
101412
|
function createEnvProviderState() {
|
|
101434
|
-
const isProcessAvailable = typeof process
|
|
101413
|
+
const isProcessAvailable = typeof process !== "undefined";
|
|
101435
101414
|
const isEnvAccessBlocked = isProcessAvailable ? {}.N8N_BLOCK_ENV_ACCESS_IN_NODE !== "false" : false;
|
|
101436
101415
|
return {
|
|
101437
101416
|
isProcessAvailable,
|
|
@@ -102284,9 +102263,8 @@ var WorkflowDataProxy = class WorkflowDataProxy {
|
|
|
102284
102263
|
});
|
|
102285
102264
|
}
|
|
102286
102265
|
};
|
|
102287
|
-
|
|
102288
|
-
var
|
|
102289
|
-
var IS_FRONTEND = typeof process$1 === "undefined" || IS_FRONTEND_IN_DEV_MODE;
|
|
102266
|
+
var IS_FRONTEND_IN_DEV_MODE = typeof process === "object" && Object.keys(process).length === 1 && "env" in process && Object.keys({}).length === 0;
|
|
102267
|
+
var IS_FRONTEND = typeof process === "undefined" || IS_FRONTEND_IN_DEV_MODE;
|
|
102290
102268
|
var isSyntaxError = (error$39) => error$39 instanceof SyntaxError || error$39 instanceof Error && error$39.name === "SyntaxError";
|
|
102291
102269
|
var isExpressionError = (error$39) => error$39 instanceof ExpressionError || error$39 instanceof ExpressionExtensionError;
|
|
102292
102270
|
var isTypeError = (error$39) => error$39 instanceof TypeError || error$39 instanceof Error && error$39.name === "TypeError";
|
|
@@ -102462,15 +102440,15 @@ var Expression = class Expression {
|
|
|
102462
102440
|
if (!isExpression(parameterValue)) return parameterValue;
|
|
102463
102441
|
parameterValue = parameterValue.substr(1);
|
|
102464
102442
|
const data = new WorkflowDataProxy(this.workflow, runExecutionData, runIndex, itemIndex, activeNodeName, connectionInputData, siblingParameters, mode, additionalKeys, executeData, -1, selfData, contextNodeName).getDataProxy();
|
|
102465
|
-
data.process = typeof process
|
|
102466
|
-
arch: process
|
|
102443
|
+
data.process = typeof process !== "undefined" ? {
|
|
102444
|
+
arch: process.arch,
|
|
102467
102445
|
env: {}.N8N_BLOCK_ENV_ACCESS_IN_NODE !== "false" ? {} : {},
|
|
102468
|
-
platform: process
|
|
102469
|
-
pid: process
|
|
102470
|
-
ppid: process
|
|
102471
|
-
release: process
|
|
102472
|
-
version: process
|
|
102473
|
-
versions: process
|
|
102446
|
+
platform: process.platform,
|
|
102447
|
+
pid: process.pid,
|
|
102448
|
+
ppid: process.ppid,
|
|
102449
|
+
release: process.release,
|
|
102450
|
+
version: process.pid,
|
|
102451
|
+
versions: process.versions
|
|
102474
102452
|
} : {};
|
|
102475
102453
|
Expression.initializeGlobalContext(data);
|
|
102476
102454
|
data.extend = extend;
|
|
@@ -102970,11 +102948,11 @@ var require__baseHasIn = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
102970
102948
|
}));
|
|
102971
102949
|
var require__hasPath = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
102972
102950
|
var castPath$2 = require__castPath(), isArguments$1 = require_isArguments$1(), isArray$2 = require_isArray(), isIndex$1 = require__isIndex(), isLength = require_isLength(), toKey$3 = require__toKey();
|
|
102973
|
-
function hasPath$2(object$1, path, hasFunc) {
|
|
102974
|
-
path = castPath$2(path, object$1);
|
|
102975
|
-
var index = -1, length$1 = path.length, result = false;
|
|
102951
|
+
function hasPath$2(object$1, path$1, hasFunc) {
|
|
102952
|
+
path$1 = castPath$2(path$1, object$1);
|
|
102953
|
+
var index = -1, length$1 = path$1.length, result = false;
|
|
102976
102954
|
while (++index < length$1) {
|
|
102977
|
-
var key = toKey$3(path[index]);
|
|
102955
|
+
var key = toKey$3(path$1[index]);
|
|
102978
102956
|
if (!(result = object$1 != null && hasFunc(object$1, key))) break;
|
|
102979
102957
|
object$1 = object$1[key];
|
|
102980
102958
|
}
|
|
@@ -102986,19 +102964,19 @@ var require__hasPath = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
102986
102964
|
}));
|
|
102987
102965
|
var require_hasIn = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
102988
102966
|
var baseHasIn = require__baseHasIn(), hasPath$1 = require__hasPath();
|
|
102989
|
-
function hasIn$2(object$1, path) {
|
|
102990
|
-
return object$1 != null && hasPath$1(object$1, path, baseHasIn);
|
|
102967
|
+
function hasIn$2(object$1, path$1) {
|
|
102968
|
+
return object$1 != null && hasPath$1(object$1, path$1, baseHasIn);
|
|
102991
102969
|
}
|
|
102992
102970
|
module.exports = hasIn$2;
|
|
102993
102971
|
}));
|
|
102994
102972
|
var require__baseMatchesProperty = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
102995
102973
|
var baseIsEqual = require__baseIsEqual(), get = require_get(), hasIn$1 = require_hasIn(), isKey$1 = require__isKey(), isStrictComparable = require__isStrictComparable(), matchesStrictComparable = require__matchesStrictComparable(), toKey$2 = require__toKey();
|
|
102996
102974
|
var COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2;
|
|
102997
|
-
function baseMatchesProperty$1(path, srcValue) {
|
|
102998
|
-
if (isKey$1(path) && isStrictComparable(srcValue)) return matchesStrictComparable(toKey$2(path), srcValue);
|
|
102975
|
+
function baseMatchesProperty$1(path$1, srcValue) {
|
|
102976
|
+
if (isKey$1(path$1) && isStrictComparable(srcValue)) return matchesStrictComparable(toKey$2(path$1), srcValue);
|
|
102999
102977
|
return function(object$1) {
|
|
103000
|
-
var objValue = get(object$1, path);
|
|
103001
|
-
return objValue === void 0 && objValue === srcValue ? hasIn$1(object$1, path) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
|
|
102978
|
+
var objValue = get(object$1, path$1);
|
|
102979
|
+
return objValue === void 0 && objValue === srcValue ? hasIn$1(object$1, path$1) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
|
|
103002
102980
|
};
|
|
103003
102981
|
}
|
|
103004
102982
|
module.exports = baseMatchesProperty$1;
|
|
@@ -103013,17 +102991,17 @@ var require__baseProperty = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
103013
102991
|
}));
|
|
103014
102992
|
var require__basePropertyDeep = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
103015
102993
|
var baseGet$1 = require__baseGet();
|
|
103016
|
-
function basePropertyDeep$1(path) {
|
|
102994
|
+
function basePropertyDeep$1(path$1) {
|
|
103017
102995
|
return function(object$1) {
|
|
103018
|
-
return baseGet$1(object$1, path);
|
|
102996
|
+
return baseGet$1(object$1, path$1);
|
|
103019
102997
|
};
|
|
103020
102998
|
}
|
|
103021
102999
|
module.exports = basePropertyDeep$1;
|
|
103022
103000
|
}));
|
|
103023
103001
|
var require_property = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
103024
103002
|
var baseProperty = require__baseProperty(), basePropertyDeep = require__basePropertyDeep(), isKey = require__isKey(), toKey$1 = require__toKey();
|
|
103025
|
-
function property$1(path) {
|
|
103026
|
-
return isKey(path) ? baseProperty(toKey$1(path)) : basePropertyDeep(path);
|
|
103003
|
+
function property$1(path$1) {
|
|
103004
|
+
return isKey(path$1) ? baseProperty(toKey$1(path$1)) : basePropertyDeep(path$1);
|
|
103027
103005
|
}
|
|
103028
103006
|
module.exports = property$1;
|
|
103029
103007
|
}));
|
|
@@ -104030,12 +104008,20 @@ const AssignmentCollectionValueSchema = objectType({ assignments: arrayType(obje
|
|
|
104030
104008
|
]),
|
|
104031
104009
|
type: stringType().optional()
|
|
104032
104010
|
})) });
|
|
104011
|
+
const IconOrEmojiSchema = discriminatedUnionType("type", [objectType({
|
|
104012
|
+
type: literalType("icon"),
|
|
104013
|
+
value: stringType()
|
|
104014
|
+
}), objectType({
|
|
104015
|
+
type: literalType("emoji"),
|
|
104016
|
+
value: stringType()
|
|
104017
|
+
})]);
|
|
104033
104018
|
const NodeParameterValueTypeSchema = lazyType(() => unionType([
|
|
104034
104019
|
NodeParameterValueSchema,
|
|
104035
104020
|
INodeParameterResourceLocatorSchema,
|
|
104036
104021
|
ResourceMapperValueSchema,
|
|
104037
104022
|
FilterValueSchema,
|
|
104038
104023
|
AssignmentCollectionValueSchema,
|
|
104024
|
+
IconOrEmojiSchema,
|
|
104039
104025
|
INodeParametersSchema,
|
|
104040
104026
|
arrayType(NodeParameterValueSchema),
|
|
104041
104027
|
arrayType(INodeParametersSchema),
|
|
@@ -105328,17 +105314,17 @@ function resolveRelativePath(fullPathWithParameters, candidateRelativePath) {
|
|
|
105328
105314
|
}
|
|
105329
105315
|
var require__baseSet = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
105330
105316
|
var assignValue = require__assignValue(), castPath$1 = require__castPath(), isIndex = require__isIndex(), isObject = require_isObject(), toKey = require__toKey();
|
|
105331
|
-
function baseSet$1(object$1, path, value, customizer) {
|
|
105317
|
+
function baseSet$1(object$1, path$1, value, customizer) {
|
|
105332
105318
|
if (!isObject(object$1)) return object$1;
|
|
105333
|
-
path = castPath$1(path, object$1);
|
|
105334
|
-
var index = -1, length$1 = path.length, lastIndex = length$1 - 1, nested = object$1;
|
|
105319
|
+
path$1 = castPath$1(path$1, object$1);
|
|
105320
|
+
var index = -1, length$1 = path$1.length, lastIndex = length$1 - 1, nested = object$1;
|
|
105335
105321
|
while (nested != null && ++index < length$1) {
|
|
105336
|
-
var key = toKey(path[index]), newValue = value;
|
|
105322
|
+
var key = toKey(path$1[index]), newValue = value;
|
|
105337
105323
|
if (key === "__proto__" || key === "constructor" || key === "prototype") return object$1;
|
|
105338
105324
|
if (index != lastIndex) {
|
|
105339
105325
|
var objValue = nested[key];
|
|
105340
105326
|
newValue = customizer ? customizer(objValue, key, nested) : void 0;
|
|
105341
|
-
if (newValue === void 0) newValue = isObject(objValue) ? objValue : isIndex(path[index + 1]) ? [] : {};
|
|
105327
|
+
if (newValue === void 0) newValue = isObject(objValue) ? objValue : isIndex(path$1[index + 1]) ? [] : {};
|
|
105342
105328
|
}
|
|
105343
105329
|
assignValue(nested, key, newValue);
|
|
105344
105330
|
nested = nested[key];
|
|
@@ -105352,8 +105338,8 @@ var require__basePickBy = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
105352
105338
|
function basePickBy$1(object$1, paths, predicate) {
|
|
105353
105339
|
var index = -1, length$1 = paths.length, result = {};
|
|
105354
105340
|
while (++index < length$1) {
|
|
105355
|
-
var path = paths[index], value = baseGet(object$1, path);
|
|
105356
|
-
if (predicate(value, path)) baseSet(result, castPath(path, object$1), value);
|
|
105341
|
+
var path$1 = paths[index], value = baseGet(object$1, path$1);
|
|
105342
|
+
if (predicate(value, path$1)) baseSet(result, castPath(path$1, object$1), value);
|
|
105357
105343
|
}
|
|
105358
105344
|
return result;
|
|
105359
105345
|
}
|
|
@@ -105362,8 +105348,8 @@ var require__basePickBy = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
105362
105348
|
var require__basePick = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
105363
105349
|
var basePickBy = require__basePickBy(), hasIn = require_hasIn();
|
|
105364
105350
|
function basePick$1(object$1, paths) {
|
|
105365
|
-
return basePickBy(object$1, paths, function(value, path) {
|
|
105366
|
-
return hasIn(object$1, path);
|
|
105351
|
+
return basePickBy(object$1, paths, function(value, path$1) {
|
|
105352
|
+
return hasIn(object$1, path$1);
|
|
105367
105353
|
});
|
|
105368
105354
|
}
|
|
105369
105355
|
module.exports = basePick$1;
|
|
@@ -106079,7 +106065,6 @@ const ADD_DATA_TABLE_MODAL_KEY = "addDataTableModal";
|
|
|
106079
106065
|
const DEFAULT_ID_COLUMN_NAME = "id";
|
|
106080
106066
|
const MAX_COLUMN_NAME_LENGTH = 128;
|
|
106081
106067
|
const COLUMN_NAME_REGEX = DATA_TABLE_COLUMN_REGEX;
|
|
106082
|
-
const MIN_LOADING_TIME = 500;
|
|
106083
106068
|
const NULL_VALUE = "Null";
|
|
106084
106069
|
const EMPTY_VALUE = "Empty";
|
|
106085
106070
|
const DATA_TABLE_MODULE_NAME = "data-table";
|
|
@@ -106122,6 +106107,7 @@ const AGENT_NODE_TYPE = "@n8n/n8n-nodes-langchain.agent";
|
|
|
106122
106107
|
const OPEN_AI_NODE_TYPE = "@n8n/n8n-nodes-langchain.openAi";
|
|
106123
106108
|
const OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE = "@n8n/n8n-nodes-langchain.openAi.assistant.message";
|
|
106124
106109
|
const OPEN_AI_ASSISTANT_NODE_TYPE = "@n8n/n8n-nodes-langchain.openAiAssistant";
|
|
106110
|
+
const SIMPLE_MEMORY_NODE_TYPE = "@n8n/n8n-nodes-langchain.memoryBufferWindow";
|
|
106125
106111
|
const BASIC_CHAIN_NODE_TYPE = "@n8n/n8n-nodes-langchain.chainLlm";
|
|
106126
106112
|
const QA_CHAIN_NODE_TYPE = "@n8n/n8n-nodes-langchain.chainRetrievalQa";
|
|
106127
106113
|
const MICROSOFT_TEAMS_NODE_TYPE = "n8n-nodes-base.microsoftTeams";
|
|
@@ -106276,7 +106262,6 @@ const AI_UNCATEGORIZED_CATEGORY = "Miscellaneous";
|
|
|
106276
106262
|
const AI_CODE_TOOL_LANGCHAIN_NODE_TYPE = "@n8n/n8n-nodes-langchain.toolCode";
|
|
106277
106263
|
const AI_WORKFLOW_TOOL_LANGCHAIN_NODE_TYPE = "@n8n/n8n-nodes-langchain.toolWorkflow";
|
|
106278
106264
|
const REQUEST_NODE_FORM_URL = "https://n8n-community.typeform.com/to/K1fBVTZ3";
|
|
106279
|
-
const PRE_BUILT_AGENTS_COLLECTION = "pre-built-agents-collection";
|
|
106280
106265
|
const RECOMMENDED_NODES = [DATA_TABLE_NODE_TYPE, DATA_TABLE_TOOL_NODE_TYPE];
|
|
106281
106266
|
const BETA_NODES = [];
|
|
106282
106267
|
const MAIN_NODE_PANEL_WIDTH = 390;
|
|
@@ -106425,5 +106410,10 @@ const DEFAULT_NEW_WORKFLOW_NAME = "My workflow";
|
|
|
106425
106410
|
const MAX_WORKFLOW_NAME_LENGTH = 128;
|
|
106426
106411
|
const DUPLICATE_POSTFFIX = " copy";
|
|
106427
106412
|
const DEFAULT_WORKFLOW_PAGE_SIZE = 50;
|
|
106428
|
-
|
|
106429
|
-
export { AI_CATEGORY_MCP_NODES as $, CHAT_TRIGGER_NODE_TYPE$1 as $a, getNodeInputs as $i, SERVICENOW_NODE_TYPE as $n, IMPORT_CURL_MODAL_KEY as $o, chatHubProviderSchema as $r, CanvasKey as $s, ELASTIC_SECURITY_NODE_TYPE as $t, VALID_EMAIL_REGEX as A, jsonStringify as Aa, TIME as Ac, require__arrayIncludes as Ai, MICROSOFT_TEAMS_NODE_TYPE as An, getResourcePermissions as Ao, DATA_TABLE_ID_COLUMN_WIDTH as Ar, LOCAL_STORAGE_DISMISSED_WHATS_NEW_CALLOUT as As, TRIGGER_NODE_CREATOR_VIEW as At, BINARY_DATA_ACCESS_TOOLTIP as B, require_call_bind$1 as Ba, AI_NODES_PACKAGE_NAME as Bc, defaultMessageEventBusDestinationWebhookOptions as Bi, OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE as Bn, VIEWS as Bo, MIN_LOADING_TIME as Br, LOCAL_STORAGE_PIN_DATA_DISCOVERY_CANVAS_FLAG as Bs, CLEARBIT_NODE_TYPE as Bt, TEMPLATES_URLS as C, validateFieldType as Ca, CANVAS_EXECUTION_DATA_THROTTLE_DURATION as Cc, Expression as Ci, LIST_LIKE_NODE_OPERATIONS as Cn, ApplicationError as Co, ZENDESK_TRIGGER_NODE_TYPE as Cr, WORKFLOW_PUBLISH_MODAL_KEY as Cs, OTHER_TRIGGER_NODES_SUBCATEGORY as Ct, CODEMIRROR_TOOLTIP_CONTAINER_ELEMENT_ID as D, isCommunityPackageName as Da, SEVEN_DAYS_IN_MILLIS as Dc, splitExpression as Di, MCP_TRIGGER_NODE_TYPE as Dn, SOURCE_CONTROL_FILE_STATUS as Do, DATA_TABLE_CARD_ACTIONS as Dr, LOCAL_STORAGE_CHAT_HUB_CREDENTIALS as Ds, REQUEST_NODE_FORM_URL as Dt, APP_MODALS_ELEMENT_ID as E, deepCopy as Ea, LOGS_EXECUTION_DATA_THROTTLE_DURATION as Ec, EXTENSION_OBJECTS as Ei, MARKDOWN_NODE_TYPE as En, SOURCE_CONTROL_FILE_LOCATION as Eo, COLUMN_NAME_REGEX as Er, LOCAL_STORAGE_ACTIVATION_FLAG as Es, REGULAR_NODE_CREATOR_VIEW as Et, CUSTOM_API_CALL_KEY as F, parseScript as Fa, MFA_AUTHENTICATION_CODE_WINDOW_EXPIRED as Fc, require_call_bind as Fi, NON_ACTIVATABLE_TRIGGER_NODE_TYPES as Fn, objectType as Fo, DEFAULT_DATA_TABLE_PAGE_SIZE as Fr, LOCAL_STORAGE_LOGS_PANEL_DETAILS_PANEL as Fs, AI_TRANSFORM_NODE_TYPE as Ft, MAIN_NODE_PANEL_WIDTH as G, NodeConnectionTypes as Ga, WORKFLOW_MENU_ACTIONS as Gc, DATA_TABLE_SYSTEM_COLUMNS as Gi, PRODUCTION_ONLY_TRIGGER_NODE_TYPES as Gn, CONTACT_PROMPT_MODAL_KEY as Go, PROJECT_DATA_TABLES as Gr, LOCAL_STORAGE_THEME as Gs, CREDENTIAL_ONLY_NODE_PREFIX as Gt, INSECURE_CONNECTION_WARNING as H, require_shams as Ha, ASK_AI_MAX_PROMPT_LENGTH as Hc, createEmptyRunExecutionData as Hi, OPEN_URL_PANEL_TRIGGER_NODE_TYPES as Hn, CHANGE_PASSWORD_MODAL_KEY as Ho, NUMBER_DECIMAL_SEPARATOR as Hr, LOCAL_STORAGE_READ_WHATS_NEW_ARTICLES as Hs, COMPRESSION_NODE_TYPE as Ht, DATA_TYPE_ICON_MAP as I, require_is_callable as Ia, MFA_AUTHENTICATION_RECOVERY_CODE_INPUT_MAX_LENGTH as Ic, MessageEventBusDestinationTypeNames as Ii, NOTION_TRIGGER_NODE_TYPE as In, recordType as Io, DEFAULT_ID_COLUMN_NAME as Ir, LOCAL_STORAGE_LOGS_PANEL_DETAILS_PANEL_SUB_NODE as Is, BAMBOO_HR_NODE_TYPE as It, AI_CATEGORY_AGENTS as J, AGENT_LANGCHAIN_NODE_TYPE as Ja, getChildNodes as Ji, REMOVE_DUPLICATES_NODE_TYPE as Jn, EXPERIMENT_TEMPLATES_DATA_QUALITY_KEY as Jo, createHeartbeatMessage as Jr, MAX_DISPLAY_DATA_SIZE_LOGS_VIEW as Js, DATA_TABLE_NODES as Jt, NODE_MIN_INPUT_ITEMS_COUNT as K, nodeConnectionTypes as Ka, mapConnectionsByDestination as Ki, QA_CHAIN_NODE_TYPE as Kn, CREDENTIAL_RESOLVER_EDIT_MODAL_KEY as Ko, ROLE as Kr, LOCAL_STORAGE_WORKFLOW_LIST_PREFERENCES_KEY as Ks, CRON_NODE_TYPE as Kt, DRAG_EVENT_DATA_KEY as L, require_safe_regex_test as La, MFA_AUTHENTICATION_REQUIRED_ERROR_CODE as Lc, defaultMessageEventBusDestinationOptions as Li, NOT_DUPLICATABLE_NODE_TYPES as Ln, stringType as Lo, EMPTY_VALUE as Lr, LOCAL_STORAGE_LOGS_PANEL_OPEN as Ls, BASIC_CHAIN_NODE_TYPE as Lt, IN_PROGRESS_EXECUTION_ID as M, randomString as Ma, CURL_IMPORT_NOT_SUPPORTED_PROTOCOLS as Mc, isExpression as Mi, NODES_USING_CODE_NODE_EDITOR as Mn, PROJECT_CHAT_USER_ROLE_SLUG as Mo, DATA_TABLE_STORE as Mr, LOCAL_STORAGE_EXPERIMENT_OVERRIDES as Ms, AGGREGATE_NODE_TYPE as Mt, PLACEHOLDER_FILLED_AT_EXECUTION_TIME as N, sleep as Na, MAIN_AUTH_FIELD_NAME as Nc, require_define_properties as Ni, NODE_POSITION_CONFLICT_ALLOWLIST as Nn, PROJECT_OWNER_ROLE_SLUG as No, DATA_TABLE_VIEW as Nr, LOCAL_STORAGE_FOCUS_PANEL as Ns, AI_CODE_NODE_TYPE as Nt, ALLOWED_HTML_ATTRIBUTES as O, isObjectEmpty as Oa, SIX_MONTHS_IN_MILLIS as Oc, require__baseUniq as Oi, MERGE_NODE_TYPE as On, SOURCE_CONTROL_FILE_TYPE as Oo, DATA_TABLE_DETAILS as Or, LOCAL_STORAGE_CHAT_HUB_SELECTED_MODEL as Os, TEMPLATE_CATEGORY_AI as Ot, APPEND_ATTRIBUTION_DEFAULT_PATH as P, Syntax as Pa, MFA_AUTHENTICATION_CODE_INPUT_MAX_LENGTH as Pc, require_callBound as Pi, NODE_TYPES_EXCLUDED_FROM_OUTPUT_NAME_APPEND as Pn, nullType as Po, DEFAULT_COLUMN_WIDTH as Pr, LOCAL_STORAGE_HIDE_GITHUB_STAR_BUTTON as Ps, AI_MCP_TOOL_NODE_TYPE as Pt, AI_CATEGORY_LANGUAGE_MODELS as Q, CHAIN_LLM_LANGCHAIN_NODE_TYPE as Qa, getConnectionTypes as Qi, SEGMENT_NODE_TYPE as Qn, FROM_AI_PARAMETERS_MODAL_KEY as Qo, chatHubLLMProviderSchema as Qr, MAX_WORKFLOW_SIZE as Qs, EDIT_IMAGE_NODE_TYPE as Qt, MAPPING_PARAMS as R, require_is_regex as Ra, MFA_FORM as Rc, defaultMessageEventBusDestinationSentryOptions as Ri, NO_OP_NODE_TYPE as Rn, EDITABLE_CANVAS_VIEWS as Ro, LOOSE_DATE_REGEX as Rr, LOCAL_STORAGE_LOGS_SYNC_SELECTION as Rs, CALENDLY_TRIGGER_NODE_TYPE as Rt, SCHEMA_PREVIEW_DOCS_URL as S, executeFilterCondition as Sa, EnterpriseEditionFeature as Sc, traverseNodeParameters as Si, LIMIT_NODE_TYPE as Sn, require__SetCache as So, ZENDESK_NODE_TYPE as Sr, WORKFLOW_HISTORY_VERSION_UNPUBLISH as Ss, NODE_CREATOR_OPEN_SOURCES as St, TEMPLATES_NODES_FILTER as T, dedupe as Ta, EXPRESSION_EDITOR_PARSER_TIMEOUT as Tc, createResultOk as Ti, MANUAL_TRIGGER_NODE_TYPE as Tn, WORKFLOW_VERSION_NAME_MAX_LENGTH as To, ADD_ROW_ROW_ID as Tr, WORKFLOW_SHARE_MODAL_KEY as Ts, RECOMMENDED_NODES as Tt, DEFAULT_STICKY_HEIGHT as U, ExpressionError as Ua, ASK_AI_MIN_PROMPT_LENGTH as Uc, createRunExecutionData as Ui, PAGERDUTY_NODE_TYPE as Un, CHAT_EMBED_MODAL_KEY as Uo, NUMBER_THOUSAND_SEPARATOR as Ur, LOCAL_STORAGE_RUN_DATA_WORKER as Us, CONVERT_TO_FILE_NODE_TYPE as Ut, HIRING_BANNER as V, require_has_property_descriptors as Va, ASK_AI_LOADING_DURATION_MS as Vc, messageEventBusDestinationTypeNames as Vi, OPEN_AI_NODE_TYPE as Vn, ABOUT_MODAL_KEY as Vo, NULL_VALUE as Vr, LOCAL_STORAGE_PIN_DATA_DISCOVERY_NDV_FLAG as Vs, CODE_NODE_TYPE as Vt, DEFAULT_STICKY_WIDTH as W, DateTime as Wa, ASK_AI_SLIDE_OUT_DURATION_MS as Wc, setGlobalState as Wi, PIN_DATA_NODE_TYPES_DENYLIST as Wn, CONFIRM_PASSWORD_MODAL_KEY as Wo, NUMBER_WITH_SPACES_REGEX as Wr, LOCAL_STORAGE_SIDEBAR_WIDTH as Ws, CREDENTIAL_ONLY_HTTP_NODE_VERSION as Wt, AI_CATEGORY_DOCUMENT_LOADERS as X, AI_TRANSFORM_JS_CODE as Xa, displayParameter as Xi, SALESFORCE_NODE_TYPE as Xn, EXPERIMENT_TEMPLATE_RECO_V3_KEY as Xo, agentIconOrEmojiSchema as Xr, MAX_EXPECTED_REQUEST_SIZE as Xs, DATETIME_NODE_TYPE as Xt, AI_CATEGORY_CHAINS as Y, AI_TRANSFORM_CODE_GENERATED_FOR_PROMPT as Ya, generateNodesGraph as Yi, RSS_READ_NODE_TYPE as Yn, EXPERIMENT_TEMPLATE_RECO_V2_KEY as Yo, PROVIDER_CREDENTIAL_TYPE_MAP as Yr, MAX_DISPLAY_DATA_SIZE_SCHEMA_VIEW as Ys, DATA_TABLE_NODE_TYPE as Yt, AI_CATEGORY_EMBEDDING as Z, AI_TRANSFORM_NODE_TYPE$1 as Za, displayParameterPath as Zi, SCHEDULE_TRIGGER_NODE_TYPE as Zn, EXTERNAL_SECRETS_PROVIDER_MODAL_KEY as Zo, chatHubConversationModelSchema as Zr, MAX_PINNED_DATA_SIZE as Zs, DISCORD_NODE_TYPE as Zt, MFA_DOCS_URL as _, isINodePropertyCollection as _a, TEMPLATES_DATA_QUALITY_EXPERIMENT as _c, require__baseIteratee as _i, INTERVAL_NODE_TYPE as _n, require_isEqual as _o, WOOCOMMERCE_TRIGGER_NODE_TYPE as _r, WORKFLOW_DESCRIPTION_MODAL_KEY as _s, DEFAULT_SUBCATEGORY as _t, IS_DRAFT_PUBLISH_ENABLED as a, getParameterValueByPath as aa, WorkflowStateKey as ac, require_pick as ai, EXECUTE_WORKFLOW_NODE_TYPE as an, FROM_AI_AUTO_GENERATED_MARKER as ao, SPLIT_OUT_NODE_TYPE as ar, MODAL_CONFIRM as as, AI_CATEGORY_TEXT_SPLITTERS as at, NPM_PACKAGE_DOCS_BASE_URL as b, isResourceLocatorValue as ba, TEMPLATE_SETUP_EXPERIENCE as bc, require__getAllKeysIn as bi, JIRA_TRIGGER_NODE_TYPE as bn, require__baseKeys as bo, XERO_NODE_TYPE as br, WORKFLOW_HISTORY_PUBLISH_MODAL_KEY as bs, HITL_SUBCATEGORY as bt, BUILTIN_CREDENTIALS_DOCS_URL as c, isDefaultNodeName as ca, BATCH_11AUG_EXPERIMENT as cc, require__baseSet as ci, FILTER_NODE_TYPE as cn, JINA_AI_TOOL_NODE_TYPE as co, SUMMARIZE_NODE_TYPE as cr, NPS_SURVEY_MODAL_KEY as cs, AI_CODE_TOOL_LANGCHAIN_NODE_TYPE as ct, CUSTOM_NODES_DOCS_URL as d, isSubNodeType as da, EXPERIMENTS_TO_TRACK as dc, buildAdjacencyList as di, GITHUB_TRIGGER_NODE_TYPE as dn, PROJECT_ROOT as do, THE_HIVE_TRIGGER_NODE_TYPE as dr, SETUP_CREDENTIALS_MODAL_KEY as ds, AI_OTHERS_NODE_CREATOR_VIEW as dt, getNodeOutputs as ea, CanvasNodeHandleKey as ec, emptyChatModelsResponse as ei, EMAIL_IMAP_NODE_TYPE as en, CREDENTIAL_EMPTY_VALUE as eo, SET_NODE_TYPE as er, IMPORT_WORKFLOW_URL_MODAL_KEY as es, AI_CATEGORY_MEMORY as et, DATA_EDITING_DOCS_URL as f, isTriggerNode as fa, EXTRA_TEMPLATE_LINKS_EXPERIMENT as fc, parseExtractableSubgraphSelection as fi, GOOGLE_SHEETS_NODE_TYPE as fn, SEND_AND_WAIT_OPERATION as fo, TIME_SAVED_NODE_TYPE as fr, STOP_MANY_EXECUTIONS_MODAL_KEY as fs, AI_SUBCATEGORY as ft, EVALUATIONS_DOCS_URL as g, isINodePropertiesList as ga, READY_TO_RUN_V2_P3_EXPERIMENT as gc, extractReferencesInNodeExpressions as gi, IF_NODE_TYPE as gn, WEBHOOK_NODE_TYPE$1 as go, WIKIPEDIA_TOOL_NODE_TYPE as gr, WORKFLOW_ACTIVE_MODAL_KEY as gs, CORE_NODES_CATEGORY as gt, ERROR_WORKFLOW_DOCS_URL as h, mergeNodeProperties as ha, PRE_BUILT_AGENTS_EXPERIMENT as hc, parseErrorMetadata as hi, HUBSPOT_TRIGGER_NODE_TYPE as hn, WAIT_INDEFINITELY as ho, WEBHOOK_NODE_TYPE as hr, WORKFLOW_ACTIVATION_CONFLICTING_WEBHOOK_MODAL_KEY as hs, BETA_NODES as ht, DUPLICATE_POSTFFIX as i, getParameterIssues as ia, TelemetryContextSymbol as ic, compareWorkflowsNodes as ii, EXECUTE_COMMAND_NODE_TYPE as in, FORM_TRIGGER_NODE_TYPE$1 as io, SPLIT_IN_BATCHES_NODE_TYPE as ir, MODAL_CLOSE as is, AI_CATEGORY_ROOT_NODES as it, VALID_WORKFLOW_IMPORT_URL_REGEX as j, randomInt as ja, CURL_IMPORT_NODES_PROTOCOLS as jc, require__baseFindIndex as ji, MODULE_ENABLED_NODES as jn, hasScope as jo, DATA_TABLE_ROW_HEIGHT as jr, LOCAL_STORAGE_EXPERIMENTAL_DISMISSED_SUGGESTED_WORKFLOWS as js, AGENT_NODE_TYPE as jt, ALLOWED_HTML_TAGS as k, jsonParse as ka, THREE_DAYS_IN_MILLIS as kc, require__arrayIncludesWith as ki, MICROSOFT_EXCEL_NODE_TYPE as kn, isSourceControlledFileStatus as ko, DATA_TABLE_HEADER_HEIGHT as kr, LOCAL_STORAGE_CHAT_HUB_SELECTED_TOOLS as ks, TRANSFORM_DATA_SUBCATEGORY as kt, BUILTIN_NODES_DOCS_URL as l, isExecutable as la, CANVAS_ZOOMED_VIEW_EXPERIMENT as lc, resolveRelativePath as li, FORM_NODE_TYPE as ln, MANUAL_TRIGGER_NODE_TYPE$1 as lo, SWITCH_NODE_TYPE as lr, PRE_BUILT_AGENTS_MODAL_KEY as ls, AI_EVALUATION as lt, DOCS_DOMAIN as m, mergeIssues as ma, PERSONALIZED_TEMPLATES_V3 as mc, Workflow as mi, HTTP_REQUEST_NODE_TYPE as mn, TRIMMED_TASK_DATA_CONNECTIONS_KEY as mo, WAIT_NODE_TYPE as mr, WHATS_NEW_MODAL_KEY as ms, AI_WORKFLOW_TOOL_LANGCHAIN_NODE_TYPE as mt, DEFAULT_NODETYPE_VERSION as n, getNodeParametersIssues as na, ExpressionLocalResolveContextSymbol as nc, USERS_LIST_SORT_OPTIONS as ni, ERROR_TRIGGER_NODE_TYPE as nn, EVALUATION_TRIGGER_NODE_TYPE as no, SIMULATE_TRIGGER_NODE_TYPE as nr, MFA_SETUP_MODAL_KEY as ns, AI_CATEGORY_OUTPUTPARSER as nt, MAX_WORKFLOW_NAME_LENGTH as o, getSubworkflowId as oa, AI_BUILDER_MULTI_AGENT_EXPERIMENT as oc, require__baseFlatten as oi, EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE as on, HTML_NODE_TYPE$1 as oo, SPREADSHEET_FILE_NODE_TYPE as or, NEW_ASSISTANT_SESSION_MODAL as os, AI_CATEGORY_TOOLS as ot, DATA_PINNING_DOCS_URL as p, makeNodeName as pa, NDV_IN_FOCUS_PANEL_EXPERIMENT as pc, INodesSchema as pi, HTML_NODE_TYPE as pn, SERP_API_TOOL_NODE_TYPE as po, UPDATE_WEBHOOK_ID_NODE_TYPES as pr, VERSIONS_MODAL_KEY as ps, AI_UNCATEGORIZED_CATEGORY as pt, RUN_DATA_DEFAULT_PAGE_SIZE as q, ADD_FORM_NOTICE as qa, getNodeByName as qi, QUICKBOOKS_NODE_TYPE as qn, DUPLICATE_MODAL_KEY as qo, ViewableMimeTypes as qr, MAX_DISPLAY_DATA_SIZE as qs, CRYPTO_NODE_TYPE as qt, DEFAULT_WORKFLOW_PAGE_SIZE as r, getNodeWebhookUrl as ra, PopOutWindowKey as rc, NodeDiffStatus as ri, EXECUTABLE_TRIGGER_NODE_TYPES as rn, EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE$1 as ro, SLACK_NODE_TYPE as rr, MODAL_CANCEL as rs, AI_CATEGORY_RETRIEVERS as rt, BASE_NODE_SURVEY_URL as s, getUpdatedToolDescription as sa, AI_BUILDER_TEMPLATE_EXAMPLES_EXPERIMENT as sc, require__basePickBy as si, EXTRACT_FROM_FILE_NODE_TYPE as sn, HTTP_REQUEST_NODE_TYPE$1 as so, STICKY_NODE_TYPE as sr, NODE_PINNING_MODAL_KEY as ss, AI_CATEGORY_VECTOR_STORES as st, DEFAULT_NEW_WORKFLOW_NAME as t, getNodeParameters as ta, CanvasNodeKey as tc, dataTableColumnNameSchema as ti, EMAIL_SEND_NODE_TYPE as tn, EVALUATION_NODE_TYPE as to, SIMULATE_NODE_TYPE as tr, LOG_STREAM_MODAL_KEY as ts, AI_CATEGORY_OTHER_TOOLS as tt, CREATOR_HUB_URL as u, isNodeWithWorkflowSelector as ua, COMMAND_BAR_EXPERIMENT as uc, NATIVE_METHODS as ui, FORM_TRIGGER_NODE_TYPE as un, OPEN_AI_API_CREDENTIAL_TYPE as uo, TELEGRAM_NODE_TYPE as ur, PROMPT_MFA_CODE_MODAL_KEY as us, AI_NODE_CREATOR_VIEW as ut, N8N_MAIN_GITHUB_REPO_URL as v, isINodePropertyCollectionList as va, TEMPLATE_ONBOARDING_EXPERIMENT as vc, require__baseForOwn as vi, ITEM_LISTS_NODE_TYPE as vn, require__getTag as vo, WORKABLE_TRIGGER_NODE_TYPE as vr, WORKFLOW_DIFF_MODAL_KEY as vs, FLOWS_CONTROL_SUBCATEGORY as vt, TIME_SAVED_DOCS_URL as w, base64DecodeUTF8 as wa, CLOUD_TRIAL_CHECK_INTERVAL as wc, createResultError as wi, MANUAL_CHAT_TRIGGER_NODE_TYPE as wn, WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH as wo, ADD_DATA_TABLE_MODAL_KEY as wr, WORKFLOW_SETTINGS_MODAL_KEY as ws, PRE_BUILT_AGENTS_COLLECTION as wt, RELEASE_NOTES_URL as x, FilterError as xa, UPGRADE_PLAN_CTA_EXPERIMENT as xc, extractFromAICalls as xi, KEEP_AUTH_IN_NDV_FOR_NODES as xn, require__cacheHas as xo, XML_NODE_TYPE as xr, WORKFLOW_HISTORY_VERSION_RESTORE as xs, HUMAN_IN_THE_LOOP_CATEGORY as xt, N8N_PRICING_PAGE_URL as y, isINodePropertyOptionsList as ya, TEMPLATE_RECO_V2 as yc, require_cloneDeep as yi, JIRA_NODE_TYPE as yn, require_keys as yo, WORKFLOW_TRIGGER_NODE_TYPE as yr, WORKFLOW_EXTRACTION_NAME_MODAL_KEY as ys, HELPERS_SUBCATEGORY as yt, nonExistingJsonPath as z, require_callBound$1 as za, AI_ASSISTANT_MAX_CONTENT_LENGTH as zc, defaultMessageEventBusDestinationSyslogOptions as zi, OPEN_AI_ASSISTANT_NODE_TYPE as zn, MAIN_HEADER_TABS as zo, MAX_COLUMN_NAME_LENGTH as zr, LOCAL_STORAGE_MAIN_PANEL_RELATIVE_WIDTH as zs, CHAT_TRIGGER_NODE_TYPE as zt };
|
|
106413
|
+
let AutoSaveState = /* @__PURE__ */ function(AutoSaveState$1) {
|
|
106414
|
+
AutoSaveState$1["Idle"] = "idle";
|
|
106415
|
+
AutoSaveState$1["Scheduled"] = "scheduled";
|
|
106416
|
+
AutoSaveState$1["InProgress"] = "in-progress";
|
|
106417
|
+
return AutoSaveState$1;
|
|
106418
|
+
}({});
|
|
106419
|
+
export { AI_CATEGORY_MCP_NODES as $, CREDENTIAL_EMPTY_VALUE as $a, getNodeParameters as $i, SET_NODE_TYPE as $n, IMPORT_WORKFLOW_URL_MODAL_KEY as $o, emptyChatModelsResponse as $r, CanvasNodeKey as $s, EMAIL_IMAP_NODE_TYPE as $t, VALID_EMAIL_REGEX as A, randomInt as Aa, CURL_IMPORT_NODES_PROTOCOLS as Ac, require__arrayIncludes as Ai, MODULE_ENABLED_NODES as An, hasScope as Ao, DATA_TABLE_ID_COLUMN_WIDTH as Ar, LOCAL_STORAGE_EXPERIMENT_OVERRIDES as As, AGENT_NODE_TYPE as At, BINARY_DATA_ACCESS_TOOLTIP as B, require_has_property_descriptors as Ba, ASK_AI_LOADING_DURATION_MS as Bc, createEmptyRunExecutionData as Bi, OPEN_AI_NODE_TYPE as Bn, ABOUT_MODAL_KEY as Bo, NULL_VALUE as Br, LOCAL_STORAGE_READ_WHATS_NEW_ARTICLES as Bs, CODE_NODE_TYPE as Bt, TEMPLATES_URLS as C, base64DecodeUTF8 as Ca, EXPRESSION_EDITOR_PARSER_TIMEOUT as Cc, Expression as Ci, MANUAL_CHAT_TRIGGER_NODE_TYPE as Cn, WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH as Co, ZENDESK_TRIGGER_NODE_TYPE as Cr, WORKFLOW_SHARE_MODAL_KEY as Cs, OTHER_TRIGGER_NODES_SUBCATEGORY as Ct, CODEMIRROR_TOOLTIP_CONTAINER_ELEMENT_ID as D, isObjectEmpty as Da, SIX_MONTHS_IN_MILLIS as Dc, splitExpression as Di, MERGE_NODE_TYPE as Dn, SOURCE_CONTROL_FILE_TYPE as Do, DATA_TABLE_CARD_ACTIONS as Dr, LOCAL_STORAGE_CHAT_HUB_SELECTED_TOOLS as Ds, TEMPLATE_CATEGORY_AI as Dt, APP_MODALS_ELEMENT_ID as E, isCommunityPackageName as Ea, SEVEN_DAYS_IN_MILLIS as Ec, EXTENSION_OBJECTS as Ei, MCP_TRIGGER_NODE_TYPE as En, SOURCE_CONTROL_FILE_STATUS as Eo, COLUMN_NAME_REGEX as Er, LOCAL_STORAGE_CHAT_HUB_SELECTED_MODEL as Es, REQUEST_NODE_FORM_URL as Et, CUSTOM_API_CALL_KEY as F, require_is_callable as Fa, MFA_AUTHENTICATION_RECOVERY_CODE_INPUT_MAX_LENGTH as Fc, defaultMessageEventBusDestinationOptions as Fi, NOTION_TRIGGER_NODE_TYPE as Fn, recordType as Fo, DEFAULT_DATA_TABLE_PAGE_SIZE as Fr, LOCAL_STORAGE_LOGS_PANEL_OPEN as Fs, BAMBOO_HR_NODE_TYPE as Ft, MAIN_NODE_PANEL_WIDTH as G, nodeConnectionTypes as Ga, getNodeByName as Gi, QA_CHAIN_NODE_TYPE as Gn, CREDENTIAL_RESOLVER_EDIT_MODAL_KEY as Go, ROLE as Gr, MAX_DISPLAY_DATA_SIZE as Gs, CRON_NODE_TYPE as Gt, INSECURE_CONNECTION_WARNING as H, ExpressionError as Ha, ASK_AI_MIN_PROMPT_LENGTH as Hc, setGlobalState as Hi, PAGERDUTY_NODE_TYPE as Hn, CHAT_EMBED_MODAL_KEY as Ho, NUMBER_THOUSAND_SEPARATOR as Hr, LOCAL_STORAGE_SIDEBAR_WIDTH as Hs, CONVERT_TO_FILE_NODE_TYPE as Ht, DATA_TYPE_ICON_MAP as I, require_safe_regex_test as Ia, MFA_AUTHENTICATION_REQUIRED_ERROR_CODE as Ic, defaultMessageEventBusDestinationSentryOptions as Ii, NOT_DUPLICATABLE_NODE_TYPES as In, stringType as Io, DEFAULT_ID_COLUMN_NAME as Ir, LOCAL_STORAGE_LOGS_SYNC_SELECTION as Is, BASIC_CHAIN_NODE_TYPE as It, AI_CATEGORY_AGENTS as J, AI_TRANSFORM_CODE_GENERATED_FOR_PROMPT as Ja, displayParameter as Ji, RSS_READ_NODE_TYPE as Jn, EXPERIMENT_TEMPLATE_RECO_V2_KEY as Jo, PROVIDER_CREDENTIAL_TYPE_MAP as Jr, MAX_EXPECTED_REQUEST_SIZE as Js, DATA_TABLE_NODE_TYPE as Jt, NODE_MIN_INPUT_ITEMS_COUNT as K, ADD_FORM_NOTICE as Ka, getChildNodes as Ki, QUICKBOOKS_NODE_TYPE as Kn, DUPLICATE_MODAL_KEY as Ko, ViewableMimeTypes as Kr, MAX_DISPLAY_DATA_SIZE_LOGS_VIEW as Ks, CRYPTO_NODE_TYPE as Kt, DRAG_EVENT_DATA_KEY as L, require_callBound as La, MFA_FORM as Lc, defaultMessageEventBusDestinationSyslogOptions as Li, NO_OP_NODE_TYPE as Ln, EDITABLE_CANVAS_VIEWS as Lo, EMPTY_VALUE as Lr, LOCAL_STORAGE_MAIN_PANEL_RELATIVE_WIDTH as Ls, CALENDLY_TRIGGER_NODE_TYPE as Lt, IN_PROGRESS_EXECUTION_ID as M, sleep as Ma, MAIN_AUTH_FIELD_NAME as Mc, isExpression as Mi, NODE_POSITION_CONFLICT_ALLOWLIST as Mn, PROJECT_OWNER_ROLE_SLUG as Mo, DATA_TABLE_STORE as Mr, LOCAL_STORAGE_HIDE_GITHUB_STAR_BUTTON as Ms, AI_CODE_NODE_TYPE as Mt, PLACEHOLDER_FILLED_AT_EXECUTION_TIME as N, Syntax as Na, MFA_AUTHENTICATION_CODE_INPUT_MAX_LENGTH as Nc, require_define_properties as Ni, NODE_TYPES_EXCLUDED_FROM_OUTPUT_NAME_APPEND as Nn, nullType as No, DATA_TABLE_VIEW as Nr, LOCAL_STORAGE_LOGS_PANEL_DETAILS_PANEL as Ns, AI_MCP_TOOL_NODE_TYPE as Nt, ALLOWED_HTML_ATTRIBUTES as O, jsonParse as Oa, THREE_DAYS_IN_MILLIS as Oc, require__baseUniq as Oi, MICROSOFT_EXCEL_NODE_TYPE as On, isSourceControlledFileStatus as Oo, DATA_TABLE_DETAILS as Or, LOCAL_STORAGE_DISMISSED_WHATS_NEW_CALLOUT as Os, TRANSFORM_DATA_SUBCATEGORY as Ot, APPEND_ATTRIBUTION_DEFAULT_PATH as P, parseScript as Pa, MFA_AUTHENTICATION_CODE_WINDOW_EXPIRED as Pc, MessageEventBusDestinationTypeNames as Pi, NON_ACTIVATABLE_TRIGGER_NODE_TYPES as Pn, objectType as Po, DEFAULT_COLUMN_WIDTH as Pr, LOCAL_STORAGE_LOGS_PANEL_DETAILS_PANEL_SUB_NODE as Ps, AI_TRANSFORM_NODE_TYPE as Pt, AI_CATEGORY_LANGUAGE_MODELS as Q, CHAT_TRIGGER_NODE_TYPE$1 as Qa, getNodeOutputs as Qi, SERVICENOW_NODE_TYPE as Qn, IMPORT_CURL_MODAL_KEY as Qo, chatHubProviderSchema as Qr, CanvasNodeHandleKey as Qs, ELASTIC_SECURITY_NODE_TYPE as Qt, MAPPING_PARAMS as R, require_call_bind as Ra, AI_ASSISTANT_MAX_CONTENT_LENGTH as Rc, defaultMessageEventBusDestinationWebhookOptions as Ri, OPEN_AI_ASSISTANT_NODE_TYPE as Rn, MAIN_HEADER_TABS as Ro, LOOSE_DATE_REGEX as Rr, LOCAL_STORAGE_PIN_DATA_DISCOVERY_CANVAS_FLAG as Rs, CHAT_TRIGGER_NODE_TYPE as Rt, SCHEMA_PREVIEW_DOCS_URL as S, validateFieldType as Sa, CLOUD_TRIAL_CHECK_INTERVAL as Sc, traverseNodeParameters as Si, LIST_LIKE_NODE_OPERATIONS as Sn, ApplicationError as So, ZENDESK_NODE_TYPE as Sr, WORKFLOW_SETTINGS_MODAL_KEY as Ss, NODE_CREATOR_OPEN_SOURCES as St, TEMPLATES_NODES_FILTER as T, deepCopy as Ta, LOGS_EXECUTION_DATA_THROTTLE_DURATION as Tc, createResultOk as Ti, MARKDOWN_NODE_TYPE as Tn, SOURCE_CONTROL_FILE_LOCATION as To, ADD_ROW_ROW_ID as Tr, LOCAL_STORAGE_CHAT_HUB_CREDENTIALS as Ts, REGULAR_NODE_CREATOR_VIEW as Tt, DEFAULT_STICKY_HEIGHT as U, DateTime as Ua, ASK_AI_SLIDE_OUT_DURATION_MS as Uc, DATA_TABLE_SYSTEM_COLUMNS as Ui, PIN_DATA_NODE_TYPES_DENYLIST as Un, CONFIRM_PASSWORD_MODAL_KEY as Uo, NUMBER_WITH_SPACES_REGEX as Ur, LOCAL_STORAGE_THEME as Us, CREDENTIAL_ONLY_HTTP_NODE_VERSION as Ut, HIRING_BANNER as V, require_shams as Va, ASK_AI_MAX_PROMPT_LENGTH as Vc, createRunExecutionData as Vi, OPEN_URL_PANEL_TRIGGER_NODE_TYPES as Vn, CHANGE_PASSWORD_MODAL_KEY as Vo, NUMBER_DECIMAL_SEPARATOR as Vr, LOCAL_STORAGE_RUN_DATA_WORKER as Vs, COMPRESSION_NODE_TYPE as Vt, DEFAULT_STICKY_WIDTH as W, NodeConnectionTypes as Wa, WORKFLOW_MENU_ACTIONS as Wc, mapConnectionsByDestination as Wi, PRODUCTION_ONLY_TRIGGER_NODE_TYPES as Wn, CONTACT_PROMPT_MODAL_KEY as Wo, PROJECT_DATA_TABLES as Wr, LOCAL_STORAGE_WORKFLOW_LIST_PREFERENCES_KEY as Ws, CREDENTIAL_ONLY_NODE_PREFIX as Wt, AI_CATEGORY_DOCUMENT_LOADERS as X, AI_TRANSFORM_NODE_TYPE$1 as Xa, getConnectionTypes as Xi, SCHEDULE_TRIGGER_NODE_TYPE as Xn, EXTERNAL_SECRETS_PROVIDER_MODAL_KEY as Xo, chatHubConversationModelSchema as Xr, MAX_WORKFLOW_SIZE as Xs, DISCORD_NODE_TYPE as Xt, AI_CATEGORY_CHAINS as Y, AI_TRANSFORM_JS_CODE as Ya, displayParameterPath as Yi, SALESFORCE_NODE_TYPE as Yn, EXPERIMENT_TEMPLATE_RECO_V3_KEY as Yo, agentIconOrEmojiSchema as Yr, MAX_PINNED_DATA_SIZE as Ys, DATETIME_NODE_TYPE as Yt, AI_CATEGORY_EMBEDDING as Z, CHAIN_LLM_LANGCHAIN_NODE_TYPE as Za, getNodeInputs as Zi, SEGMENT_NODE_TYPE as Zn, FROM_AI_PARAMETERS_MODAL_KEY as Zo, chatHubLLMProviderSchema as Zr, CanvasKey as Zs, EDIT_IMAGE_NODE_TYPE as Zt, MFA_DOCS_URL as _, isINodePropertyCollectionList as _a, TEMPLATE_RECO_V2 as _c, require__baseIteratee as _i, ITEM_LISTS_NODE_TYPE as _n, require__getTag as _o, WOOCOMMERCE_TRIGGER_NODE_TYPE as _r, WORKFLOW_EXTRACTION_NAME_MODAL_KEY as _s, DEFAULT_SUBCATEGORY as _t, DUPLICATE_POSTFFIX as a, getUpdatedToolDescription as aa, AI_BUILDER_TEMPLATE_EXAMPLES_EXPERIMENT as ac, require__baseFlatten as ai, EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE as an, HTML_NODE_TYPE$1 as ao, SPLIT_OUT_NODE_TYPE as ar, NEW_ASSISTANT_SESSION_MODAL as as, AI_CATEGORY_TEXT_SPLITTERS as at, NPM_PACKAGE_DOCS_BASE_URL as b, FilterError as ba, EnterpriseEditionFeature as bc, require__getAllKeysIn as bi, KEEP_AUTH_IN_NDV_FOR_NODES as bn, require__cacheHas as bo, XERO_NODE_TYPE as br, WORKFLOW_HISTORY_VERSION_UNPUBLISH as bs, HITL_SUBCATEGORY as bt, BUILTIN_CREDENTIALS_DOCS_URL as c, isNodeWithWorkflowSelector as ca, COLLECTION_OVERHAUL_EXPERIMENT as cc, resolveRelativePath as ci, FORM_NODE_TYPE as cn, MANUAL_TRIGGER_NODE_TYPE$1 as co, SUMMARIZE_NODE_TYPE as cr, PROMPT_MFA_CODE_MODAL_KEY as cs, AI_CODE_TOOL_LANGCHAIN_NODE_TYPE as ct, CUSTOM_NODES_DOCS_URL as d, makeNodeName as da, NDV_IN_FOCUS_PANEL_EXPERIMENT as dc, parseExtractableSubgraphSelection as di, GOOGLE_SHEETS_NODE_TYPE as dn, SEND_AND_WAIT_OPERATION as do, THE_HIVE_TRIGGER_NODE_TYPE as dr, VERSIONS_MODAL_KEY as ds, AI_OTHERS_NODE_CREATOR_VIEW as dt, getNodeParametersIssues as ea, ExpressionLocalResolveContextSymbol as ec, dataTableColumnNameSchema as ei, EMAIL_SEND_NODE_TYPE as en, EVALUATION_NODE_TYPE as eo, SIMPLE_MEMORY_NODE_TYPE as er, LOG_STREAM_MODAL_KEY as es, AI_CATEGORY_MEMORY as et, DATA_EDITING_DOCS_URL as f, mergeIssues as fa, PERSONALIZED_TEMPLATES_V3 as fc, INodesSchema as fi, HTML_NODE_TYPE as fn, SERP_API_TOOL_NODE_TYPE as fo, TIME_SAVED_NODE_TYPE as fr, WHATS_NEW_MODAL_KEY as fs, AI_SUBCATEGORY as ft, EVALUATIONS_DOCS_URL as g, isINodePropertyCollection as ga, TEMPLATE_ONBOARDING_EXPERIMENT as gc, extractReferencesInNodeExpressions as gi, INTERVAL_NODE_TYPE as gn, require_isEqual as go, WIKIPEDIA_TOOL_NODE_TYPE as gr, WORKFLOW_DIFF_MODAL_KEY as gs, CORE_NODES_CATEGORY as gt, ERROR_WORKFLOW_DOCS_URL as h, isINodePropertiesList as ha, TEMPLATES_DATA_QUALITY_EXPERIMENT as hc, parseErrorMetadata as hi, IF_NODE_TYPE as hn, WEBHOOK_NODE_TYPE$1 as ho, WEBHOOK_NODE_TYPE as hr, WORKFLOW_DESCRIPTION_MODAL_KEY as hs, BETA_NODES as ht, DEFAULT_WORKFLOW_PAGE_SIZE as i, getSubworkflowId as ia, AI_BUILDER_MULTI_AGENT_EXPERIMENT as ic, require_pick as ii, EXECUTE_WORKFLOW_NODE_TYPE as in, FROM_AI_AUTO_GENERATED_MARKER as io, SPLIT_IN_BATCHES_NODE_TYPE as ir, MODAL_CONFIRM as is, AI_CATEGORY_ROOT_NODES as it, VALID_WORKFLOW_IMPORT_URL_REGEX as j, randomString as ja, CURL_IMPORT_NOT_SUPPORTED_PROTOCOLS as jc, require__baseFindIndex as ji, NODES_USING_CODE_NODE_EDITOR as jn, PROJECT_CHAT_USER_ROLE_SLUG as jo, DATA_TABLE_ROW_HEIGHT as jr, LOCAL_STORAGE_FOCUS_PANEL as js, AGGREGATE_NODE_TYPE as jt, ALLOWED_HTML_TAGS as k, jsonStringify as ka, TIME as kc, require__arrayIncludesWith as ki, MICROSOFT_TEAMS_NODE_TYPE as kn, getResourcePermissions as ko, DATA_TABLE_HEADER_HEIGHT as kr, LOCAL_STORAGE_EXPERIMENTAL_DISMISSED_SUGGESTED_WORKFLOWS as ks, TRIGGER_NODE_CREATOR_VIEW as kt, BUILTIN_NODES_DOCS_URL as l, isSubNodeType as la, EXPERIMENTS_TO_TRACK as lc, NATIVE_METHODS as li, FORM_TRIGGER_NODE_TYPE as ln, OPEN_AI_API_CREDENTIAL_TYPE as lo, SWITCH_NODE_TYPE as lr, SETUP_CREDENTIALS_MODAL_KEY as ls, AI_EVALUATION as lt, DOCS_DOMAIN as m, isINodeProperties as ma, TAMPER_PROOF_INVITE_LINKS as mc, Workflow as mi, HUBSPOT_TRIGGER_NODE_TYPE as mn, WAIT_INDEFINITELY as mo, WAIT_NODE_TYPE as mr, WORKFLOW_ACTIVE_MODAL_KEY as ms, AI_WORKFLOW_TOOL_LANGCHAIN_NODE_TYPE as mt, DEFAULT_NEW_WORKFLOW_NAME as n, getParameterIssues as na, TelemetryContextSymbol as nc, NodeDiffStatus as ni, EXECUTABLE_TRIGGER_NODE_TYPES as nn, EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE$1 as no, SIMULATE_TRIGGER_NODE_TYPE as nr, MODAL_CANCEL as ns, AI_CATEGORY_OUTPUTPARSER as nt, MAX_WORKFLOW_NAME_LENGTH as o, isDefaultNodeName as oa, BATCH_11AUG_EXPERIMENT as oc, require__basePickBy as oi, EXTRACT_FROM_FILE_NODE_TYPE as on, HTTP_REQUEST_NODE_TYPE$1 as oo, SPREADSHEET_FILE_NODE_TYPE as or, NODE_PINNING_MODAL_KEY as os, AI_CATEGORY_TOOLS as ot, DATA_PINNING_DOCS_URL as p, mergeNodeProperties as pa, READY_TO_RUN_V2_P3_EXPERIMENT as pc, IconOrEmojiSchema as pi, HTTP_REQUEST_NODE_TYPE as pn, TRIMMED_TASK_DATA_CONNECTIONS_KEY as po, UPDATE_WEBHOOK_ID_NODE_TYPES as pr, WORKFLOW_ACTIVATION_CONFLICTING_WEBHOOK_MODAL_KEY as ps, AI_UNCATEGORIZED_CATEGORY as pt, RUN_DATA_DEFAULT_PAGE_SIZE as q, AGENT_LANGCHAIN_NODE_TYPE as qa, generateNodesGraph as qi, REMOVE_DUPLICATES_NODE_TYPE as qn, EXPERIMENT_TEMPLATES_DATA_QUALITY_KEY as qo, createHeartbeatMessage as qr, MAX_DISPLAY_DATA_SIZE_SCHEMA_VIEW as qs, DATA_TABLE_NODES as qt, DEFAULT_NODETYPE_VERSION as r, getParameterValueByPath as ra, WorkflowStateKey as rc, compareWorkflowsNodes as ri, EXECUTE_COMMAND_NODE_TYPE as rn, FORM_TRIGGER_NODE_TYPE$1 as ro, SLACK_NODE_TYPE as rr, MODAL_CLOSE as rs, AI_CATEGORY_RETRIEVERS as rt, BASE_NODE_SURVEY_URL as s, isExecutable as sa, CANVAS_ZOOMED_VIEW_EXPERIMENT as sc, require__baseSet as si, FILTER_NODE_TYPE as sn, JINA_AI_TOOL_NODE_TYPE as so, STICKY_NODE_TYPE as sr, NPS_SURVEY_MODAL_KEY as ss, AI_CATEGORY_VECTOR_STORES as st, AutoSaveState as t, getNodeWebhookUrl as ta, PopOutWindowKey as tc, USERS_LIST_SORT_OPTIONS as ti, ERROR_TRIGGER_NODE_TYPE as tn, EVALUATION_TRIGGER_NODE_TYPE as to, SIMULATE_NODE_TYPE as tr, MFA_SETUP_MODAL_KEY as ts, AI_CATEGORY_OTHER_TOOLS as tt, CREATOR_HUB_URL as u, isTriggerNode as ua, EXTRA_TEMPLATE_LINKS_EXPERIMENT as uc, buildAdjacencyList as ui, GITHUB_TRIGGER_NODE_TYPE as un, PROJECT_ROOT as uo, TELEGRAM_NODE_TYPE as ur, STOP_MANY_EXECUTIONS_MODAL_KEY as us, AI_NODE_CREATOR_VIEW as ut, N8N_MAIN_GITHUB_REPO_URL as v, isINodePropertyOptionsList as va, TEMPLATE_SETUP_EXPERIENCE as vc, require__baseForOwn as vi, JIRA_NODE_TYPE as vn, require_keys as vo, WORKABLE_TRIGGER_NODE_TYPE as vr, WORKFLOW_HISTORY_PUBLISH_MODAL_KEY as vs, FLOWS_CONTROL_SUBCATEGORY as vt, TIME_SAVED_DOCS_URL as w, dedupe as wa, LOADING_ANIMATION_MIN_DURATION as wc, createResultError as wi, MANUAL_TRIGGER_NODE_TYPE as wn, WORKFLOW_VERSION_NAME_MAX_LENGTH as wo, ADD_DATA_TABLE_MODAL_KEY as wr, LOCAL_STORAGE_ACTIVATION_FLAG as ws, RECOMMENDED_NODES as wt, RELEASE_NOTES_URL as x, executeFilterCondition as xa, CANVAS_EXECUTION_DATA_THROTTLE_DURATION as xc, extractFromAICalls as xi, LIMIT_NODE_TYPE as xn, require__SetCache as xo, XML_NODE_TYPE as xr, WORKFLOW_PUBLISH_MODAL_KEY as xs, HUMAN_IN_THE_LOOP_CATEGORY as xt, N8N_PRICING_PAGE_URL as y, isResourceLocatorValue as ya, UPGRADE_PLAN_CTA_EXPERIMENT as yc, require_cloneDeep as yi, JIRA_TRIGGER_NODE_TYPE as yn, require__baseKeys as yo, WORKFLOW_TRIGGER_NODE_TYPE as yr, WORKFLOW_HISTORY_VERSION_RESTORE as ys, HELPERS_SUBCATEGORY as yt, nonExistingJsonPath as z, require_set_function_length as za, AI_NODES_PACKAGE_NAME as zc, messageEventBusDestinationTypeNames as zi, OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE as zn, VIEWS as zo, MAX_COLUMN_NAME_LENGTH as zr, LOCAL_STORAGE_PIN_DATA_DISCOVERY_NDV_FLAG as zs, CLEARBIT_NODE_TYPE as zt };
|