@digitalsee-ai/rcs 2.0.4-beta → 2.0.4-beta2

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.
@@ -6652,7 +6652,7 @@ const e8 = ({ icon: t, label: e }) => /* @__PURE__ */ m(fT, { offset: [-22, 2],
6652
6652
  maxConnections: 10
6653
6653
  }
6654
6654
  ], h8 = [{ name: Ze.INPUT, position: "left" }], f8 = [
6655
- { name: Ze.OUTPUT, position: "right" },
6655
+ { name: Ze.OUTPUT, position: "right", maxConnections: 1 },
6656
6656
  {
6657
6657
  name: Ze.AI_MODEL,
6658
6658
  position: "bottom",
@@ -9134,7 +9134,7 @@ const _d = {
9134
9134
  ] }, c))
9135
9135
  }
9136
9136
  ) });
9137
- }, jV = XQ(() => import("./index-DpXmOZ5U.mjs")), ON = (t) => {
9137
+ }, jV = XQ(() => import("./index-DGF02URJ.mjs")), ON = (t) => {
9138
9138
  const e = Oi({
9139
9139
  editorVisible: !1
9140
9140
  }), n = () => {
@@ -72171,4 +72171,4 @@ export {
72171
72171
  Xv as y,
72172
72172
  WOe as z
72173
72173
  };
72174
- //# sourceMappingURL=index-B9JVnuFQ.mjs.map
72174
+ //# sourceMappingURL=index-D47boYqG.mjs.map
@@ -1,5 +1,5 @@
1
1
  import { jsx as t, jsxs as _ } from "react/jsx-runtime";
2
- import { D as L, V as T, e as E, i as P, t as l, f as R, d as O } from "./index-B9JVnuFQ.mjs";
2
+ import { D as L, V as T, e as E, i as P, t as l, f as R, d as O } from "./index-D47boYqG.mjs";
3
3
  import { useEventEmitter as B, useReactive as A, useSize as W } from "ahooks";
4
4
  import { FormattedMessage as b } from "react-intl";
5
5
  import { CloseCircleFilled as H, CheckCircleFilled as G } from "@ant-design/icons";
@@ -285,4 +285,4 @@ function $e(e) {
285
285
  export {
286
286
  $e as default
287
287
  };
288
- //# sourceMappingURL=index-DpXmOZ5U.mjs.map
288
+ //# sourceMappingURL=index-DGF02URJ.mjs.map
package/dist/rcs.css CHANGED
@@ -1 +1 @@
1
- /*! tailwindcss v4.1.10 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-ease:initial;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1)}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.\[build\:lib\]{build:lib}.\[check\:all\]{check:all}.\[workflow\:account-debug\]{workflow:account-debug}.\[workflow\:auto-connect\]{workflow:auto-connect}.\[workflow\:connectable\]{workflow:connectable}.\[workflow\:node-add\]{workflow:node-add}.\[workflow\:node-types\]{workflow:node-types}.\[workflow\:online-validation\]{workflow:online-validation}.\[workflow\:schema-render\]{workflow:schema-render}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.running{animation-play-state:running}.zoom-out{--tw-exit-scale:0}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}:root{--background:oklch(100% 0 0);--foreground:oklch(14.5% 0 0);--card:oklch(100% 0 0);--card-foreground:oklch(14.5% 0 0);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.5% 0 0);--primary:oklch(20.5% 0 0);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(97% 0 0);--secondary-foreground:oklch(20.5% 0 0);--muted:oklch(97% 0 0);--muted-foreground:oklch(55.6% 0 0);--accent:oklch(97% 0 0);--accent-foreground:oklch(20.5% 0 0);--destructive:oklch(57.7% .245 27.325);--destructive-foreground:210 40% 98%;--border:oklch(92.2% 0 0);--input:oklch(92.2% 0 0);--ring:oklch(70.8% 0 0);--radius:.625rem;--chart-1:oklch(64.6% .222 41.116);--chart-2:oklch(60% .118 184.704);--chart-3:oklch(39.8% .07 227.392);--chart-4:oklch(82.8% .189 84.429);--chart-5:oklch(76.9% .188 70.08);--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.5% 0 0);--sidebar-primary:oklch(20.5% 0 0);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(97% 0 0);--sidebar-accent-foreground:oklch(20.5% 0 0);--sidebar-border:oklch(92.2% 0 0);--sidebar-ring:oklch(70.8% 0 0)}.dark{--background:oklch(14.5% 0 0);--foreground:oklch(98.5% 0 0);--card:oklch(20.5% 0 0);--card-foreground:oklch(98.5% 0 0);--popover:oklch(20.5% 0 0);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(92.2% 0 0);--primary-foreground:oklch(20.5% 0 0);--secondary:oklch(26.9% 0 0);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(26.9% 0 0);--muted-foreground:oklch(70.8% 0 0);--accent:oklch(26.9% 0 0);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(70.4% .191 22.216);--destructive-foreground:210 40% 98%;--border:oklch(100% 0 0/.1);--input:oklch(100% 0 0/.15);--ring:oklch(55.6% 0 0);--chart-1:oklch(48.8% .243 264.376);--chart-2:oklch(69.6% .17 162.48);--chart-3:oklch(76.9% .188 70.08);--chart-4:oklch(62.7% .265 303.9);--chart-5:oklch(64.5% .246 16.439);--sidebar:oklch(20.5% 0 0);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(48.8% .243 264.376);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(26.9% 0 0);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(100% 0 0/.1);--sidebar-ring:oklch(55.6% 0 0)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0))}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}.workflow-edge{stroke-width:1px;fill:none;transition:stroke-width .2s ease,stroke .2s ease}.workflow-edge-label{pointer-events:all;-webkit-user-select:none;user-select:none}.workflow-edge-label.nodrag{pointer-events:none}.workflow-edge-path{stroke:#7e8186;stroke-width:1;fill:none;transition:stroke .2s ease,stroke-width .2s ease}.workflow-edge.selected .workflow-edge-path{stroke:#1890ff}.workflow-edge:hover .workflow-edge-path,.workflow-edge.edge-hovered .workflow-edge-path{stroke:#fa8c16}.workflow-edge:hover .workflow-edge-buttons,.workflow-edge.edge-hovered .workflow-edge-buttons{opacity:1!important;visibility:visible!important}.workflow-edge:hover marker,.workflow-edge.edge-hovered marker{fill:#fa8c16!important}.workflow-edge.workflow-edge-animated{animation:edge-flow 1s infinite}.workflow-edge.workflow-loop-edge{animation:loop-flow 3s infinite linear;stroke-dasharray:5,5;stroke-linecap:round;filter:drop-shadow(0 0 2px rgba(24,144,255,.3));stroke:#1890ff!important}.workflow-edge.workflow-loop-edge.workflow-main-edge{stroke:#1890ff!important}.workflow-edge.workflow-main-edge{stroke:#aab2c2!important}.react-flow__edge{opacity:1!important;pointer-events:all!important}.react-flow__edge:hover .react-flow__edge-path{stroke:#fa8c16!important}.react-flow__edge:hover marker{fill:#fa8c16!important}.react-flow__edge:hover #workflow-arrow,.react-flow__edge:hover #workflow-ai-arrow{fill:#fa8c16!important}.react-flow__edge-path{stroke:#7e8186!important;stroke-width:1px!important;opacity:1!important;fill:none!important;transition:stroke .2s ease!important}.workflow-node-handle{width:8px;height:8px;background:#fff;border:2px solid #1890ff;border-radius:50%}.workflow-node-handle:hover{background:#1890ff}.workflow-edge-label{transition:all .3s}.workflow-edge-label:hover{transform:scale(1.05)!important}.react-flow__edge marker{fill:currentColor;transition:fill .2s ease}marker path{fill:inherit;stroke:none}.workflow-main-edge .react-flow__edge-path{stroke:#7e8186!important}.workflow-main-edge marker{fill:#7e8186!important}.workflow-ai-edge .react-flow__edge-path{stroke:green!important}.workflow-ai-edge marker{fill:green!important}.react-flow__edge:hover .react-flow__edge-path,.workflow-edge.edge-hovered .react-flow__edge-path{stroke:#fa8c16!important}.react-flow__edge:hover marker,.workflow-edge.edge-hovered marker{fill:#fa8c16!important}.react-flow__edge.selected .react-flow__edge-path{stroke:#1890ff!important;stroke-width:3px!important}.react-flow__edge.selected marker{fill:#1890ff!important}#workflow-arrow{fill:#7e8186;transition:fill .2s ease}#workflow-ai-arrow{fill:green;transition:fill .2s ease}.workflow-edge-buttons{display:flex;visibility:visible;transition:opacity .3s ease;background:#fff;box-shadow:0 2px 4px #0000001a;border-radius:4px;padding:3px;pointer-events:all!important;z-index:1000;gap:4px}.workflow-edge-button{width:28px;height:28px;padding:0;border:none;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;background-color:#fff;color:#666;transition:all .2s ease}.workflow-edge-button:hover{background-color:#fa8c16;color:#fff}.workflow-edge-button:active{background:#e6f7ff;transform:scale(.95)}@keyframes edge-flow{0%{stroke-dashoffset:0}to{stroke-dashoffset:20}}@keyframes loop-flow{0%{stroke-dashoffset:20}to{stroke-dashoffset:0}}.react-flow__renderer,.react-flow__edges{z-index:0}.react-flow__edge-interaction,.react-flow__edge-text{opacity:1!important}.react-flow__edge-path,.react-flow__connection-path{fill:transparent!important;pointer-events:stroke}.react-flow{--edge-marker-size: 12px !important;--edge-stroke-width: 1px !important}.handle-container{position:relative}.handle-container:before{content:"";position:absolute;top:-10px;right:-10px;bottom:-10px;left:-10px;z-index:0}.workflow-handle{position:absolute;width:11px!important;height:11px!important;overflow:visible!important;background-color:transparent;cursor:crosshair;transition:transform .2s ease,opacity .2s ease,color .2s ease;z-index:1;color:#007fffe0;border:1px solid #94a3b8}.workflow-handle.workflow-handle-full{cursor:not-allowed;opacity:.7}.workflow-handle.workflow-handle-success{color:#00b042}.workflow-handle.workflow-handle-running{color:#007fff}.workflow-handle.workflow-handle-failed{color:#ff5219}.workflow-handle.workflow-handle-invalid{color:#ff9200}.workflow-handle-label{font-size:12px;white-space:nowrap;pointer-events:none}.workflow-handle-extender-container{pointer-events:none}.workflow-handle-extender{pointer-events:none;background-color:#007fff7a}.node-label-toolbar{background:transparent!important;border:none!important;box-shadow:none!important}.workflow-handle-add-btn{cursor:pointer;background-color:#fff;border:1px solid #d9d9d9;border-radius:50%;width:16px;height:16px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #0000001a;transition:all .2s}.workflow-handle-add-btn:hover{background-color:#e6f7ff;border-color:#1890ff}.workflow-handle-connection-count{font-size:10px}.workflow-node-input-handle.workflow-handle-main{border-color:#007fff}.workflow-node-input-handle.workflow-handle-main:hover{box-shadow:0 0 0 3px #007fff33}.workflow-node-output-handle.workflow-handle-main{border-color:#007fff}.workflow-node-output-handle.workflow-handle-main:hover{box-shadow:0 0 0 3px #007fff33}.custom-handle-container{width:0;height:0}.workflow-handle{z-index:10;border-radius:100%}.workflow-handle-shape-square{width:11px;height:11px;background-color:currentColor;border-radius:2px}.workflow-handle-shape-circle{width:11px;height:11px;border-radius:50%;background-color:currentColor}.workflow-handle-shape-rhombus{width:11px;height:11px;background-color:#fff!important;border-color:#94a3b8!important}.workflow-handle-shape-rhombus:before{content:"";position:absolute;top:20%;left:20%;width:60%;height:60%;background-color:currentColor}.workflow-handle-label{z-index:10;font-size:12px;color:#171a1d;white-space:nowrap;line-height:1;background-color:#fffc}.node-label-toolbar{pointer-events:none;z-index:4}.node-toolbar-extender{pointer-events:all;z-index:5}.workflow-handle-extender-container{pointer-events:all}.workflow-handle-extender{width:100%;height:100%;position:relative;z-index:-1;background-color:#007fff7a;transition:background-color .2s ease}.workflow-handle-extender:hover{background-color:#007fff!important}.workflow-target-handle.workflow-handle-main{border-color:#007fff}.workflow-target-handle.workflow-handle-main:hover{box-shadow:0 0 0 3px #722ed133}.workflow-handle-square{width:12px;height:12px}.custom-handle-wrapper{position:absolute;display:flex;align-items:center}.custom-handle-wrapper.source-handle{flex-direction:row}.custom-handle-wrapper.source-handle .handle-label{margin-right:6px}.custom-handle-wrapper.source-handle .short-edge{display:flex;width:20px;height:1px;background-color:#ddd;position:relative}.custom-handle-wrapper.source-handle .short-edge .plus-icon-wrapper{position:absolute;right:-10px;top:-10px;display:flex;justify-content:center;align-items:center;width:20px;height:20px;background-color:#fff;border:1px solid #ddd;border-radius:10px;cursor:pointer}.custom-handle-wrapper.source-handle .short-edge .plus-icon-wrapper .plus-icon{font-size:12px;color:#999}.custom-handle-wrapper.target-handle{flex-direction:row-reverse}.custom-handle-wrapper.target-handle .handle-label{margin-left:6px}.custom-handle-wrapper.main .workflow-handle{background-color:#1677ff}.workflow-node .custom-handle-wrapper.target-handle.main{left:-30px}.workflow-node .custom-handle-wrapper.source-handle.main{right:-10px}.workflow-node-description-container{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center}.workflow-node-title-row{display:flex;align-items:center;gap:4px;font-family:PingFang SC,PingFang SC Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:15px;color:#171a1d;font-weight:400;line-height:20px;margin:0}.workflow-node-title-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.workflow-node-status-slot{display:inline-flex;flex:none}.workflow-node-status-badge{display:inline-flex;height:20px;flex:none;align-items:center;gap:4px;padding:0 6px;border:1px solid #dfe4ec;border-radius:6px;background:#f8fafc;color:#64748b;font-size:10px;font-weight:600;line-height:18px;white-space:nowrap;z-index:2;box-sizing:border-box}.workflow-node-status-badge .workflow-node-status-symbol{display:inline-flex;align-items:center;font-size:10px}.workflow-node-status-badge.is-running{border-color:#bae6fd;background:#f0f9ff;color:#0369a1}.workflow-node-status-badge.is-success,.workflow-node-status-badge.is-runnable{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}@media(prefers-reduced-motion:reduce){.workflow-node-status-badge .anticon-spin{animation:none!important}}.workflow-node-description-wrapper{margin-top:4px;min-height:20px}.workflow-node-description-wrapper *{transition:none}.workflow-node-description{font-size:15px;line-height:20px;color:#171a1d66;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;padding:0!important}.workflow-node-description-placeholder{color:#171a1d4d}.workflow-node-note-display{display:flex;align-items:center;gap:6px;cursor:default;border-radius:4px;transition:background-color .2s ease;padding:0;width:100%;position:relative}.workflow-node-note-display .ant-typography{margin:0}.workflow-node-note-display.is-editable{cursor:pointer;padding:0 8px 0 0}.workflow-node-note-display.is-editable:hover{background-color:#007fff14}.workflow-node-edit-icon{margin-left:6px;opacity:0;transition:opacity .2s ease;font-size:12px;color:#171a1d66}.workflow-node-note-display.is-editable:hover .workflow-node-edit-icon{opacity:1}.workflow-node-note-editor .ant-input{font-size:15px;line-height:20px;border-radius:4px;font-family:PingFang SC,PingFang SC Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.workflow-node-note-editor .ant-input:focus{box-shadow:0 0 0 2px #007fff29}.node-operations{display:flex;align-items:center;border-radius:4px;justify-content:flex-end;position:relative}.node-operations .operation-button{display:flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border-radius:4px;transition:all .3s}.node-operations .operation-button:hover{background-color:#0000000d}.node-operations .operation-button.testing{color:#1890ff}.node-operations .operation-button.success{color:#52c41a}.node-operations .operation-button.error{color:#f5222d}.node-operations .operation-button.disabled{color:#d9d9d9}.node-operations .operation-button.disabled:hover{color:#1890ff}.node-operations .operation-button.delete-button:hover{color:#f5222d;background-color:#f5222d1a}.node-operations-center{justify-content:center;z-index:1000}.node-operations-right{padding-right:20px}.ant-form-item .ant-form-item-label>label.ant-form-item-required:before{display:none}.ant-form-item .ant-form-item-label>label.ant-form-item-required:after{display:inline-block;margin-inline-start:4px;color:#dc2626;font-size:14px;font-family:SimSun,sans-serif;line-height:1;content:"*";visibility:visible}.common-icon{font-size:16px;display:inline-flex;width:38px;height:38px;border-radius:10px;color:#94a3b8;background:#fff;align-items:center;justify-content:center}.common-icon:after{content:"↗"}._accountModal_b0w5m_1 .ant-modal-content{display:flex;flex-direction:column;max-height:calc(100vh - 88px);overflow:hidden;border-radius:10px;box-shadow:0 12px 32px #0000002e}._accountModal_b0w5m_1 .ant-modal-header{flex:0 0 auto}._accountModal_b0w5m_1 .ant-modal-body{flex:1 1 auto;min-height:0;overflow:hidden}._formLayout_b0w5m_17{display:flex;flex-direction:column;max-height:calc(100vh - 168px);min-height:0}._formContent_b0w5m_23{flex:0 1 auto;min-height:0;max-height:min(640px,calc(100vh - 288px));overflow-x:hidden;overflow-y:auto;padding-right:4px}._formActions_b0w5m_31{flex:0 0 auto;display:flex;justify-content:center;padding-top:16px;margin-top:16px;border-top:1px solid #f0f0f0;background:#fff}._rdbmsTestAction_b0w5m_40{flex:0 0 auto;padding-top:16px}.value-mode-wrapper{position:relative}.value-mode-switch{position:absolute;z-index:2}.value-mode-switch.top-right{top:-32px;right:0}.value-mode-switch.top-left{top:-32px;left:0}.value-mode-switch.bottom-right{bottom:-32px;right:0}.value-mode-switch.bottom-left{bottom:-32px;left:0}.value-mode-switch .ant-radio-button-wrapper{padding:0 8px;height:24px;line-height:22px;font-size:12px}.value-mode-switch .mode-label{margin-left:4px}.value-mode-switch .anticon{font-size:12px}.value-mode-content{width:100%}.code-mode-textarea{font-family:Monaco,Menlo,Ubuntu Mono,monospace!important;font-size:13px;line-height:1.5;background-color:#1e1e1e;color:#d4d4d4;border-color:#3c3c3c}.code-mode-textarea:hover{border-color:#007acc}.code-mode-textarea:focus{border-color:#007acc;box-shadow:0 0 0 2px #007acc33}.code-mode-textarea::placeholder{color:#6a9955}.value-mode-wrapper.compact .value-mode-switch{position:static;margin-bottom:8px}.value-mode-wrapper.compact .value-mode-switch.top-right,.value-mode-wrapper.compact .value-mode-switch.bottom-right{text-align:right}.ant-card-body>.value-mode-wrapper .value-mode-switch.top-right,.ant-card-body>.value-mode-wrapper .value-mode-switch.top-left{top:0}.ant-card-body>.value-mode-wrapper .value-mode-switch.bottom-right,.ant-card-body>.value-mode-wrapper .value-mode-switch.bottom-left{bottom:0}.ce-tag_input{background-color:#fff;padding:.2em;font-size:1em;font-weight:400;font-family:inherit;width:100%;box-sizing:border-box;overflow-y:scroll;outline-width:0;border-radius:8px}.ce-tag_input[contenteditable=false]{background-color:#eee}.ce-tag_input::-webkit-scrollbar{width:2px;height:2px}.ce-tag_input::-webkit-scrollbar-track{background:transparent}.ce-tag_input::-webkit-scrollbar-thumb{background:#1e8bc3}.ce-tag_input:focus{outline-color:#40a9ff}.ce-tag_input>p :nth-child(2).tag-wrapper{margin-left:-5px}.ce-tag_input>p>span:first-child:not(.tag-wrapper){padding-right:5px;padding-left:5px}.ce-tag_input .tag-wrapper{cursor:default;margin:0;display:inline-flex;align-items:center;transition:all .15s ease;vertical-align:middle;line-height:1;-webkit-user-select:none;user-select:none;padding:3px 6px;border-radius:5px;background:#eff3ff;color:var(--ai-flow-color-brand);font-size:11px;border:1px solid transparent}.ce-tag_input .tag-wrapper:hover{box-shadow:0 1px 2px #0000000f}.ce-tag_input .tag-wrapper.selected{border:1px solid var(--ai-flow-color-brand)}.ce-tag_input .tag-wrapper.focused{box-shadow:0 0 3px var(--ai-flow-color-brand)}.ce-tag_input>p{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:.2rem}.ce-tag_input>p>*{display:inline-flex}.ce-tag_input .tag-invalid{background-color:var(--ai-flow-color-danger);color:var(--ai-flow-color-surface)}.ce-tag_input .tag-icon{width:14px;height:14px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;font-size:12px;line-height:1}.ce-tag_input .default-icon{background:#e6f4ff;color:#1677ff;border-radius:3px;font-weight:600;font-size:10px;line-height:14px}.ce-tag_input .tag-wrapper>span{display:inline-flex;align-items:center;line-height:1}.ce-tag_input .tag-text{padding-left:0;cursor:default;display:inline-flex;align-items:center;line-height:1}.ce-tag_input .tag-text img{width:1.1em;border:none;height:1.1em;margin:0 2px 3px 0;vertical-align:middle}.ce-tag_input .tag-text-right-padding{padding-right:.4em}.ce-tag_input>p{margin:0;text-align:left;white-space:pre-wrap;line-height:1.8em}.ce-tag_input .tag-del{cursor:pointer;padding:0 3px;font-size:1em;background-color:transparent;border-radius:0%;color:#4a5568}.ce-tag_input .tag-del:hover{background-color:#c8d4e4;border:none}.ce-tag_input ::-moz-selection{background:#b3d7ff}.ce-tag_input ::selection{background:#b3d7ff}.variable-tag-tooltip .ant-tooltip-inner{padding:8px 10px;background:#000000d9!important;border-radius:4px;box-shadow:none}.variable-tag-tooltip .ant-tooltip-arrow-content{--antd-arrow-background-color: rgba(0, 0, 0, .85)}.tag-tooltip-content{color:#fff;font-size:12px;line-height:1.5}.tag-tooltip-header{margin-bottom:4px}.tag-tooltip-type{display:inline-block;padding:1px 6px;font-size:10px;font-weight:500;background:#ffffff26;color:#ffffffd9;border-radius:3px;margin-bottom:4px}.tag-tooltip-name{font-size:13px;font-weight:500;color:#fff;margin-bottom:4px}.tag-tooltip-path{font-family:Consolas,Monaco,monospace;font-size:11px;color:#ffffffbf;word-break:break-all}.tag-tooltip-value{margin-top:6px;padding-top:6px;border-top:1px solid rgba(255,255,255,.15)}.tag-tooltip-value-label{font-size:10px;color:#ffffffa6;margin-bottom:2px}.tag-tooltip-value-text{font-family:Consolas,Monaco,monospace;font-size:11px;color:#ffffffd9;word-break:break-all}.ai-field-wrapper{position:relative}.ai-field-wrapper.ai-mode .ai-field-display{display:flex;align-items:center;gap:8px}.ai-field-wrapper .ai-field-input{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:6px;color:#fff;cursor:not-allowed}.ai-field-wrapper .ai-field-input .ant-input{background:transparent;color:#fff;cursor:not-allowed}.ai-field-wrapper .ai-field-input .ant-input::placeholder{color:#fff9}.ai-field-wrapper .ai-field-input .ant-input-prefix{color:#fff}.ai-field-wrapper .ai-icon{animation:ai-pulse 2s ease-in-out infinite alternate}@keyframes ai-pulse{0%{opacity:.7;transform:scale(1)}to{opacity:1;transform:scale(1.1)}}.ai-field-wrapper .ai-field-close{color:#00000073}.ai-field-wrapper .ai-field-close:hover{color:#000000e0}.ai-field-wrapper.normal-mode{display:flex;flex-direction:column;gap:4px}.ai-field-wrapper.normal-mode .ai-field-content{flex:1}.ai-field-wrapper .ai-enable-button{align-self:flex-start;padding:0;height:auto;font-size:12px;color:#667eea}.ai-field-wrapper .ai-enable-button:hover{color:#764ba2}.ai-field-wrapper .ai-enable-button .anticon{margin-right:4px}._configFormContainer_s061b_1 .ant-select-selector{border-color:#d6dce3!important;border-radius:4px!important}._configFormContainer_s061b_1 .ant-input-group-addon{border-color:#d6dce3!important;border-top-left-radius:4px!important;border-bottom-left-radius:4px!important}._configFormContainer_s061b_1 .ant-input-group>.ant-input:last-child{border-color:#d6dce3!important;border-top-right-radius:4px!important;border-bottom-right-radius:4px!important}._configFormContainer_s061b_1::-webkit-scrollbar{width:2px;height:2px}._configFormContainer_s061b_1::-webkit-scrollbar-track{background:#eee;border:thin solid lightgray;box-shadow:2px 0 2px #f6f6f6 inset;-moz-box-shadow:2px 0px 2px #f6f6f6 inset;-webkit-box-shadow:2px 0px 2px #f6f6f6 inset;-o-box-shadow:2px 0px 2px #f6f6f6 inset}._configFormContainer_s061b_1::-webkit-scrollbar-thumb{background:#1e8bc3}._accountSelectContainer_4vdjt_1{width:100%;padding:16px 0}._accountSelectContainer_4vdjt_1 .ant-select-selection-item{padding:0 4px}._selectTitle_4vdjt_8{margin-bottom:12px!important;font-weight:500;font-size:14px;color:#000}._accountOption_4vdjt_14{display:flex;justify-content:space-between;align-items:center;width:100%;padding:0}._accountName_4vdjt_21{font-weight:400;max-width:40%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;display:flex;align-items:center}._accountName_4vdjt_21 span{margin-right:4px}._nameEditIcon_4vdjt_34{font-size:12px;color:#1890ff;margin-left:6px;cursor:pointer;opacity:.5}._nameEditIcon_4vdjt_34:hover{opacity:1}._editInputWrapper_4vdjt_44{z-index:1001;position:relative}._nameEditInput_4vdjt_48{width:120px;font-size:12px;z-index:1001}._accountActions_4vdjt_53{display:flex;align-items:center;gap:5px}._updateTime_4vdjt_58{font-size:12px}.workflow-account-select__popup ._ant-select-item-option-content_4vdjt_61{padding:2px 0}._configFormContainer_1frpl_1 .ant-select-selector{border-color:#d6dce3!important;border-radius:4px!important}._configFormContainer_1frpl_1 .ant-input-group-addon{border-color:#d6dce3!important;border-top-left-radius:4px!important;border-bottom-left-radius:4px!important}._configFormContainer_1frpl_1 .ant-input-group>.ant-input:last-child{border-color:#d6dce3!important;border-top-right-radius:4px!important;border-bottom-right-radius:4px!important}._configFormContainer_1frpl_1::-webkit-scrollbar{height:6px;width:6px}._configFormContainer_1frpl_1::-webkit-scrollbar-track{background-color:transparent;border-radius:3px}._configFormContainer_1frpl_1::-webkit-scrollbar-thumb{background-color:#dcdcdc;border-radius:6px}.node-test-container{padding:0}.node-test-container .node-test-header{height:60px;box-sizing:border-box;margin-bottom:0;border-bottom:1px solid #EFEFEF;padding:0 20px;display:flex}.node-test-container .node-test-header .header-title{display:flex;align-items:center;margin-bottom:8px}.node-test-container .node-test-header .header-title .title-icon{font-size:22px;margin-right:12px;color:#1890ff}.node-test-container .node-test-header .header-title h4{margin:0}.node-test-container .node-test-header .header-title .close-btn{display:inline-flex;position:absolute;right:20px;color:#94a3b8;border-color:transparent}.node-test-container .test-content{padding:16px}.node-test-container .test-content .test-disabled-alert{margin-bottom:16px;border-radius:8px}.node-test-container .test-content .action-buttons{display:flex;margin-bottom:10px}.node-test-container .test-content .action-buttons button{font-size:13px}.node-test-container .test-content .test-progress{margin-bottom:16px}.node-test-container .test-content .sample-helper-text{margin-top:-8px;margin-bottom:16px;color:#00000073;font-size:12px}.node-test-container .test-content .sample-panel{margin-top:16px;padding:16px;background:#fff;border:1px solid #f0f0f0;border-radius:6px}.node-test-container .test-content .sample-panel .sample-panel-header{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;margin:-16px -16px 12px;background:#ebf1fe;border-radius:5px 5px 0 0}.node-test-container .test-content .sample-panel .sample-panel-header .sample-panel-title{display:flex;align-items:center;gap:6px;font-weight:600;color:#3573ed}.node-test-container .test-content .sample-panel .sample-panel-header .ant-btn-link{font-weight:600;color:#3573ed}.node-test-container .test-content .sample-panel .sample-panel-header .ant-btn-link:hover,.node-test-container .test-content .sample-panel .sample-panel-header .ant-btn-link:focus{color:#3573ed}.node-test-container .test-content .sample-panel .sample-risk-alert{margin-bottom:12px}.node-test-container .test-content .sample-panel .sample-risk-alert .ant-alert-icon{font-size:14px;display:inline-flex;align-items:center;height:25px}.node-test-container .test-content .sample-panel .sample-risk-alert .ant-alert-message{color:#d89438}.node-test-container .test-content .sample-panel .sample-risk-alert .ant-alert-description{color:#b1832b}.node-test-container .test-content .sample-panel .sample-textarea{margin-bottom:8px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:13px}.node-test-container .test-content .sample-panel .sample-error{color:#ff4d4f;font-size:12px;margin-bottom:8px}.node-test-container .test-content .sample-panel .sample-actions{display:flex;justify-content:flex-end;gap:8px}.node-test-container .test-content .source-tag{margin-left:8px}.node-test-container .test-content .error-alert,.node-test-container .test-content .success-alert{margin-bottom:16px}.node-test-container .test-content .error-alert .ant-alert-icon,.node-test-container .test-content .success-alert .ant-alert-icon{font-size:14px;display:inline-flex;align-items:center;height:25px}.node-test-container .test-content .result-skeleton{margin-top:16px;padding:16px;background:#fff;border-radius:4px}.node-test-container .test-content .result-card{margin-top:0;border-radius:6px;box-shadow:0 1px 2px #00000008;transition:all .3s}.node-test-container .test-content .result-card:hover{box-shadow:0 3px 6px #0000001a}.node-test-container .test-content .result-card.success-result .ant-card-head{border-bottom:1px solid rgba(82,196,26,.2)}.node-test-container .test-content .result-card.success-result .ant-card-head .success-icon{color:#52c41a;margin-right:8px}.node-test-container .test-content .result-card.error-result .ant-card-head{border-bottom:1px solid rgba(255,77,79,.2)}.node-test-container .test-content .result-card.error-result .ant-card-head .error-icon{color:#ff4d4f;margin-right:8px}.node-test-container .test-content .result-card .ant-card-head{padding:0 12px;min-height:40px}.node-test-container .test-content .result-card .result-header{display:flex;justify-content:space-between;align-items:center}.node-test-container .test-content .result-card .result-header .result-title{display:flex;align-items:center;font-weight:500;font-size:13px}.node-test-container .test-content .result-card .result-header .edit-button{font-size:11px}.node-test-container .test-content .result-card .result-content{max-height:400px;overflow:auto;padding:8px;background-color:#f5f5f5;border-radius:4px}.node-test-container .test-content .result-card .result-content pre{margin:0;white-space:pre-wrap;word-wrap:break-word;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:13px;line-height:1.5;color:#333}.node-test-container .test-content .result-card .result-editor{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:13px}.node-test-container .test-content .result-card .result-raw{margin:0;padding:12px;overflow:auto;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:13px;line-height:1.5;color:#333;white-space:pre-wrap;word-break:break-all}.node-test-container .test-content .empty-result{text-align:center;padding:32px;border-radius:6px;background-color:#fafafa}.node-test-container .test-content .empty-result .ant-result-icon{color:#00000040}.node-test-container .test-content .empty-result .ant-result-title{color:#000000d9}.node-test-container .test-content .empty-result .ant-result-subtitle{color:#00000073}._container_xdcms_5{min-width:320px;background:#fff;border:1px solid #e8e8e8;border-radius:8px;box-shadow:0 4px 12px #00000014;max-height:calc(100vh - 120px);z-index:1;overflow:hidden;display:flex;flex-direction:column}._container_xdcms_5 .ant-tree ._ant-tree-node-content-wrapper_xdcms_17{padding-inline:0!important}._container_xdcms_5 .ant-tree ._ant-tree-indent-unit_xdcms_20,._container_xdcms_5 .ant-tree ._ant-tree-switcher_xdcms_23{width:16px}._container_xdcms_5 .ant-tree-node-content-wrapper:hover{background-color:transparent!important}._header_xdcms_29{display:flex;align-items:center;gap:6px;padding:10px 12px;border-bottom:1px solid #f0f0f0;flex-shrink:0}._headerIcon_xdcms_37{font-size:14px;color:#595959}._headerTitle_xdcms_41{font-size:13px;font-weight:400;line-height:1}._body_xdcms_46{flex:1;overflow-y:auto;padding:8px 0}._body_xdcms_46::-webkit-scrollbar{width:4px}._body_xdcms_46::-webkit-scrollbar-track{background:transparent}._body_xdcms_46::-webkit-scrollbar-thumb{background:#e0e0e0;border-radius:2px}._section_xdcms_61{padding:0 8px;margin-bottom:4px}._sectionLabel_xdcms_65{display:flex;align-items:center;gap:5px;padding:4px 4px 6px;font-size:11px;font-weight:600;color:#8c8c8c;letter-spacing:.5px;text-transform:uppercase}._sectionLabel_xdcms_65 span{padding-left:5px}._sectionIcon_xdcms_79{font-size:16px;color:#8c8c8c}._divider_xdcms_83{height:1px;background:#f0f0f0;margin:6px 0 10px}._typeTag_xdcms_88{flex-shrink:0;margin:0!important;padding:0 4px!important;font-size:10px!important;line-height:18px!important;border-radius:3px!important;border:none!important}._varItem_xdcms_97{display:flex;align-items:center;gap:6px;width:100%;padding:5px 4px;background:transparent;border:0;border-radius:5px;color:inherit;cursor:pointer;font:inherit;text-align:left;transition:background .15s ease}._varItem_xdcms_97:hover{background:#f5f7fa}._varName_xdcms_115{font-size:13px;font-weight:500;color:#262626;white-space:nowrap}._varValue_xdcms_121{font-size:11px;color:#8c8c8c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}._nodeTitle_xdcms_129{display:inline-flex;align-items:center;gap:5px}._nodeIcon_xdcms_134{font-size:13px;color:#1677ff;flex-shrink:0}._nodeLabelFirst_xdcms_139{font-size:13px;font-weight:600;color:#434343;white-space:nowrap}._nodeLabel_xdcms_139{font-size:13px;font-weight:500;color:#595959;white-space:nowrap}._leafTitle_xdcms_151{display:inline-flex;align-items:center;gap:6px}._leafLabel_xdcms_156{font-size:13px;font-weight:500;color:#262626;white-space:nowrap}._leafValue_xdcms_162{font-size:11px;color:#8c8c8c;white-space:nowrap;margin-left:4px;max-width:140px;display:inline-block;word-break:break-all;word-wrap:break-word}._empty_xdcms_172{color:#8c8c8c}._loadingState_xdcms_175{display:flex;min-height:120px;align-items:center;justify-content:center;gap:8px;color:#64748b;font-size:12px}._errorState_xdcms_184{margin:8px;border-radius:8px}._invalidVariable_xdcms_188{color:#ff4d4f!important;opacity:.6}._invalidVariable_xdcms_188 ._leafLabel_xdcms_156,._invalidVariable_xdcms_188 ._nodeLabel_xdcms_139,._invalidVariable_xdcms_188 ._nodeLabelFirst_xdcms_139{color:#ff4d4f!important}._nodeIconWrapper_xdcms_197{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;flex-shrink:0}._nodeIconWrapper_xdcms_197 img{width:16px;height:16px;object-fit:contain}._defaultNodeIcon_xdcms_210{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;font-size:10px;font-weight:600;color:#1677ff;background:#e6f4ff;border-radius:3px}.nodes-config-modal{position:relative}.nodes-config-modal .ant-modal-content{height:85vh;border-radius:16px;overflow:scroll;background-color:transparent}.nodes-config-modal .ant-modal-body{height:100%;overflow:hidden}.nodes-config-modal .cm-theme{position:relative;border-radius:8px;overflow:hidden}.nodes-config-container{display:flex;flex-direction:column;height:100%}.nodes-config-container .nodes-config-header{height:60px;background-color:#fff;border-bottom:1px solid #f0f0f0;display:flex;align-items:center;justify-content:space-between;padding:0 24px;box-shadow:0 2px 8px #0000000f;z-index:1000}.nodes-config-container .nodes-config-header .header-left{display:flex;align-items:center}.nodes-config-container .nodes-config-header .header-left .back-button{margin-right:16px;font-size:14px}.nodes-config-container .nodes-config-header .header-left .back-button:hover{color:#1890ff}.nodes-config-container .nodes-config-header .header-left .header-title{font-size:13px;font-weight:400;color:#262626}.nodes-config-container .nodes-config-header .header-right{display:flex;align-items:center}.nodes-config-container .nodes-config-content{flex:1;overflow:hidden;padding:16px;background-color:#f5f5f5}.nodes-config-container .nodes-config-content .config-container{height:100%;display:flex;flex-flow:column;box-sizing:border-box;background:#fff}.nodes-config-container .nodes-config-content .config-container .node-config-title,.nodes-config-container .nodes-config-content .config-container .ant-tabs-nav,.nodes-config-container .nodes-config-content .config-container .workflow-account-select{padding:0 20px;box-sizing:border-box}.nodes-config-container .nodes-config-content .config-container .workflow-action-node-config .workflow-node-form-shell .workflow-config-form .workflow-account-select{padding:0;margin-bottom:10px}.nodes-config-container .nodes-config-content .config-container .node-config-title{min-height:60px;display:flex;flex-flow:row;border-bottom:1px solid #e8ebf0}.nodes-config-container .nodes-config-content .config-container .node-config-title .node-config-icon{width:32px;height:32px;display:flex;align-items:center;margin-block:2.25px;border:1px solid rgba(45,91,255,.11);border-radius:8px;background:#2d5bff1c;overflow:hidden;background-position:center;background-size:100% auto;background-repeat:no-repeat}.nodes-config-container .nodes-config-content .config-container .node-config-title .node-config-meta{flex:1;display:flex;flex-flow:column}.nodes-config-container .nodes-config-content .config-container .ant-tabs-nav{margin-bottom:0}.nodes-config-container .nodes-config-content .config-container .workflow-node-form-footer{justify-content:flex-end}.nodes-config-container .nodes-config-content .config-row{height:100%;display:flex;flex-flow:row}.nodes-config-container .nodes-config-content .config-row .left-section{width:23%;min-width:200px}.nodes-config-container .nodes-config-content .config-row .middle-section{flex:1;min-width:250px}.nodes-config-container .nodes-config-content .config-row .right-section{width:27%;min-width:200px;background:#fff}.nodes-config-container .nodes-config-content .config-row .right-section.expand{position:absolute;right:0;width:70%;max-width:760px;box-shadow:0 0 10px #0000001a;z-index:99}.nodes-config-container .nodes-config-content .config-row .right-section .empty-result{padding:15px;min-height:270px;display:flex;justify-content:center;align-items:center;border-style:dashed}.nodes-config-container .nodes-config-content .config-row .right-section .empty-result .ant-card-body{padding:0}.nodes-config-container .nodes-config-content .config-row .right-section .empty-result .ant-result-icon>.anticon{font-size:32px}.nodes-config-container .nodes-config-content .config-row .left-section,.nodes-config-container .nodes-config-content .config-row .middle-section,.nodes-config-container .nodes-config-content .config-row .right-section{height:100%;overflow-x:hidden;overflow-y:auto}.nodes-config-container .nodes-config-content .config-row .left-section .section-card,.nodes-config-container .nodes-config-content .config-row .middle-section .section-card,.nodes-config-container .nodes-config-content .config-row .right-section .section-card{height:100%;box-shadow:0 1px 5px #0000001a}.nodes-config-container .nodes-config-content .config-row .left-section .section-card .ant-card-head,.nodes-config-container .nodes-config-content .config-row .middle-section .section-card .ant-card-head,.nodes-config-container .nodes-config-content .config-row .right-section .section-card .ant-card-head{border-bottom:1px solid #f0f0f0;padding:0 16px}.nodes-config-container .nodes-config-content .config-row .left-section .section-card .ant-card-head .ant-card-head-title,.nodes-config-container .nodes-config-content .config-row .middle-section .section-card .ant-card-head .ant-card-head-title,.nodes-config-container .nodes-config-content .config-row .right-section .section-card .ant-card-head .ant-card-head-title{font-size:15px;padding:12px 0}.nodes-config-container .nodes-config-content .config-row .left-section .section-card .ant-card-body,.nodes-config-container .nodes-config-content .config-row .middle-section .section-card .ant-card-body,.nodes-config-container .nodes-config-content .config-row .right-section .section-card .ant-card-body{padding:16px;overflow-y:auto;height:calc(100% - 57px)}.nodes-config-container .nodes-config-content .config-row .left-section.middle-section .form-card .form-content,.nodes-config-container .nodes-config-content .config-row .middle-section.middle-section .form-card .form-content,.nodes-config-container .nodes-config-content .config-row .right-section.middle-section .form-card .form-content{padding:8px 0}.nodes-config-container .nodes-config-content .config-row .left-section.middle-section .form-card .form-content h3,.nodes-config-container .nodes-config-content .config-row .middle-section.middle-section .form-card .form-content h3,.nodes-config-container .nodes-config-content .config-row .right-section.middle-section .form-card .form-content h3{font-size:16px;margin-bottom:16px;color:#262626}.nodes-config-container .nodes-config-content .config-row .left-section.middle-section .form-card .form-content .form-placeholder,.nodes-config-container .nodes-config-content .config-row .middle-section.middle-section .form-card .form-content .form-placeholder,.nodes-config-container .nodes-config-content .config-row .right-section.middle-section .form-card .form-content .form-placeholder{min-height:200px;background-color:#fafafa;padding:16px;border-radius:4px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#8c8c8c}.nodes-config-container .nodes-config-content .config-row .left-section.middle-section .form-card .form-content .form-placeholder.code-block,.nodes-config-container .nodes-config-content .config-row .middle-section.middle-section .form-card .form-content .form-placeholder.code-block,.nodes-config-container .nodes-config-content .config-row .right-section.middle-section .form-card .form-content .form-placeholder.code-block{background-color:#292d3e;color:#bfc7d5;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;overflow:auto}.nodes-config-container .nodes-config-content .config-row .left-section.middle-section .form-card .form-content .form-placeholder.code-block pre,.nodes-config-container .nodes-config-content .config-row .middle-section.middle-section .form-card .form-content .form-placeholder.code-block pre,.nodes-config-container .nodes-config-content .config-row .right-section.middle-section .form-card .form-content .form-placeholder.code-block pre{width:100%;margin:0}.workflow-node-form-shell{display:flex;height:100%;min-height:0;flex-direction:column}.workflow-node-form-shell .switch-rule .rule-opt-actions{margin-top:-15px;margin-bottom:10px}.workflow-node-form-shell .switch-rule .rule-opt-actions.last-and-rule{margin-top:0;margin-bottom:0}.workflow-node-form-shell .switch-rule .switch-rule-item{display:flex;flex-flow:row;position:relative}.workflow-node-form-shell .switch-rule .switch-rule-item>div{flex:1}.workflow-node-form-shell .switch-rule .switch-rule-item>div:last-child{position:absolute;right:0;top:0}.workflow-node-form-shell .web-hook-input .ce-tag_input>p>span{max-height:28px;line-height:28px;overflow:hidden}.workflow-node-form-shell .web-hook-input .ce-tag_input>p>span>span{padding-left:5px;display:inline;word-break:break-all}.workflow-node-form-shell .label-field.ce-tag_input>p>span{max-height:28px;line-height:28px;overflow:hidden}.workflow-node-form-shell .label-field.ce-tag_input>p>span>span{padding-left:5px;display:inline;word-break:break-all}.workflow-action-node-config{display:flex;height:100%;min-height:0;flex-direction:column}.workflow-action-node-config>.workflow-node-form-shell{min-height:0;flex:1}.workflow-node-form-scroll{min-width:0;min-height:0;flex:1;overflow-x:hidden;overflow-y:auto;background:var(--ai-flow-color-surface-muted);padding:20px}.workflow-node-form-scroll form button{font-size:12px}@media(min-width:992px){.workflow-node-form-scroll form .ant-row .ant-col-lg-12:last-child{padding-left:10px}.workflow-node-form-scroll form .ant-row .ant-col-lg-12:first-child{padding-right:10px}}.workflow-node-form-scroll .form-block{background:var(--ai-flow-color-surface);border:1px solid var(--ai-flow-color-border-soft);border-radius:8px;margin-bottom:20px}.workflow-node-form-scroll .form-block .form-item-row{display:flex}.workflow-node-form-scroll .form-block .form-item-row>div{flex:1}.workflow-node-form-scroll .form-block .opt{position:relative}.workflow-node-form-scroll .form-block .opt .ant-space-item:last-child{display:flex;width:auto;flex:unset;position:absolute;right:32px;margin-top:-60px}.workflow-node-form-footer{display:flex;flex:none;justify-content:center;padding:12px 18px;border-top:1px solid var(--ai-flow-color-border-soft);background:var(--ai-flow-color-surface)}.variables-section .variables-list .variable-item{display:flex;justify-content:space-between;padding:8px 12px;border-radius:4px;margin-bottom:8px;background-color:#f9f9f9;cursor:pointer}.variables-section .variables-list .variable-item:hover{background-color:#f0f7ff}.variables-section .variables-list .variable-item .variable-name{color:#595959;font-weight:500}.variables-section .variables-list .variable-item .variable-type{color:#8c8c8c;font-size:12px}.test-section .test-content{padding:16px}.test-section .test-content .test-input-section h4,.test-section .test-content .test-output-section h4{margin-bottom:12px;color:#262626}.test-section .test-content .test-input-section .code-editor-placeholder,.test-section .test-content .test-output-section .code-editor-placeholder{background-color:#f9f9f9;padding:12px;border-radius:4px;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;min-height:120px}.test-section .test-content .test-input-section .code-editor-placeholder pre,.test-section .test-content .test-output-section .code-editor-placeholder pre{margin:0}.test-section .test-content .test-input-section .code-editor-placeholder.result,.test-section .test-content .test-output-section .code-editor-placeholder.result{background-color:#f6ffed;border:1px solid #b7eb8f}.test-section .history-list .history-item{margin-bottom:12px;padding:12px;border-radius:4px;border-left:3px solid #52c41a;background-color:#f9f9f9}.test-section .history-list .history-item.success{border-left-color:#52c41a}.test-section .history-list .history-item.error{border-left-color:#f5222d}.test-section .history-list .history-item .history-time{color:#595959;font-weight:500;margin-bottom:4px}.test-section .history-list .history-item .history-status{display:inline-block;padding:2px 8px;margin-right:8px;border-radius:10px;font-size:12px}.success .test-section .history-list .history-item .history-status{background-color:#f6ffed;color:#52c41a}.error .test-section .history-list .history-item .history-status{background-color:#fff1f0;color:#f5222d}.test-section .history-list .history-item .history-duration{display:inline-block;color:#8c8c8c;font-size:12px}.test-section .history-list .history-item .history-error{margin-top:8px;color:#f5222d;font-size:12px;padding:8px;background-color:#fff1f0;border-radius:4px}.test-section .w-json-view-container,.test-section .cm-theme{border-radius:0 0 5px 5px}.workflow-variable-target--active .ce-tag_input,.workflow-variable-target--active.ant-input,.workflow-variable-target--active .ant-input,.workflow-variable-target--active .ant-input-affix-wrapper{border-color:var(--ai-flow-color-brand)!important;box-shadow:0 0 0 2px #2d5bff29!important;transition:box-shadow .15s ease}.workflow-variable-target--active .cm-editor{outline:1px solid var(--ai-flow-color-brand)!important;outline-offset:-1px;box-shadow:0 0 0 3px #2d5bff29!important;transition:box-shadow .15s ease}.start-node{color:inherit;font:inherit;text-align:left;display:flex;align-items:baseline;flex-flow:column;border:1px solid rgba(0,127,255,.48);min-width:222px;border-left-width:20px;border-radius:6px;padding:10px;cursor:pointer;background-color:#fff;transition:all .3s ease}.start-node:hover{border-color:#007fff}.start-node:focus-visible{outline:2px solid #007fff;outline-offset:3px}.start-node-icon{min-width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0 6px;border-radius:9px;background:#4755691a;color:#475569;font-family:JetBrains Mono,monospace;font-size:8px;font-weight:700;box-sizing:border-box}.start-node-text .start-node-text-title{font-size:12px;color:#000}.start-node-text .start-node-text-desc{font-size:12px;color:#999;margin-bottom:0}.workflow-trigger-node .workflow-node,.workflow-action-node .workflow-node,.workflow-config-node .workflow-node{min-height:76px}.workflow-aisub-node .workflow-node,.workflow-mcp-tool-node .workflow-node{border-radius:6px;min-width:222px;min-height:76px;padding:16px 32px 16px 36px}.workflow-mcp-tool-node .workflow-node:after{content:"MCP Tool";font-size:12px;width:70px;margin:0 auto;color:#fff;text-align:center;border-radius:0 0 4px 4px;background-color:#f18306;position:absolute;top:0;left:calc(50% - 35px)}.workflow-sticky-note{background-color:#fff9c4;border-radius:4px;padding:16px;box-shadow:0 2px 4px #0000001a;border:1px solid #e6db55}.workflow-sticky-note.selected{box-shadow:0 0 0 2px #007fff}.workflow-sticky-note .workflow-sticky-content{width:100%;height:100%;min-height:140px;font-size:14px;white-space:pre-wrap;word-break:break-word;overflow:scroll}.workflow-node{border-radius:6px;box-shadow:0 1px 4px #00000029;min-width:222px;width:222px;min-height:76px;height:100%;padding:16px 32px 16px 36px;background-color:#fff;display:flex;align-items:center;position:relative;gap:16px;color:#171a1d;font-family:PingFang SC,PingFang SC Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;transition:box-shadow .2s ease,border-color .2s ease;border:1px solid transparent}.workflow-node:before{content:"";position:absolute;top:-1px;left:-1px;bottom:-1px;width:24px;z-index:1;background-color:var(--status-color-tint, rgba(0, 127, 255, .48));border-top-left-radius:6px;border-bottom-left-radius:6px}.workflow-node:hover,.workflow-node.workflow-node-selected{box-shadow:0 0 0 1px #007fff;border-color:#007fff29}.workflow-node.dragging{box-shadow:5px 5px 15px #0003;opacity:.85}.workflow-node.workflow-node-deactivated{opacity:.6;background-color:#f5f6f7;border-color:#d8dadd}.workflow-node.workflow-node-deactivated .workflow-node-deactivated-line{position:absolute;top:50%;left:0;right:0;height:2px;background-color:#d8dadd;z-index:1}.workflow-node.workflow-node-warning{border-color:#ff92007a}.workflow-node.workflow-node-success{border-color:#00b0427a}.workflow-node.workflow-node-failed{border-color:#ff52197a}.workflow-node.workflow-node-running{border-color:#007fff7a}.workflow-node .workflow-node-status-icon{width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;margin-left:4px;z-index:2}.workflow-node .workflow-node-content{display:flex;align-items:center;gap:16px;width:100%;min-width:0}.workflow-node .workflow-node-icon-wrapper{width:34px;height:34px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.workflow-node .workflow-node-icon{font-size:24px;color:var(--status-color, #007fff);display:flex;align-items:center;justify-content:center;width:30px;height:30px;background-repeat:no-repeat;background-size:contain}.workflow-node .workflow-node-icon img{font-size:12px;width:24px;height:24px;object-fit:contain}.workflow-node .workflow-node-text{flex:1;min-width:200px;display:flex;flex-direction:column;justify-content:center}.condition-node-edit-form{min-width:300px}.condition-node-edit-form .branches-header{margin-bottom:8px}.condition-node-edit-form .branch-item{display:flex;margin-bottom:8px;align-items:center}.condition-node-edit-form .edit-actions{display:flex;justify-content:flex-end;gap:8px}.workflow-node-toolbar{position:absolute;top:-20px;right:0;width:100%;text-align:right}.agent-node .workflow-node{min-height:76px;align-items:center}.custom-node{background-color:#fff;border-radius:8px;box-shadow:0 2px 5px #0000001a;padding:12px;width:180px;font-family:PingFang SC,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;transition:all .2s ease}.custom-node .node-content{display:flex;flex-direction:column}.custom-node .node-content .node-title{font-weight:500;font-size:14px;margin-bottom:4px;color:#333}.custom-node .node-content .node-description{font-size:12px;color:#666;margin-bottom:8px}.custom-node .node-content .hover-indicator{margin-top:8px;display:flex;justify-content:flex-end}.custom-node .node-content .hover-indicator .hover-badge{background-color:#007fff14;color:#007fff;font-size:11px;padding:2px 6px;border-radius:10px;border:1px solid rgba(0,127,255,.24);animation:pulse 1.5s infinite}@keyframes pulse{0%{box-shadow:0 0 #007fff66}70%{box-shadow:0 0 0 6px #007fff00}to{box-shadow:0 0 #007fff00}}.workflow-container-warning:before{background-color:#ff92007a!important}.workflow-container-failed:before{background-color:#ff52197a!important}.workflow-container-success:before{background-color:#00b0427a!important}.workflow-container-running:before{background-color:#007fff7a!important}.react-flow__node-StickyNoteNode{z-index:-1!important}.workflow-sticky-note{padding:8px;border-radius:6px;-webkit-user-select:text;user-select:text;border:1px solid transparent}.workflow-sticky-note-selected{box-shadow:0 0 0 2px #4c9aff}.workflow-sticky-md{overflow:hidden;height:100%;word-break:break-word}.workflow-sticky-md h1,.workflow-sticky-md h2,.workflow-sticky-md h3,.workflow-sticky-md h4{margin:4px 0;font-weight:700}.workflow-sticky-md ul,.workflow-sticky-md ol{padding-left:20px}.workflow-sticky-md code{background:#0000000d;padding:2px 4px;border-radius:4px}.workflow-sticky-toolbar{display:flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;background:#0f172aeb;box-shadow:0 12px 30px #0f172a73;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.sticky-toolbar-button{padding:0;border:0;width:24px;height:24px;background:transparent;border-radius:999px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#e5f0ff;transition:background-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease}.sticky-toolbar-button:hover{background-color:#94bfff3d;color:#fff;transform:translateY(-1px);box-shadow:0 4px 10px #0f172a59}.sticky-toolbar-button svg{font-size:14px}.sticky-toolbar-button-danger{color:#fecaca}.sticky-toolbar-button-danger:hover{background-color:#f8717140;color:#fee2e2}.sticky-color-palette{display:flex;gap:4px}.sticky-color-item{padding:0;border:0;width:16px;height:16px;border-radius:999px;cursor:pointer;box-shadow:0 0 0 1px #0f172a1f;transition:box-shadow .2s ease,transform .2s ease,opacity .2s ease;opacity:.9}.sticky-color-item:hover{transform:translateY(-1px);box-shadow:0 0 0 1px #0f172a40;opacity:1}.sticky-color-item-active{box-shadow:0 0 0 2px #fff,0 0 0 4px #1677ff;transform:scale(1.06);opacity:1}.workflow-debug-panel{width:760px;max-height:82vh;overflow:scroll;background-color:#fff;border:1px solid #d9d9d9;border-radius:6px;box-shadow:0 8px 24px #0000001f;padding:10px;font-size:12px;color:#333}.workflow-debug-panel__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-weight:600}.workflow-debug-panel__section{border-top:1px solid #f0f0f0;padding-top:8px;margin-top:8px}.workflow-debug-panel__summary{display:flex;justify-content:space-between;margin-bottom:8px}.workflow-debug-panel__detail{margin-top:8px}.workflow-debug-panel__graph{border:1px solid #f0f0f0;border-radius:6px;background:#fff;overflow:auto;max-height:260px}.workflow-debug-panel__graph-canvas{display:block}.workflow-debug-panel__mermaid-actions{margin-bottom:6px;display:flex;justify-content:flex-end}.workflow-debug-panel__edge-list{display:flex;flex-direction:column;gap:4px;background:#fafafa;border:1px solid #f0f0f0;border-radius:4px;padding:6px;max-height:180px;overflow:auto}.workflow-debug-panel__edge-line{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 4px;border-radius:4px;font-size:12px}.workflow-debug-panel__edge-line--duplicate{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 4px;border-radius:4px;color:#cf1322;background:#fff1f0;border:1px solid #ffa39e;font-size:12px}.workflow-debug-panel__edge-flag{font-size:11px;color:#cf1322}.workflow-debug-panel__detail-title{font-weight:600;margin-bottom:4px}.workflow-debug-panel pre{background:#fafafa;border:1px solid #f0f0f0;border-radius:4px;padding:6px;max-height:140px;overflow:auto;margin:0}.workflow-debug-panel__log-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.workflow-debug-panel__toolbar{margin-bottom:6px}.workflow-debug-panel__log-list{max-height:420px;overflow:auto;display:flex;flex-direction:column;gap:8px}.workflow-debug-panel__log-item{border:1px solid #f0f0f0;border-radius:4px;padding:6px;background:#fff}.workflow-debug-panel__log-title{display:flex;flex-direction:column;gap:2px;font-weight:600}.workflow-debug-panel__log-time{color:#8c8c8c;font-size:11px}.workflow-debug-panel__log-tags{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}.workflow-debug-panel__tag{display:inline-flex;align-items:center;padding:2px 6px;border-radius:4px;border:1px solid transparent;font-size:11px}.workflow-debug-panel__tag-node{background:#e6f4ff;border-color:#91caff;color:#0958d9}.workflow-debug-panel__tag-edge{background:#f6ffed;border-color:#b7eb8f;color:#389e0d}.workflow-debug-panel__log-actions{margin-bottom:6px}.workflow-debug-panel__log-detail{display:flex;flex-direction:column;gap:8px}.workflow-debug-panel__log-detail pre{max-height:220px}.workflow-debug-panel__log-empty{color:#999;text-align:center;padding:12px 0}.workflow-canvas-container{display:flex;flex-direction:column;width:100%;height:100%;border:1px solid #e5e5e5;border-radius:4px;overflow:hidden;background-color:#f9faff}.workflow-canvas-container-preview{height:100%}.react-flow-canvas-container{background-color:#f9faff}.workflow-canvas{flex:1;position:relative;width:100%;height:100%;background-color:#f5f5f5}.workflow-canvas .agent-node,.workflow-canvas .action-node{display:flex}.workflow-canvas .workflow-node{box-sizing:border-box;flex:1}.workflow-canvas-header{display:flex;justify-content:space-between;align-items:center;padding:8px 16px;background-color:#fff;z-index:10;height:56px;border-bottom:1px solid #eee}.workflow-canvas-header .workflow-header-left-area{display:flex;align-items:center;min-width:250px}.workflow-canvas-header .workflow-header-left-area .workflow-back-icon{cursor:pointer;font-size:16px;color:#999}.workflow-canvas-header .workflow-header-left-area .workflow-back-icon:hover{color:#333}.workflow-canvas-header .workflow-header-left-area .workflow-name-icon{width:29px;height:29px;border-radius:8px;font-size:9px;background:linear-gradient(135deg,#0f9d6e,#0bbf86);color:#fff;font-weight:700;line-height:29px;padding:0 5px;box-sizing:border-box;overflow:hidden;text-align:center}.workflow-canvas-header .workflow-header-left-area .workflow-name{display:flex;align-items:center;cursor:pointer}.workflow-canvas-header .workflow-header-left-area .workflow-name .workflow-name-container{display:flex;flex-flow:column}.workflow-canvas-header .workflow-header-left-area .workflow-name .workflow-name-container .workflow-name-text{font-size:12px;color:#333;font-weight:600;margin:0!important;padding:0}.workflow-canvas-header .workflow-header-left-area .workflow-name .workflow-name-container .workflow-name-desc{font-size:9px;color:#94a3b8}.workflow-canvas-header .workflow-header-left-area .workflow-name .edit-icon{margin-left:8px;color:#999;font-size:14px;opacity:.5;transition:all .2s ease}.workflow-canvas-header .workflow-header-left-area .workflow-name:hover .edit-icon{color:#1890ff;opacity:1}.workflow-canvas-header .workflow-header-left-area .workflow-name-input{width:250px;font-size:12px;font-weight:500}.workflow-canvas-header .workflow-header-left-area .workflow-name-input:focus{box-shadow:0 0 0 2px #1890ff33}.workflow-canvas-header .workflow-header-right-area{display:flex;align-items:center;gap:8px}.workflow-canvas-header .workflow-header-right-area .save-state{font-size:11px;display:inline-block}.workflow-canvas-title{font-size:16px;font-weight:700}.workflow-controls{position:absolute;z-index:10}.workflow-controls .react-flow__controls-button{background-color:#fff;border:1px solid #d9d9d9;box-shadow:0 2px #00000005;border-radius:2px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;transition:all .3s}.workflow-controls .react-flow__controls-button:hover{color:#1890ff;border-color:#1890ff}.workflow-controls .react-flow__controls-button[disabled]{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.workflow-background{background-color:#f6f8ff}.workflow-background.workflow-background-dots,.workflow-background.workflow-background-lines{background-size:20px 20px}.react-flow__node .workflow-node{box-shadow:0 0 1px 1px var(--status-color)}.react-flow__node.selected .workflow-node{box-shadow:0 0 1px 1px var(--status-color);border-color:var(--status-color)}.react-flow__panel{background-color:#fff;border-radius:4px;box-shadow:0 2px 8px #00000026}.react-flow__minimap{background-color:#fff;border:1px solid #d9d9d9;border-radius:4px}.layout-panel{margin:10px}.layout-panel .layout-button{padding:8px 12px;background-color:#fff;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:14px;transition:all .2s}.layout-panel .layout-button:hover{background-color:#f5f5f5;border-color:#ccc}.layout-panel .layout-button:active{background-color:#e8e8e8}.react-flow__controls{display:flex;flex-direction:row;align-items:center}.react-flow__controls-button{border:none}.react-flow__attribution{display:none}.ant-dropdown.small .ant-dropdown-menu .ant-dropdown-menu-item{font-size:11px}.workflow-template-settings-modal .workflow-template-settings-hint{margin-bottom:16px}.workflow-template-settings-modal .workflow-template-settings-card{margin-bottom:16px;border:1px solid #f0f0f0}.workflow-template-settings-modal .workflow-template-settings-card-last{margin-bottom:0}.workflow-template-settings-modal .workflow-template-settings-section-title{margin-bottom:12px}.workflow-template-settings-modal .workflow-template-settings-section-title h5.ant-typography{margin:0}.workflow-template-settings-modal .workflow-template-settings-subtitle{font-size:12px}.template-editable-select{position:relative}.template-editable-select .template-editable-select-input{min-height:32px;padding:4px 11px;border:1px solid #d9d9d9;border-radius:6px;cursor:pointer;background:#fff;display:flex;align-items:center;justify-content:space-between;transition:all .2s;outline:0}.template-editable-select .template-editable-select-input:hover{border-color:#40a9ff}.template-editable-select .template-editable-select-input:focus-within{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33}.template-editable-select .template-editable-select-input:focus-visible{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33}.template-editable-select .template-editable-select-tags{flex:1;display:flex;flex-wrap:wrap;gap:4px;min-height:24px;align-items:center}.template-editable-select .template-editable-select-placeholder{color:#bfbfbf;font-size:14px}.template-editable-select .template-editable-select-arrow{margin-left:8px;display:flex;align-items:center;transition:transform .2s}.template-editable-select .template-editable-select-arrow.template-editable-select-arrow-open{transform:rotate(180deg)}.template-editable-select .template-editable-select-dropdown-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;padding:0;border:0;background:transparent}.template-editable-select .template-editable-select-dropdown-container{position:absolute;top:100%;right:0;left:0;margin-top:4px;background:#fff;border:1px solid #d9d9d9;border-radius:6px;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d;max-height:256px;overflow-y:auto;z-index:1051}.template-editable-select .ant-tag{border-radius:4px;margin-right:4px;margin-bottom:4px;display:inline-flex;align-items:center;max-width:120px}.template-editable-select-dropdown{padding:4px 0}.template-editable-select-dropdown .template-editable-select-dropdown-item{display:flex;align-items:center;padding:5px 12px;cursor:pointer;transition:background-color .2s}.template-editable-select-dropdown .template-editable-select-dropdown-item:hover{background-color:#f5f5f5}.template-editable-select-dropdown .template-editable-select-dropdown-item:hover .template-editable-select-actions{opacity:1}.template-editable-select-dropdown .template-editable-select-item-content{min-width:0;flex:1;display:flex;align-items:center;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.template-editable-select-dropdown .template-editable-select-item-content:focus-visible{outline:2px solid rgba(24,144,255,.45);outline-offset:2px}.template-editable-select-dropdown .template-editable-select-check{width:16px;height:16px;display:flex;align-items:center;justify-content:center;margin-right:8px}.template-editable-select-dropdown .template-editable-select-name{font-size:14px;color:#262626}.template-editable-select-dropdown .template-editable-select-actions{display:flex;align-items:center;opacity:0;transition:opacity .2s}.template-editable-select-dropdown .template-editable-select-action-btn{width:28px;height:28px;display:flex;align-items:center;justify-content:center;margin-left:4px}.template-editable-select-dropdown .template-editable-select-edit-container{flex:1}.template-editable-select-dropdown .template-editable-select-edit-input{width:100%}.template-editable-select-dropdown .template-editable-select-edit-actions{display:flex;align-items:center;gap:4px}.template-editable-select-dropdown .template-editable-select-confirm-btn{color:#52c41a;padding:0;width:20px;height:20px}.template-editable-select-dropdown .template-editable-select-cancel-btn{color:#ff4d4f;padding:0;width:20px;height:20px}.template-editable-select-dropdown .template-editable-select-add-item{width:100%;display:flex;align-items:center;padding:8px 12px;cursor:pointer;border-top:1px solid #f0f0f0;margin-top:4px;color:#1890ff;border-right:0;border-bottom:0;border-left:0;background:transparent;font:inherit;text-align:left;transition:background-color .2s}.template-editable-select-dropdown .template-editable-select-add-item:hover{background-color:#f5f5f5}@keyframes slideInRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slideOutRight{0%{transform:translate(0);opacity:1}to{transform:translate(100%);opacity:0}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes skeletonShimmer{0%{background-position:-200px 0}to{background-position:calc(200px + 100%) 0}}.modern-node-selector-mask{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1049;background:#0000001f;animation:fadeIn .2s ease}.modern-node-selector{position:absolute;top:0;right:0;height:100%;width:550px;background-color:#fff;box-shadow:0 8px 20px #0000001a;border-radius:10px 0 0 10px;display:flex;flex-direction:column;z-index:1050;transform:translate(100%);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s ease;opacity:0;overflow:hidden}.modern-node-selector.visible{transform:translate(0);opacity:1;animation:slideInRight .3s cubic-bezier(.23,1,.32,1) forwards}.modern-node-selector.hidden{animation:slideOutRight .3s cubic-bezier(.23,1,.32,1) forwards}.modern-node-selector .panel-header{padding:24px 10px 16px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e6e6e6;background:#fff;border-radius:10px 0 0}.modern-node-selector .panel-header .header-left{display:flex;align-items:center;gap:12px}.modern-node-selector .panel-header .header-left .back-button{width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;display:flex;align-items:center;justify-content:center;color:#94a3b8;transition:all .2s;cursor:pointer}.modern-node-selector .panel-header .header-left .back-button:hover{background-color:#f8fafc;color:#007aff}.modern-node-selector .panel-header .header-left .title{font-size:15px;font-weight:600;color:#000;margin:0}.modern-node-selector .panel-header .header-left .title .category-path{font-size:14px;color:#94a3b8;margin-top:4px}.modern-node-selector .panel-header .close-button{width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;display:flex;align-items:center;justify-content:center;color:#94a3b8;transition:all .2s;cursor:pointer}.modern-node-selector .panel-header .close-button:hover{background-color:#f8fafc;color:#007aff}.modern-node-selector .search-container{padding:10px 10px 0;background-color:#fff}.modern-node-selector .search-container .ant-input{border-radius:10px;border:none;background-color:#f7f7f7;padding:10px 12px;transition:all .2s;font-size:13px;height:auto}.modern-node-selector .search-container .ant-input:hover,.modern-node-selector .search-container .ant-input:focus{background-color:#f2f2f2;box-shadow:none}.modern-node-selector .search-container .ant-input::placeholder{color:#8e8e93}.modern-node-selector .search-container .ant-input-prefix{margin-right:8px;color:#94a3b8}.modern-node-selector .search-container .ant-input-suffix{color:#94a3b8}.modern-node-selector .search-container .ant-input-affix-wrapper{border-radius:10px;border:none;background-color:#f7f7f7;padding:4px 12px;transition:all .2s}.modern-node-selector .search-container .ant-input-affix-wrapper:hover,.modern-node-selector .search-container .ant-input-affix-wrapper:focus,.modern-node-selector .search-container .ant-input-affix-wrapper-focused{background-color:#f2f2f2;box-shadow:none;border-color:transparent}.modern-node-selector .search-container .ant-input-affix-wrapper .ant-input{background-color:transparent;padding:0}.modern-node-selector .search-container .ant-input-affix-wrapper .ant-input:focus{box-shadow:none}.modern-node-selector .panel-content-box{flex:1;overflow:hidden;margin-bottom:10px;display:flex;border-radius:0 0 8px 8px}.modern-node-selector .panel-content{flex:1;overflow-y:auto;padding:10px 10px 0;background-color:#fff}.modern-node-selector .panel-content .section-title{font-size:16px;font-weight:600;color:#000;margin:0 0 16px;padding-bottom:0;position:relative}.modern-node-selector .panel-content .categories-list,.modern-node-selector .panel-content .nodes-list,.modern-node-selector .panel-content .actions-list,.modern-node-selector .panel-content .search-results{display:grid;grid-template-columns:1fr;gap:12px;animation:fadeIn .3s ease-in}.modern-node-selector .panel-content .empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:200px;color:#94a3b8}.modern-node-selector .panel-content .empty-state .empty-icon{font-size:40px;margin-bottom:16px;color:#d9e1ec}.modern-node-selector .panel-content .empty-state .empty-text{text-align:center;font-size:12px}.category-tabs-wrapper{position:relative;padding:0 10px;border-bottom:1px solid #EFEFEF}.category-tabs-wrapper.loading{padding-bottom:8px}.category-tabs-wrapper .category-tabs{display:flex;gap:8px;overflow-x:auto;-ms-overflow-style:auto;padding:10px 0}@supports (-moz-appearance: none){.category-tabs-wrapper .category-tabs{scrollbar-width:thin;scrollbar-color:#dcdcdc transparent}}.category-tabs-wrapper .category-tabs::-webkit-scrollbar{height:6px}.category-tabs-wrapper .category-tabs::-webkit-scrollbar-track{background-color:transparent;border-radius:3px}.category-tabs-wrapper .category-tabs::-webkit-scrollbar-thumb{background-color:#dcdcdc;border-radius:6px}.category-tabs-wrapper .category-tabs-mask{position:absolute;top:4px;bottom:12px;width:24px;pointer-events:none}.category-tabs-wrapper .category-tab{padding:6px 16px;border-radius:999px;border:1px solid #e6e6e6;background-color:#fff;font-size:14px;color:#94a3b8;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap;box-shadow:0 2px 6px #0000000a}.category-tabs-wrapper .category-tab.active{color:#fff;border-color:#007aff}.category-tabs-wrapper .category-tab.disabled{cursor:not-allowed;opacity:.55}.category-tabs-wrapper .category-tab:hover:not(.active,.disabled){border-color:#007aff59;color:#007aff;box-shadow:0 4px 10px #00000014}.category-tabs-loading{display:flex;align-items:center;gap:8px;padding:0 24px 12px;color:#94a3b8;font-size:14px}.category-tab-skeleton{width:72px;height:24px;border-radius:7px;flex-shrink:0;background:linear-gradient(90deg,#007aff0f,#007aff24,#007aff0f);background-size:200px 100%;animation:skeletonShimmer 1.4s ease-in-out infinite}.node-card-list{display:flex;flex-direction:column;gap:10px}.node-card-skeleton{display:flex;align-items:center;gap:12px;padding:8px;border:1px solid #e6e6e6;border-radius:10px;background-color:#fff;box-shadow:0 1px 4px #0000000d}.node-card-skeleton .node-card-skeleton-icon{width:36px;height:36px;border-radius:9px;flex-shrink:0;background:linear-gradient(90deg,#007aff0f,#007aff24,#007aff0f);background-size:200px 100%;animation:skeletonShimmer 1.4s ease-in-out infinite}.node-card-skeleton .node-card-skeleton-content{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.node-card-skeleton .node-card-skeleton-content .node-card-skeleton-title{width:45%;height:14px;border-radius:4px;background:linear-gradient(90deg,#007aff0f,#007aff24,#007aff0f);background-size:200px 100%;animation:skeletonShimmer 1.4s ease-in-out infinite}.node-card-skeleton .node-card-skeleton-content .node-card-skeleton-desc{width:70%;height:10px;border-radius:4px;background:linear-gradient(90deg,#007aff0f,#007aff24,#007aff0f);background-size:200px 100%;animation:skeletonShimmer 1.4s ease-in-out infinite}.node-card-skeleton .node-card-skeleton-arrow{width:14px;height:14px;border-radius:50%;flex-shrink:0;background:linear-gradient(90deg,#007aff0f,#007aff24,#007aff0f);background-size:200px 100%;animation:skeletonShimmer 1.4s ease-in-out infinite}.node-card{border:1px solid #e6e6e6;border-radius:10px;background-color:#fff;box-shadow:0 1px 4px #0000000d;transition:border-color .2s ease,box-shadow .2s ease}.node-card.expanded{border-color:#007aff66;box-shadow:0 6px 16px #007aff1f;overflow:hidden}.node-card-header{width:100%;display:flex;align-items:center;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.node-card-header:focus-visible{outline:2px solid rgba(0,122,255,.5);outline-offset:-2px}.node-card-icon{width:40px;height:40px;border-radius:12px;background-color:#007aff1a;display:flex;align-items:center;justify-content:center;margin-right:12px}.node-card-icon img{width:24px;height:24px;object-fit:contain}.node-card-info{flex:1;min-width:0}.node-card-info .node-card-title{font-size:14px;font-weight:600;color:#000}.node-card-info .node-card-desc{font-size:10px;color:#94a3b8}.node-card-arrow{font-size:14px;color:#94a3b8;transition:transform .2s}.node-card-arrow.expanded{transform:rotate(180deg)}.node-card-actions{display:flex;flex-direction:column}.node-card-action-wrapper .action-item{margin-bottom:0;border:0 none;border-top:1px solid #efefef;border-radius:0}.node-card-action-wrapper .action-item .item-icon{margin-left:8px}.node-card-state{font-size:13px;color:#94a3b8;padding:12px 0;text-align:center}.node-card-more{width:100%;padding:4px;border:0;background:transparent;font:inherit;margin-top:8px;font-size:13px;color:#007aff;cursor:pointer;text-align:right}.list-loading,.list-footer{margin-top:10px;display:flex;align-items:center;justify-content:center;gap:6px;color:#94a3b8;font-size:11px}.category-item,.node-item{width:100%;background-color:#fff;border-radius:10px;padding:16px;display:flex;align-items:center;cursor:pointer;transition:background-color .2s ease,box-shadow .2s ease;border:1px solid #e6e6e6;position:relative;overflow:hidden;color:inherit;font:inherit;text-align:left}.category-item:hover,.node-item:hover{background-color:#f8fafc;border-color:#007aff4d;box-shadow:0 1px 4px #0000000d}.category-item:focus-visible,.node-item:focus-visible{outline:2px solid rgba(0,122,255,.5);outline-offset:2px}.category-item:after,.node-item:after{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background-color:#007aff;opacity:0;transition:opacity .2s}.category-item:hover:after,.node-item:hover:after{opacity:1}.category-item .item-icon,.node-item .item-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;margin-right:16px;font-size:20px;flex-shrink:0;background-color:#007aff1a;color:#007aff}.category-item .item-icon[data-category=ai],.node-item .item-icon[data-category=ai]{background-color:#fff0f6;color:#eb2f96}.category-item .item-icon[data-category=flow],.node-item .item-icon[data-category=flow]{background-color:#e6f7ff;color:#1890ff}.category-item .item-icon[data-category=action],.node-item .item-icon[data-category=action]{background-color:#f6ffed;color:#52c41a}.category-item .item-icon[data-category=other],.node-item .item-icon[data-category=other]{background-color:#fff7e6;color:#fa8c16}.category-item .item-icon img,.node-item .item-icon img{width:24px;height:24px;object-fit:contain}.category-item .item-content,.node-item .item-content{flex:1;min-width:0}.category-item .item-content .item-title,.node-item .item-content .item-title{font-weight:500;font-size:13px;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-item .item-content .item-description,.node-item .item-content .item-description{font-size:11px;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}.category-item .action-arrow,.node-item .action-arrow{margin-left:10px;color:#007aff;font-size:16px;opacity:.8;transition:opacity .2s,transform .2s}.category-item:hover .action-arrow,.node-item:hover .action-arrow{opacity:1;transform:translate(2px)}.action-item{background-color:#fff;padding:12px 16px;display:flex;align-items:center;cursor:pointer;transition:background-color .15s ease;border:1px solid #e6e6e6;border-radius:10px;position:relative;overflow:hidden;margin-bottom:0;width:100%;color:inherit;font:inherit;text-align:left}.action-item:hover{background-color:#f8fafc}.action-item:focus-visible{outline:2px solid rgba(0,122,255,.5);outline-offset:2px}.action-item.is-disabled{cursor:not-allowed;opacity:.55}.action-item.is-disabled:hover{background-color:#fff;border-color:#e6e6e6}.action-item.is-disabled:after{opacity:0}.action-item .item-icon{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;margin-right:14px;font-size:16px;flex-shrink:0;background-color:#007aff1a;color:#007aff}.action-item .item-icon[data-category=ai]{background-color:#fff0f6;color:#eb2f96}.action-item .item-icon[data-category=flow]{background-color:#e6f7ff;color:#1890ff}.action-item .item-icon[data-category=action]{background-color:#f6ffed;color:#52c41a}.action-item .item-icon[data-category=other]{background-color:#fff7e6;color:#fa8c16}.action-item .item-icon img{width:18px;height:18px;object-fit:contain}.action-item .item-content{flex:1;min-width:0}.action-item .item-content .item-title{font-weight:400;font-size:13px;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action-item .item-content .item-description{font-size:11px;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}.actions-list{display:grid;grid-template-columns:1fr;gap:12px;width:100%;animation:fadeIn .3s ease-in;padding:0}.search-section{margin-bottom:24px}.search-section .search-section-title{font-size:14px;color:#94a3b8;margin:0 0 12px;display:flex;align-items:center}.search-section .search-section-title .section-icon{margin-right:8px;font-size:16px}._configSubflow-container_1ocqs_1{width:100%}._configSubflow-selectSection_1ocqs_4{margin-bottom:16px}._configSubflow-label_1ocqs_7{display:block;margin-bottom:6px;font-size:14px;font-weight:500;color:#333}._configSubflow-label_1ocqs_7._required_1ocqs_14:after{content:"*";margin-left:4px;color:#ff4d4f}._configSubflow-selectWrapper_1ocqs_19{display:flex;align-items:center;gap:8px}._configSubflow-select_1ocqs_4{flex:1;min-width:0}._configSubflow-optionContent_1ocqs_28{display:flex;align-items:center;justify-content:space-between;width:100%}._configSubflow-optionName_1ocqs_34{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._configSubflow-optionLink_1ocqs_41{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:20px;height:20px;padding:0;margin-left:8px;border:0;font-size:12px;color:#1890ff;background-color:#1890ff1a;border-radius:4px;cursor:pointer;transition:all .2s}._configSubflow-optionLink_1ocqs_41:hover{color:#fff;background-color:#1890ff}._configSubflow-optionLink_1ocqs_41:focus-visible{outline:2px solid rgba(24,144,255,.45);outline-offset:2px}._configSubflow-paramsSection_1ocqs_66{margin-top:16px;padding-top:16px;border-top:1px dashed #e8e8e8}._configSubflow-paramsTitle_1ocqs_71{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:14px;font-weight:500;color:#333}._configSubflow-paramsTitle_1ocqs_71 ._anticon_1ocqs_80{color:#1890ff}._configSubflow-paramsList_1ocqs_83{display:flex;flex-direction:column;gap:12px}._configSubflow-paramItem_1ocqs_88{display:flex;align-items:flex-start;gap:12px;padding:12px;background-color:#fafafa;border:1px solid #f0f0f0;border-radius:6px;transition:all .2s}._configSubflow-paramItem_1ocqs_88:hover{border-color:#d9d9d9}._configSubflow-paramItem_1ocqs_88._hasError_1ocqs_101{border-color:#ffccc7;background-color:#fff2f0}._configSubflow-paramKey_1ocqs_105{flex-shrink:0;width:120px;min-width:80px}._configSubflow-paramKeyLabel_1ocqs_110{display:flex;align-items:center;height:32px;padding:0 8px;font-size:13px;font-family:SF Mono,Monaco,Inconsolata,Fira Mono,Droid Sans Mono,monospace;color:#595959;background-color:#f5f5f5;border:1px solid #d9d9d9;border-radius:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._configSubflow-paramKeyLabel_1ocqs_110._required_1ocqs_14:after{content:"*";margin-left:4px;color:#ff4d4f}._configSubflow-paramValue_1ocqs_130{flex:1;min-width:0}._configSubflow-paramDescription_1ocqs_134{margin-top:4px;font-size:12px;color:#999;line-height:1.4}._configSubflow-emptyState_1ocqs_140{padding:24px 16px;text-align:center;color:#999;background-color:#fafafa;border:1px dashed #d9d9d9;border-radius:6px}._configSubflow-emptyState-icon_1ocqs_148{font-size:32px;color:#d9d9d9;margin-bottom:8px}._configSubflow-emptyState-text_1ocqs_153{font-size:14px}._configSubflow-hintMessage_1ocqs_156{display:flex;align-items:center;gap:8px;padding:12px 16px;font-size:14px;color:#8c8c8c;background-color:#fafafa;border:1px solid #f0f0f0;border-radius:6px}._configSubflow-hintMessage_1ocqs_156 ._anticon_1ocqs_80{font-size:16px}._configSubflow-hintMessage_1ocqs_156._warning_1ocqs_170{color:#faad14;background-color:#fffbe6;border-color:#ffe58f}._configSubflow-hintMessage_1ocqs_156._info_1ocqs_175{color:#1890ff;background-color:#e6f7ff;border-color:#91d5ff}._configSubflow-hintMessage_1ocqs_156._success_1ocqs_180{color:#52c41a;background-color:#f6ffed;border-color:#b7eb8f}._configSubflow-errorText_1ocqs_185{margin-top:4px;font-size:12px;color:#ff4d4f;line-height:1.4}._configSubflow-loading_1ocqs_191{display:flex;align-items:center;justify-content:center;padding:16px;color:#999}._multiRowGuard-container_efwb8_1{width:100%}._multiRowGuard-ruleCard_efwb8_4{position:relative;padding:16px;margin-bottom:12px;background-color:#fafafa;border:1px solid #e8e8e8;border-radius:8px;transition:all .2s ease}._multiRowGuard-ruleCard_efwb8_4:hover{border-color:#1890ff;box-shadow:0 2px 8px #1890ff1a}._multiRowGuard-ruleCard_efwb8_4._isDragging_efwb8_17{z-index:100;background-color:#fff;border-color:#1890ff;box-shadow:0 4px 16px #1890ff33}._multiRowGuard-ruleCard_efwb8_4._hasError_efwb8_23{border-color:#ff4d4f;background-color:#fff2f0}._multiRowGuard-ruleCard_efwb8_4._hasError_efwb8_23:hover{border-color:#ff4d4f}._multiRowGuard-ruleHeader_efwb8_30{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #f0f0f0}._multiRowGuard-dragHandle_efwb8_38{display:flex;align-items:center;gap:8px;color:#999;cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none}._multiRowGuard-dragHandle_efwb8_38:hover{color:#1890ff}._multiRowGuard-dragHandle_efwb8_38:active{cursor:grabbing}._multiRowGuard-ruleIndex_efwb8_53{font-size:12px;color:#666}._multiRowGuard-deleteBtn_efwb8_57{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;border-radius:6px;background:transparent;color:#999;cursor:pointer;transition:color .2s}._multiRowGuard-deleteBtn_efwb8_57:hover{color:#ff4d4f;background:#fff1f0}._multiRowGuard-deleteBtn_efwb8_57:focus-visible{outline:2px solid rgba(24,144,255,.45);outline-offset:2px}._multiRowGuard-ruleBody_efwb8_79{display:flex;flex-direction:column;gap:12px}._multiRowGuard-formRow_efwb8_84{display:flex;align-items:flex-start;gap:12px}._multiRowGuard-formItem_efwb8_89{flex:1;min-width:0}._multiRowGuard-formItem_efwb8_89._fullWidth_efwb8_93{flex:1 1 100%}._multiRowGuard-formLabel_efwb8_96{display:block;margin-bottom:4px;font-size:12px;color:#666}._multiRowGuard-formLabel_efwb8_96._required_efwb8_102:after{content:"*";margin-left:2px;color:#ff4d4f}._multiRowGuard-extraFields_efwb8_107{padding-top:8px;margin-top:4px;border-top:1px dashed #e8e8e8}._multiRowGuard-rangeInputs_efwb8_112{display:flex;align-items:center;gap:8px}._multiRowGuard-rangeInput_efwb8_112{flex:1}._multiRowGuard-rangeSeparator_efwb8_120{color:#999;font-size:12px}._multiRowGuard-addBtn_efwb8_124{margin-top:8px}._multiRowGuard-emptyState_efwb8_127{padding:32px 16px;text-align:center;color:#999;background-color:#fafafa;border:1px dashed #d9d9d9;border-radius:8px}._multiRowGuard-emptyState-icon_efwb8_135{font-size:32px;color:#d9d9d9;margin-bottom:8px}._multiRowGuard-emptyState-text_efwb8_140{font-size:14px}._multiRowGuard-enumTagsContainer_efwb8_143 ._ant-select-selection-overflow_efwb8_143{max-height:100px;overflow-y:auto}._multiRowGuard-errorText_efwb8_147{margin-top:4px;font-size:12px;color:#ff4d4f;line-height:1.4}._multiRowGuard-fieldError_efwb8_153 .rich-tag-input,._multiRowGuard-fieldError_efwb8_153 .ant-input{border-color:#ff4d4f}._multiRowGuard-fieldError_efwb8_153 .rich-tag-input:hover,._multiRowGuard-fieldError_efwb8_153 .ant-input:hover,._multiRowGuard-fieldError_efwb8_153 .rich-tag-input:focus,._multiRowGuard-fieldError_efwb8_153 .ant-input:focus{border-color:#ff7875}:root{--ai-flow-color-brand: #2d5bff;--ai-flow-color-brand-hover: #1e45e6;--ai-flow-color-text: #0f172a;--ai-flow-color-text-secondary: #334155;--ai-flow-color-text-muted: #64748b;--ai-flow-color-text-subtle: #94a3b8;--ai-flow-color-surface: #ffffff;--ai-flow-color-surface-muted: #f8fafc;--ai-flow-color-surface-sunken: #f1f5f9;--ai-flow-color-canvas: #eef0f4;--ai-flow-color-border: #e2e8f0;--ai-flow-color-border-strong: #cbd5e1;--ai-flow-color-border-soft: #eef1f5;--ai-flow-color-success: #16a34a;--ai-flow-color-warning: #d97706;--ai-flow-color-danger: #dc2626;--ai-flow-radius-control: 8px;--ai-flow-radius-card: 12px;--ai-flow-radius-node: 13px;--ai-flow-radius-canvas: 14px;--ai-flow-shadow-xs: 0 1px 2px rgba(15, 23, 42, .04);--ai-flow-shadow-sm: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);--ai-flow-shadow-md: 0 8px 24px -8px rgba(15, 23, 42, .18);--ai-flow-shadow-popover: 0 18px 48px -16px rgba(15, 23, 42, .3);--ai-flow-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;--ai-flow-font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace}.workflow-canvas-container,.nodes-config-modal,.modern-node-selector{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#0f172a}.workflow-canvas-container{border:1px solid #e2e8f0;border-radius:14px;background:#eef0f4;box-shadow:0 1px 2px #0f172a0a}.workflow-canvas-container .workflow-canvas-header{height:58px;padding:0 16px;border-bottom:1px solid #e2e8f0;background:#fffffff7;box-shadow:none}.workflow-canvas-container .workflow-canvas-header .workflow-header-left-area{gap:8px}.workflow-canvas-container .workflow-canvas-header .workflow-header-left-area .workflow-name-text{color:#0f172a;font-size:14px;font-weight:650}.workflow-canvas-container .workflow-canvas-header .workflow-header-left-area .workflow-back-icon,.workflow-canvas-container .workflow-canvas-header .workflow-header-left-area .edit-icon{color:#64748b}.workflow-canvas-container .workflow-canvas-header .ant-divider-vertical{border-color:#e2e8f0}.workflow-canvas-container .workflow-canvas-header .ant-btn.ant-btn-sm{font-size:12px;min-height:29px;padding:0 10px;border-radius:8px}.workflow-canvas-container .workflow-canvas-header .ant-btn-primary{background:#2d5bff;color:#fff}.workflow-canvas-container .workflow-canvas-header .ant-btn-primary:hover{background:#1e45e6}.workflow-canvas-container .workflow-canvas-header .ant-tag{margin-inline-end:0;border-radius:6px;font-size:11px;font-weight:600}.workflow-canvas-container .workflow-canvas,.workflow-canvas-container .react-flow-canvas-container{background:#eef0f4}.workflow-canvas-container .react-flow__background-pattern{stroke:#dfe4eb}.workflow-canvas-container .react-flow__panel{border-radius:10px;background:#fff;box-shadow:0 1px 3px #0f172a0f,0 1px 2px #0f172a0a}.workflow-canvas-container .react-flow__controls{flex-direction:row;overflow:hidden}.workflow-canvas-container .react-flow__controls .react-flow__controls-button{width:34px;height:34px;border-right:1px solid #eef1f5;border-bottom:0;background:#fff;color:#64748b}.workflow-canvas-container .react-flow__controls .react-flow__controls-button:last-child{border-right:0}.workflow-canvas-container .react-flow__controls .react-flow__controls-button:hover{background:#f8fafc;color:#2d5bff}.workflow-canvas-container .react-flow__minimap{overflow:hidden;border:1px solid #e2e8f0;border-radius:10px;background:#fffffff0;box-shadow:0 1px 3px #0f172a0f,0 1px 2px #0f172a0a}.workflow-canvas-container .react-flow__panel-top-right{border:0;background:transparent;box-shadow:none}.workflow-canvas-container .react-flow__panel-top-right .ant-space{gap:8px!important}.workflow-canvas-container .react-flow__panel-top-right .ant-btn{width:34px!important;height:34px!important;border:1px solid #e2e8f0!important;border-radius:9px;background:#fff!important;color:#2d5bff;box-shadow:0 1px 3px #0f172a0f,0 1px 2px #0f172a0a}.workflow-canvas-container .react-flow__panel-top-right .ant-btn:hover{border-color:#b9c8ff!important;background:#f5f7ff!important}.workflow-node{padding:17px 13px 12px 12px;gap:10px;border:1px solid #dfe4ec;border-radius:13px;background:#fff;box-shadow:0 1px 3px #0f172a0f,0 1px 2px #0f172a0a;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}.workflow-node:before{display:none}.workflow-node:hover,.workflow-node.workflow-node-selected{border-color:#2d5bff;box-shadow:0 0 0 3px #2d5bff1f,0 1px 3px #0f172a0f,0 1px 2px #0f172a0a}.workflow-node .workflow-node-content{gap:10px}.workflow-node .workflow-node-icon-wrapper{border-radius:9px;background:#2d5bff1a}.workflow-node .workflow-node-icon{color:#2d5bff;font-size:20px}.workflow-node .workflow-node-icon img{width:22px;height:22px}.workflow-node .workflow-node-text{min-width:150px;width:100%}.workflow-aisub-node .workflow-node,.workflow-mcp-tool-node .workflow-node{padding:17px 14px 12px;border-radius:13px}.workflow-mcp-tool-node .workflow-node:after{display:none}.start-node{min-width:220px;min-height:68px;padding:12px 14px;border:1.5px solid #dfe4ec;border-radius:13px;background:#ffffffe6;box-shadow:0 1px 2px #0f172a0a;position:relative;box-sizing:border-box}.start-node:hover{border-color:#2d5bff;background:#fff;box-shadow:0 0 0 3px #2d5bff1a}.start-node .start-node-text-title{color:#0f172a;font-size:12px;font-weight:650;margin-block:5px}.start-node .start-node-text-desc{color:#64748b;font-size:10px;margin-block:0}.start-node .node-footer{font-size:11px;margin-top:30px}.start-node .node-footer.trigger{color:#0f9d6e}.start-node .node-footer.mcp{color:#2d5bff}.start-node.trigger .node-footer{color:#0f9d6e}.start-node.trigger:hover{border-color:#0f9d6e}.start-node.mcp .node-footer{color:#2d5bff}.start-node.mcp:hover{border-color:#2d5bff}.start-node.customer-mcp{padding:12px 8px;box-shadow:0 4px 12px #0f172a14}.start-node.customer-mcp:hover{border-color:#dfe4ec;box-shadow:0 4px 12px #0f172a14}.start-node .label{position:absolute;right:0;top:8px;color:#2d5bff;background:#eff3ff;border-style:none;font-size:10px;font-weight:500}.workflow-sticky-note{border-color:#b4a04847;border-radius:10px;box-shadow:0 1px 3px #0f172a0f,0 1px 2px #0f172a0a}.workflow-sticky-note.workflow-sticky-note-selected,.workflow-sticky-note.selected{box-shadow:0 0 0 3px #2d5bff24,0 1px 3px #0f172a0f,0 1px 2px #0f172a0a}.workflow-node-kind{position:absolute;top:-10px;left:13px;z-index:2;display:inline-flex;align-items:center;height:19px;padding:0 7px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#64748b;box-shadow:0 1px 2px #0f172a0a;font-size:9px;font-weight:700;line-height:1}.workflow-node-kind.is-trigger{color:#0f9d6e}.workflow-node-kind.is-condition{color:#d97706}.workflow-node-kind.is-agent{color:#6d28d9}.workflow-node-kind.is-tool{color:#2d5bff}.workflow-node-kind.is-return{color:#7c3aed}.workflow-node-title-row{min-width:0;gap:6px}.workflow-node-title-text{flex:1;color:#0f172a;font-size:12px;font-weight:650;line-height:18px}.workflow-node-description-wrapper{min-height:16px;margin-top:2px}.workflow-node-description{color:#94a3b8;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:9px;line-height:15px;transition:none}.workflow-node-status-slot{display:inline-flex;flex:none;margin-bottom:-15px}.workflow-node-status-icon{display:inline-flex!important;width:auto!important;height:19px!important;flex:none;align-items:center;gap:4px;margin-left:0!important;padding:0 6px;border:1px solid #e2e8f0;border-radius:6px;background:#f8fafc;color:#64748b;font-size:9px;font-weight:700;white-space:nowrap}.workflow-node-status-icon:after{content:"空闲"}.workflow-container-warning .workflow-node-status-icon{border-color:#fed7aa;background:#fff7ed;color:#b45309}.workflow-container-warning .workflow-node-status-icon:after{content:"未配置"}.workflow-container-running .workflow-node-status-icon{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.workflow-container-running .workflow-node-status-icon:after{content:"运行中"}.workflow-container-success .workflow-node-status-icon{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}.workflow-container-success .workflow-node-status-icon:after{content:"成功"}.workflow-container-failed .workflow-node-status-icon{border-color:#fecaca;background:#fef2f2;color:#b91c1c}.workflow-container-failed .workflow-node-status-icon:after{content:"失败"}.workflow-container-disabled .workflow-node-status-icon{border-color:#e2e8f0;background:#f8fafc;color:#94a3b8}.workflow-container-disabled .workflow-node-status-icon:after{content:"已禁用"}.workflow-node-status-badge{display:inline-flex;align-items:center;gap:4px;height:19px;padding:0 6px;border:1px solid #e2e8f0;border-radius:6px;background:#f8fafc;color:#64748b;font-size:9px;font-weight:700;line-height:1;white-space:nowrap}.workflow-node-status-badge .workflow-node-status-symbol{display:inline-flex;font-size:10px}.workflow-node-status-badge.is-warning{border-color:#fed7aa;background:#fff7ed;color:#b45309}.workflow-node-status-badge.is-running,.workflow-node-status-badge.is-runnable{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.workflow-node-status-badge.is-success{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}.workflow-node-status-badge.is-failed{border-color:#fecaca;background:#fef2f2;color:#b91c1c}.workflow-node-status-badge.is-disabled{border-color:#e2e8f0;background:#f8fafc;color:#94a3b8}.react-flow__node-ActionNode .workflow-node:after,.react-flow__node-StartEventNode .workflow-node:after,.react-flow__node-ConditionNode .workflow-node:after,.react-flow__node-SwitchNode .workflow-node:after,.react-flow__node-LoopNode .workflow-node:after,.react-flow__node-SelfLoopNode .workflow-node:after,.react-flow__node-AgentNode .workflow-node:after,.react-flow__node-BrowserNode .workflow-node:after,.react-flow__node-AISubNode .workflow-node:after,.react-flow__node-VectorStoreNode .workflow-node:after,.react-flow__node-MCPServerNode .workflow-node:after,.react-flow__node-BuiltinMCPNode .workflow-node:after,.react-flow__node-MCPToolNode .workflow-node:after,.react-flow__node-custom .workflow-node:after,.react-flow__node-EndNode .workflow-node:after,.node-package .workflow-node:after{position:absolute;top:-10px;left:13px;z-index:2;display:inline-flex!important;align-items:center;width:auto;height:19px;padding:0 7px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#64748b;box-shadow:0 1px 2px #0f172a0a;font-size:9px;font-weight:700;line-height:1}.react-flow__node-ActionNode .workflow-node:after{content:"动作"}.react-flow__node-StartEventNode .workflow-node:after{content:"触发器"}.react-flow__node-ConditionNode .workflow-node:after{content:"条件"}.react-flow__node-SwitchNode .workflow-node:after{content:"多分支"}.react-flow__node-LoopNode .workflow-node:after{content:"循环"}.react-flow__node-SelfLoopNode .workflow-node:after{content:"自循环"}.react-flow__node-AgentNode .workflow-node:after{content:"AI Agent"}.react-flow__node-BrowserNode .workflow-node:after{content:"浏览器"}.react-flow__node-AISubNode .workflow-node:after{content:"AI 能力"}.react-flow__node-VectorStoreNode .workflow-node:after{content:"向量库"}.react-flow__node-MCPServerNode .workflow-node:after{content:"MCP 入口"}.react-flow__node-BuiltinMCPNode .workflow-node:after{content:"内置 MCP"}.react-flow__node-MCPToolNode .workflow-node:after{content:"MCP 工具"}.react-flow__node-custom .workflow-node:after{content:"扩展节点"}.react-flow__node-EndNode .workflow-node:after{content:"结束"}.workflow-node-toolbar{top:-38px;right:6px;background:#fff0;padding-bottom:12px}.node-operations{display:inline-flex;width:auto;padding:3px;border:1px solid #e2e8f0;border-radius:9px;background:#fff;box-shadow:0 8px 24px -8px #0f172a2e}.node-operations .operation-button{width:26px;height:26px;border-radius:6px}.node-operations .operation-button:hover{background:#f1f5f9}.workflow-node-deactivated-line{background:#e2e8f0!important}.workflow-handle{width:10px!important;height:10px!important;color:#94a3b8}.workflow-handle-shape-rhombus:before{border-radius:100%}.workflow-handle:hover{color:#2d5bff}.workflow-handle.workflow-handle-shape-rhombus.target:before{background-color:#94a3b8}.workflow-handle-label{padding:2px 5px;border:1px solid #eef1f5;border-radius:5px;background:#fffffff0;color:#64748b;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:9px}.workflow-handle-extender{background:#aab2c2}.workflow-handle-extender-btn{background:transparent}.workflow-handle-add-btn{border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#2d5bff;box-shadow:0 1px 2px #0f172a0a}.react-flow__edge-path,.workflow-main-edge .react-flow__edge-path{stroke:#aab2c2!important;stroke-width:1.5px!important}.workflow-ai-edge .react-flow__edge-path{stroke:#2d5bff!important;stroke-dasharray:5 5}#workflow-arrow{fill:#aab2c2}#workflow-ai-arrow{fill:#2d5bff}.workflow-edge-buttons{gap:2px;padding:3px;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 8px 24px -8px #0f172a2e}.workflow-edge-button{width:24px;height:24px;border-radius:6px;color:#64748b}.workflow-edge-button:hover{background:#f1f5f9;color:#2d5bff}.modern-node-selector{width:min(480px,42vw);border-left:1px solid #e2e8f0;border-radius:14px 0 0 14px;box-shadow:-18px 0 44px -24px #0f172a47}.modern-node-selector .panel-header{padding:10px 14px;border-bottom-color:#e2e8f0}.modern-node-selector .panel-header .title{color:#0f172a;font-size:16px}.modern-node-selector .panel-header .back-button,.modern-node-selector .panel-header .close-button{width:30px;height:30px;border-radius:8px}.modern-node-selector .search-container{padding:10px 10px 0}.modern-node-selector .search-container .ant-input-affix-wrapper{min-height:34px;border:1px solid #eef1f5;border-radius:9px;background:#f8fafc}.modern-node-selector .search-container .ant-input-affix-wrapper:focus-within{border-color:#2d5bff;box-shadow:0 0 0 3px #2d5bff1a}.modern-node-selector .category-tab{padding:5px 11px;border-radius:7px;background:#fff;box-shadow:none;color:#64748b;font-size:12px;border-style:none}.modern-node-selector .category-tab.active{background:#eef2ff;color:#2d5bff;box-shadow:none}.modern-node-selector .node-card{border-color:#e2e8f0;border-radius:10px;box-shadow:0 1px 2px #0f172a0a}.modern-node-selector .node-card.expanded{border-color:#c7d2fe;box-shadow:0 0 0 3px #2d5bff14}.modern-node-selector .node-card-header{padding:8px}.modern-node-selector .node-card-icon{width:36px;height:36px;border-radius:9px}.modern-node-selector .node-card-title,.modern-node-selector .item-title{color:#0f172a;font-size:13px;font-weight:650}.modern-node-selector .node-card-desc,.modern-node-selector .item-description{color:#64748b;font-size:11px}.nodes-config-modal .ant-modal-content{height:min(88vh,900px);overflow:hidden;border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-shadow:0 24px 72px -24px #0f172a6b}.nodes-config-modal .nodes-config-header{height:58px;padding:0 18px;border-bottom:1px solid #e2e8f0;box-shadow:none}.nodes-config-modal .nodes-config-header .header-title{color:#0f172a}.nodes-config-modal .nodes-config-header .back-button{border-radius:8px;color:#64748b}.nodes-config-modal .nodes-config-content{padding:0;background:#f8fafc}.nodes-config-modal .config-row{height:100%;margin:0!important}.nodes-config-modal .config-row>.ant-col{padding:0!important;background:#fff}.nodes-config-modal .config-row .left-section,.nodes-config-modal .config-row .middle-section{border-right:1px solid #e2e8f0}.nodes-config-modal .config-row .left-section,.nodes-config-modal .config-row .middle-section,.nodes-config-modal .config-row .right-section{scrollbar-color:#cbd5e1 transparent;scrollbar-width:thin}.nodes-config-modal .config-row .section-card{border-radius:0;box-shadow:none}.nodes-config-modal .config-row .section-card .ant-card-head{min-height:56px;border-bottom:1px solid #e2e8f0;padding:0 16px}.nodes-config-modal .config-row .section-card .ant-card-body{height:calc(100% - 56px);padding:14px 16px}.nodes-config-modal .node-config-title-name{color:#0f172a!important;font-size:14px!important}.nodes-config-modal .node-config-title-description{overflow:hidden;color:#94a3b8!important;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:10px!important;text-overflow:ellipsis;white-space:nowrap}.nodes-config-modal .ant-tabs-nav{margin-bottom:14px}.nodes-config-modal .ant-tabs-nav:before{border-bottom-color:#e2e8f0}.nodes-config-modal .ant-tabs-tab{padding:10px 2px;color:#64748b;font-size:12px}.nodes-config-modal .ant-tabs-tab-active .ant-tabs-tab-btn,.nodes-config-modal .ant-tabs-ink-bar{color:#2d5bff}.nodes-config-modal .ant-tabs-ink-bar{background:#2d5bff}.nodes-config-modal .middle-section .ant-tabs,.nodes-config-modal .middle-section .ant-tabs-content-holder,.nodes-config-modal .middle-section .ant-tabs-content,.nodes-config-modal .middle-section .ant-tabs-tabpane{min-height:0}.nodes-config-modal .middle-section .ant-tabs-content-holder,.nodes-config-modal .middle-section .ant-tabs-content,.nodes-config-modal .middle-section .ant-tabs-tabpane-active{height:100%}.nodes-config-modal .middle-section .ant-card:not(.section-card){border-color:#e2e8f0!important;border-radius:10px!important;background:#fff;box-shadow:none}.nodes-config-modal .middle-section .ant-divider{border-color:#e2e8f0}.nodes-config-modal .middle-section .ant-tag{border-radius:5px;font-size:10px;font-weight:650}.nodes-config-modal .ant-form-item-label>label{color:#334155;font-size:12px}.nodes-config-modal .ant-input,.nodes-config-modal .ant-input-affix-wrapper,.nodes-config-modal .ant-select-selector,.nodes-config-modal .ant-picker,.nodes-config-modal .ant-input-number{border-color:#e2e8f0;border-radius:8px!important;box-shadow:none!important}.nodes-config-modal .ant-input:hover,.nodes-config-modal .ant-input-affix-wrapper:hover,.nodes-config-modal .ant-select-selector:hover,.nodes-config-modal .ant-picker:hover,.nodes-config-modal .ant-input-number:hover,.nodes-config-modal .ant-input:focus,.nodes-config-modal .ant-input-affix-wrapper:focus,.nodes-config-modal .ant-select-selector:focus,.nodes-config-modal .ant-picker:focus,.nodes-config-modal .ant-input-number:focus,.nodes-config-modal .ant-input:focus-within,.nodes-config-modal .ant-input-affix-wrapper:focus-within,.nodes-config-modal .ant-select-selector:focus-within,.nodes-config-modal .ant-picker:focus-within,.nodes-config-modal .ant-input-number:focus-within{border-color:#2d5bff!important}.nodes-config-modal .ant-btn{border-radius:8px;box-shadow:none}.nodes-config-modal .ant-btn-primary{background:#2d5bff;color:#fff}.workflow-special-config{position:relative;display:flex;width:100%;height:100%;min-height:0;flex-direction:column}.workflow-special-config__scroll{flex:1;min-height:0;overflow-y:auto;padding:4px 18px 20px 0}.workflow-special-config__footer{position:sticky;bottom:0;z-index:2;display:flex;flex:none;justify-content:flex-end;width:100%;padding:12px 18px;border-top:1px solid #e2e8f0;background:#fffffff5;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.workflow-special-config__save{min-width:128px;border-radius:8px}.nodes-config-modal .variables-section{height:100%}.nodes-config-modal .variables-section>.workflow-variable-panel{width:100%;min-width:0;height:100%;max-height:none;overflow:hidden;border:0;border-radius:0;background:#fff;box-shadow:none}.nodes-config-modal .variables-section .workflow-variable-panel__header{box-sizing:border-box;min-height:60px;padding:0 14px;border-bottom-color:#e2e8f0}.nodes-config-modal .variables-section .workflow-variable-panel__header-icon{color:#2d5bff;padding:4px;background:#2d5bff33;border-radius:7px}.nodes-config-modal .variables-section .workflow-variable-panel__title,.nodes-config-modal .variables-section .workflow-variable-panel__label{color:#0f172a}.nodes-config-modal .variables-section .workflow-variable-panel__body{padding:0;display:flex;flex-flow:column;overflow:hidden}.nodes-config-modal .variables-section .workflow-variable-panel__body .variable-panel-group{flex:1;overflow:auto}.nodes-config-modal .variables-section .workflow-variable-panel__body .variable-panel-group.empty{height:auto;flex:none}.nodes-config-modal .variables-section .workflow-variable-panel__body .variable-panel-group .ant-tree-treenode{overflow:hidden;word-break:break-all}.nodes-config-modal .variables-section .workflow-variable-panel__body>:nth-child(1):not(.ant-alert){height:30px}.nodes-config-modal .variables-section .workflow-variable-panel__body>:nth-child(2){height:auto;overflow-y:auto}.nodes-config-modal .variables-section .workflow-variable-panel__section-label{color:#64748b}.nodes-config-modal .variables-section .workflow-variable-panel__item{padding:6px 5px;border-radius:7px}.nodes-config-modal .variables-section .workflow-variable-panel__item:hover,.nodes-config-modal .variables-section .ant-tree-node-content-wrapper:hover{background:#f1f5f9!important}.nodes-config-modal .variables-section .workflow-variable-panel__type{border-radius:5px!important}.nodes-config-modal .workflow-config-form .ant-select-selector,.nodes-config-modal .workflow-credential-form .ant-select-selector,.nodes-config-modal .workflow-config-form .ant-input,.nodes-config-modal .workflow-credential-form .ant-input,.nodes-config-modal .workflow-config-form .ant-input-group-addon,.nodes-config-modal .workflow-credential-form .ant-input-group-addon{border-color:#e2e8f0!important;border-radius:8px!important}.workflow-node-form-shell .workflow-config-form .field-desc,.workflow-node-form-shell .workflow-config-form .ant-form-item-extra{color:#94a3b8;font-size:10px;line-height:1.45;margin-block:4px}.workflow-node-form-shell .workflow-config-form>div>.ant-form-item{margin-bottom:0!important}.nodes-config-modal .workflow-account-select{padding:8px 0}.nodes-config-modal .workflow-account-select .workflow-account-select__title{color:#334155;font-size:12px;font-weight:600}.nodes-config-modal .workflow-account-select .workflow-account-select__name{color:#0f172a;font-size:13px}.nodes-config-modal .workflow-account-select .workflow-account-select__edit{color:#2d5bff}.nodes-config-modal .workflow-config-subflow__param,.nodes-config-modal .workflow-multi-row-guard__rule{border-color:#e2e8f0;border-radius:9px;background:#fff;box-shadow:none}.nodes-config-modal .workflow-config-subflow__param:hover,.nodes-config-modal .workflow-multi-row-guard__rule:hover{border-color:#b9c8ff;box-shadow:0 0 0 3px #2d5bff14}.nodes-config-modal .workflow-node-form-shell{background:#fff}.nodes-config-modal .workflow-node-form-scroll{scrollbar-color:#cbd5e1 transparent;scrollbar-width:thin}.nodes-config-modal .workflow-node-form-scroll .actions button{padding:0;font-size:12px;color:#94a3b8}.nodes-config-modal .workflow-node-form-scroll .actions button:hover{background-color:transparent}.nodes-config-modal .workflow-node-form-footer{border-top-color:#e2e8f0;background:#fffffffa}.nodes-config-modal .workflow-multi-row-extract__row{display:grid!important;grid-template-columns:minmax(88px,1.1fr) minmax(88px,.9fr) minmax(120px,1.7fr) minmax(76px,.8fr) auto;align-items:start!important;gap:8px!important}.nodes-config-modal .workflow-multi-row-extract__row>.ant-space-item{min-width:0}.nodes-config-modal .workflow-multi-row-extract__row .ant-input,.nodes-config-modal .workflow-multi-row-extract__row .ant-select{width:100%!important}.nodes-config-modal .workflow-extend-object>div>.ant-space-item:nth-child(1){display:flex;height:100%;align-items:flex-start}.nodes-config-modal .workflow-extend-object>div>.ant-space-item:nth-child(2){display:flex;height:100%;align-items:flex-start}.nodes-config-modal .workflow-extend-object__row{display:grid!important;grid-template-columns:minmax(120px,.8fr) minmax(180px,1.4fr) auto;align-items:center!important;gap:8px!important}.nodes-config-modal .workflow-extend-object__row>.ant-space-item{min-width:0}.nodes-config-modal .workflow-extend-object__row .ant-input,.nodes-config-modal .workflow-extend-object__row .workflow-extend-object__value{width:100%!important}.nodes-config-modal .workflow-password-field__prefix{display:inline-flex;align-items:center;padding:0 11px;border:1px solid #e2e8f0;border-right:0;border-radius:8px 0 0 8px;background:#f1f5f9;color:#64748b;font-size:12px;white-space:nowrap}.nodes-config-modal .workflow-password-field .ant-input-affix-wrapper{border-radius:0 8px 8px 0!important}.nodes-config-modal .workflow-oauth-token-endpoint .ant-input{border-radius:8px 0 0 8px!important}.nodes-config-modal .workflow-oauth-token-endpoint .ant-btn{border-radius:0 8px 8px 0!important}#shuxi-code-editor{width:calc(100vw - 32px)!important;height:calc(100vh - 32px)!important;border:1px solid rgba(255,255,255,.12);border-radius:14px!important;background:#171a22!important;box-shadow:0 24px 64px #0f172a57}#shuxi-code-editor>div:first-child{min-width:220px;border-right:1px solid rgba(255,255,255,.1);background:#1d2029}#shuxi-code-editor h3{margin:0!important;color:#f8fafc!important;font-size:13px!important;font-weight:650;line-height:48px}.node-test-container .node-test-header .header-title{margin-bottom:4px}.node-test-container .node-test-header .header-title .title-icon{margin-right:8px;color:#2d5bff;font-size:11px;background:#2d5bff33;width:20px;height:20px;border-radius:6px}.node-test-container .node-test-header .header-title h4{color:#0f172a;font-size:13px;font-weight:500}.node-test-container .test-content .action-buttons{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex;justify-content:space-evenly}.node-test-container .test-content .action-buttons button{flex:1}.node-test-container .test-progress{margin-bottom:12px}.node-test-container .ant-progress-inner{height:4px;background:#eef1f5}.node-test-container .error-alert,.node-test-container .success-alert{margin-bottom:12px;border-radius:9px}.node-test-container .ant-alert.small{padding:10px 12px}.node-test-container .ant-alert.small .ant-alert-icon{font-size:16px;margin-inline-end:8px}.node-test-container .ant-alert.small .ant-alert-content .ant-alert-message{font-size:13px;margin-bottom:0}.node-test-container .ant-alert.small .ant-alert-content .ant-alert-description{font-size:11px}.node-test-container .result-card,.node-test-container .result-skeleton{margin-top:12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;box-shadow:none}.node-test-container .result-card:hover{box-shadow:none}.node-test-container .json-renderer{border-radius:0 0 4px 4px!important}.node-test-container .result-editor{border:0;border-radius:0 0 4px 4px!important;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:11px;background-color:#0f1729;color:#cbd5e1}.node-test-container .empty-result{padding:20px 8px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;box-shadow:none}.node-test-container .empty-result .ant-result{padding:18px 8px}.node-test-container .empty-result .ant-result-icon{margin-bottom:10px;font-size:28px}.node-test-container .empty-result .ant-result-title{color:#0f172a;font-size:12px;margin-block:4px}.node-test-container .empty-result .ant-result-subtitle{color:#94a3b8;font-size:11px}.workflow-fullscreen-loading{position:absolute;z-index:1000;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#f6f8fbb8;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.workflow-fullscreen-loading__card{display:flex;align-items:center;gap:14px;min-width:268px;padding:18px 20px;border:1px solid #e2e8f0;border-radius:12px;background:#fffffff5;box-shadow:0 18px 48px -16px #0f172a4d}.workflow-fullscreen-loading__card .ant-spin-dot-item{background-color:#2d5bff}.workflow-fullscreen-loading__copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}.workflow-fullscreen-loading__copy strong{color:#0f172a;font-size:13px;font-weight:650}.workflow-fullscreen-loading__copy span{max-width:360px;color:#64748b;font-size:11px}.workflow-fullscreen-loading.is-error{background:#f8fafcd1}.workflow-fullscreen-loading.is-error .workflow-fullscreen-loading__card{min-width:min(520px,calc(100vw - 48px));border-color:#fecaca}.workflow-fullscreen-loading__error-icon{color:#dc2626;font-size:22px}.workflow-fullscreen-loading__error-code{color:#64748b;font-size:11px;opacity:.8}.workflow-error-handler{position:relative;display:flex;height:100%;min-height:0;flex-direction:column}.workflow-error-handler__body{flex:1;min-height:0;overflow-y:auto;padding:4px 20px 20px 0}.workflow-error-handler__footer{position:sticky;bottom:0;display:flex;justify-content:flex-end;width:100%;padding:12px 20px;border-top:1px solid #e2e8f0;background:#fffffff5;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.workflow-error-handler__save{min-width:128px;border-radius:8px}.workflow-online-ide-trigger{position:absolute;z-index:2;top:7px;right:10px;display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;padding:0;border:1px solid rgba(255,255,255,.14);border-radius:7px;background:#0f172ab8;color:#f8fafc;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease}.workflow-online-ide-trigger:hover:not(:disabled){border-color:#ffffff4d;background:#2d5bffe6;transform:translateY(-1px)}.workflow-online-ide-trigger:focus-visible{outline:2px solid #8fa6ff;outline-offset:2px}.workflow-online-ide-trigger:disabled{cursor:not-allowed;opacity:.4}.workflow-online-ide-title{margin:0;color:#f8fafc;font-size:13px;font-weight:650;line-height:48px}.workflow-online-ide-toolbar{display:flex;height:100%;align-items:center;gap:8px;padding-right:14px}.workflow-online-ide-toolbar .ant-btn{height:30px;border-color:#ffffff29;border-radius:7px;background:#ffffff14;color:#e2e8f0;box-shadow:none}.workflow-online-ide-toolbar .ant-btn:hover{border-color:#ffffff47!important;background:#ffffff24!important;color:#fff!important}.workflow-online-ide-toolbar .ant-btn-primary{border-color:#2d5bff;background:#2d5bff;color:#fff}.workflow-online-ide-toolbar .ant-btn-primary:hover{border-color:#1e45e6!important;background:#1e45e6!important}.workflow-debug-panel{width:min(760px,calc(100vw - 48px));max-height:82vh;overflow:auto;padding:14px;border:1px solid #e2e8f0;border-radius:14px;background:#fffffffa;box-shadow:0 18px 48px -16px #0f172a4d;color:#0f172a;font-size:12px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.workflow-debug-panel .ant-btn{border-radius:7px;box-shadow:none}.workflow-debug-panel .ant-select-selector{border-radius:7px!important}.workflow-debug-panel pre{max-height:180px;overflow:auto;margin:0;padding:9px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#f1f5f9;color:#334155;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:11px;line-height:1.55}.workflow-debug-panel__header{margin:-14px -14px 0;padding:12px 14px;border-bottom:1px solid #e2e8f0;color:#0f172a;font-size:14px;font-weight:650}.workflow-debug-panel__section{margin-top:12px;padding-top:12px;border-top:1px solid #eef1f5}.workflow-debug-panel__section:first-of-type{border-top:0}.workflow-debug-panel__log-header,.workflow-debug-panel__summary{color:#334155;font-weight:600}.workflow-debug-panel__toolbar{margin:8px 0}.workflow-debug-panel__log-list{gap:8px;max-height:360px}.workflow-debug-panel__log-item{padding:10px;border:1px solid #e2e8f0;border-radius:9px;background:#fff}.workflow-debug-panel__log-item:hover{border-color:#cbd5e1;background:#f8fafc}.workflow-debug-panel__log-time,.workflow-debug-panel__log-empty,.workflow-debug-panel__edge-flag{color:#64748b}.workflow-debug-panel__tag{padding:2px 7px;border-radius:999px;font-weight:600}.workflow-debug-panel__tag-node{border-color:#2d5bff38;background:#2d5bff14;color:#2d5bff}.workflow-debug-panel__tag-edge{border-color:#16a34a38;background:#16a34a14;color:#16a34a}.workflow-debug-panel__graph,.workflow-debug-panel__edge-list{border:1px solid #e2e8f0;border-radius:9px;background:#f1f5f9}.workflow-debug-panel__edge-list{padding:8px}.workflow-debug-panel__edge-line,.workflow-debug-panel__edge-line--duplicate{padding:5px 7px;border-radius:6px}.workflow-debug-panel__edge-line--duplicate{border-color:#dc26263d;background:#dc262612;color:#dc2626}@media(max-width:1100px){.nodes-config-modal .nodes-config-header{padding-inline:14px}.nodes-config-modal .config-row .left-section{max-width:24%;flex:0 0 24%}.nodes-config-modal .config-row .middle-section{max-width:48%;flex:0 0 48%}.nodes-config-modal .config-row .right-section{max-width:28%;flex:0 0 28%;background-color:#fff}.nodes-config-modal .config-row .section-card .ant-card-head,.nodes-config-modal .config-row .section-card .ant-card-body{padding-inline:12px}}@media(prefers-reduced-motion:reduce){.modern-node-selector,.workflow-node,.workflow-handle,.workflow-edge{animation:none!important;transition:none!important}}.ant-alert-success{border-color:#bbf7d0;background:#f0fdf4;color:#166534}@keyframes savePulse{50%{opacity:.3;transform:scale(1.6)}}.save-state{font-size:11px;display:inline-flex;align-items:center}.save-state.idle{color:#d97706}.save-state.saving{color:#2d5bff}.save-state.saving .status-icon{animation:savePulse 1.2s ease-in-out infinite}.save-state.saved{color:#16a34a}.save-state.error{color:#dc2626}.save-state .status-icon{width:7px;height:7px;border-radius:50%;background-color:currentColor;margin-left:8px;margin-right:8px;display:inline-block}.setup-panel{min-width:50%;text-align:center;margin-top:-75px}.setup-panel h4{margin-bottom:8px}.setup-panel .desc{color:#64748b;font-size:11px}.setup-panel .start-node-placeholder{margin-top:20px;display:flex;justify-content:center;flex-flow:column}.setup-panel .start-node-placeholder .start-node-select{width:100%;display:flex;flex-flow:row;justify-content:center;gap:10px}.setup-panel .start-node-placeholder .start-node-select .start-node{width:28%;min-width:250px;max-width:350px;min-height:138px}.setup-panel .start-node-placeholder .start-node-select .start-node.customer-mcp{margin-top:10px;width:calc(56% + 15px);min-width:500px;max-width:712px;min-height:32px;gap:10px;display:flex;flex-flow:row;align-items:center;font-size:10px}.setup-panel .start-node-placeholder .start-node-select .start-node.customer-mcp .setup{flex:1;display:flex;align-items:center;flex-flow:row;align-content:flex-end;padding:5px;border-radius:8px;font-size:9px;position:relative;-webkit-user-select:none;user-select:none}.setup-panel .start-node-placeholder .start-node-select .start-node.customer-mcp .setup .name{padding-left:10px}.setup-panel .start-node-placeholder .start-node-select .start-node.customer-mcp .setup.disable{color:#0f172a;opacity:.45}.setup-panel .start-node-placeholder .start-node-select .start-node.customer-mcp .setup:hover{background:#eff3ff}.setup-panel .start-node-placeholder .start-node-select .start-node.customer-mcp .setup .tip{position:absolute;right:0;padding-right:8px;font-size:7px;color:#aaa}.setup-panel .start-node-placeholder .start-node-select .start-node.customer-mcp .setup .tip.next{font-size:14px;color:#0f172a}.setup-panel .start-node-placeholder .mcp-block{margin-top:20px;width:100%}.ant-form-item-explain-error{font-size:12px}.ce-tag_input{outline-width:0;border:1px solid #e2e8f0;border-radius:8px}.ant-btn .ant-btn-icon{display:inline-flex}.ai-flow-variable-tree{display:flex;width:100%;min-width:280px;max-width:420px;height:100%;min-height:360px;flex-direction:column;overflow:hidden;border:1px solid var(--ai-flow-color-border, #e2e8f0);border-radius:var(--ai-flow-radius-card, 12px);background:var(--ai-flow-color-surface, #ffffff);color:var(--ai-flow-color-text, #0f172a);font-family:var(--ai-flow-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif);box-shadow:var(--ai-flow-shadow-sm, 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04))}.ai-flow-variable-tree__header{display:flex;min-height:54px;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid var(--ai-flow-color-border-soft, #eef1f5)}.ai-flow-variable-tree__header>div{display:inline-flex;align-items:center;gap:8px;color:var(--ai-flow-color-brand, #2d5bff)}.ai-flow-variable-tree__header strong{color:var(--ai-flow-color-text, #0f172a);font-size:13px;font-weight:650}.ai-flow-variable-tree__header>span{color:var(--ai-flow-color-text-subtle, #94a3b8);font-size:11px}.ai-flow-variable-tree__search{padding:10px 12px 8px}.ai-flow-variable-tree__search .ant-input-affix-wrapper{border-color:var(--ai-flow-color-border, #e2e8f0);border-radius:var(--ai-flow-radius-control, 8px);box-shadow:none}.ai-flow-variable-tree__search .ant-input-affix-wrapper:focus-within{border-color:var(--ai-flow-color-brand, #2d5bff);box-shadow:0 0 0 2px #2d5bff1a}.ai-flow-variable-tree__body{flex:1;padding:0 8px 12px;overflow:auto;scrollbar-color:var(--ai-flow-color-border-strong, #cbd5e1) transparent}.ai-flow-variable-tree__loading{padding:12px}.ai-flow-variable-tree__section-label{display:flex;align-items:center;gap:6px;padding:10px 6px 6px;color:var(--ai-flow-color-text-muted, #64748b);font-size:11px;font-weight:650}.ai-flow-variable-tree__divider{height:1px;margin:10px 6px 0;background:var(--ai-flow-color-border-soft, #eef1f5)}.ai-flow-variable-tree .ant-tree{background:transparent;color:inherit}.ai-flow-variable-tree .ant-tree-node-content-wrapper{min-height:30px;padding:3px 6px!important;border-radius:7px}.ai-flow-variable-tree .ant-tree-node-content-wrapper:hover{background:var(--ai-flow-color-surface-sunken, #f1f5f9)!important}.ai-flow-variable-tree .ant-tree-node-content-wrapper.ant-tree-node-selected{background:#eff3ff!important}.ai-flow-variable-tree__node{display:flex;min-width:0;align-items:center;gap:6px;font-size:12px}.ai-flow-variable-tree__node.is-disabled{opacity:.48}.ai-flow-variable-tree__root-icon{display:inline-flex;width:22px;height:22px;flex:none;align-items:center;justify-content:center;overflow:hidden;border-radius:6px;background:#eff3ff;color:var(--ai-flow-color-brand, #2d5bff);font-size:10px;font-weight:700}.ai-flow-variable-tree__root-icon img{width:100%;height:100%;object-fit:cover}.ai-flow-variable-tree__type{min-width:34px;margin-inline-end:0!important;padding-inline:4px!important;border-radius:5px;font-family:var(--ai-flow-font-mono, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace);font-size:9px;line-height:17px;text-align:center}.ai-flow-variable-tree__label{min-width:0;overflow:hidden;color:var(--ai-flow-color-text-secondary, #334155);text-overflow:ellipsis;white-space:nowrap}.ai-flow-variable-tree__value{max-width:112px;margin-left:auto;overflow:hidden;color:var(--ai-flow-color-text-subtle, #94a3b8);font-family:var(--ai-flow-font-mono, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace);font-size:10px;text-overflow:ellipsis;white-space:nowrap}@media(prefers-reduced-motion:reduce){.ai-flow-variable-tree *,.ai-flow-node-test-panel *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}._modalContainer_1ajlo_5{position:fixed;z-index:1400;top:0;right:0;bottom:0;left:0;display:flex;width:100vw;height:100dvh;align-items:center;justify-content:center;background:#111827}._modalContainer_1ajlo_5 ._editorContainer_1ajlo_16{display:flex;width:100%;min-width:800px;height:100%;overflow:hidden;border:1px solid rgba(255,255,255,.08);background:#0f111a}._modalContainer_1ajlo_5 ._editorContainer_1ajlo_16 ._sider_1ajlo_25{width:auto;min-width:280px;max-width:20%;padding:10px;overflow:auto;border-right:1px solid rgba(255,255,255,.08);background:#f8fafc}._modalContainer_1ajlo_5 ._editorContainer_1ajlo_16 ._main_1ajlo_34{display:flex;min-width:0;flex:1;flex-direction:column}._modalContainer_1ajlo_5 ._editorContainer_1ajlo_16 ._main_1ajlo_34 ._header_1ajlo_40{display:flex;min-height:48px;flex-direction:row;align-items:center;justify-content:space-between;padding-left:18px;border-bottom:1px solid rgba(255,255,255,.09);background:#171923}._modalContainer_1ajlo_5 ._editorContainer_1ajlo_16 ._main_1ajlo_34 ._editor_1ajlo_16{min-height:0;flex:1}@media(max-width:920px){._modalContainer_1ajlo_5 ._editorContainer_1ajlo_16{min-width:0}._modalContainer_1ajlo_5 ._editorContainer_1ajlo_16 ._sider_1ajlo_25{width:260px;min-width:240px}}.node-variable-token{background-color:red}._ideWrapper_sfar6_1 .ant-tree{color:inherit}._siderContainer_fhkbn_1{height:100%;display:flex;flex-direction:column;justify-content:space-between;padding:10px 5px;box-sizing:border-box}
1
+ /*! tailwindcss v4.1.10 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-ease:initial;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1)}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.\[build\:lib\]{build:lib}.\[check\:all\]{check:all}.\[workflow\:account-debug\]{workflow:account-debug}.\[workflow\:auto-connect\]{workflow:auto-connect}.\[workflow\:connectable\]{workflow:connectable}.\[workflow\:node-add\]{workflow:node-add}.\[workflow\:node-types\]{workflow:node-types}.\[workflow\:online-validation\]{workflow:online-validation}.\[workflow\:schema-render\]{workflow:schema-render}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.running{animation-play-state:running}.zoom-out{--tw-exit-scale:0}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}:root{--background:oklch(100% 0 0);--foreground:oklch(14.5% 0 0);--card:oklch(100% 0 0);--card-foreground:oklch(14.5% 0 0);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.5% 0 0);--primary:oklch(20.5% 0 0);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(97% 0 0);--secondary-foreground:oklch(20.5% 0 0);--muted:oklch(97% 0 0);--muted-foreground:oklch(55.6% 0 0);--accent:oklch(97% 0 0);--accent-foreground:oklch(20.5% 0 0);--destructive:oklch(57.7% .245 27.325);--destructive-foreground:210 40% 98%;--border:oklch(92.2% 0 0);--input:oklch(92.2% 0 0);--ring:oklch(70.8% 0 0);--radius:.625rem;--chart-1:oklch(64.6% .222 41.116);--chart-2:oklch(60% .118 184.704);--chart-3:oklch(39.8% .07 227.392);--chart-4:oklch(82.8% .189 84.429);--chart-5:oklch(76.9% .188 70.08);--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.5% 0 0);--sidebar-primary:oklch(20.5% 0 0);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(97% 0 0);--sidebar-accent-foreground:oklch(20.5% 0 0);--sidebar-border:oklch(92.2% 0 0);--sidebar-ring:oklch(70.8% 0 0)}.dark{--background:oklch(14.5% 0 0);--foreground:oklch(98.5% 0 0);--card:oklch(20.5% 0 0);--card-foreground:oklch(98.5% 0 0);--popover:oklch(20.5% 0 0);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(92.2% 0 0);--primary-foreground:oklch(20.5% 0 0);--secondary:oklch(26.9% 0 0);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(26.9% 0 0);--muted-foreground:oklch(70.8% 0 0);--accent:oklch(26.9% 0 0);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(70.4% .191 22.216);--destructive-foreground:210 40% 98%;--border:oklch(100% 0 0/.1);--input:oklch(100% 0 0/.15);--ring:oklch(55.6% 0 0);--chart-1:oklch(48.8% .243 264.376);--chart-2:oklch(69.6% .17 162.48);--chart-3:oklch(76.9% .188 70.08);--chart-4:oklch(62.7% .265 303.9);--chart-5:oklch(64.5% .246 16.439);--sidebar:oklch(20.5% 0 0);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(48.8% .243 264.376);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(26.9% 0 0);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(100% 0 0/.1);--sidebar-ring:oklch(55.6% 0 0)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0))}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}.workflow-edge{stroke-width:1px;fill:none;transition:stroke-width .2s ease,stroke .2s ease}.workflow-edge-label{pointer-events:all;-webkit-user-select:none;user-select:none}.workflow-edge-label.nodrag{pointer-events:none}.workflow-edge-path{stroke:#7e8186;stroke-width:1;fill:none;transition:stroke .2s ease,stroke-width .2s ease}.workflow-edge.selected .workflow-edge-path{stroke:#1890ff}.workflow-edge:hover .workflow-edge-path,.workflow-edge.edge-hovered .workflow-edge-path{stroke:#fa8c16}.workflow-edge:hover .workflow-edge-buttons,.workflow-edge.edge-hovered .workflow-edge-buttons{opacity:1!important;visibility:visible!important}.workflow-edge:hover marker,.workflow-edge.edge-hovered marker{fill:#fa8c16!important}.workflow-edge.workflow-edge-animated{animation:edge-flow 1s infinite}.workflow-edge.workflow-loop-edge{animation:loop-flow 3s infinite linear;stroke-dasharray:5,5;stroke-linecap:round;filter:drop-shadow(0 0 2px rgba(24,144,255,.3));stroke:#1890ff!important}.workflow-edge.workflow-loop-edge.workflow-main-edge{stroke:#1890ff!important}.workflow-edge.workflow-main-edge{stroke:#aab2c2!important}.react-flow__edge{opacity:1!important;pointer-events:all!important}.react-flow__edge:hover .react-flow__edge-path{stroke:#fa8c16!important}.react-flow__edge:hover marker{fill:#fa8c16!important}.react-flow__edge:hover #workflow-arrow,.react-flow__edge:hover #workflow-ai-arrow{fill:#fa8c16!important}.react-flow__edge-path{stroke:#7e8186!important;stroke-width:1px!important;opacity:1!important;fill:none!important;transition:stroke .2s ease!important}.workflow-node-handle{width:8px;height:8px;background:#fff;border:2px solid #1890ff;border-radius:50%}.workflow-node-handle:hover{background:#1890ff}.workflow-edge-label{transition:all .3s}.workflow-edge-label:hover{transform:scale(1.05)!important}.react-flow__edge marker{fill:currentColor;transition:fill .2s ease}marker path{fill:inherit;stroke:none}.workflow-main-edge .react-flow__edge-path{stroke:#7e8186!important}.workflow-main-edge marker{fill:#7e8186!important}.workflow-ai-edge .react-flow__edge-path{stroke:green!important}.workflow-ai-edge marker{fill:green!important}.react-flow__edge:hover .react-flow__edge-path,.workflow-edge.edge-hovered .react-flow__edge-path{stroke:#fa8c16!important}.react-flow__edge:hover marker,.workflow-edge.edge-hovered marker{fill:#fa8c16!important}.react-flow__edge.selected .react-flow__edge-path{stroke:#1890ff!important;stroke-width:3px!important}.react-flow__edge.selected marker{fill:#1890ff!important}#workflow-arrow{fill:#7e8186;transition:fill .2s ease}#workflow-ai-arrow{fill:green;transition:fill .2s ease}.workflow-edge-buttons{display:flex;visibility:visible;transition:opacity .3s ease;background:#fff;box-shadow:0 2px 4px #0000001a;border-radius:4px;padding:3px;pointer-events:all!important;z-index:1000;gap:4px}.workflow-edge-button{width:28px;height:28px;padding:0;border:none;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;background-color:#fff;color:#666;transition:all .2s ease}.workflow-edge-button:hover{background-color:#fa8c16;color:#fff}.workflow-edge-button:active{background:#e6f7ff;transform:scale(.95)}@keyframes edge-flow{0%{stroke-dashoffset:0}to{stroke-dashoffset:20}}@keyframes loop-flow{0%{stroke-dashoffset:20}to{stroke-dashoffset:0}}.react-flow__renderer,.react-flow__edges{z-index:0}.react-flow__edge-interaction,.react-flow__edge-text{opacity:1!important}.react-flow__edge-path,.react-flow__connection-path{fill:transparent!important;pointer-events:stroke}.react-flow{--edge-marker-size: 12px !important;--edge-stroke-width: 1px !important}.handle-container{position:relative}.handle-container:before{content:"";position:absolute;top:-10px;right:-10px;bottom:-10px;left:-10px;z-index:0}.workflow-handle{position:absolute;width:11px!important;height:11px!important;overflow:visible!important;background-color:transparent;cursor:crosshair;transition:transform .2s ease,opacity .2s ease,color .2s ease;z-index:1;color:#007fffe0;border:1px solid #94a3b8}.workflow-handle.workflow-handle-full{cursor:not-allowed;opacity:.7}.workflow-handle.workflow-handle-success{color:#00b042}.workflow-handle.workflow-handle-running{color:#007fff}.workflow-handle.workflow-handle-failed{color:#ff5219}.workflow-handle.workflow-handle-invalid{color:#ff9200}.workflow-handle-label{font-size:12px;white-space:nowrap;pointer-events:none}.workflow-handle-extender-container{pointer-events:none}.workflow-handle-extender{pointer-events:none;background-color:#007fff7a}.node-label-toolbar{background:transparent!important;border:none!important;box-shadow:none!important}.workflow-handle-add-btn{cursor:pointer;background-color:#fff;border:1px solid #d9d9d9;border-radius:50%;width:16px;height:16px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #0000001a;transition:all .2s}.workflow-handle-add-btn:hover{background-color:#e6f7ff;border-color:#1890ff}.workflow-handle-connection-count{font-size:10px}.workflow-node-input-handle.workflow-handle-main{border-color:#007fff}.workflow-node-input-handle.workflow-handle-main:hover{box-shadow:0 0 0 3px #007fff33}.workflow-node-output-handle.workflow-handle-main{border-color:#007fff}.workflow-node-output-handle.workflow-handle-main:hover{box-shadow:0 0 0 3px #007fff33}.custom-handle-container{width:0;height:0}.workflow-handle{z-index:10;border-radius:100%}.workflow-handle-shape-square{width:11px;height:11px;background-color:currentColor;border-radius:2px}.workflow-handle-shape-circle{width:11px;height:11px;border-radius:50%;background-color:currentColor}.workflow-handle-shape-rhombus{width:11px;height:11px;background-color:#fff!important;border-color:#94a3b8!important}.workflow-handle-shape-rhombus:before{content:"";position:absolute;top:20%;left:20%;width:60%;height:60%;background-color:currentColor}.workflow-handle-label{z-index:10;font-size:12px;color:#171a1d;white-space:nowrap;line-height:1;background-color:#fffc}.node-label-toolbar{pointer-events:none;z-index:4}.node-toolbar-extender{pointer-events:all;z-index:5}.workflow-handle-extender-container{pointer-events:all}.workflow-handle-extender{width:100%;height:100%;position:relative;z-index:-1;background-color:#007fff7a;transition:background-color .2s ease}.workflow-handle-extender:hover{background-color:#007fff!important}.workflow-target-handle.workflow-handle-main{border-color:#007fff}.workflow-target-handle.workflow-handle-main:hover{box-shadow:0 0 0 3px #722ed133}.workflow-handle-square{width:12px;height:12px}.custom-handle-wrapper{position:absolute;display:flex;align-items:center}.custom-handle-wrapper.source-handle{flex-direction:row}.custom-handle-wrapper.source-handle .handle-label{margin-right:6px}.custom-handle-wrapper.source-handle .short-edge{display:flex;width:20px;height:1px;background-color:#ddd;position:relative}.custom-handle-wrapper.source-handle .short-edge .plus-icon-wrapper{position:absolute;right:-10px;top:-10px;display:flex;justify-content:center;align-items:center;width:20px;height:20px;background-color:#fff;border:1px solid #ddd;border-radius:10px;cursor:pointer}.custom-handle-wrapper.source-handle .short-edge .plus-icon-wrapper .plus-icon{font-size:12px;color:#999}.custom-handle-wrapper.target-handle{flex-direction:row-reverse}.custom-handle-wrapper.target-handle .handle-label{margin-left:6px}.custom-handle-wrapper.main .workflow-handle{background-color:#1677ff}.workflow-node .custom-handle-wrapper.target-handle.main{left:-30px}.workflow-node .custom-handle-wrapper.source-handle.main{right:-10px}.workflow-node-description-container{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center}.workflow-node-title-row{display:flex;align-items:center;gap:4px;font-family:PingFang SC,PingFang SC Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:15px;color:#171a1d;font-weight:400;line-height:20px;margin:0}.workflow-node-title-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.workflow-node-status-slot{display:inline-flex;flex:none}.workflow-node-status-badge{display:inline-flex;height:20px;flex:none;align-items:center;gap:4px;padding:0 6px;border:1px solid #dfe4ec;border-radius:6px;background:#f8fafc;color:#64748b;font-size:10px;font-weight:600;line-height:18px;white-space:nowrap;z-index:2;box-sizing:border-box}.workflow-node-status-badge .workflow-node-status-symbol{display:inline-flex;align-items:center;font-size:10px}.workflow-node-status-badge.is-running{border-color:#bae6fd;background:#f0f9ff;color:#0369a1}.workflow-node-status-badge.is-success,.workflow-node-status-badge.is-runnable{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}@media(prefers-reduced-motion:reduce){.workflow-node-status-badge .anticon-spin{animation:none!important}}.workflow-node-description-wrapper{margin-top:4px;min-height:20px}.workflow-node-description-wrapper *{transition:none}.workflow-node-description{font-size:15px;line-height:20px;color:#171a1d66;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;padding:0!important}.workflow-node-description-placeholder{color:#171a1d4d}.workflow-node-note-display{display:flex;align-items:center;gap:6px;cursor:default;border-radius:4px;transition:background-color .2s ease;padding:0;width:100%;position:relative}.workflow-node-note-display .ant-typography{margin:0}.workflow-node-note-display.is-editable{cursor:pointer;padding:0 8px 0 0}.workflow-node-note-display.is-editable:hover{background-color:#007fff14}.workflow-node-edit-icon{margin-left:6px;opacity:0;transition:opacity .2s ease;font-size:12px;color:#171a1d66}.workflow-node-note-display.is-editable:hover .workflow-node-edit-icon{opacity:1}.workflow-node-note-editor .ant-input{font-size:15px;line-height:20px;border-radius:4px;font-family:PingFang SC,PingFang SC Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.workflow-node-note-editor .ant-input:focus{box-shadow:0 0 0 2px #007fff29}.node-operations{display:flex;align-items:center;border-radius:4px;justify-content:flex-end;position:relative}.node-operations .operation-button{display:flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border-radius:4px;transition:all .3s}.node-operations .operation-button:hover{background-color:#0000000d}.node-operations .operation-button.testing{color:#1890ff}.node-operations .operation-button.success{color:#52c41a}.node-operations .operation-button.error{color:#f5222d}.node-operations .operation-button.disabled{color:#d9d9d9}.node-operations .operation-button.disabled:hover{color:#1890ff}.node-operations .operation-button.delete-button:hover{color:#f5222d;background-color:#f5222d1a}.node-operations-center{justify-content:center;z-index:1000}.node-operations-right{padding-right:20px}.ant-form-item .ant-form-item-label>label.ant-form-item-required:before{display:none}.ant-form-item .ant-form-item-label>label.ant-form-item-required:after{display:inline-block;margin-inline-start:4px;color:#dc2626;font-size:14px;font-family:SimSun,sans-serif;line-height:1;content:"*";visibility:visible}.common-icon{font-size:16px;display:inline-flex;width:38px;height:38px;border-radius:10px;color:#94a3b8;background:#fff;align-items:center;justify-content:center}.common-icon:after{content:"↗"}._accountModal_b0w5m_1 .ant-modal-content{display:flex;flex-direction:column;max-height:calc(100vh - 88px);overflow:hidden;border-radius:10px;box-shadow:0 12px 32px #0000002e}._accountModal_b0w5m_1 .ant-modal-header{flex:0 0 auto}._accountModal_b0w5m_1 .ant-modal-body{flex:1 1 auto;min-height:0;overflow:hidden}._formLayout_b0w5m_17{display:flex;flex-direction:column;max-height:calc(100vh - 168px);min-height:0}._formContent_b0w5m_23{flex:0 1 auto;min-height:0;max-height:min(640px,calc(100vh - 288px));overflow-x:hidden;overflow-y:auto;padding-right:4px}._formActions_b0w5m_31{flex:0 0 auto;display:flex;justify-content:center;padding-top:16px;margin-top:16px;border-top:1px solid #f0f0f0;background:#fff}._rdbmsTestAction_b0w5m_40{flex:0 0 auto;padding-top:16px}.value-mode-wrapper{position:relative}.value-mode-switch{position:absolute;z-index:2}.value-mode-switch.top-right{top:-32px;right:0}.value-mode-switch.top-left{top:-32px;left:0}.value-mode-switch.bottom-right{bottom:-32px;right:0}.value-mode-switch.bottom-left{bottom:-32px;left:0}.value-mode-switch .ant-radio-button-wrapper{padding:0 8px;height:24px;line-height:22px;font-size:12px}.value-mode-switch .mode-label{margin-left:4px}.value-mode-switch .anticon{font-size:12px}.value-mode-content{width:100%}.code-mode-textarea{font-family:Monaco,Menlo,Ubuntu Mono,monospace!important;font-size:13px;line-height:1.5;background-color:#1e1e1e;color:#d4d4d4;border-color:#3c3c3c}.code-mode-textarea:hover{border-color:#007acc}.code-mode-textarea:focus{border-color:#007acc;box-shadow:0 0 0 2px #007acc33}.code-mode-textarea::placeholder{color:#6a9955}.value-mode-wrapper.compact .value-mode-switch{position:static;margin-bottom:8px}.value-mode-wrapper.compact .value-mode-switch.top-right,.value-mode-wrapper.compact .value-mode-switch.bottom-right{text-align:right}.ant-card-body>.value-mode-wrapper .value-mode-switch.top-right,.ant-card-body>.value-mode-wrapper .value-mode-switch.top-left{top:0}.ant-card-body>.value-mode-wrapper .value-mode-switch.bottom-right,.ant-card-body>.value-mode-wrapper .value-mode-switch.bottom-left{bottom:0}.ce-tag_input{background-color:#fff;padding:.2em;font-size:1em;font-weight:400;font-family:inherit;width:100%;box-sizing:border-box;overflow-y:scroll;outline-width:0;border-radius:8px}.ce-tag_input[contenteditable=false]{background-color:#eee}.ce-tag_input::-webkit-scrollbar{width:2px;height:2px}.ce-tag_input::-webkit-scrollbar-track{background:transparent}.ce-tag_input::-webkit-scrollbar-thumb{background:#1e8bc3}.ce-tag_input:focus{outline-color:#40a9ff}.ce-tag_input>p :nth-child(2).tag-wrapper{margin-left:-5px}.ce-tag_input>p>span:first-child:not(.tag-wrapper){padding-right:5px;padding-left:5px}.ce-tag_input .tag-wrapper{cursor:default;margin:0;display:inline-flex;align-items:center;transition:all .15s ease;vertical-align:middle;line-height:1;-webkit-user-select:none;user-select:none;padding:3px 6px;border-radius:5px;background:#eff3ff;color:var(--ai-flow-color-brand);font-size:11px;border:1px solid transparent}.ce-tag_input .tag-wrapper:hover{box-shadow:0 1px 2px #0000000f}.ce-tag_input .tag-wrapper.selected{border:1px solid var(--ai-flow-color-brand)}.ce-tag_input .tag-wrapper.focused{box-shadow:0 0 3px var(--ai-flow-color-brand)}.ce-tag_input>p{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:.2rem}.ce-tag_input>p>*{display:inline-flex}.ce-tag_input .tag-invalid{background-color:var(--ai-flow-color-danger);color:var(--ai-flow-color-surface)}.ce-tag_input .tag-icon{width:14px;height:14px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;font-size:12px;line-height:1}.ce-tag_input .default-icon{background:#e6f4ff;color:#1677ff;border-radius:3px;font-weight:600;font-size:10px;line-height:14px}.ce-tag_input .tag-wrapper>span{display:inline-flex;align-items:center;line-height:1}.ce-tag_input .tag-text{padding-left:0;cursor:default;display:inline-flex;align-items:center;line-height:1}.ce-tag_input .tag-text img{width:1.1em;border:none;height:1.1em;margin:0 2px 3px 0;vertical-align:middle}.ce-tag_input .tag-text-right-padding{padding-right:.4em}.ce-tag_input>p{margin:0;text-align:left;white-space:pre-wrap;line-height:1.8em}.ce-tag_input .tag-del{cursor:pointer;padding:0 3px;font-size:1em;background-color:transparent;border-radius:0%;color:#4a5568}.ce-tag_input .tag-del:hover{background-color:#c8d4e4;border:none}.ce-tag_input ::-moz-selection{background:#b3d7ff}.ce-tag_input ::selection{background:#b3d7ff}.variable-tag-tooltip .ant-tooltip-inner{padding:8px 10px;background:#000000d9!important;border-radius:4px;box-shadow:none}.variable-tag-tooltip .ant-tooltip-arrow-content{--antd-arrow-background-color: rgba(0, 0, 0, .85)}.tag-tooltip-content{color:#fff;font-size:12px;line-height:1.5}.tag-tooltip-header{margin-bottom:4px}.tag-tooltip-type{display:inline-block;padding:1px 6px;font-size:10px;font-weight:500;background:#ffffff26;color:#ffffffd9;border-radius:3px;margin-bottom:4px}.tag-tooltip-name{font-size:13px;font-weight:500;color:#fff;margin-bottom:4px}.tag-tooltip-path{font-family:Consolas,Monaco,monospace;font-size:11px;color:#ffffffbf;word-break:break-all}.tag-tooltip-value{margin-top:6px;padding-top:6px;border-top:1px solid rgba(255,255,255,.15)}.tag-tooltip-value-label{font-size:10px;color:#ffffffa6;margin-bottom:2px}.tag-tooltip-value-text{font-family:Consolas,Monaco,monospace;font-size:11px;color:#ffffffd9;word-break:break-all}.ai-field-wrapper{position:relative}.ai-field-wrapper.ai-mode .ai-field-display{display:flex;align-items:center;gap:8px}.ai-field-wrapper .ai-field-input{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:6px;color:#fff;cursor:not-allowed}.ai-field-wrapper .ai-field-input .ant-input{background:transparent;color:#fff;cursor:not-allowed}.ai-field-wrapper .ai-field-input .ant-input::placeholder{color:#fff9}.ai-field-wrapper .ai-field-input .ant-input-prefix{color:#fff}.ai-field-wrapper .ai-icon{animation:ai-pulse 2s ease-in-out infinite alternate}@keyframes ai-pulse{0%{opacity:.7;transform:scale(1)}to{opacity:1;transform:scale(1.1)}}.ai-field-wrapper .ai-field-close{color:#00000073}.ai-field-wrapper .ai-field-close:hover{color:#000000e0}.ai-field-wrapper.normal-mode{display:flex;flex-direction:column;gap:4px}.ai-field-wrapper.normal-mode .ai-field-content{flex:1}.ai-field-wrapper .ai-enable-button{align-self:flex-start;padding:0;height:auto;font-size:12px;color:#667eea}.ai-field-wrapper .ai-enable-button:hover{color:#764ba2}.ai-field-wrapper .ai-enable-button .anticon{margin-right:4px}._configFormContainer_s061b_1 .ant-select-selector{border-color:#d6dce3!important;border-radius:4px!important}._configFormContainer_s061b_1 .ant-input-group-addon{border-color:#d6dce3!important;border-top-left-radius:4px!important;border-bottom-left-radius:4px!important}._configFormContainer_s061b_1 .ant-input-group>.ant-input:last-child{border-color:#d6dce3!important;border-top-right-radius:4px!important;border-bottom-right-radius:4px!important}._configFormContainer_s061b_1::-webkit-scrollbar{width:2px;height:2px}._configFormContainer_s061b_1::-webkit-scrollbar-track{background:#eee;border:thin solid lightgray;box-shadow:2px 0 2px #f6f6f6 inset;-moz-box-shadow:2px 0px 2px #f6f6f6 inset;-webkit-box-shadow:2px 0px 2px #f6f6f6 inset;-o-box-shadow:2px 0px 2px #f6f6f6 inset}._configFormContainer_s061b_1::-webkit-scrollbar-thumb{background:#1e8bc3}._accountSelectContainer_4vdjt_1{width:100%;padding:16px 0}._accountSelectContainer_4vdjt_1 .ant-select-selection-item{padding:0 4px}._selectTitle_4vdjt_8{margin-bottom:12px!important;font-weight:500;font-size:14px;color:#000}._accountOption_4vdjt_14{display:flex;justify-content:space-between;align-items:center;width:100%;padding:0}._accountName_4vdjt_21{font-weight:400;max-width:40%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;display:flex;align-items:center}._accountName_4vdjt_21 span{margin-right:4px}._nameEditIcon_4vdjt_34{font-size:12px;color:#1890ff;margin-left:6px;cursor:pointer;opacity:.5}._nameEditIcon_4vdjt_34:hover{opacity:1}._editInputWrapper_4vdjt_44{z-index:1001;position:relative}._nameEditInput_4vdjt_48{width:120px;font-size:12px;z-index:1001}._accountActions_4vdjt_53{display:flex;align-items:center;gap:5px}._updateTime_4vdjt_58{font-size:12px}.workflow-account-select__popup ._ant-select-item-option-content_4vdjt_61{padding:2px 0}._configFormContainer_1frpl_1 .ant-select-selector{border-color:#d6dce3!important;border-radius:4px!important}._configFormContainer_1frpl_1 .ant-input-group-addon{border-color:#d6dce3!important;border-top-left-radius:4px!important;border-bottom-left-radius:4px!important}._configFormContainer_1frpl_1 .ant-input-group>.ant-input:last-child{border-color:#d6dce3!important;border-top-right-radius:4px!important;border-bottom-right-radius:4px!important}._configFormContainer_1frpl_1::-webkit-scrollbar{height:6px;width:6px}._configFormContainer_1frpl_1::-webkit-scrollbar-track{background-color:transparent;border-radius:3px}._configFormContainer_1frpl_1::-webkit-scrollbar-thumb{background-color:#dcdcdc;border-radius:6px}.node-test-container{padding:0}.node-test-container .node-test-header{height:60px;box-sizing:border-box;margin-bottom:0;border-bottom:1px solid #EFEFEF;padding:0 20px;display:flex}.node-test-container .node-test-header .header-title{display:flex;align-items:center;margin-bottom:8px}.node-test-container .node-test-header .header-title .title-icon{font-size:22px;margin-right:12px;color:#1890ff}.node-test-container .node-test-header .header-title h4{margin:0}.node-test-container .node-test-header .header-title .close-btn{display:inline-flex;position:absolute;right:20px;color:#94a3b8;border-color:transparent}.node-test-container .test-content{padding:16px}.node-test-container .test-content .test-disabled-alert{margin-bottom:16px;border-radius:8px}.node-test-container .test-content .action-buttons{display:flex;margin-bottom:10px}.node-test-container .test-content .action-buttons button{font-size:13px}.node-test-container .test-content .test-progress{margin-bottom:16px}.node-test-container .test-content .sample-helper-text{margin-top:-8px;margin-bottom:16px;color:#00000073;font-size:12px}.node-test-container .test-content .sample-panel{margin-top:16px;padding:16px;background:#fff;border:1px solid #f0f0f0;border-radius:6px}.node-test-container .test-content .sample-panel .sample-panel-header{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;margin:-16px -16px 12px;background:#ebf1fe;border-radius:5px 5px 0 0}.node-test-container .test-content .sample-panel .sample-panel-header .sample-panel-title{display:flex;align-items:center;gap:6px;font-weight:600;color:#3573ed}.node-test-container .test-content .sample-panel .sample-panel-header .ant-btn-link{font-weight:600;color:#3573ed}.node-test-container .test-content .sample-panel .sample-panel-header .ant-btn-link:hover,.node-test-container .test-content .sample-panel .sample-panel-header .ant-btn-link:focus{color:#3573ed}.node-test-container .test-content .sample-panel .sample-risk-alert{margin-bottom:12px}.node-test-container .test-content .sample-panel .sample-risk-alert .ant-alert-icon{font-size:14px;display:inline-flex;align-items:center;height:25px}.node-test-container .test-content .sample-panel .sample-risk-alert .ant-alert-message{color:#d89438}.node-test-container .test-content .sample-panel .sample-risk-alert .ant-alert-description{color:#b1832b}.node-test-container .test-content .sample-panel .sample-textarea{margin-bottom:8px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:13px}.node-test-container .test-content .sample-panel .sample-error{color:#ff4d4f;font-size:12px;margin-bottom:8px}.node-test-container .test-content .sample-panel .sample-actions{display:flex;justify-content:flex-end;gap:8px}.node-test-container .test-content .source-tag{margin-left:8px}.node-test-container .test-content .error-alert,.node-test-container .test-content .success-alert{margin-bottom:16px}.node-test-container .test-content .error-alert .ant-alert-icon,.node-test-container .test-content .success-alert .ant-alert-icon{font-size:14px;display:inline-flex;align-items:center;height:25px}.node-test-container .test-content .result-skeleton{margin-top:16px;padding:16px;background:#fff;border-radius:4px}.node-test-container .test-content .result-card{margin-top:0;border-radius:6px;box-shadow:0 1px 2px #00000008;transition:all .3s}.node-test-container .test-content .result-card:hover{box-shadow:0 3px 6px #0000001a}.node-test-container .test-content .result-card.success-result .ant-card-head{border-bottom:1px solid rgba(82,196,26,.2)}.node-test-container .test-content .result-card.success-result .ant-card-head .success-icon{color:#52c41a;margin-right:8px}.node-test-container .test-content .result-card.error-result .ant-card-head{border-bottom:1px solid rgba(255,77,79,.2)}.node-test-container .test-content .result-card.error-result .ant-card-head .error-icon{color:#ff4d4f;margin-right:8px}.node-test-container .test-content .result-card .ant-card-head{padding:0 12px;min-height:40px}.node-test-container .test-content .result-card .result-header{display:flex;justify-content:space-between;align-items:center}.node-test-container .test-content .result-card .result-header .result-title{display:flex;align-items:center;font-weight:500;font-size:13px}.node-test-container .test-content .result-card .result-header .edit-button{font-size:11px}.node-test-container .test-content .result-card .result-content{max-height:400px;overflow:auto;padding:8px;background-color:#f5f5f5;border-radius:4px}.node-test-container .test-content .result-card .result-content pre{margin:0;white-space:pre-wrap;word-wrap:break-word;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:13px;line-height:1.5;color:#333}.node-test-container .test-content .result-card .result-editor{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:13px}.node-test-container .test-content .result-card .result-raw{margin:0;padding:12px;overflow:auto;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:13px;line-height:1.5;color:#333;white-space:pre-wrap;word-break:break-all}.node-test-container .test-content .empty-result{text-align:center;padding:32px;border-radius:6px;background-color:#fafafa}.node-test-container .test-content .empty-result .ant-result-icon{color:#00000040}.node-test-container .test-content .empty-result .ant-result-title{color:#000000d9}.node-test-container .test-content .empty-result .ant-result-subtitle{color:#00000073}._container_xdcms_5{min-width:320px;background:#fff;border:1px solid #e8e8e8;border-radius:8px;box-shadow:0 4px 12px #00000014;max-height:calc(100vh - 120px);z-index:1;overflow:hidden;display:flex;flex-direction:column}._container_xdcms_5 .ant-tree ._ant-tree-node-content-wrapper_xdcms_17{padding-inline:0!important}._container_xdcms_5 .ant-tree ._ant-tree-indent-unit_xdcms_20,._container_xdcms_5 .ant-tree ._ant-tree-switcher_xdcms_23{width:16px}._container_xdcms_5 .ant-tree-node-content-wrapper:hover{background-color:transparent!important}._header_xdcms_29{display:flex;align-items:center;gap:6px;padding:10px 12px;border-bottom:1px solid #f0f0f0;flex-shrink:0}._headerIcon_xdcms_37{font-size:14px;color:#595959}._headerTitle_xdcms_41{font-size:13px;font-weight:400;line-height:1}._body_xdcms_46{flex:1;overflow-y:auto;padding:8px 0}._body_xdcms_46::-webkit-scrollbar{width:4px}._body_xdcms_46::-webkit-scrollbar-track{background:transparent}._body_xdcms_46::-webkit-scrollbar-thumb{background:#e0e0e0;border-radius:2px}._section_xdcms_61{padding:0 8px;margin-bottom:4px}._sectionLabel_xdcms_65{display:flex;align-items:center;gap:5px;padding:4px 4px 6px;font-size:11px;font-weight:600;color:#8c8c8c;letter-spacing:.5px;text-transform:uppercase}._sectionLabel_xdcms_65 span{padding-left:5px}._sectionIcon_xdcms_79{font-size:16px;color:#8c8c8c}._divider_xdcms_83{height:1px;background:#f0f0f0;margin:6px 0 10px}._typeTag_xdcms_88{flex-shrink:0;margin:0!important;padding:0 4px!important;font-size:10px!important;line-height:18px!important;border-radius:3px!important;border:none!important}._varItem_xdcms_97{display:flex;align-items:center;gap:6px;width:100%;padding:5px 4px;background:transparent;border:0;border-radius:5px;color:inherit;cursor:pointer;font:inherit;text-align:left;transition:background .15s ease}._varItem_xdcms_97:hover{background:#f5f7fa}._varName_xdcms_115{font-size:13px;font-weight:500;color:#262626;white-space:nowrap}._varValue_xdcms_121{font-size:11px;color:#8c8c8c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}._nodeTitle_xdcms_129{display:inline-flex;align-items:center;gap:5px}._nodeIcon_xdcms_134{font-size:13px;color:#1677ff;flex-shrink:0}._nodeLabelFirst_xdcms_139{font-size:13px;font-weight:600;color:#434343;white-space:nowrap}._nodeLabel_xdcms_139{font-size:13px;font-weight:500;color:#595959;white-space:nowrap}._leafTitle_xdcms_151{display:inline-flex;align-items:center;gap:6px}._leafLabel_xdcms_156{font-size:13px;font-weight:500;color:#262626;white-space:nowrap}._leafValue_xdcms_162{font-size:11px;color:#8c8c8c;white-space:nowrap;margin-left:4px;max-width:140px;display:inline-block;word-break:break-all;word-wrap:break-word}._empty_xdcms_172{color:#8c8c8c}._loadingState_xdcms_175{display:flex;min-height:120px;align-items:center;justify-content:center;gap:8px;color:#64748b;font-size:12px}._errorState_xdcms_184{margin:8px;border-radius:8px}._invalidVariable_xdcms_188{color:#ff4d4f!important;opacity:.6}._invalidVariable_xdcms_188 ._leafLabel_xdcms_156,._invalidVariable_xdcms_188 ._nodeLabel_xdcms_139,._invalidVariable_xdcms_188 ._nodeLabelFirst_xdcms_139{color:#ff4d4f!important}._nodeIconWrapper_xdcms_197{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;flex-shrink:0}._nodeIconWrapper_xdcms_197 img{width:16px;height:16px;object-fit:contain}._defaultNodeIcon_xdcms_210{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;font-size:10px;font-weight:600;color:#1677ff;background:#e6f4ff;border-radius:3px}.nodes-config-modal{position:relative}.nodes-config-modal .ant-modal-content{height:85vh;border-radius:16px;overflow:scroll;background-color:transparent}.nodes-config-modal .ant-modal-body{height:100%;overflow:hidden}.nodes-config-modal .cm-theme{position:relative}.nodes-config-modal .cm-theme .cm-editor{border-radius:8px}.nodes-config-container{display:flex;flex-direction:column;height:100%}.nodes-config-container .nodes-config-header{height:60px;background-color:#fff;border-bottom:1px solid #f0f0f0;display:flex;align-items:center;justify-content:space-between;padding:0 24px;box-shadow:0 2px 8px #0000000f;z-index:1000}.nodes-config-container .nodes-config-header .header-left{display:flex;align-items:center}.nodes-config-container .nodes-config-header .header-left .back-button{margin-right:16px;font-size:14px}.nodes-config-container .nodes-config-header .header-left .back-button:hover{color:#1890ff}.nodes-config-container .nodes-config-header .header-left .header-title{font-size:13px;font-weight:400;color:#262626}.nodes-config-container .nodes-config-header .header-right{display:flex;align-items:center}.nodes-config-container .nodes-config-content{flex:1;overflow:hidden;padding:16px;background-color:#f5f5f5}.nodes-config-container .nodes-config-content .config-container{height:100%;display:flex;flex-flow:column;box-sizing:border-box;background:#fff}.nodes-config-container .nodes-config-content .config-container .node-config-title,.nodes-config-container .nodes-config-content .config-container .ant-tabs-nav,.nodes-config-container .nodes-config-content .config-container .workflow-account-select{padding:0 20px;box-sizing:border-box}.nodes-config-container .nodes-config-content .config-container .workflow-action-node-config .workflow-node-form-shell .workflow-config-form .workflow-account-select{padding:0;margin-bottom:10px}.nodes-config-container .nodes-config-content .config-container .node-config-title{min-height:60px;display:flex;flex-flow:row;border-bottom:1px solid #e8ebf0}.nodes-config-container .nodes-config-content .config-container .node-config-title .node-config-icon{width:32px;height:32px;display:flex;align-items:center;margin-block:2.25px;border:1px solid rgba(45,91,255,.11);border-radius:8px;background:#2d5bff1c;overflow:hidden;background-position:center;background-size:100% auto;background-repeat:no-repeat}.nodes-config-container .nodes-config-content .config-container .node-config-title .node-config-meta{flex:1;display:flex;flex-flow:column}.nodes-config-container .nodes-config-content .config-container .ant-tabs-nav{margin-bottom:0}.nodes-config-container .nodes-config-content .config-container .workflow-node-form-footer{justify-content:flex-end}.nodes-config-container .nodes-config-content .config-row{height:100%;display:flex;flex-flow:row}.nodes-config-container .nodes-config-content .config-row .left-section{width:23%;min-width:200px}.nodes-config-container .nodes-config-content .config-row .middle-section{flex:1;min-width:250px}.nodes-config-container .nodes-config-content .config-row .right-section{width:27%;min-width:200px;background:#fff}.nodes-config-container .nodes-config-content .config-row .right-section.expand{position:absolute;right:0;width:70%;max-width:760px;box-shadow:0 0 10px #0000001a;z-index:99}.nodes-config-container .nodes-config-content .config-row .right-section .empty-result{padding:15px;min-height:270px;display:flex;justify-content:center;align-items:center;border-style:dashed}.nodes-config-container .nodes-config-content .config-row .right-section .empty-result .ant-card-body{padding:0}.nodes-config-container .nodes-config-content .config-row .right-section .empty-result .ant-result-icon>.anticon{font-size:32px}.nodes-config-container .nodes-config-content .config-row .left-section,.nodes-config-container .nodes-config-content .config-row .middle-section,.nodes-config-container .nodes-config-content .config-row .right-section{height:100%;overflow-x:hidden;overflow-y:auto}.nodes-config-container .nodes-config-content .config-row .left-section .section-card,.nodes-config-container .nodes-config-content .config-row .middle-section .section-card,.nodes-config-container .nodes-config-content .config-row .right-section .section-card{height:100%;box-shadow:0 1px 5px #0000001a}.nodes-config-container .nodes-config-content .config-row .left-section .section-card .ant-card-head,.nodes-config-container .nodes-config-content .config-row .middle-section .section-card .ant-card-head,.nodes-config-container .nodes-config-content .config-row .right-section .section-card .ant-card-head{border-bottom:1px solid #f0f0f0;padding:0 16px}.nodes-config-container .nodes-config-content .config-row .left-section .section-card .ant-card-head .ant-card-head-title,.nodes-config-container .nodes-config-content .config-row .middle-section .section-card .ant-card-head .ant-card-head-title,.nodes-config-container .nodes-config-content .config-row .right-section .section-card .ant-card-head .ant-card-head-title{font-size:15px;padding:12px 0}.nodes-config-container .nodes-config-content .config-row .left-section .section-card .ant-card-body,.nodes-config-container .nodes-config-content .config-row .middle-section .section-card .ant-card-body,.nodes-config-container .nodes-config-content .config-row .right-section .section-card .ant-card-body{padding:16px;overflow-y:auto;height:calc(100% - 57px)}.nodes-config-container .nodes-config-content .config-row .left-section.middle-section .form-card .form-content,.nodes-config-container .nodes-config-content .config-row .middle-section.middle-section .form-card .form-content,.nodes-config-container .nodes-config-content .config-row .right-section.middle-section .form-card .form-content{padding:8px 0}.nodes-config-container .nodes-config-content .config-row .left-section.middle-section .form-card .form-content h3,.nodes-config-container .nodes-config-content .config-row .middle-section.middle-section .form-card .form-content h3,.nodes-config-container .nodes-config-content .config-row .right-section.middle-section .form-card .form-content h3{font-size:16px;margin-bottom:16px;color:#262626}.nodes-config-container .nodes-config-content .config-row .left-section.middle-section .form-card .form-content .form-placeholder,.nodes-config-container .nodes-config-content .config-row .middle-section.middle-section .form-card .form-content .form-placeholder,.nodes-config-container .nodes-config-content .config-row .right-section.middle-section .form-card .form-content .form-placeholder{min-height:200px;background-color:#fafafa;padding:16px;border-radius:4px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#8c8c8c}.nodes-config-container .nodes-config-content .config-row .left-section.middle-section .form-card .form-content .form-placeholder.code-block,.nodes-config-container .nodes-config-content .config-row .middle-section.middle-section .form-card .form-content .form-placeholder.code-block,.nodes-config-container .nodes-config-content .config-row .right-section.middle-section .form-card .form-content .form-placeholder.code-block{background-color:#292d3e;color:#bfc7d5;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;overflow:auto}.nodes-config-container .nodes-config-content .config-row .left-section.middle-section .form-card .form-content .form-placeholder.code-block pre,.nodes-config-container .nodes-config-content .config-row .middle-section.middle-section .form-card .form-content .form-placeholder.code-block pre,.nodes-config-container .nodes-config-content .config-row .right-section.middle-section .form-card .form-content .form-placeholder.code-block pre{width:100%;margin:0}.workflow-node-form-shell{display:flex;height:100%;min-height:0;flex-direction:column}.workflow-node-form-shell .switch-rule .rule-opt-actions{margin-top:-15px;margin-bottom:10px}.workflow-node-form-shell .switch-rule .rule-opt-actions.last-and-rule{margin-top:0;margin-bottom:0}.workflow-node-form-shell .switch-rule .switch-rule-item{display:flex;flex-flow:row;position:relative}.workflow-node-form-shell .switch-rule .switch-rule-item>div{flex:1}.workflow-node-form-shell .switch-rule .switch-rule-item>div:last-child{position:absolute;right:0;top:0}.workflow-node-form-shell .web-hook-input .ce-tag_input>p>span{max-height:28px;line-height:28px;overflow:hidden}.workflow-node-form-shell .web-hook-input .ce-tag_input>p>span>span{padding-left:5px;display:inline;word-break:break-all}.workflow-node-form-shell .label-field.ce-tag_input>p>span{max-height:28px;line-height:28px;overflow:hidden}.workflow-node-form-shell .label-field.ce-tag_input>p>span>span{padding-left:5px;display:inline;word-break:break-all}.workflow-action-node-config{display:flex;height:100%;min-height:0;flex-direction:column}.workflow-action-node-config>.workflow-node-form-shell{min-height:0;flex:1}.workflow-node-form-scroll{min-width:0;min-height:0;flex:1;overflow-x:hidden;overflow-y:auto;background:var(--ai-flow-color-surface-muted);padding:20px}.workflow-node-form-scroll form button{font-size:12px}@media(min-width:992px){.workflow-node-form-scroll form .ant-row .ant-col-lg-12:last-child{padding-left:10px}.workflow-node-form-scroll form .ant-row .ant-col-lg-12:first-child{padding-right:10px}}.workflow-node-form-scroll .form-block{background:var(--ai-flow-color-surface);border:1px solid var(--ai-flow-color-border-soft);border-radius:8px;margin-bottom:20px}.workflow-node-form-scroll .form-block .form-item-row{display:flex}.workflow-node-form-scroll .form-block .form-item-row>div{flex:1}.workflow-node-form-scroll .form-block .opt{position:relative}.workflow-node-form-scroll .form-block .opt .ant-space-item:last-child{display:flex;width:auto;flex:unset;position:absolute;right:32px;margin-top:-60px}.workflow-node-form-footer{display:flex;flex:none;justify-content:center;padding:12px 18px;border-top:1px solid var(--ai-flow-color-border-soft);background:var(--ai-flow-color-surface)}.variables-section .variables-list .variable-item{display:flex;justify-content:space-between;padding:8px 12px;border-radius:4px;margin-bottom:8px;background-color:#f9f9f9;cursor:pointer}.variables-section .variables-list .variable-item:hover{background-color:#f0f7ff}.variables-section .variables-list .variable-item .variable-name{color:#595959;font-weight:500}.variables-section .variables-list .variable-item .variable-type{color:#8c8c8c;font-size:12px}.test-section .test-content{padding:16px}.test-section .test-content .test-input-section h4,.test-section .test-content .test-output-section h4{margin-bottom:12px;color:#262626}.test-section .test-content .test-input-section .code-editor-placeholder,.test-section .test-content .test-output-section .code-editor-placeholder{background-color:#f9f9f9;padding:12px;border-radius:4px;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;min-height:120px}.test-section .test-content .test-input-section .code-editor-placeholder pre,.test-section .test-content .test-output-section .code-editor-placeholder pre{margin:0}.test-section .test-content .test-input-section .code-editor-placeholder.result,.test-section .test-content .test-output-section .code-editor-placeholder.result{background-color:#f6ffed;border:1px solid #b7eb8f}.test-section .history-list .history-item{margin-bottom:12px;padding:12px;border-radius:4px;border-left:3px solid #52c41a;background-color:#f9f9f9}.test-section .history-list .history-item.success{border-left-color:#52c41a}.test-section .history-list .history-item.error{border-left-color:#f5222d}.test-section .history-list .history-item .history-time{color:#595959;font-weight:500;margin-bottom:4px}.test-section .history-list .history-item .history-status{display:inline-block;padding:2px 8px;margin-right:8px;border-radius:10px;font-size:12px}.success .test-section .history-list .history-item .history-status{background-color:#f6ffed;color:#52c41a}.error .test-section .history-list .history-item .history-status{background-color:#fff1f0;color:#f5222d}.test-section .history-list .history-item .history-duration{display:inline-block;color:#8c8c8c;font-size:12px}.test-section .history-list .history-item .history-error{margin-top:8px;color:#f5222d;font-size:12px;padding:8px;background-color:#fff1f0;border-radius:4px}.test-section .w-json-view-container,.test-section .cm-theme{border-radius:0 0 5px 5px}.workflow-variable-target--active .ce-tag_input,.workflow-variable-target--active.ant-input,.workflow-variable-target--active .ant-input,.workflow-variable-target--active .ant-input-affix-wrapper{border-color:var(--ai-flow-color-brand)!important;box-shadow:0 0 0 2px #2d5bff29!important;transition:box-shadow .15s ease}.workflow-variable-target--active .cm-editor{outline:1px solid var(--ai-flow-color-brand)!important;outline-offset:-1px;box-shadow:0 0 0 3px #2d5bff29!important;transition:box-shadow .15s ease}.start-node{color:inherit;font:inherit;text-align:left;display:flex;align-items:baseline;flex-flow:column;border:1px solid rgba(0,127,255,.48);min-width:222px;border-left-width:20px;border-radius:6px;padding:10px;cursor:pointer;background-color:#fff;transition:all .3s ease}.start-node:hover{border-color:#007fff}.start-node:focus-visible{outline:2px solid #007fff;outline-offset:3px}.start-node-icon{min-width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0 6px;border-radius:9px;background:#4755691a;color:#475569;font-family:JetBrains Mono,monospace;font-size:8px;font-weight:700;box-sizing:border-box}.start-node-text .start-node-text-title{font-size:12px;color:#000}.start-node-text .start-node-text-desc{font-size:12px;color:#999;margin-bottom:0}.workflow-trigger-node .workflow-node,.workflow-action-node .workflow-node,.workflow-config-node .workflow-node{min-height:76px}.workflow-aisub-node .workflow-node,.workflow-mcp-tool-node .workflow-node{border-radius:6px;min-width:222px;min-height:76px;padding:16px 32px 16px 36px}.workflow-mcp-tool-node .workflow-node:after{content:"MCP Tool";font-size:12px;width:70px;margin:0 auto;color:#fff;text-align:center;border-radius:0 0 4px 4px;background-color:#f18306;position:absolute;top:0;left:calc(50% - 35px)}.workflow-sticky-note{background-color:#fff9c4;border-radius:4px;padding:16px;box-shadow:0 2px 4px #0000001a;border:1px solid #e6db55}.workflow-sticky-note.selected{box-shadow:0 0 0 2px #007fff}.workflow-sticky-note .workflow-sticky-content{width:100%;height:100%;min-height:140px;font-size:14px;white-space:pre-wrap;word-break:break-word;overflow:scroll}.workflow-node{border-radius:6px;box-shadow:0 1px 4px #00000029;min-width:222px;width:222px;min-height:76px;height:100%;padding:16px 32px 16px 36px;background-color:#fff;display:flex;align-items:center;position:relative;gap:16px;color:#171a1d;font-family:PingFang SC,PingFang SC Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;transition:box-shadow .2s ease,border-color .2s ease;border:1px solid transparent}.workflow-node:before{content:"";position:absolute;top:-1px;left:-1px;bottom:-1px;width:24px;z-index:1;background-color:var(--status-color-tint, rgba(0, 127, 255, .48));border-top-left-radius:6px;border-bottom-left-radius:6px}.workflow-node:hover,.workflow-node.workflow-node-selected{box-shadow:0 0 0 1px #007fff;border-color:#007fff29}.workflow-node.dragging{box-shadow:5px 5px 15px #0003;opacity:.85}.workflow-node.workflow-node-deactivated{opacity:.6;background-color:#f5f6f7;border-color:#d8dadd}.workflow-node.workflow-node-deactivated .workflow-node-deactivated-line{position:absolute;top:50%;left:0;right:0;height:2px;background-color:#d8dadd;z-index:1}.workflow-node.workflow-node-warning{border-color:#ff92007a}.workflow-node.workflow-node-success{border-color:#00b0427a}.workflow-node.workflow-node-failed{border-color:#ff52197a}.workflow-node.workflow-node-running{border-color:#007fff7a}.workflow-node .workflow-node-status-icon{width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;margin-left:4px;z-index:2}.workflow-node .workflow-node-content{display:flex;align-items:center;gap:16px;width:100%;min-width:0}.workflow-node .workflow-node-icon-wrapper{width:34px;height:34px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.workflow-node .workflow-node-icon{font-size:24px;color:var(--status-color, #007fff);display:flex;align-items:center;justify-content:center;width:30px;height:30px;background-repeat:no-repeat;background-size:contain}.workflow-node .workflow-node-icon img{font-size:12px;width:24px;height:24px;object-fit:contain}.workflow-node .workflow-node-text{flex:1;min-width:200px;display:flex;flex-direction:column;justify-content:center}.condition-node-edit-form{min-width:300px}.condition-node-edit-form .branches-header{margin-bottom:8px}.condition-node-edit-form .branch-item{display:flex;margin-bottom:8px;align-items:center}.condition-node-edit-form .edit-actions{display:flex;justify-content:flex-end;gap:8px}.workflow-node-toolbar{position:absolute;top:-20px;right:0;width:100%;text-align:right}.agent-node .workflow-node{min-height:76px;align-items:center}.custom-node{background-color:#fff;border-radius:8px;box-shadow:0 2px 5px #0000001a;padding:12px;width:180px;font-family:PingFang SC,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;transition:all .2s ease}.custom-node .node-content{display:flex;flex-direction:column}.custom-node .node-content .node-title{font-weight:500;font-size:14px;margin-bottom:4px;color:#333}.custom-node .node-content .node-description{font-size:12px;color:#666;margin-bottom:8px}.custom-node .node-content .hover-indicator{margin-top:8px;display:flex;justify-content:flex-end}.custom-node .node-content .hover-indicator .hover-badge{background-color:#007fff14;color:#007fff;font-size:11px;padding:2px 6px;border-radius:10px;border:1px solid rgba(0,127,255,.24);animation:pulse 1.5s infinite}@keyframes pulse{0%{box-shadow:0 0 #007fff66}70%{box-shadow:0 0 0 6px #007fff00}to{box-shadow:0 0 #007fff00}}.workflow-container-warning:before{background-color:#ff92007a!important}.workflow-container-failed:before{background-color:#ff52197a!important}.workflow-container-success:before{background-color:#00b0427a!important}.workflow-container-running:before{background-color:#007fff7a!important}.react-flow__node-StickyNoteNode{z-index:-1!important}.workflow-sticky-note{padding:8px;border-radius:6px;-webkit-user-select:text;user-select:text;border:1px solid transparent}.workflow-sticky-note-selected{box-shadow:0 0 0 2px #4c9aff}.workflow-sticky-md{overflow:hidden;height:100%;word-break:break-word}.workflow-sticky-md h1,.workflow-sticky-md h2,.workflow-sticky-md h3,.workflow-sticky-md h4{margin:4px 0;font-weight:700}.workflow-sticky-md ul,.workflow-sticky-md ol{padding-left:20px}.workflow-sticky-md code{background:#0000000d;padding:2px 4px;border-radius:4px}.workflow-sticky-toolbar{display:flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;background:#0f172aeb;box-shadow:0 12px 30px #0f172a73;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.sticky-toolbar-button{padding:0;border:0;width:24px;height:24px;background:transparent;border-radius:999px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#e5f0ff;transition:background-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease}.sticky-toolbar-button:hover{background-color:#94bfff3d;color:#fff;transform:translateY(-1px);box-shadow:0 4px 10px #0f172a59}.sticky-toolbar-button svg{font-size:14px}.sticky-toolbar-button-danger{color:#fecaca}.sticky-toolbar-button-danger:hover{background-color:#f8717140;color:#fee2e2}.sticky-color-palette{display:flex;gap:4px}.sticky-color-item{padding:0;border:0;width:16px;height:16px;border-radius:999px;cursor:pointer;box-shadow:0 0 0 1px #0f172a1f;transition:box-shadow .2s ease,transform .2s ease,opacity .2s ease;opacity:.9}.sticky-color-item:hover{transform:translateY(-1px);box-shadow:0 0 0 1px #0f172a40;opacity:1}.sticky-color-item-active{box-shadow:0 0 0 2px #fff,0 0 0 4px #1677ff;transform:scale(1.06);opacity:1}.workflow-debug-panel{width:760px;max-height:82vh;overflow:scroll;background-color:#fff;border:1px solid #d9d9d9;border-radius:6px;box-shadow:0 8px 24px #0000001f;padding:10px;font-size:12px;color:#333}.workflow-debug-panel__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-weight:600}.workflow-debug-panel__section{border-top:1px solid #f0f0f0;padding-top:8px;margin-top:8px}.workflow-debug-panel__summary{display:flex;justify-content:space-between;margin-bottom:8px}.workflow-debug-panel__detail{margin-top:8px}.workflow-debug-panel__graph{border:1px solid #f0f0f0;border-radius:6px;background:#fff;overflow:auto;max-height:260px}.workflow-debug-panel__graph-canvas{display:block}.workflow-debug-panel__mermaid-actions{margin-bottom:6px;display:flex;justify-content:flex-end}.workflow-debug-panel__edge-list{display:flex;flex-direction:column;gap:4px;background:#fafafa;border:1px solid #f0f0f0;border-radius:4px;padding:6px;max-height:180px;overflow:auto}.workflow-debug-panel__edge-line{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 4px;border-radius:4px;font-size:12px}.workflow-debug-panel__edge-line--duplicate{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 4px;border-radius:4px;color:#cf1322;background:#fff1f0;border:1px solid #ffa39e;font-size:12px}.workflow-debug-panel__edge-flag{font-size:11px;color:#cf1322}.workflow-debug-panel__detail-title{font-weight:600;margin-bottom:4px}.workflow-debug-panel pre{background:#fafafa;border:1px solid #f0f0f0;border-radius:4px;padding:6px;max-height:140px;overflow:auto;margin:0}.workflow-debug-panel__log-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.workflow-debug-panel__toolbar{margin-bottom:6px}.workflow-debug-panel__log-list{max-height:420px;overflow:auto;display:flex;flex-direction:column;gap:8px}.workflow-debug-panel__log-item{border:1px solid #f0f0f0;border-radius:4px;padding:6px;background:#fff}.workflow-debug-panel__log-title{display:flex;flex-direction:column;gap:2px;font-weight:600}.workflow-debug-panel__log-time{color:#8c8c8c;font-size:11px}.workflow-debug-panel__log-tags{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}.workflow-debug-panel__tag{display:inline-flex;align-items:center;padding:2px 6px;border-radius:4px;border:1px solid transparent;font-size:11px}.workflow-debug-panel__tag-node{background:#e6f4ff;border-color:#91caff;color:#0958d9}.workflow-debug-panel__tag-edge{background:#f6ffed;border-color:#b7eb8f;color:#389e0d}.workflow-debug-panel__log-actions{margin-bottom:6px}.workflow-debug-panel__log-detail{display:flex;flex-direction:column;gap:8px}.workflow-debug-panel__log-detail pre{max-height:220px}.workflow-debug-panel__log-empty{color:#999;text-align:center;padding:12px 0}.workflow-canvas-container{display:flex;flex-direction:column;width:100%;height:100%;border:1px solid #e5e5e5;border-radius:4px;overflow:hidden;background-color:#f9faff}.workflow-canvas-container-preview{height:100%}.react-flow-canvas-container{background-color:#f9faff}.workflow-canvas{flex:1;position:relative;width:100%;height:100%;background-color:#f5f5f5}.workflow-canvas .agent-node,.workflow-canvas .action-node{display:flex}.workflow-canvas .workflow-node{box-sizing:border-box;flex:1}.workflow-canvas-header{display:flex;justify-content:space-between;align-items:center;padding:8px 16px;background-color:#fff;z-index:10;height:56px;border-bottom:1px solid #eee}.workflow-canvas-header .workflow-header-left-area{display:flex;align-items:center;min-width:250px}.workflow-canvas-header .workflow-header-left-area .workflow-back-icon{cursor:pointer;font-size:16px;color:#999}.workflow-canvas-header .workflow-header-left-area .workflow-back-icon:hover{color:#333}.workflow-canvas-header .workflow-header-left-area .workflow-name-icon{width:29px;height:29px;border-radius:8px;font-size:9px;background:linear-gradient(135deg,#0f9d6e,#0bbf86);color:#fff;font-weight:700;line-height:29px;padding:0 5px;box-sizing:border-box;overflow:hidden;text-align:center}.workflow-canvas-header .workflow-header-left-area .workflow-name{display:flex;align-items:center;cursor:pointer}.workflow-canvas-header .workflow-header-left-area .workflow-name .workflow-name-container{display:flex;flex-flow:column}.workflow-canvas-header .workflow-header-left-area .workflow-name .workflow-name-container .workflow-name-text{font-size:12px;color:#333;font-weight:600;margin:0!important;padding:0}.workflow-canvas-header .workflow-header-left-area .workflow-name .workflow-name-container .workflow-name-desc{font-size:9px;color:#94a3b8}.workflow-canvas-header .workflow-header-left-area .workflow-name .edit-icon{margin-left:8px;color:#999;font-size:14px;opacity:.5;transition:all .2s ease}.workflow-canvas-header .workflow-header-left-area .workflow-name:hover .edit-icon{color:#1890ff;opacity:1}.workflow-canvas-header .workflow-header-left-area .workflow-name-input{width:250px;font-size:12px;font-weight:500}.workflow-canvas-header .workflow-header-left-area .workflow-name-input:focus{box-shadow:0 0 0 2px #1890ff33}.workflow-canvas-header .workflow-header-right-area{display:flex;align-items:center;gap:8px}.workflow-canvas-header .workflow-header-right-area .save-state{font-size:11px;display:inline-block}.workflow-canvas-title{font-size:16px;font-weight:700}.workflow-controls{position:absolute;z-index:10}.workflow-controls .react-flow__controls-button{background-color:#fff;border:1px solid #d9d9d9;box-shadow:0 2px #00000005;border-radius:2px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;transition:all .3s}.workflow-controls .react-flow__controls-button:hover{color:#1890ff;border-color:#1890ff}.workflow-controls .react-flow__controls-button[disabled]{color:#00000040;background-color:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.workflow-background{background-color:#f6f8ff}.workflow-background.workflow-background-dots,.workflow-background.workflow-background-lines{background-size:20px 20px}.react-flow__node .workflow-node{box-shadow:0 0 1px 1px var(--status-color)}.react-flow__node.selected .workflow-node{box-shadow:0 0 1px 1px var(--status-color);border-color:var(--status-color)}.react-flow__panel{background-color:#fff;border-radius:4px;box-shadow:0 2px 8px #00000026}.react-flow__minimap{background-color:#fff;border:1px solid #d9d9d9;border-radius:4px}.layout-panel{margin:10px}.layout-panel .layout-button{padding:8px 12px;background-color:#fff;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:14px;transition:all .2s}.layout-panel .layout-button:hover{background-color:#f5f5f5;border-color:#ccc}.layout-panel .layout-button:active{background-color:#e8e8e8}.react-flow__controls{display:flex;flex-direction:row;align-items:center}.react-flow__controls-button{border:none}.react-flow__attribution{display:none}.ant-dropdown.small .ant-dropdown-menu .ant-dropdown-menu-item{font-size:11px}.workflow-template-settings-modal .workflow-template-settings-hint{margin-bottom:16px}.workflow-template-settings-modal .workflow-template-settings-card{margin-bottom:16px;border:1px solid #f0f0f0}.workflow-template-settings-modal .workflow-template-settings-card-last{margin-bottom:0}.workflow-template-settings-modal .workflow-template-settings-section-title{margin-bottom:12px}.workflow-template-settings-modal .workflow-template-settings-section-title h5.ant-typography{margin:0}.workflow-template-settings-modal .workflow-template-settings-subtitle{font-size:12px}.template-editable-select{position:relative}.template-editable-select .template-editable-select-input{min-height:32px;padding:4px 11px;border:1px solid #d9d9d9;border-radius:6px;cursor:pointer;background:#fff;display:flex;align-items:center;justify-content:space-between;transition:all .2s;outline:0}.template-editable-select .template-editable-select-input:hover{border-color:#40a9ff}.template-editable-select .template-editable-select-input:focus-within{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33}.template-editable-select .template-editable-select-input:focus-visible{border-color:#40a9ff;box-shadow:0 0 0 2px #1890ff33}.template-editable-select .template-editable-select-tags{flex:1;display:flex;flex-wrap:wrap;gap:4px;min-height:24px;align-items:center}.template-editable-select .template-editable-select-placeholder{color:#bfbfbf;font-size:14px}.template-editable-select .template-editable-select-arrow{margin-left:8px;display:flex;align-items:center;transition:transform .2s}.template-editable-select .template-editable-select-arrow.template-editable-select-arrow-open{transform:rotate(180deg)}.template-editable-select .template-editable-select-dropdown-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;padding:0;border:0;background:transparent}.template-editable-select .template-editable-select-dropdown-container{position:absolute;top:100%;right:0;left:0;margin-top:4px;background:#fff;border:1px solid #d9d9d9;border-radius:6px;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d;max-height:256px;overflow-y:auto;z-index:1051}.template-editable-select .ant-tag{border-radius:4px;margin-right:4px;margin-bottom:4px;display:inline-flex;align-items:center;max-width:120px}.template-editable-select-dropdown{padding:4px 0}.template-editable-select-dropdown .template-editable-select-dropdown-item{display:flex;align-items:center;padding:5px 12px;cursor:pointer;transition:background-color .2s}.template-editable-select-dropdown .template-editable-select-dropdown-item:hover{background-color:#f5f5f5}.template-editable-select-dropdown .template-editable-select-dropdown-item:hover .template-editable-select-actions{opacity:1}.template-editable-select-dropdown .template-editable-select-item-content{min-width:0;flex:1;display:flex;align-items:center;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.template-editable-select-dropdown .template-editable-select-item-content:focus-visible{outline:2px solid rgba(24,144,255,.45);outline-offset:2px}.template-editable-select-dropdown .template-editable-select-check{width:16px;height:16px;display:flex;align-items:center;justify-content:center;margin-right:8px}.template-editable-select-dropdown .template-editable-select-name{font-size:14px;color:#262626}.template-editable-select-dropdown .template-editable-select-actions{display:flex;align-items:center;opacity:0;transition:opacity .2s}.template-editable-select-dropdown .template-editable-select-action-btn{width:28px;height:28px;display:flex;align-items:center;justify-content:center;margin-left:4px}.template-editable-select-dropdown .template-editable-select-edit-container{flex:1}.template-editable-select-dropdown .template-editable-select-edit-input{width:100%}.template-editable-select-dropdown .template-editable-select-edit-actions{display:flex;align-items:center;gap:4px}.template-editable-select-dropdown .template-editable-select-confirm-btn{color:#52c41a;padding:0;width:20px;height:20px}.template-editable-select-dropdown .template-editable-select-cancel-btn{color:#ff4d4f;padding:0;width:20px;height:20px}.template-editable-select-dropdown .template-editable-select-add-item{width:100%;display:flex;align-items:center;padding:8px 12px;cursor:pointer;border-top:1px solid #f0f0f0;margin-top:4px;color:#1890ff;border-right:0;border-bottom:0;border-left:0;background:transparent;font:inherit;text-align:left;transition:background-color .2s}.template-editable-select-dropdown .template-editable-select-add-item:hover{background-color:#f5f5f5}@keyframes slideInRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slideOutRight{0%{transform:translate(0);opacity:1}to{transform:translate(100%);opacity:0}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes skeletonShimmer{0%{background-position:-200px 0}to{background-position:calc(200px + 100%) 0}}.modern-node-selector-mask{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1049;background:#0000001f;animation:fadeIn .2s ease}.modern-node-selector{position:absolute;top:0;right:0;height:100%;width:550px;background-color:#fff;box-shadow:0 8px 20px #0000001a;border-radius:10px 0 0 10px;display:flex;flex-direction:column;z-index:1050;transform:translate(100%);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s ease;opacity:0;overflow:hidden}.modern-node-selector.visible{transform:translate(0);opacity:1;animation:slideInRight .3s cubic-bezier(.23,1,.32,1) forwards}.modern-node-selector.hidden{animation:slideOutRight .3s cubic-bezier(.23,1,.32,1) forwards}.modern-node-selector .panel-header{padding:24px 10px 16px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e6e6e6;background:#fff;border-radius:10px 0 0}.modern-node-selector .panel-header .header-left{display:flex;align-items:center;gap:12px}.modern-node-selector .panel-header .header-left .back-button{width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;display:flex;align-items:center;justify-content:center;color:#94a3b8;transition:all .2s;cursor:pointer}.modern-node-selector .panel-header .header-left .back-button:hover{background-color:#f8fafc;color:#007aff}.modern-node-selector .panel-header .header-left .title{font-size:15px;font-weight:600;color:#000;margin:0}.modern-node-selector .panel-header .header-left .title .category-path{font-size:14px;color:#94a3b8;margin-top:4px}.modern-node-selector .panel-header .close-button{width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;display:flex;align-items:center;justify-content:center;color:#94a3b8;transition:all .2s;cursor:pointer}.modern-node-selector .panel-header .close-button:hover{background-color:#f8fafc;color:#007aff}.modern-node-selector .search-container{padding:10px 10px 0;background-color:#fff}.modern-node-selector .search-container .ant-input{border-radius:10px;border:none;background-color:#f7f7f7;padding:10px 12px;transition:all .2s;font-size:13px;height:auto}.modern-node-selector .search-container .ant-input:hover,.modern-node-selector .search-container .ant-input:focus{background-color:#f2f2f2;box-shadow:none}.modern-node-selector .search-container .ant-input::placeholder{color:#8e8e93}.modern-node-selector .search-container .ant-input-prefix{margin-right:8px;color:#94a3b8}.modern-node-selector .search-container .ant-input-suffix{color:#94a3b8}.modern-node-selector .search-container .ant-input-affix-wrapper{border-radius:10px;border:none;background-color:#f7f7f7;padding:4px 12px;transition:all .2s}.modern-node-selector .search-container .ant-input-affix-wrapper:hover,.modern-node-selector .search-container .ant-input-affix-wrapper:focus,.modern-node-selector .search-container .ant-input-affix-wrapper-focused{background-color:#f2f2f2;box-shadow:none;border-color:transparent}.modern-node-selector .search-container .ant-input-affix-wrapper .ant-input{background-color:transparent;padding:0}.modern-node-selector .search-container .ant-input-affix-wrapper .ant-input:focus{box-shadow:none}.modern-node-selector .panel-content-box{flex:1;overflow:hidden;margin-bottom:10px;display:flex;border-radius:0 0 8px 8px}.modern-node-selector .panel-content{flex:1;overflow-y:auto;padding:10px 10px 0;background-color:#fff}.modern-node-selector .panel-content .section-title{font-size:16px;font-weight:600;color:#000;margin:0 0 16px;padding-bottom:0;position:relative}.modern-node-selector .panel-content .categories-list,.modern-node-selector .panel-content .nodes-list,.modern-node-selector .panel-content .actions-list,.modern-node-selector .panel-content .search-results{display:grid;grid-template-columns:1fr;gap:12px;animation:fadeIn .3s ease-in}.modern-node-selector .panel-content .empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:200px;color:#94a3b8}.modern-node-selector .panel-content .empty-state .empty-icon{font-size:40px;margin-bottom:16px;color:#d9e1ec}.modern-node-selector .panel-content .empty-state .empty-text{text-align:center;font-size:12px}.category-tabs-wrapper{position:relative;padding:0 10px;border-bottom:1px solid #EFEFEF}.category-tabs-wrapper.loading{padding-bottom:8px}.category-tabs-wrapper .category-tabs{display:flex;gap:8px;overflow-x:auto;-ms-overflow-style:auto;padding:10px 0}@supports (-moz-appearance: none){.category-tabs-wrapper .category-tabs{scrollbar-width:thin;scrollbar-color:#dcdcdc transparent}}.category-tabs-wrapper .category-tabs::-webkit-scrollbar{height:6px}.category-tabs-wrapper .category-tabs::-webkit-scrollbar-track{background-color:transparent;border-radius:3px}.category-tabs-wrapper .category-tabs::-webkit-scrollbar-thumb{background-color:#dcdcdc;border-radius:6px}.category-tabs-wrapper .category-tabs-mask{position:absolute;top:4px;bottom:12px;width:24px;pointer-events:none}.category-tabs-wrapper .category-tab{padding:6px 16px;border-radius:999px;border:1px solid #e6e6e6;background-color:#fff;font-size:14px;color:#94a3b8;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap;box-shadow:0 2px 6px #0000000a}.category-tabs-wrapper .category-tab.active{color:#fff;border-color:#007aff}.category-tabs-wrapper .category-tab.disabled{cursor:not-allowed;opacity:.55}.category-tabs-wrapper .category-tab:hover:not(.active,.disabled){border-color:#007aff59;color:#007aff;box-shadow:0 4px 10px #00000014}.category-tabs-loading{display:flex;align-items:center;gap:8px;padding:0 24px 12px;color:#94a3b8;font-size:14px}.category-tab-skeleton{width:72px;height:24px;border-radius:7px;flex-shrink:0;background:linear-gradient(90deg,#007aff0f,#007aff24,#007aff0f);background-size:200px 100%;animation:skeletonShimmer 1.4s ease-in-out infinite}.node-card-list{display:flex;flex-direction:column;gap:10px}.node-card-skeleton{display:flex;align-items:center;gap:12px;padding:8px;border:1px solid #e6e6e6;border-radius:10px;background-color:#fff;box-shadow:0 1px 4px #0000000d}.node-card-skeleton .node-card-skeleton-icon{width:36px;height:36px;border-radius:9px;flex-shrink:0;background:linear-gradient(90deg,#007aff0f,#007aff24,#007aff0f);background-size:200px 100%;animation:skeletonShimmer 1.4s ease-in-out infinite}.node-card-skeleton .node-card-skeleton-content{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.node-card-skeleton .node-card-skeleton-content .node-card-skeleton-title{width:45%;height:14px;border-radius:4px;background:linear-gradient(90deg,#007aff0f,#007aff24,#007aff0f);background-size:200px 100%;animation:skeletonShimmer 1.4s ease-in-out infinite}.node-card-skeleton .node-card-skeleton-content .node-card-skeleton-desc{width:70%;height:10px;border-radius:4px;background:linear-gradient(90deg,#007aff0f,#007aff24,#007aff0f);background-size:200px 100%;animation:skeletonShimmer 1.4s ease-in-out infinite}.node-card-skeleton .node-card-skeleton-arrow{width:14px;height:14px;border-radius:50%;flex-shrink:0;background:linear-gradient(90deg,#007aff0f,#007aff24,#007aff0f);background-size:200px 100%;animation:skeletonShimmer 1.4s ease-in-out infinite}.node-card{border:1px solid #e6e6e6;border-radius:10px;background-color:#fff;box-shadow:0 1px 4px #0000000d;transition:border-color .2s ease,box-shadow .2s ease}.node-card.expanded{border-color:#007aff66;box-shadow:0 6px 16px #007aff1f;overflow:hidden}.node-card-header{width:100%;display:flex;align-items:center;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.node-card-header:focus-visible{outline:2px solid rgba(0,122,255,.5);outline-offset:-2px}.node-card-icon{width:40px;height:40px;border-radius:12px;background-color:#007aff1a;display:flex;align-items:center;justify-content:center;margin-right:12px}.node-card-icon img{width:24px;height:24px;object-fit:contain}.node-card-info{flex:1;min-width:0}.node-card-info .node-card-title{font-size:14px;font-weight:600;color:#000}.node-card-info .node-card-desc{font-size:10px;color:#94a3b8}.node-card-arrow{font-size:14px;color:#94a3b8;transition:transform .2s}.node-card-arrow.expanded{transform:rotate(180deg)}.node-card-actions{display:flex;flex-direction:column}.node-card-action-wrapper .action-item{margin-bottom:0;border:0 none;border-top:1px solid #efefef;border-radius:0}.node-card-action-wrapper .action-item .item-icon{margin-left:8px}.node-card-state{font-size:13px;color:#94a3b8;padding:12px 0;text-align:center}.node-card-more{width:100%;padding:4px;border:0;background:transparent;font:inherit;margin-top:8px;font-size:13px;color:#007aff;cursor:pointer;text-align:right}.list-loading,.list-footer{margin-top:10px;display:flex;align-items:center;justify-content:center;gap:6px;color:#94a3b8;font-size:11px}.category-item,.node-item{width:100%;background-color:#fff;border-radius:10px;padding:16px;display:flex;align-items:center;cursor:pointer;transition:background-color .2s ease,box-shadow .2s ease;border:1px solid #e6e6e6;position:relative;overflow:hidden;color:inherit;font:inherit;text-align:left}.category-item:hover,.node-item:hover{background-color:#f8fafc;border-color:#007aff4d;box-shadow:0 1px 4px #0000000d}.category-item:focus-visible,.node-item:focus-visible{outline:2px solid rgba(0,122,255,.5);outline-offset:2px}.category-item:after,.node-item:after{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background-color:#007aff;opacity:0;transition:opacity .2s}.category-item:hover:after,.node-item:hover:after{opacity:1}.category-item .item-icon,.node-item .item-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;margin-right:16px;font-size:20px;flex-shrink:0;background-color:#007aff1a;color:#007aff}.category-item .item-icon[data-category=ai],.node-item .item-icon[data-category=ai]{background-color:#fff0f6;color:#eb2f96}.category-item .item-icon[data-category=flow],.node-item .item-icon[data-category=flow]{background-color:#e6f7ff;color:#1890ff}.category-item .item-icon[data-category=action],.node-item .item-icon[data-category=action]{background-color:#f6ffed;color:#52c41a}.category-item .item-icon[data-category=other],.node-item .item-icon[data-category=other]{background-color:#fff7e6;color:#fa8c16}.category-item .item-icon img,.node-item .item-icon img{width:24px;height:24px;object-fit:contain}.category-item .item-content,.node-item .item-content{flex:1;min-width:0}.category-item .item-content .item-title,.node-item .item-content .item-title{font-weight:500;font-size:13px;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-item .item-content .item-description,.node-item .item-content .item-description{font-size:11px;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}.category-item .action-arrow,.node-item .action-arrow{margin-left:10px;color:#007aff;font-size:16px;opacity:.8;transition:opacity .2s,transform .2s}.category-item:hover .action-arrow,.node-item:hover .action-arrow{opacity:1;transform:translate(2px)}.action-item{background-color:#fff;padding:12px 16px;display:flex;align-items:center;cursor:pointer;transition:background-color .15s ease;border:1px solid #e6e6e6;border-radius:10px;position:relative;overflow:hidden;margin-bottom:0;width:100%;color:inherit;font:inherit;text-align:left}.action-item:hover{background-color:#f8fafc}.action-item:focus-visible{outline:2px solid rgba(0,122,255,.5);outline-offset:2px}.action-item.is-disabled{cursor:not-allowed;opacity:.55}.action-item.is-disabled:hover{background-color:#fff;border-color:#e6e6e6}.action-item.is-disabled:after{opacity:0}.action-item .item-icon{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;margin-right:14px;font-size:16px;flex-shrink:0;background-color:#007aff1a;color:#007aff}.action-item .item-icon[data-category=ai]{background-color:#fff0f6;color:#eb2f96}.action-item .item-icon[data-category=flow]{background-color:#e6f7ff;color:#1890ff}.action-item .item-icon[data-category=action]{background-color:#f6ffed;color:#52c41a}.action-item .item-icon[data-category=other]{background-color:#fff7e6;color:#fa8c16}.action-item .item-icon img{width:18px;height:18px;object-fit:contain}.action-item .item-content{flex:1;min-width:0}.action-item .item-content .item-title{font-weight:400;font-size:13px;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action-item .item-content .item-description{font-size:11px;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}.actions-list{display:grid;grid-template-columns:1fr;gap:12px;width:100%;animation:fadeIn .3s ease-in;padding:0}.search-section{margin-bottom:24px}.search-section .search-section-title{font-size:14px;color:#94a3b8;margin:0 0 12px;display:flex;align-items:center}.search-section .search-section-title .section-icon{margin-right:8px;font-size:16px}._configSubflow-container_1ocqs_1{width:100%}._configSubflow-selectSection_1ocqs_4{margin-bottom:16px}._configSubflow-label_1ocqs_7{display:block;margin-bottom:6px;font-size:14px;font-weight:500;color:#333}._configSubflow-label_1ocqs_7._required_1ocqs_14:after{content:"*";margin-left:4px;color:#ff4d4f}._configSubflow-selectWrapper_1ocqs_19{display:flex;align-items:center;gap:8px}._configSubflow-select_1ocqs_4{flex:1;min-width:0}._configSubflow-optionContent_1ocqs_28{display:flex;align-items:center;justify-content:space-between;width:100%}._configSubflow-optionName_1ocqs_34{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._configSubflow-optionLink_1ocqs_41{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:20px;height:20px;padding:0;margin-left:8px;border:0;font-size:12px;color:#1890ff;background-color:#1890ff1a;border-radius:4px;cursor:pointer;transition:all .2s}._configSubflow-optionLink_1ocqs_41:hover{color:#fff;background-color:#1890ff}._configSubflow-optionLink_1ocqs_41:focus-visible{outline:2px solid rgba(24,144,255,.45);outline-offset:2px}._configSubflow-paramsSection_1ocqs_66{margin-top:16px;padding-top:16px;border-top:1px dashed #e8e8e8}._configSubflow-paramsTitle_1ocqs_71{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:14px;font-weight:500;color:#333}._configSubflow-paramsTitle_1ocqs_71 ._anticon_1ocqs_80{color:#1890ff}._configSubflow-paramsList_1ocqs_83{display:flex;flex-direction:column;gap:12px}._configSubflow-paramItem_1ocqs_88{display:flex;align-items:flex-start;gap:12px;padding:12px;background-color:#fafafa;border:1px solid #f0f0f0;border-radius:6px;transition:all .2s}._configSubflow-paramItem_1ocqs_88:hover{border-color:#d9d9d9}._configSubflow-paramItem_1ocqs_88._hasError_1ocqs_101{border-color:#ffccc7;background-color:#fff2f0}._configSubflow-paramKey_1ocqs_105{flex-shrink:0;width:120px;min-width:80px}._configSubflow-paramKeyLabel_1ocqs_110{display:flex;align-items:center;height:32px;padding:0 8px;font-size:13px;font-family:SF Mono,Monaco,Inconsolata,Fira Mono,Droid Sans Mono,monospace;color:#595959;background-color:#f5f5f5;border:1px solid #d9d9d9;border-radius:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._configSubflow-paramKeyLabel_1ocqs_110._required_1ocqs_14:after{content:"*";margin-left:4px;color:#ff4d4f}._configSubflow-paramValue_1ocqs_130{flex:1;min-width:0}._configSubflow-paramDescription_1ocqs_134{margin-top:4px;font-size:12px;color:#999;line-height:1.4}._configSubflow-emptyState_1ocqs_140{padding:24px 16px;text-align:center;color:#999;background-color:#fafafa;border:1px dashed #d9d9d9;border-radius:6px}._configSubflow-emptyState-icon_1ocqs_148{font-size:32px;color:#d9d9d9;margin-bottom:8px}._configSubflow-emptyState-text_1ocqs_153{font-size:14px}._configSubflow-hintMessage_1ocqs_156{display:flex;align-items:center;gap:8px;padding:12px 16px;font-size:14px;color:#8c8c8c;background-color:#fafafa;border:1px solid #f0f0f0;border-radius:6px}._configSubflow-hintMessage_1ocqs_156 ._anticon_1ocqs_80{font-size:16px}._configSubflow-hintMessage_1ocqs_156._warning_1ocqs_170{color:#faad14;background-color:#fffbe6;border-color:#ffe58f}._configSubflow-hintMessage_1ocqs_156._info_1ocqs_175{color:#1890ff;background-color:#e6f7ff;border-color:#91d5ff}._configSubflow-hintMessage_1ocqs_156._success_1ocqs_180{color:#52c41a;background-color:#f6ffed;border-color:#b7eb8f}._configSubflow-errorText_1ocqs_185{margin-top:4px;font-size:12px;color:#ff4d4f;line-height:1.4}._configSubflow-loading_1ocqs_191{display:flex;align-items:center;justify-content:center;padding:16px;color:#999}._multiRowGuard-container_efwb8_1{width:100%}._multiRowGuard-ruleCard_efwb8_4{position:relative;padding:16px;margin-bottom:12px;background-color:#fafafa;border:1px solid #e8e8e8;border-radius:8px;transition:all .2s ease}._multiRowGuard-ruleCard_efwb8_4:hover{border-color:#1890ff;box-shadow:0 2px 8px #1890ff1a}._multiRowGuard-ruleCard_efwb8_4._isDragging_efwb8_17{z-index:100;background-color:#fff;border-color:#1890ff;box-shadow:0 4px 16px #1890ff33}._multiRowGuard-ruleCard_efwb8_4._hasError_efwb8_23{border-color:#ff4d4f;background-color:#fff2f0}._multiRowGuard-ruleCard_efwb8_4._hasError_efwb8_23:hover{border-color:#ff4d4f}._multiRowGuard-ruleHeader_efwb8_30{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #f0f0f0}._multiRowGuard-dragHandle_efwb8_38{display:flex;align-items:center;gap:8px;color:#999;cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none}._multiRowGuard-dragHandle_efwb8_38:hover{color:#1890ff}._multiRowGuard-dragHandle_efwb8_38:active{cursor:grabbing}._multiRowGuard-ruleIndex_efwb8_53{font-size:12px;color:#666}._multiRowGuard-deleteBtn_efwb8_57{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;border-radius:6px;background:transparent;color:#999;cursor:pointer;transition:color .2s}._multiRowGuard-deleteBtn_efwb8_57:hover{color:#ff4d4f;background:#fff1f0}._multiRowGuard-deleteBtn_efwb8_57:focus-visible{outline:2px solid rgba(24,144,255,.45);outline-offset:2px}._multiRowGuard-ruleBody_efwb8_79{display:flex;flex-direction:column;gap:12px}._multiRowGuard-formRow_efwb8_84{display:flex;align-items:flex-start;gap:12px}._multiRowGuard-formItem_efwb8_89{flex:1;min-width:0}._multiRowGuard-formItem_efwb8_89._fullWidth_efwb8_93{flex:1 1 100%}._multiRowGuard-formLabel_efwb8_96{display:block;margin-bottom:4px;font-size:12px;color:#666}._multiRowGuard-formLabel_efwb8_96._required_efwb8_102:after{content:"*";margin-left:2px;color:#ff4d4f}._multiRowGuard-extraFields_efwb8_107{padding-top:8px;margin-top:4px;border-top:1px dashed #e8e8e8}._multiRowGuard-rangeInputs_efwb8_112{display:flex;align-items:center;gap:8px}._multiRowGuard-rangeInput_efwb8_112{flex:1}._multiRowGuard-rangeSeparator_efwb8_120{color:#999;font-size:12px}._multiRowGuard-addBtn_efwb8_124{margin-top:8px}._multiRowGuard-emptyState_efwb8_127{padding:32px 16px;text-align:center;color:#999;background-color:#fafafa;border:1px dashed #d9d9d9;border-radius:8px}._multiRowGuard-emptyState-icon_efwb8_135{font-size:32px;color:#d9d9d9;margin-bottom:8px}._multiRowGuard-emptyState-text_efwb8_140{font-size:14px}._multiRowGuard-enumTagsContainer_efwb8_143 ._ant-select-selection-overflow_efwb8_143{max-height:100px;overflow-y:auto}._multiRowGuard-errorText_efwb8_147{margin-top:4px;font-size:12px;color:#ff4d4f;line-height:1.4}._multiRowGuard-fieldError_efwb8_153 .rich-tag-input,._multiRowGuard-fieldError_efwb8_153 .ant-input{border-color:#ff4d4f}._multiRowGuard-fieldError_efwb8_153 .rich-tag-input:hover,._multiRowGuard-fieldError_efwb8_153 .ant-input:hover,._multiRowGuard-fieldError_efwb8_153 .rich-tag-input:focus,._multiRowGuard-fieldError_efwb8_153 .ant-input:focus{border-color:#ff7875}:root{--ai-flow-color-brand: #2d5bff;--ai-flow-color-brand-hover: #1e45e6;--ai-flow-color-text: #0f172a;--ai-flow-color-text-secondary: #334155;--ai-flow-color-text-muted: #64748b;--ai-flow-color-text-subtle: #94a3b8;--ai-flow-color-surface: #ffffff;--ai-flow-color-surface-muted: #f8fafc;--ai-flow-color-surface-sunken: #f1f5f9;--ai-flow-color-canvas: #eef0f4;--ai-flow-color-border: #e2e8f0;--ai-flow-color-border-strong: #cbd5e1;--ai-flow-color-border-soft: #eef1f5;--ai-flow-color-success: #16a34a;--ai-flow-color-warning: #d97706;--ai-flow-color-danger: #dc2626;--ai-flow-radius-control: 8px;--ai-flow-radius-card: 12px;--ai-flow-radius-node: 13px;--ai-flow-radius-canvas: 14px;--ai-flow-shadow-xs: 0 1px 2px rgba(15, 23, 42, .04);--ai-flow-shadow-sm: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);--ai-flow-shadow-md: 0 8px 24px -8px rgba(15, 23, 42, .18);--ai-flow-shadow-popover: 0 18px 48px -16px rgba(15, 23, 42, .3);--ai-flow-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;--ai-flow-font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace}.workflow-canvas-container,.nodes-config-modal,.modern-node-selector{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#0f172a}.workflow-canvas-container{border:1px solid #e2e8f0;border-radius:14px;background:#eef0f4;box-shadow:0 1px 2px #0f172a0a}.workflow-canvas-container .workflow-canvas-header{height:58px;padding:0 16px;border-bottom:1px solid #e2e8f0;background:#fffffff7;box-shadow:none}.workflow-canvas-container .workflow-canvas-header .workflow-header-left-area{gap:8px}.workflow-canvas-container .workflow-canvas-header .workflow-header-left-area .workflow-name-text{color:#0f172a;font-size:14px;font-weight:650}.workflow-canvas-container .workflow-canvas-header .workflow-header-left-area .workflow-back-icon,.workflow-canvas-container .workflow-canvas-header .workflow-header-left-area .edit-icon{color:#64748b}.workflow-canvas-container .workflow-canvas-header .ant-divider-vertical{border-color:#e2e8f0}.workflow-canvas-container .workflow-canvas-header .ant-btn.ant-btn-sm{font-size:12px;min-height:29px;padding:0 10px;border-radius:8px}.workflow-canvas-container .workflow-canvas-header .ant-btn-primary{background:#2d5bff;color:#fff}.workflow-canvas-container .workflow-canvas-header .ant-btn-primary:hover{background:#1e45e6}.workflow-canvas-container .workflow-canvas-header .ant-tag{margin-inline-end:0;border-radius:6px;font-size:11px;font-weight:600}.workflow-canvas-container .workflow-canvas,.workflow-canvas-container .react-flow-canvas-container{background:#eef0f4}.workflow-canvas-container .react-flow__background-pattern{stroke:#dfe4eb}.workflow-canvas-container .react-flow__panel{border-radius:10px;background:#fff;box-shadow:0 1px 3px #0f172a0f,0 1px 2px #0f172a0a}.workflow-canvas-container .react-flow__controls{flex-direction:row;overflow:hidden}.workflow-canvas-container .react-flow__controls .react-flow__controls-button{width:34px;height:34px;border-right:1px solid #eef1f5;border-bottom:0;background:#fff;color:#64748b}.workflow-canvas-container .react-flow__controls .react-flow__controls-button:last-child{border-right:0}.workflow-canvas-container .react-flow__controls .react-flow__controls-button:hover{background:#f8fafc;color:#2d5bff}.workflow-canvas-container .react-flow__minimap{overflow:hidden;border:1px solid #e2e8f0;border-radius:10px;background:#fffffff0;box-shadow:0 1px 3px #0f172a0f,0 1px 2px #0f172a0a}.workflow-canvas-container .react-flow__panel-top-right{border:0;background:transparent;box-shadow:none}.workflow-canvas-container .react-flow__panel-top-right .ant-space{gap:8px!important}.workflow-canvas-container .react-flow__panel-top-right .ant-btn{width:34px!important;height:34px!important;border:1px solid #e2e8f0!important;border-radius:9px;background:#fff!important;color:#2d5bff;box-shadow:0 1px 3px #0f172a0f,0 1px 2px #0f172a0a}.workflow-canvas-container .react-flow__panel-top-right .ant-btn:hover{border-color:#b9c8ff!important;background:#f5f7ff!important}.workflow-node{padding:17px 13px 12px 12px;gap:10px;border:1px solid #dfe4ec;border-radius:13px;background:#fff;box-shadow:0 1px 3px #0f172a0f,0 1px 2px #0f172a0a;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}.workflow-node:before{display:none}.workflow-node:hover,.workflow-node.workflow-node-selected{border-color:#2d5bff;box-shadow:0 0 0 3px #2d5bff1f,0 1px 3px #0f172a0f,0 1px 2px #0f172a0a}.workflow-node .workflow-node-content{gap:10px}.workflow-node .workflow-node-icon-wrapper{border-radius:9px;background:#2d5bff1a}.workflow-node .workflow-node-icon{color:#2d5bff;font-size:20px}.workflow-node .workflow-node-icon img{width:22px;height:22px}.workflow-node .workflow-node-text{min-width:150px;width:100%}.workflow-aisub-node .workflow-node,.workflow-mcp-tool-node .workflow-node{padding:17px 14px 12px;border-radius:13px}.workflow-mcp-tool-node .workflow-node:after{display:none}.start-node{min-width:220px;min-height:68px;padding:12px 14px;border:1.5px solid #dfe4ec;border-radius:13px;background:#ffffffe6;box-shadow:0 1px 2px #0f172a0a;position:relative;box-sizing:border-box}.start-node:hover{border-color:#2d5bff;background:#fff;box-shadow:0 0 0 3px #2d5bff1a}.start-node .start-node-text-title{color:#0f172a;font-size:12px;font-weight:650;margin-block:5px}.start-node .start-node-text-desc{color:#64748b;font-size:10px;margin-block:0}.start-node .node-footer{font-size:11px;margin-top:30px}.start-node .node-footer.trigger{color:#0f9d6e}.start-node .node-footer.mcp{color:#2d5bff}.start-node.trigger .node-footer{color:#0f9d6e}.start-node.trigger:hover{border-color:#0f9d6e}.start-node.mcp .node-footer{color:#2d5bff}.start-node.mcp:hover{border-color:#2d5bff}.start-node.customer-mcp{padding:12px 8px;box-shadow:0 4px 12px #0f172a14}.start-node.customer-mcp:hover{border-color:#dfe4ec;box-shadow:0 4px 12px #0f172a14}.start-node .label{position:absolute;right:0;top:8px;color:#2d5bff;background:#eff3ff;border-style:none;font-size:10px;font-weight:500}.workflow-sticky-note{border-color:#b4a04847;border-radius:10px;box-shadow:0 1px 3px #0f172a0f,0 1px 2px #0f172a0a}.workflow-sticky-note.workflow-sticky-note-selected,.workflow-sticky-note.selected{box-shadow:0 0 0 3px #2d5bff24,0 1px 3px #0f172a0f,0 1px 2px #0f172a0a}.workflow-node-kind{position:absolute;top:-10px;left:13px;z-index:2;display:inline-flex;align-items:center;height:19px;padding:0 7px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#64748b;box-shadow:0 1px 2px #0f172a0a;font-size:9px;font-weight:700;line-height:1}.workflow-node-kind.is-trigger{color:#0f9d6e}.workflow-node-kind.is-condition{color:#d97706}.workflow-node-kind.is-agent{color:#6d28d9}.workflow-node-kind.is-tool{color:#2d5bff}.workflow-node-kind.is-return{color:#7c3aed}.workflow-node-title-row{min-width:0;gap:6px}.workflow-node-title-text{flex:1;color:#0f172a;font-size:12px;font-weight:650;line-height:18px}.workflow-node-description-wrapper{min-height:16px;margin-top:2px}.workflow-node-description{color:#94a3b8;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:9px;line-height:15px;transition:none}.workflow-node-status-slot{display:inline-flex;flex:none;margin-bottom:-15px}.workflow-node-status-icon{display:inline-flex!important;width:auto!important;height:19px!important;flex:none;align-items:center;gap:4px;margin-left:0!important;padding:0 6px;border:1px solid #e2e8f0;border-radius:6px;background:#f8fafc;color:#64748b;font-size:9px;font-weight:700;white-space:nowrap}.workflow-node-status-icon:after{content:"空闲"}.workflow-container-warning .workflow-node-status-icon{border-color:#fed7aa;background:#fff7ed;color:#b45309}.workflow-container-warning .workflow-node-status-icon:after{content:"未配置"}.workflow-container-running .workflow-node-status-icon{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.workflow-container-running .workflow-node-status-icon:after{content:"运行中"}.workflow-container-success .workflow-node-status-icon{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}.workflow-container-success .workflow-node-status-icon:after{content:"成功"}.workflow-container-failed .workflow-node-status-icon{border-color:#fecaca;background:#fef2f2;color:#b91c1c}.workflow-container-failed .workflow-node-status-icon:after{content:"失败"}.workflow-container-disabled .workflow-node-status-icon{border-color:#e2e8f0;background:#f8fafc;color:#94a3b8}.workflow-container-disabled .workflow-node-status-icon:after{content:"已禁用"}.workflow-node-status-badge{display:inline-flex;align-items:center;gap:4px;height:19px;padding:0 6px;border:1px solid #e2e8f0;border-radius:6px;background:#f8fafc;color:#64748b;font-size:9px;font-weight:700;line-height:1;white-space:nowrap}.workflow-node-status-badge .workflow-node-status-symbol{display:inline-flex;font-size:10px}.workflow-node-status-badge.is-warning{border-color:#fed7aa;background:#fff7ed;color:#b45309}.workflow-node-status-badge.is-running,.workflow-node-status-badge.is-runnable{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.workflow-node-status-badge.is-success{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}.workflow-node-status-badge.is-failed{border-color:#fecaca;background:#fef2f2;color:#b91c1c}.workflow-node-status-badge.is-disabled{border-color:#e2e8f0;background:#f8fafc;color:#94a3b8}.react-flow__node-ActionNode .workflow-node:after,.react-flow__node-StartEventNode .workflow-node:after,.react-flow__node-ConditionNode .workflow-node:after,.react-flow__node-SwitchNode .workflow-node:after,.react-flow__node-LoopNode .workflow-node:after,.react-flow__node-SelfLoopNode .workflow-node:after,.react-flow__node-AgentNode .workflow-node:after,.react-flow__node-BrowserNode .workflow-node:after,.react-flow__node-AISubNode .workflow-node:after,.react-flow__node-VectorStoreNode .workflow-node:after,.react-flow__node-MCPServerNode .workflow-node:after,.react-flow__node-BuiltinMCPNode .workflow-node:after,.react-flow__node-MCPToolNode .workflow-node:after,.react-flow__node-custom .workflow-node:after,.react-flow__node-EndNode .workflow-node:after,.node-package .workflow-node:after{position:absolute;top:-10px;left:13px;z-index:2;display:inline-flex!important;align-items:center;width:auto;height:19px;padding:0 7px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#64748b;box-shadow:0 1px 2px #0f172a0a;font-size:9px;font-weight:700;line-height:1}.react-flow__node-ActionNode .workflow-node:after{content:"动作"}.react-flow__node-StartEventNode .workflow-node:after{content:"触发器"}.react-flow__node-ConditionNode .workflow-node:after{content:"条件"}.react-flow__node-SwitchNode .workflow-node:after{content:"多分支"}.react-flow__node-LoopNode .workflow-node:after{content:"循环"}.react-flow__node-SelfLoopNode .workflow-node:after{content:"自循环"}.react-flow__node-AgentNode .workflow-node:after{content:"AI Agent"}.react-flow__node-BrowserNode .workflow-node:after{content:"浏览器"}.react-flow__node-AISubNode .workflow-node:after{content:"AI 能力"}.react-flow__node-VectorStoreNode .workflow-node:after{content:"向量库"}.react-flow__node-MCPServerNode .workflow-node:after{content:"MCP 入口"}.react-flow__node-BuiltinMCPNode .workflow-node:after{content:"内置 MCP"}.react-flow__node-MCPToolNode .workflow-node:after{content:"MCP 工具"}.react-flow__node-custom .workflow-node:after{content:"扩展节点"}.react-flow__node-EndNode .workflow-node:after{content:"结束"}.workflow-node-toolbar{top:-38px;right:6px;background:#fff0;padding-bottom:12px}.node-operations{display:inline-flex;width:auto;padding:3px;border:1px solid #e2e8f0;border-radius:9px;background:#fff;box-shadow:0 8px 24px -8px #0f172a2e}.node-operations .operation-button{width:26px;height:26px;border-radius:6px}.node-operations .operation-button:hover{background:#f1f5f9}.workflow-node-deactivated-line{background:#e2e8f0!important}.workflow-handle{width:10px!important;height:10px!important;color:#94a3b8}.workflow-handle-shape-rhombus:before{border-radius:100%}.workflow-handle:hover{color:#2d5bff}.workflow-handle.workflow-handle-shape-rhombus.target:before{background-color:#94a3b8}.workflow-handle-label{padding:2px 5px;border:1px solid #eef1f5;border-radius:5px;background:#fffffff0;color:#64748b;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:9px}.workflow-handle-extender{background:#aab2c2}.workflow-handle-extender-btn{background:transparent}.workflow-handle-add-btn{border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#2d5bff;box-shadow:0 1px 2px #0f172a0a}.react-flow__edge-path,.workflow-main-edge .react-flow__edge-path{stroke:#aab2c2!important;stroke-width:1.5px!important}.workflow-ai-edge .react-flow__edge-path{stroke:#2d5bff!important;stroke-dasharray:5 5}#workflow-arrow{fill:#aab2c2}#workflow-ai-arrow{fill:#2d5bff}.workflow-edge-buttons{gap:2px;padding:3px;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 8px 24px -8px #0f172a2e}.workflow-edge-button{width:24px;height:24px;border-radius:6px;color:#64748b}.workflow-edge-button:hover{background:#f1f5f9;color:#2d5bff}.modern-node-selector{width:min(480px,42vw);border-left:1px solid #e2e8f0;border-radius:14px 0 0 14px;box-shadow:-18px 0 44px -24px #0f172a47}.modern-node-selector .panel-header{padding:10px 14px;border-bottom-color:#e2e8f0}.modern-node-selector .panel-header .title{color:#0f172a;font-size:16px}.modern-node-selector .panel-header .back-button,.modern-node-selector .panel-header .close-button{width:30px;height:30px;border-radius:8px}.modern-node-selector .search-container{padding:10px 10px 0}.modern-node-selector .search-container .ant-input-affix-wrapper{min-height:34px;border:1px solid #eef1f5;border-radius:9px;background:#f8fafc}.modern-node-selector .search-container .ant-input-affix-wrapper:focus-within{border-color:#2d5bff;box-shadow:0 0 0 3px #2d5bff1a}.modern-node-selector .category-tab{padding:5px 11px;border-radius:7px;background:#fff;box-shadow:none;color:#64748b;font-size:12px;border-style:none}.modern-node-selector .category-tab.active{background:#eef2ff;color:#2d5bff;box-shadow:none}.modern-node-selector .node-card{border-color:#e2e8f0;border-radius:10px;box-shadow:0 1px 2px #0f172a0a}.modern-node-selector .node-card.expanded{border-color:#c7d2fe;box-shadow:0 0 0 3px #2d5bff14}.modern-node-selector .node-card-header{padding:8px}.modern-node-selector .node-card-icon{width:36px;height:36px;border-radius:9px}.modern-node-selector .node-card-title,.modern-node-selector .item-title{color:#0f172a;font-size:13px;font-weight:650}.modern-node-selector .node-card-desc,.modern-node-selector .item-description{color:#64748b;font-size:11px}.nodes-config-modal .ant-modal-content{height:min(88vh,900px);overflow:hidden;border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-shadow:0 24px 72px -24px #0f172a6b}.nodes-config-modal .nodes-config-header{height:58px;padding:0 18px;border-bottom:1px solid #e2e8f0;box-shadow:none}.nodes-config-modal .nodes-config-header .header-title{color:#0f172a}.nodes-config-modal .nodes-config-header .back-button{border-radius:8px;color:#64748b}.nodes-config-modal .nodes-config-content{padding:0;background:#f8fafc}.nodes-config-modal .config-row{height:100%;margin:0!important}.nodes-config-modal .config-row>.ant-col{padding:0!important;background:#fff}.nodes-config-modal .config-row .left-section,.nodes-config-modal .config-row .middle-section{border-right:1px solid #e2e8f0}.nodes-config-modal .config-row .left-section,.nodes-config-modal .config-row .middle-section,.nodes-config-modal .config-row .right-section{scrollbar-color:#cbd5e1 transparent;scrollbar-width:thin}.nodes-config-modal .config-row .section-card{border-radius:0;box-shadow:none}.nodes-config-modal .config-row .section-card .ant-card-head{min-height:56px;border-bottom:1px solid #e2e8f0;padding:0 16px}.nodes-config-modal .config-row .section-card .ant-card-body{height:calc(100% - 56px);padding:14px 16px}.nodes-config-modal .node-config-title-name{color:#0f172a!important;font-size:14px!important}.nodes-config-modal .node-config-title-description{overflow:hidden;color:#94a3b8!important;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:10px!important;text-overflow:ellipsis;white-space:nowrap}.nodes-config-modal .ant-tabs-nav{margin-bottom:14px}.nodes-config-modal .ant-tabs-nav:before{border-bottom-color:#e2e8f0}.nodes-config-modal .ant-tabs-tab{padding:10px 2px;color:#64748b;font-size:12px}.nodes-config-modal .ant-tabs-tab-active .ant-tabs-tab-btn,.nodes-config-modal .ant-tabs-ink-bar{color:#2d5bff}.nodes-config-modal .ant-tabs-ink-bar{background:#2d5bff}.nodes-config-modal .middle-section .ant-tabs,.nodes-config-modal .middle-section .ant-tabs-content-holder,.nodes-config-modal .middle-section .ant-tabs-content,.nodes-config-modal .middle-section .ant-tabs-tabpane{min-height:0}.nodes-config-modal .middle-section .ant-tabs-content-holder,.nodes-config-modal .middle-section .ant-tabs-content,.nodes-config-modal .middle-section .ant-tabs-tabpane-active{height:100%}.nodes-config-modal .middle-section .ant-card:not(.section-card){border-color:#e2e8f0!important;border-radius:10px!important;background:#fff;box-shadow:none}.nodes-config-modal .middle-section .ant-divider{border-color:#e2e8f0}.nodes-config-modal .middle-section .ant-tag{border-radius:5px;font-size:10px;font-weight:650}.nodes-config-modal .ant-form-item-label>label{color:#334155;font-size:12px}.nodes-config-modal .ant-input,.nodes-config-modal .ant-input-affix-wrapper,.nodes-config-modal .ant-select-selector,.nodes-config-modal .ant-picker,.nodes-config-modal .ant-input-number{border-color:#e2e8f0;border-radius:8px!important;box-shadow:none!important}.nodes-config-modal .ant-input:hover,.nodes-config-modal .ant-input-affix-wrapper:hover,.nodes-config-modal .ant-select-selector:hover,.nodes-config-modal .ant-picker:hover,.nodes-config-modal .ant-input-number:hover,.nodes-config-modal .ant-input:focus,.nodes-config-modal .ant-input-affix-wrapper:focus,.nodes-config-modal .ant-select-selector:focus,.nodes-config-modal .ant-picker:focus,.nodes-config-modal .ant-input-number:focus,.nodes-config-modal .ant-input:focus-within,.nodes-config-modal .ant-input-affix-wrapper:focus-within,.nodes-config-modal .ant-select-selector:focus-within,.nodes-config-modal .ant-picker:focus-within,.nodes-config-modal .ant-input-number:focus-within{border-color:#2d5bff!important}.nodes-config-modal .ant-btn{border-radius:8px;box-shadow:none}.nodes-config-modal .ant-btn-primary{background:#2d5bff;color:#fff}.workflow-special-config{position:relative;display:flex;width:100%;height:100%;min-height:0;flex-direction:column}.workflow-special-config__scroll{flex:1;min-height:0;overflow-y:auto;padding:4px 18px 20px 0}.workflow-special-config__footer{position:sticky;bottom:0;z-index:2;display:flex;flex:none;justify-content:flex-end;width:100%;padding:12px 18px;border-top:1px solid #e2e8f0;background:#fffffff5;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.workflow-special-config__save{min-width:128px;border-radius:8px}.nodes-config-modal .variables-section{height:100%}.nodes-config-modal .variables-section>.workflow-variable-panel{width:100%;min-width:0;height:100%;max-height:none;overflow:hidden;border:0;border-radius:0;background:#fff;box-shadow:none}.nodes-config-modal .variables-section .workflow-variable-panel__header{box-sizing:border-box;min-height:60px;padding:0 14px;border-bottom-color:#e2e8f0}.nodes-config-modal .variables-section .workflow-variable-panel__header-icon{color:#2d5bff;padding:4px;background:#2d5bff33;border-radius:7px}.nodes-config-modal .variables-section .workflow-variable-panel__title,.nodes-config-modal .variables-section .workflow-variable-panel__label{color:#0f172a}.nodes-config-modal .variables-section .workflow-variable-panel__body{padding:0;display:flex;flex-flow:column;overflow:hidden}.nodes-config-modal .variables-section .workflow-variable-panel__body .variable-panel-group{flex:1;overflow:auto}.nodes-config-modal .variables-section .workflow-variable-panel__body .variable-panel-group.empty{height:auto;flex:none}.nodes-config-modal .variables-section .workflow-variable-panel__body .variable-panel-group .ant-tree-treenode{overflow:hidden;word-break:break-all}.nodes-config-modal .variables-section .workflow-variable-panel__body>:nth-child(1):not(.ant-alert){height:30px}.nodes-config-modal .variables-section .workflow-variable-panel__body>:nth-child(2){height:auto;overflow-y:auto}.nodes-config-modal .variables-section .workflow-variable-panel__section-label{color:#64748b}.nodes-config-modal .variables-section .workflow-variable-panel__item{padding:6px 5px;border-radius:7px}.nodes-config-modal .variables-section .workflow-variable-panel__item:hover,.nodes-config-modal .variables-section .ant-tree-node-content-wrapper:hover{background:#f1f5f9!important}.nodes-config-modal .variables-section .workflow-variable-panel__type{border-radius:5px!important}.nodes-config-modal .workflow-config-form .ant-select-selector,.nodes-config-modal .workflow-credential-form .ant-select-selector,.nodes-config-modal .workflow-config-form .ant-input,.nodes-config-modal .workflow-credential-form .ant-input,.nodes-config-modal .workflow-config-form .ant-input-group-addon,.nodes-config-modal .workflow-credential-form .ant-input-group-addon{border-color:#e2e8f0!important;border-radius:8px!important}.workflow-node-form-shell .workflow-config-form .field-desc,.workflow-node-form-shell .workflow-config-form .ant-form-item-extra{color:#94a3b8;font-size:10px;line-height:1.45;margin-block:4px}.workflow-node-form-shell .workflow-config-form>div>.ant-form-item{margin-bottom:0!important}.nodes-config-modal .workflow-account-select{padding:8px 0}.nodes-config-modal .workflow-account-select .workflow-account-select__title{color:#334155;font-size:12px;font-weight:600}.nodes-config-modal .workflow-account-select .workflow-account-select__name{color:#0f172a;font-size:13px}.nodes-config-modal .workflow-account-select .workflow-account-select__edit{color:#2d5bff}.nodes-config-modal .workflow-config-subflow__param,.nodes-config-modal .workflow-multi-row-guard__rule{border-color:#e2e8f0;border-radius:9px;background:#fff;box-shadow:none}.nodes-config-modal .workflow-config-subflow__param:hover,.nodes-config-modal .workflow-multi-row-guard__rule:hover{border-color:#b9c8ff;box-shadow:0 0 0 3px #2d5bff14}.nodes-config-modal .workflow-node-form-shell{background:#fff}.nodes-config-modal .workflow-node-form-scroll{scrollbar-color:#cbd5e1 transparent;scrollbar-width:thin}.nodes-config-modal .workflow-node-form-scroll .actions button{padding:0;font-size:12px;color:#94a3b8}.nodes-config-modal .workflow-node-form-scroll .actions button:hover{background-color:transparent}.nodes-config-modal .workflow-node-form-footer{border-top-color:#e2e8f0;background:#fffffffa}.nodes-config-modal .workflow-multi-row-extract__row{display:grid!important;grid-template-columns:minmax(88px,1.1fr) minmax(88px,.9fr) minmax(120px,1.7fr) minmax(76px,.8fr) auto;align-items:start!important;gap:8px!important}.nodes-config-modal .workflow-multi-row-extract__row>.ant-space-item{min-width:0}.nodes-config-modal .workflow-multi-row-extract__row .ant-input,.nodes-config-modal .workflow-multi-row-extract__row .ant-select{width:100%!important}.nodes-config-modal .workflow-extend-object>div>.ant-space-item:nth-child(1){display:flex;height:100%;align-items:flex-start}.nodes-config-modal .workflow-extend-object>div>.ant-space-item:nth-child(2){display:flex;height:100%;align-items:flex-start}.nodes-config-modal .workflow-extend-object__row{display:grid!important;grid-template-columns:minmax(120px,.8fr) minmax(180px,1.4fr) auto;align-items:center!important;gap:8px!important}.nodes-config-modal .workflow-extend-object__row>.ant-space-item{min-width:0}.nodes-config-modal .workflow-extend-object__row .ant-input,.nodes-config-modal .workflow-extend-object__row .workflow-extend-object__value{width:100%!important}.nodes-config-modal .workflow-password-field__prefix{display:inline-flex;align-items:center;padding:0 11px;border:1px solid #e2e8f0;border-right:0;border-radius:8px 0 0 8px;background:#f1f5f9;color:#64748b;font-size:12px;white-space:nowrap}.nodes-config-modal .workflow-password-field .ant-input-affix-wrapper{border-radius:0 8px 8px 0!important}.nodes-config-modal .workflow-oauth-token-endpoint .ant-input{border-radius:8px 0 0 8px!important}.nodes-config-modal .workflow-oauth-token-endpoint .ant-btn{border-radius:0 8px 8px 0!important}#shuxi-code-editor{width:calc(100vw - 32px)!important;height:calc(100vh - 32px)!important;border:1px solid rgba(255,255,255,.12);border-radius:14px!important;background:#171a22!important;box-shadow:0 24px 64px #0f172a57}#shuxi-code-editor>div:first-child{min-width:220px;border-right:1px solid rgba(255,255,255,.1);background:#1d2029}#shuxi-code-editor h3{margin:0!important;color:#f8fafc!important;font-size:13px!important;font-weight:650;line-height:48px}.node-test-container .node-test-header .header-title{margin-bottom:4px}.node-test-container .node-test-header .header-title .title-icon{margin-right:8px;color:#2d5bff;font-size:11px;background:#2d5bff33;width:20px;height:20px;border-radius:6px}.node-test-container .node-test-header .header-title h4{color:#0f172a;font-size:13px;font-weight:500}.node-test-container .test-content .action-buttons{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex;justify-content:space-evenly}.node-test-container .test-content .action-buttons button{flex:1}.node-test-container .test-progress{margin-bottom:12px}.node-test-container .ant-progress-inner{height:4px;background:#eef1f5}.node-test-container .error-alert,.node-test-container .success-alert{margin-bottom:12px;border-radius:9px}.node-test-container .ant-alert.small{padding:10px 12px}.node-test-container .ant-alert.small .ant-alert-icon{font-size:16px;margin-inline-end:8px}.node-test-container .ant-alert.small .ant-alert-content .ant-alert-message{font-size:13px;margin-bottom:0}.node-test-container .ant-alert.small .ant-alert-content .ant-alert-description{font-size:11px}.node-test-container .result-card,.node-test-container .result-skeleton{margin-top:12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;box-shadow:none}.node-test-container .result-card:hover{box-shadow:none}.node-test-container .json-renderer{border-radius:0 0 4px 4px!important}.node-test-container .result-editor{border:0;border-radius:0 0 4px 4px!important;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:11px;background-color:#0f1729;color:#cbd5e1}.node-test-container .empty-result{padding:20px 8px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;box-shadow:none}.node-test-container .empty-result .ant-result{padding:18px 8px}.node-test-container .empty-result .ant-result-icon{margin-bottom:10px;font-size:28px}.node-test-container .empty-result .ant-result-title{color:#0f172a;font-size:12px;margin-block:4px}.node-test-container .empty-result .ant-result-subtitle{color:#94a3b8;font-size:11px}.workflow-fullscreen-loading{position:absolute;z-index:1000;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#f6f8fbb8;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.workflow-fullscreen-loading__card{display:flex;align-items:center;gap:14px;min-width:268px;padding:18px 20px;border:1px solid #e2e8f0;border-radius:12px;background:#fffffff5;box-shadow:0 18px 48px -16px #0f172a4d}.workflow-fullscreen-loading__card .ant-spin-dot-item{background-color:#2d5bff}.workflow-fullscreen-loading__copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}.workflow-fullscreen-loading__copy strong{color:#0f172a;font-size:13px;font-weight:650}.workflow-fullscreen-loading__copy span{max-width:360px;color:#64748b;font-size:11px}.workflow-fullscreen-loading.is-error{background:#f8fafcd1}.workflow-fullscreen-loading.is-error .workflow-fullscreen-loading__card{min-width:min(520px,calc(100vw - 48px));border-color:#fecaca}.workflow-fullscreen-loading__error-icon{color:#dc2626;font-size:22px}.workflow-fullscreen-loading__error-code{color:#64748b;font-size:11px;opacity:.8}.workflow-error-handler{position:relative;display:flex;height:100%;min-height:0;flex-direction:column}.workflow-error-handler__body{flex:1;min-height:0;overflow-y:auto;padding:4px 20px 20px 0}.workflow-error-handler__footer{position:sticky;bottom:0;display:flex;justify-content:flex-end;width:100%;padding:12px 20px;border-top:1px solid #e2e8f0;background:#fffffff5;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.workflow-error-handler__save{min-width:128px;border-radius:8px}.workflow-online-ide-trigger{position:absolute;z-index:2;top:7px;right:10px;display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;padding:0;border:1px solid rgba(255,255,255,.14);border-radius:7px;background:#0f172ab8;color:#f8fafc;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease}.workflow-online-ide-trigger:hover:not(:disabled){border-color:#ffffff4d;background:#2d5bffe6;transform:translateY(-1px)}.workflow-online-ide-trigger:focus-visible{outline:2px solid #8fa6ff;outline-offset:2px}.workflow-online-ide-trigger:disabled{cursor:not-allowed;opacity:.4}.workflow-online-ide-title{margin:0;color:#f8fafc;font-size:13px;font-weight:650;line-height:48px}.workflow-online-ide-toolbar{display:flex;height:100%;align-items:center;gap:8px;padding-right:14px}.workflow-online-ide-toolbar .ant-btn{height:30px;border-color:#ffffff29;border-radius:7px;background:#ffffff14;color:#e2e8f0;box-shadow:none}.workflow-online-ide-toolbar .ant-btn:hover{border-color:#ffffff47!important;background:#ffffff24!important;color:#fff!important}.workflow-online-ide-toolbar .ant-btn-primary{border-color:#2d5bff;background:#2d5bff;color:#fff}.workflow-online-ide-toolbar .ant-btn-primary:hover{border-color:#1e45e6!important;background:#1e45e6!important}.workflow-debug-panel{width:min(760px,calc(100vw - 48px));max-height:82vh;overflow:auto;padding:14px;border:1px solid #e2e8f0;border-radius:14px;background:#fffffffa;box-shadow:0 18px 48px -16px #0f172a4d;color:#0f172a;font-size:12px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.workflow-debug-panel .ant-btn{border-radius:7px;box-shadow:none}.workflow-debug-panel .ant-select-selector{border-radius:7px!important}.workflow-debug-panel pre{max-height:180px;overflow:auto;margin:0;padding:9px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#f1f5f9;color:#334155;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:11px;line-height:1.55}.workflow-debug-panel__header{margin:-14px -14px 0;padding:12px 14px;border-bottom:1px solid #e2e8f0;color:#0f172a;font-size:14px;font-weight:650}.workflow-debug-panel__section{margin-top:12px;padding-top:12px;border-top:1px solid #eef1f5}.workflow-debug-panel__section:first-of-type{border-top:0}.workflow-debug-panel__log-header,.workflow-debug-panel__summary{color:#334155;font-weight:600}.workflow-debug-panel__toolbar{margin:8px 0}.workflow-debug-panel__log-list{gap:8px;max-height:360px}.workflow-debug-panel__log-item{padding:10px;border:1px solid #e2e8f0;border-radius:9px;background:#fff}.workflow-debug-panel__log-item:hover{border-color:#cbd5e1;background:#f8fafc}.workflow-debug-panel__log-time,.workflow-debug-panel__log-empty,.workflow-debug-panel__edge-flag{color:#64748b}.workflow-debug-panel__tag{padding:2px 7px;border-radius:999px;font-weight:600}.workflow-debug-panel__tag-node{border-color:#2d5bff38;background:#2d5bff14;color:#2d5bff}.workflow-debug-panel__tag-edge{border-color:#16a34a38;background:#16a34a14;color:#16a34a}.workflow-debug-panel__graph,.workflow-debug-panel__edge-list{border:1px solid #e2e8f0;border-radius:9px;background:#f1f5f9}.workflow-debug-panel__edge-list{padding:8px}.workflow-debug-panel__edge-line,.workflow-debug-panel__edge-line--duplicate{padding:5px 7px;border-radius:6px}.workflow-debug-panel__edge-line--duplicate{border-color:#dc26263d;background:#dc262612;color:#dc2626}@media(max-width:1100px){.nodes-config-modal .nodes-config-header{padding-inline:14px}.nodes-config-modal .config-row .left-section{max-width:24%;flex:0 0 24%}.nodes-config-modal .config-row .middle-section{max-width:48%;flex:0 0 48%}.nodes-config-modal .config-row .right-section{max-width:28%;flex:0 0 28%;background-color:#fff}.nodes-config-modal .config-row .section-card .ant-card-head,.nodes-config-modal .config-row .section-card .ant-card-body{padding-inline:12px}}@media(prefers-reduced-motion:reduce){.modern-node-selector,.workflow-node,.workflow-handle,.workflow-edge{animation:none!important;transition:none!important}}.ant-alert-success{border-color:#bbf7d0;background:#f0fdf4;color:#166534}@keyframes savePulse{50%{opacity:.3;transform:scale(1.6)}}.save-state{font-size:11px;display:inline-flex;align-items:center}.save-state.idle{color:#d97706}.save-state.saving{color:#2d5bff}.save-state.saving .status-icon{animation:savePulse 1.2s ease-in-out infinite}.save-state.saved{color:#16a34a}.save-state.error{color:#dc2626}.save-state .status-icon{width:7px;height:7px;border-radius:50%;background-color:currentColor;margin-left:8px;margin-right:8px;display:inline-block}.setup-panel{min-width:50%;text-align:center;margin-top:-75px}.setup-panel h4{margin-bottom:8px}.setup-panel .desc{color:#64748b;font-size:11px}.setup-panel .start-node-placeholder{margin-top:20px;display:flex;justify-content:center;flex-flow:column}.setup-panel .start-node-placeholder .start-node-select{width:100%;display:flex;flex-flow:row;justify-content:center;gap:10px}.setup-panel .start-node-placeholder .start-node-select .start-node{width:28%;min-width:250px;max-width:350px;min-height:138px}.setup-panel .start-node-placeholder .start-node-select .start-node.customer-mcp{margin-top:10px;width:calc(56% + 15px);min-width:500px;max-width:712px;min-height:32px;gap:10px;display:flex;flex-flow:row;align-items:center;font-size:10px}.setup-panel .start-node-placeholder .start-node-select .start-node.customer-mcp .setup{flex:1;display:flex;align-items:center;flex-flow:row;align-content:flex-end;padding:5px;border-radius:8px;font-size:9px;position:relative;-webkit-user-select:none;user-select:none}.setup-panel .start-node-placeholder .start-node-select .start-node.customer-mcp .setup .name{padding-left:10px}.setup-panel .start-node-placeholder .start-node-select .start-node.customer-mcp .setup.disable{color:#0f172a;opacity:.45}.setup-panel .start-node-placeholder .start-node-select .start-node.customer-mcp .setup:hover{background:#eff3ff}.setup-panel .start-node-placeholder .start-node-select .start-node.customer-mcp .setup .tip{position:absolute;right:0;padding-right:8px;font-size:7px;color:#aaa}.setup-panel .start-node-placeholder .start-node-select .start-node.customer-mcp .setup .tip.next{font-size:14px;color:#0f172a}.setup-panel .start-node-placeholder .mcp-block{margin-top:20px;width:100%}.ant-form-item-explain-error{font-size:12px}.ce-tag_input{outline-width:0;border:1px solid #e2e8f0;border-radius:8px}.ant-btn .ant-btn-icon{display:inline-flex}.ai-flow-variable-tree{display:flex;width:100%;min-width:280px;max-width:420px;height:100%;min-height:360px;flex-direction:column;overflow:hidden;border:1px solid var(--ai-flow-color-border, #e2e8f0);border-radius:var(--ai-flow-radius-card, 12px);background:var(--ai-flow-color-surface, #ffffff);color:var(--ai-flow-color-text, #0f172a);font-family:var(--ai-flow-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif);box-shadow:var(--ai-flow-shadow-sm, 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04))}.ai-flow-variable-tree__header{display:flex;min-height:54px;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid var(--ai-flow-color-border-soft, #eef1f5)}.ai-flow-variable-tree__header>div{display:inline-flex;align-items:center;gap:8px;color:var(--ai-flow-color-brand, #2d5bff)}.ai-flow-variable-tree__header strong{color:var(--ai-flow-color-text, #0f172a);font-size:13px;font-weight:650}.ai-flow-variable-tree__header>span{color:var(--ai-flow-color-text-subtle, #94a3b8);font-size:11px}.ai-flow-variable-tree__search{padding:10px 12px 8px}.ai-flow-variable-tree__search .ant-input-affix-wrapper{border-color:var(--ai-flow-color-border, #e2e8f0);border-radius:var(--ai-flow-radius-control, 8px);box-shadow:none}.ai-flow-variable-tree__search .ant-input-affix-wrapper:focus-within{border-color:var(--ai-flow-color-brand, #2d5bff);box-shadow:0 0 0 2px #2d5bff1a}.ai-flow-variable-tree__body{flex:1;padding:0 8px 12px;overflow:auto;scrollbar-color:var(--ai-flow-color-border-strong, #cbd5e1) transparent}.ai-flow-variable-tree__loading{padding:12px}.ai-flow-variable-tree__section-label{display:flex;align-items:center;gap:6px;padding:10px 6px 6px;color:var(--ai-flow-color-text-muted, #64748b);font-size:11px;font-weight:650}.ai-flow-variable-tree__divider{height:1px;margin:10px 6px 0;background:var(--ai-flow-color-border-soft, #eef1f5)}.ai-flow-variable-tree .ant-tree{background:transparent;color:inherit}.ai-flow-variable-tree .ant-tree-node-content-wrapper{min-height:30px;padding:3px 6px!important;border-radius:7px}.ai-flow-variable-tree .ant-tree-node-content-wrapper:hover{background:var(--ai-flow-color-surface-sunken, #f1f5f9)!important}.ai-flow-variable-tree .ant-tree-node-content-wrapper.ant-tree-node-selected{background:#eff3ff!important}.ai-flow-variable-tree__node{display:flex;min-width:0;align-items:center;gap:6px;font-size:12px}.ai-flow-variable-tree__node.is-disabled{opacity:.48}.ai-flow-variable-tree__root-icon{display:inline-flex;width:22px;height:22px;flex:none;align-items:center;justify-content:center;overflow:hidden;border-radius:6px;background:#eff3ff;color:var(--ai-flow-color-brand, #2d5bff);font-size:10px;font-weight:700}.ai-flow-variable-tree__root-icon img{width:100%;height:100%;object-fit:cover}.ai-flow-variable-tree__type{min-width:34px;margin-inline-end:0!important;padding-inline:4px!important;border-radius:5px;font-family:var(--ai-flow-font-mono, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace);font-size:9px;line-height:17px;text-align:center}.ai-flow-variable-tree__label{min-width:0;overflow:hidden;color:var(--ai-flow-color-text-secondary, #334155);text-overflow:ellipsis;white-space:nowrap}.ai-flow-variable-tree__value{max-width:112px;margin-left:auto;overflow:hidden;color:var(--ai-flow-color-text-subtle, #94a3b8);font-family:var(--ai-flow-font-mono, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace);font-size:10px;text-overflow:ellipsis;white-space:nowrap}@media(prefers-reduced-motion:reduce){.ai-flow-variable-tree *,.ai-flow-node-test-panel *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}._modalContainer_1ajlo_5{position:fixed;z-index:1400;top:0;right:0;bottom:0;left:0;display:flex;width:100vw;height:100dvh;align-items:center;justify-content:center;background:#111827}._modalContainer_1ajlo_5 ._editorContainer_1ajlo_16{display:flex;width:100%;min-width:800px;height:100%;overflow:hidden;border:1px solid rgba(255,255,255,.08);background:#0f111a}._modalContainer_1ajlo_5 ._editorContainer_1ajlo_16 ._sider_1ajlo_25{width:auto;min-width:280px;max-width:20%;padding:10px;overflow:auto;border-right:1px solid rgba(255,255,255,.08);background:#f8fafc}._modalContainer_1ajlo_5 ._editorContainer_1ajlo_16 ._main_1ajlo_34{display:flex;min-width:0;flex:1;flex-direction:column}._modalContainer_1ajlo_5 ._editorContainer_1ajlo_16 ._main_1ajlo_34 ._header_1ajlo_40{display:flex;min-height:48px;flex-direction:row;align-items:center;justify-content:space-between;padding-left:18px;border-bottom:1px solid rgba(255,255,255,.09);background:#171923}._modalContainer_1ajlo_5 ._editorContainer_1ajlo_16 ._main_1ajlo_34 ._editor_1ajlo_16{min-height:0;flex:1}@media(max-width:920px){._modalContainer_1ajlo_5 ._editorContainer_1ajlo_16{min-width:0}._modalContainer_1ajlo_5 ._editorContainer_1ajlo_16 ._sider_1ajlo_25{width:260px;min-width:240px}}.node-variable-token{background-color:red}._ideWrapper_sfar6_1 .ant-tree{color:inherit}._siderContainer_fhkbn_1{height:100%;display:flex;flex-direction:column;justify-content:space-between;padding:10px 5px;box-sizing:border-box}
package/dist/rcs.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as s, a as o, b as l, N as i, c as r, g as t, h as n, j as d, k as u, l as F, m as c, n as y, E as g, F as S, o as m, H as p, p as C, q as V, r as f, s as w, u as A, v as b, w as R, x as v, W as T, y as W, z as P, B as k, C as D, G as I, I as M, J as N, K as h, L as E, M as L, O, P as _, Q as x, R as B, S as G, T as U, U as j, X as q, Y as H, Z as Y, _ as z, $ as J, a0 as K, a1 as Q, a2 as X, a3 as Z, a4 as $, a5 as aa, a6 as ea, a7 as sa, a8 as oa, a9 as la, aa as ia, ab as ra, ac as ta, ad as na, ae as da, af as ua, ag as Fa, ah as ca, ai as ya } from "./index-B9JVnuFQ.mjs";
1
+ import { A as s, a as o, b as l, N as i, c as r, g as t, h as n, j as d, k as u, l as F, m as c, n as y, E as g, F as S, o as m, H as p, p as C, q as V, r as f, s as w, u as A, v as b, w as R, x as v, W as T, y as W, z as P, B as k, C as D, G as I, I as M, J as N, K as h, L as E, M as L, O, P as _, Q as x, R as B, S as G, T as U, U as j, X as q, Y as H, Z as Y, _ as z, $ as J, a0 as K, a1 as Q, a2 as X, a3 as Z, a4 as $, a5 as aa, a6 as ea, a7 as sa, a8 as oa, a9 as la, aa as ia, ab as ra, ac as ta, ad as na, ae as da, af as ua, ag as Fa, ah as ca, ai as ya } from "./index-D47boYqG.mjs";
2
2
  export {
3
3
  s as AIFieldWrapper,
4
4
  o as AI_FILL_VALUE,
package/dist/rcs.umd.js CHANGED
@@ -6,7 +6,7 @@
6
6
  `);s=a===-1?"":i.slice(a+1)}if(!r.stack)r.stack=s;else if(s){const a=s.indexOf(`
7
7
  `),l=a===-1?-1:s.indexOf(`
8
8
  `,a+1),c=l===-1?"":s.slice(l+1);String(r.stack).endsWith(c)||(r.stack+=`
9
- `+s)}}catch{}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Ri(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&qu.assertOptions(r,{silentJSONParsing:On.transitional(On.boolean),forcedJSONParsing:On.transitional(On.boolean),clarifyTimeoutError:On.transitional(On.boolean),legacyInterceptorReqResOrdering:On.transitional(On.boolean),advertiseZstdAcceptEncoding:On.transitional(On.boolean),validateStatusUndefinedResolves:On.transitional(On.boolean)},!1),o!=null&&(K.isFunction(o)?n.paramsSerializer={serialize:o}:qu.assertOptions(o,{encode:On.function,serialize:On.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),qu.assertOptions(n,{baseUrl:On.spelling("baseURL"),withXsrfToken:On.spelling("withXSRFToken")},!0),n.method=(K.getSafeProp(n,"method")||K.getSafeProp(this.defaults,"method")||"get").toLowerCase();let s=i&&K.merge(i.common,i[n.method]);i&&K.forEach(Z1.concat("common"),m=>{delete i[m]}),n.headers=wn.concat(s,i);const a=[];let l=!0;this.interceptors.request.forEach(function(w){if(typeof w.runWhen=="function"&&w.runWhen(n)===!1)return;l=l&&w.synchronous;const b=n.transitional||hm;b&&b.legacyInterceptorReqResOrdering?a.unshift(w.fulfilled,w.rejected):a.push(w.fulfilled,w.rejected)});const c=[];this.interceptors.response.forEach(function(w){c.push(w.fulfilled,w.rejected)});let u,d=0,f;if(!l){const m=[vm.bind(this),void 0];for(m.unshift(...a),m.push(...c),f=m.length,u=Promise.resolve(n);d<f;)u=u.then(m[d++],m[d++]);return u}f=a.length;let h=n;for(;d<f;){const m=a[d++],w=a[d++];try{h=m?m(h):h}catch(b){if(!w){u=Promise.reject(b);break}try{const g=w.call(this,b);K.isThenable(g)&&(u=Promise.resolve(g).then(()=>vm.call(this,h)))}catch(g){u=Promise.reject(g)}break}}if(!u)try{u=vm.call(this,h)}catch(m){u=Promise.reject(m)}for(d=0,f=c.length;d<f;)u=u.then(c[d++],c[d++]);return u}getUri(e){e=Ri(this.defaults,e);const n=J1(e.baseURL,e.url,e.allowAbsoluteUrls,e);return Q1(n,e.params,e.paramsSerializer)}};K.forEach(["delete","get","head","options"],function(e){Zi.prototype[e]=function(n,r){return this.request(Ri(r||{},{method:e,url:n,data:r&&K.hasOwnProp(r,"data")?r.data:void 0}))}}),K.forEach(["post","put","patch","query"],function(e){function n(r){return function(i,s,a){return this.request(Ri(a||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}Zi.prototype[e]=n(),e!=="query"&&(Zi.prototype[e+"Form"]=n(!0))});let o3=class pL{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{r.subscribe(a),i=a}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},e(function(i,s,a){r.reason||(r.reason=new bl(i,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=r=>{e.abort(r)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new pL(function(o){e=o}),cancel:e}}};function i3(t){return function(n){return t.apply(null,n)}}function s3(t){return K.isObject(t)&&t.isAxiosError===!0}const Uu={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,ContentTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,UnprocessableContent:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Uu).forEach(([t,e])=>{Uu[e]===void 0&&(Uu[e]=t)});function hk(t){const e=new Zi(t),n=b1(Zi.prototype.request,e);return K.extend(n,Zi.prototype,e,{allOwnKeys:!0}),K.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return hk(Ri(t,o))},n}const It=hk(Ol);It.Axios=Zi,It.CanceledError=bl,It.CancelToken=o3,It.isCancel=q1,It.VERSION=Om,It.toFormData=Wu,It.AxiosError=Te,It.Cancel=It.CanceledError,It.all=function(e){return Promise.all(e)},It.spread=i3,It.isAxiosError=s3,It.mergeConfig=Ri,It.AxiosHeaders=wn,It.formToJSON=t=>R1(K.isHTMLForm(t)?new FormData(t):t),It.getAdapter=dk.getAdapter,It.HttpStatusCode=Uu,It.default=It;const{Axios:$fe,AxiosError:Ife,CanceledError:Ffe,isCancel:Lfe,CancelToken:Qfe,VERSION:zfe,all:Vfe,Cancel:jfe,isAxiosError:Wfe,spread:Hfe,toFormData:Rfe,AxiosHeaders:Zfe,HttpStatusCode:qfe,formToJSON:Ufe,getAdapter:Xfe,mergeConfig:Gfe,create:Yfe}=It,a3={nodeCategory:"/acm/links/domain/v2",nodesList:"/acm/links/v2",searchLinks:"/acm/links/search",connectableNodePackageCategories:"/acm/node-package/categories/connectable",connectableNodePackagePlugins:"/acm/node-package/plugins/connectable",actions:"/acm/actions/v2",actionNodeSchema:"/acm/actions/:nodeKey/:version",createNode:"/acm/flows/nodes/v2",updateNode:"/acm/flows/nodes/v2/:id",updateEdges:"/acm/flows/edge/v2/:flowId",copyFlow:"/acm/flows/copy/:id",proxyGroup:"/iam/api/proxyGroup",createFlow:"/acm/flows/v2",flowDetail:"/acm/flows/v2/:flowId",testRunNode:"/acm/flows/nodes/run/v2/:id",listenWebhook:"/acm/flows/:flowId/webhook/listen",connectors:"/acm/allLinks",connectorDetail:"/acm/links/:connectorId",nodeDetail:"/acm/flows/nodes/:id",cancelDebug:"/acm/flows/nodes/cancelDebug/v2/:id",deleteNode:"/acm/flows/nodes/v2/:id",checkFlow:"/acm/flows/check/:id",templateFlow:"/acm/flows/templates/:id",flowOutput:"/acm/flows/output/:id",flowOutputTree:"/acm/flows/outputTree/v2/:flowId",globalVariables:"/acm/api/globalVariables/list",accountModel:"/acm/accounts/:account_key",accountInstanceCollection:"/acm/accountInstance",accountInstanceDetail:"/acm/accountInstance/:id",accountInstanceTest:"/acm/accountInstance/test",moveNode:"/acm/flows/nodes/move/:nodeId",copyNode:"/acm/flows/nodes/copy/v2/:nodeId",updateNodeNote:"/acm/flows/nodes/updateNote",nodeStatus:"/acm/flows/nodes/close/:nodeId",exportNode:"/acm/export/flowNode",importNode:"/acm/import/flowNode",stopFlow:"/acm/flows/stop/v2/:id",runFlow:"/acm/flows/run/v2/:id",removeEdges:"/acm/flows/remove/edge/:flowId",selectOptions:"/acm/actions/select/item",flowOpStatus:"/acm/flows/op/v2/:paramsId/:opStatus",onlineFlow:"/acm/flows/online/v2/:id",templateSettingsFlowDetail:"/acm/flows/:flowId",templateCategoryList:"/acm/flows/templates/category",templateCategoryDetail:"/acm/flows/templates/category/:id",templateCategoryRelation:"/acm/flows/templates/:templateId/category/:categoryId",templateTagList:"/acm/flows/templates/tag",templateTagDetail:"/acm/flows/templates/tag/:id",templateTagRelation:"/acm/flows/templates/:templateId/tag/:tagId",getAppList:"/iam/api/apps/v2",subFlowList:"/acm/flow/sub-flow/list",flowVersionStatus:"/acm/flows/v2/:flowId/versions/status"},l3=async(t,e={})=>{const{params:n,data:r,headers:o,method:i="GET",transformResponse:s=void 0}=e,a={};o&&Object.assign(a,o);const l={url:t,method:i,params:n,data:r,headers:Object.keys(a).length?a:void 0,transformResponse:s},u=(await It(l)).data;return(u==null?void 0:u.data)!==void 0?u.data:u};let Qs={endpoints:{...a3},httpClient:l3};const Xu=t=>{t.httpClient&&(Qs.httpClient=t.httpClient),t.endpoints&&(Qs.endpoints={...Qs.endpoints,...t.endpoints})},c3=/:([A-Za-z0-9_]+)/g,pk=(t,e)=>{const n=Qs.endpoints[t];if(!n)throw new Error(`Workflow endpoint "${t}" is not configured.`);return n.replace(c3,(r,o)=>{if(!e||e[o]===void 0||e[o]===null)throw new Error(`Missing path parameter "${o}" for endpoint "${t}".`);return encodeURIComponent(String(e[o]))})},Ye=async(t,e,n)=>{const r=pk(t,n);return Qs.httpClient(r,e)},u3=new Set(["data","success","code","message","msg","error","errorCode","requestId","traceId"]),d3=t=>!t||typeof t!="object"||Array.isArray(t)||!Object.hasOwn(t,"data")?!1:Object.keys(t).every(e=>u3.has(e));function km(t,e){let n=t;for(;d3(n);)n=n.data;return n}async function f3(t){return Ye("connectableNodePackageCategories",{method:"POST",data:f1(t)})}async function h3(t){return Ye("connectableNodePackagePlugins",{method:"POST",data:f1(t)})}const mk=async t=>Ye("actions",{params:t}),gk=async(t,e)=>{const n=await Ye("actionNodeSchema",void 0,{nodeKey:t,version:e});return p3(n,t,e)};function wk(t){if(typeof t!="string")return t;try{return JSON.parse(t)}catch{return t}}function p3(t,e,n){const r=wk(t),o=wk((r==null?void 0:r.node_schema)??(r==null?void 0:r.nodeSchema)??r);return{...o,key:(o==null?void 0:o.key)??(r==null?void 0:r.action_key)??(r==null?void 0:r.node_key)??(r==null?void 0:r.nodeKey)??e,version:(o==null?void 0:o.version)??(r==null?void 0:r.action_ver)??(r==null?void 0:r.node_ver)??(r==null?void 0:r.nodeVersion)??n,name:(o==null?void 0:o.name)??(r==null?void 0:r.name)??(r==null?void 0:r.action_name)??e,description:(o==null?void 0:o.description)??(r==null?void 0:r.description),input_fields:Array.isArray(o==null?void 0:o.input_fields)?o.input_fields:[],output_fields:Array.isArray(o==null?void 0:o.output_fields)?o.output_fields:[],credentials:(o==null?void 0:o.credentials)??[]}}async function Ok(t){return Ye("createNode",{method:"POST",headers:{"Content-Type":"text/plain"},data:$s(t)})}async function Gu(t,e){return Ye("updateNode",{method:"PATCH",headers:{"Content-Type":"text/plain"},data:$s(e)},{id:t})}async function Sm(){return Ye("proxyGroup")}async function Cm(t){try{return await Ye("flowDetail",void 0,{flowId:t})}catch(e){throw console.error("Failed to fetch workflow data",e),e}}async function Yu(t,e){return Ye("flowDetail",{method:"PATCH",headers:{"Content-Type":"text/plain"},data:$s(e)},{flowId:t})}async function bk(t){return Ye("templateSettingsFlowDetail",void 0,{flowId:t})}async function yk(t,e){return Ye("templateSettingsFlowDetail",{method:"PUT",data:e},{flowId:t})}async function vk(){return Ye("templateCategoryList")}async function kk(t){return Ye("templateCategoryList",{method:"POST",data:t})}async function Sk(t,e){return Ye("templateCategoryDetail",{method:"PATCH",data:e},{id:t})}async function Ck(t){return Ye("templateCategoryDetail",{method:"DELETE"},{id:t})}async function xk(t,e){return Ye("templateCategoryRelation",{method:"POST"},{templateId:t,categoryId:e})}async function Ek(t,e){return Ye("templateCategoryRelation",{method:"DELETE"},{templateId:t,categoryId:e})}async function _k(){return Ye("templateTagList")}async function Dk(t){return Ye("templateTagList",{method:"POST",data:t})}async function Tk(t,e){return Ye("templateTagDetail",{method:"PATCH",data:e},{id:t})}async function Ak(t){return Ye("templateTagDetail",{method:"DELETE"},{id:t})}async function Pk(t,e){return Ye("templateTagRelation",{method:"POST"},{templateId:t,tagId:e})}async function Mk(t,e){return Ye("templateTagRelation",{method:"DELETE"},{templateId:t,tagId:e})}async function Nk(t){return Ye("testRunNode",{method:"POST",data:{},transformResponse:e=>({data:JSON.parse(e)})},{id:t})}async function Bk(t,e){return Ye("listenWebhook",{method:"GET",params:e},{flowId:t})}async function $k(t,e,n,r,o,i,s){return Ye("cancelDebug",{method:"PATCH",data:{connector_id:e,action_id:n,account_id:r,output:i,properties:o}},{id:t})}async function xm(t){return Ye("deleteNode",{method:"DELETE"},{id:t})}async function Ik(t,e){return Ye("flowOutputTree",{method:"POST",data:{...e,node_id:e.nodeId}},{flowId:t})}async function Em(t={}){return Ye("globalVariables",{method:"GET",params:{page:1,size:1e3,...t.allowFlowUpdate!==void 0?{allowFlowUpdate:t.allowFlowUpdate}:{}}})}async function _m(t,e){const n=pk("accountModel",{account_key:t}),r=e==null?"":`/${encodeURIComponent(String(e))}`,o=await Qs.httpClient(`${n}${r}`);return km(o)}async function Fk(t){const e=await Ye("accountInstanceDetail",void 0,{id:t});return km(e)}function Dm(t,e){return e&&(e.account_key&&(t.account_key=e.account_key),e.account_ver!==void 0&&e.account_ver!==null&&(t.account_ver=e.account_ver)),t}async function Lk(t,e,n,r,o,i,s){const a=Dm({connector_id:t,account_schema_id:e,auth_type:n,name:r,config:o},s);return i&&(a.proxy_id=i),Ye("accountInstanceCollection",{method:"POST",headers:{"Content-Type":"text/plain"},data:$s(a)})}async function Tm(t,e,n,r,o,i,s,a){const l=Dm({connector_id:t,account_schema_id:e,auth_type:n,name:r,config:o,id:i},a);return s&&(l.proxy_id=s),Ye("accountInstanceTest",{method:"POST",data:l})}async function Qk(t,e,n,r,o,i,s,a){const l=Dm({connector_id:e,account_schema_id:n,auth_type:r,name:o,config:i},a);return s&&(l.proxy_id=s),Ye("accountInstanceDetail",{method:"PATCH",headers:{"Content-Type":"text/plain"},data:$s(l)},{id:t})}async function zk(t,e){return Ye("accountInstanceDetail",{method:"PATCH",headers:{"Content-Type":"text/plain"},data:$s({connector_id:null,account_schema_id:null,auth_type:null,name:e,config:null})},{id:t})}async function Am(t){return Ye("copyNode",void 0,{nodeId:t})}async function Vk(t,e){return Ye("updateNodeNote",{method:"POST",data:{id:t,note:e}})}async function jk(t,e){return Ye("nodeStatus",{params:{closed:e==="on"?0:1}},{nodeId:t})}async function Wk(t,e){return Ye("removeEdges",{method:"POST",data:e},{flowId:t})}async function Hk(t){return Ye("selectOptions",{method:"GET",params:{type:t}})}async function Rk(t){return Ye("flowVersionStatus",void 0,{flowId:t})}const Zk=async(t,e)=>{const n={account_schema_id:e??null};t&&(n.linkId=t);const r=await Ye("accountInstanceCollection",{params:n});return km(r)},qk=async(t,e={})=>{var n;return Ye("getAppList",{params:{size:t.pageSize,page:t.current,filter:(n=e.filter)==null?void 0:n.trim()}})},Uk=async(t,e={})=>Ye("subFlowList",{params:{name:t}}),Xk=Object.freeze(Object.defineProperty({__proto__:null,apiAddTemplateCategoryRelation:xk,apiAddTemplateTagRelation:Pk,apiCancelDebug:$k,apiCopyNode:Am,apiCreateAccountInstance:Lk,apiCreateNode:Ok,apiCreateTemplateCategory:kk,apiCreateTemplateTag:Dk,apiDeleteNode:xm,apiDeleteTemplateCategory:Ck,apiDeleteTemplateTag:Ak,apiGetAccountInstanceDetail:Fk,apiGetAccountInstanceV2:Zk,apiGetAccountModel:_m,apiGetActionNodeSchema:gk,apiGetActions:mk,apiGetFlow:Cm,apiGetFlowOutputTree:Ik,apiGetFlowVersionStatus:Rk,apiGetGlobalVariables:Em,apiGetProxyGroup:Sm,apiGetSelectOptions:Hk,apiGetTemplateCategories:vk,apiGetTemplateSettings:bk,apiGetTemplateTags:_k,apiListenWebhook:Bk,apiQueryConnectableNodePackageCategories:f3,apiQueryConnectableNodePackagePlugins:h3,apiRemoveEdges:Wk,apiRemoveTemplateCategoryRelation:Ek,apiRemoveTemplateTagRelation:Mk,apiSaveTemplateSettings:yk,apiTestAccountInstanceValid:Tm,apiTestRunNode:Nk,apiUpdateAccountInstance:Qk,apiUpdateAccountInstanceName:zk,apiUpdateFlow:Yu,apiUpdateNode:Gu,apiUpdateNodeNote:Vk,apiUpdateNodeStatus:jk,apiUpdateTemplateCategory:Sk,apiUpdateTemplateTag:Tk,configureWorkflowApi:Xu,fetchSubFlowList:Uk,getAppList:qk},Symbol.toStringTag,{value:"Module"}));function m3(t){return typeof t=="number"?Number.isFinite(t)&&t>0:typeof t=="string"&&/^[1-9]\d*$/.test(t.trim())}function g3(t,e){const n=e.connector_id??e.connectorId;return n!=null?{connector_id:n}:m3(t)?{}:{connector_id:null}}var pe=(t=>(t.TRIGGER="StartEventNode",t.ACTION="ActionNode",t.CONDITION="ConditionNode",t.LOOP="LoopNode",t.SELF_LOOP="SelfLoopNode",t.MCPServer="MCPServerNode",t.MCP_TRIGGER_NODE="MCP_TRIGGER_NODE",t.BuiltinMCP="BuiltinMCPNode",t.VECTOR_STORE="VectorStoreNode",t.AGENT="AgentNode",t.BROWSER="BrowserNode",t.AI_SUB_NODE="AISubNode",t.MCP_TOOL="MCPToolNode",t.MCP_TOOLS_NODE="MCP_TOOLS_NODE",t.SWITCH="SwitchNode",t.STICKY="StickyNoteNode",t.CUSTOM="custom",t.DYNAMIC="dynamic",t))(pe||{}),ge=(t=>(t.INVALID="INVALID",t.IDLE="IDLE",t.RUNNING="RUNNING",t.FAILED="FAILED",t.SUCCESS="SUCCESS",t.RUNNABLE="RUNNABLE",t.ACTIVE="ACTIVE",t.DEACTIVATED="DEACTIVATED",t.WARNING="WARNING",t))(ge||{}),Ie=(t=>(t.AI_LANGUAGE_MODEL="AI_LANGUAGE_MODEL",t.AI_VECTOR_STORE="AI_VECTORSTORE",t.AI_MEMORY="AI_MEMORY",t.AI_DOCUMENT="AI_DOCUMENT",t.AI_TEXT_SPLITTER="AI_TEXTSPLITTER",t.AI_EMBEDDING="AI_EMBEDDING",t.AI_TOOL="AI_TOOL",t.KNOWLEDGE="KNOWLEDGE",t.MCP="MCP",t.BUILTIN_MCP="BUILTIN_MCP",t.MCP_SERVER="MCP_SERVER",t))(Ie||{}),Ee=(t=>(t.HIDDEN="HIDDEN",t.LABEL="LABEL",t.TEXT="TEXT",t.TEXTAREA="TEXTAREA",t.DATE="DATE",t.TIME="TIME",t.DATETIME="DATETIME",t.SELECT="SELECT",t.API_SELECT="API_SELECT",t.FIXED_OBJ="FIXED_OBJ",t.JSON="JSON",t.EXTEND_OBJ="EXTEND_OBJ",t.PASSWORD="PASSWORD",t.MultiRowAIExtractConfig="MULTI_ROW_EXTRACT",t.MULTI_SELECT_LIST="MULTI_SELECT_LIST",t.SYNC_HOUR_MINUTE="SYNC_HOUR_MINUTE",t.AUTH_TOKEN="AUTH_TOKEN",t.SECRET_KEY="SECRET_KEY",t.SELECT_CLIENT="SELECT_CLIENT",t))(Ee||{}),Xt=(t=>(t.REQUIRED="required",t.TYPE="type",t.ENUM="enum",t.RANGE="range",t))(Xt||{}),Ku=(t=>(t.ERROR="Error",t.WARNING="Warning",t))(Ku||{}),zs=(t=>(t.STRING="string",t.NUMBER="number",t.BOOLEAN="boolean",t.OBJECT="object",t.ARRAY="array",t))(zs||{});const Ju={token:{colorPrimary:"#2d5bff",colorInfo:"#2d5bff",colorSuccess:"#16a34a",colorWarning:"#d97706",colorError:"#dc2626",colorText:"#0f172a",colorTextSecondary:"#64748b",colorBorder:"#e2e8f0",colorBorderSecondary:"#eef1f5",colorBgContainer:"#ffffff",colorBgLayout:"#eef0f4",colorFillSecondary:"#f1f5f9",borderRadius:8,borderRadiusSM:6,borderRadiusLG:14,controlHeight:34,fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif",boxShadow:"0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04)",boxShadowSecondary:"0 18px 48px -16px rgba(15, 23, 42, 0.3)"},components:{Button:{borderRadius:8,controlHeight:34,defaultShadow:"none",primaryShadow:"none"},Card:{borderRadiusLG:12},Drawer:{paddingLG:20},Form:{itemMarginBottom:18,labelColor:"#334155",labelFontSize:13},Input:{activeBorderColor:"#2d5bff",hoverBorderColor:"#9db0ff"},Modal:{borderRadiusLG:14,titleColor:"#0f172a"},Select:{activeBorderColor:"#2d5bff",hoverBorderColor:"#9db0ff",optionSelectedBg:"#eff3ff"},Tabs:{inkBarColor:"#2d5bff",itemActiveColor:"#2d5bff",itemSelectedColor:"#2d5bff"},Tree:{nodeHoverBg:"#f1f5f9",nodeSelectedBg:"#eff3ff"}}},_n={default:"#007FFF",selected:"#3395ff",hovered:"#66b2ff",disabled:"#c7ccd1",[ge.IDLE]:"#aab2c2",[ge.INVALID]:"#fa8c16",[ge.RUNNING]:"#1890ff",[ge.FAILED]:"rgb(220, 38, 38)",[ge.SUCCESS]:"#52c41a",[ge.RUNNABLE]:"#52c41a",aiProtocol:"#007FFF"},qi={[ge.IDLE]:"#007FFF",[ge.INVALID]:"#F7CD8F",[ge.RUNNING]:"#007FFF",[ge.FAILED]:"#F3B096",[ge.SUCCESS]:"#98D7A9",[ge.RUNNABLE]:"#00B042",[ge.ACTIVE]:"#00B042",[ge.DEACTIVATED]:"#c7ccd1",[ge.WARNING]:"#FF9200"},yl={default:{stroke:_n[ge.IDLE],strokeWidth:1,fill:"none"},hovered:{stroke:_n.hovered,fill:"none"},selected:{stroke:_n.selected,fill:"none"},vertical:{stroke:_n.aiProtocol,strokeWidth:1,fill:"none",strokeDasharray:"5,5"},loop:{stroke:_n.default,strokeWidth:1,strokeDasharray:"5,5",fill:"none"}},Ui={default:{color:_n.default},main:{color:_n.default},connected:{color:_n.default},connecting:{color:_n.selected},error:{color:qi[ge.FAILED]},full:{opacity:.5,cursor:"not-allowed"},nodeStatus:{[ge.IDLE]:{color:qi[ge.IDLE]},[ge.INVALID]:{color:qi[ge.INVALID]},[ge.RUNNING]:{color:qi[ge.RUNNING]},[ge.FAILED]:{color:qi[ge.FAILED]},[ge.SUCCESS]:{color:qi[ge.SUCCESS]},[ge.RUNNABLE]:{color:qi[ge.RUNNABLE]}}},Pr={line:{backgroundColor:_n[ge.IDLE],height:"1px"},horizontal:{width:"64px",height:"1px"},vertical:{width:"1px",height:"36px",left:0},button:{fontSize:"20px",borderRadius:"4px",cursor:"pointer",color:_n.default}},Gk={default:{fontSize:"12px",fontWeight:"normal",color:_n.default},edge:{background:"#fff",padding:"4px 8px",borderRadius:"4px",fontSize:"12px",fontWeight:"bold",pointerEvents:"none"},loop:{background:"rgba(0, 127, 255, 0.08)",color:_n.default,border:`1px solid ${_n.default}`,padding:"2px 6px",borderRadius:"4px",fontSize:"12px",fontWeight:"bold",boxShadow:"0 2px 4px rgba(0,0,0,0.1)",pointerEvents:"none"}},vl={default:{border:"none",cursor:"pointer",padding:"4px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#fff",fontSize:"16px"},add:{},delete:{}},Pm={EDGE_PADDING_BOTTOM:130,EDGE_BORDER_RADIUS:16,HANDLE_SIZE:20,SELF_LOOP_EXIT_OFFSET:40,SELF_LOOP_DEPTH:130,SELF_LOOP_TIP_OFFSET:40},Yk={undeletableEdgeTargetTypes:[],unAddableTargetTypes:[]},Kk=y.createContext(null),Wt=()=>{const t=y.useContext(Kk);if(!t)throw new Error("useCanvasConfig must be used inside Provider");return t},w3=Kk.Provider,{SELF_LOOP_EXIT_OFFSET:Jk,SELF_LOOP_DEPTH:eS,SELF_LOOP_TIP_OFFSET:O3}=Pm;function b3(t){return t===ne.Position.Top||t===ne.Position.Bottom}function y3(t){return t.isVerticalEdge?yl.vertical:t.isLoopEdge?yl.loop:t.isHovered?yl.hovered:yl.default}function v3(t){return t.sourcePosition===ne.Position.Bottom&&t.targetPosition===ne.Position.Top?t.sourceAboveTarget:t.sourcePosition===ne.Position.Right&&t.targetPosition===ne.Position.Left?t.sourceLeftOfTarget:!1}function k3(t){const{sourceX:e,sourceY:n,targetX:r,targetY:o,borderRadius:i}=t,s=t.sourcePosition??ne.Position.Right,a=t.targetPosition??ne.Position.Left,l=S3(e,n,s,r,o,a),[c,u]=nS(l);return{edgePath:tS(l,i),labelX:c,labelY:u}}function S3(t,e,n,r,o,i){const s=Jk,a=eS,l=O3,c=Math.max(e,o)+a,u=Math.min(e,o)-a,d=Math.max(t,r)+a,f=Math.min(t,r)-a;switch(n){case ne.Position.Right:return i===ne.Position.Left?[[t,e],[t+s,e],[t+s,c],[r-l,c],[r-l,o],[r,o]]:i===ne.Position.Right?[[t,e],[t+s,e],[t+s,c],[r+s,c],[r+s,o+l],[r,o+l],[r,o]]:i===ne.Position.Top?[[t,e],[t+s,e],[t+s,u],[r,u],[r,o-l],[r,o]]:[[t,e],[t+s,e],[t+s,c],[r+l,c],[r+l,o+l],[r,o+l],[r,o]];case ne.Position.Left:return i===ne.Position.Right?[[t,e],[t-s,e],[t-s,c],[r-l,c],[r-l,o+l],[r,o+l],[r,o]]:i===ne.Position.Left?[[t,e],[t-s,e],[t-s,c],[r-s,c],[r-s,o+l],[r,o+l],[r,o]]:i===ne.Position.Top?[[t,e],[t-s,e],[t-s,u],[r,u],[r,o-l],[r,o]]:[[t,e],[t-s,e],[t-s,c],[r-l,c],[r-l,o+l],[r,o+l],[r,o]];case ne.Position.Top:return i===ne.Position.Bottom?[[t,e],[t,e-s],[d,e-s],[d,o+l],[r,o+l],[r,o]]:i===ne.Position.Top?[[t,e],[t,e-s],[d,e-s],[d,o-l],[r,o-l],[r,o]]:i===ne.Position.Right?[[t,e],[t,e-s],[d,e-s],[d,o+l],[r,o+l],[r,o]]:[[t,e],[t,e-s],[f,e-s],[f,o+l],[r-l,o+l],[r-l,o],[r,o]];default:return i===ne.Position.Top?[[t,e],[t,e+s],[d,e+s],[d,o-l],[r,o-l],[r,o]]:i===ne.Position.Bottom?[[t,e],[t,e+s],[d,e+s],[d,o+l],[r,o+l],[r,o]]:i===ne.Position.Right?[[t,e],[t,e+s],[d,e+s],[d,o+l],[r,o+l],[r,o]]:[[t,e],[t,e+s],[f,e+s],[f,o+l],[r-l,o+l],[r-l,o],[r,o]]}}function tS(t,e){const n=t.length;if(n===0)return"";if(n===1)return`M ${t[0][0]} ${t[0][1]}`;let r=`M ${t[0][0]} ${t[0][1]}`;for(let s=1;s<n-1;s++){const[a,l]=t[s],[c,u]=t[s-1],[d,f]=t[s+1],h=Math.abs(a-c)+Math.abs(l-u),m=Math.abs(d-a)+Math.abs(f-l),w=Math.min(e,h/2,m/2),b=Math.sign(a-c),g=Math.sign(l-u),O=Math.sign(d-a),v=Math.sign(f-l);r+=` L ${a-b*w} ${l-g*w} Q ${a} ${l} ${a+O*w} ${l+v*w}`}const[o,i]=t[n-1];return r+=` L ${o} ${i}`,r}function nS(t){let e=-1,n=[t[0][0],t[0][1]];for(let r=0;r<t.length-1;r++){const[o,i]=t[r],[s,a]=t[r+1],l=Math.abs(s-o)+Math.abs(a-i);l>e&&(e=l,n=[(o+s)/2,(i+a)/2])}return n}function C3(t){const{sourceX:e,sourceY:n,targetX:r,targetY:o,borderRadius:i}=t,s=t.sourcePosition??ne.Position.Right,a=t.targetPosition??ne.Position.Left,l=Jk,c=eS,u=Math.max(n,o)+c,d=[];d.push([e,n]),s===ne.Position.Right?d.push([e+l,n]):s===ne.Position.Left?d.push([e-l,n]):s===ne.Position.Bottom?d.push([e,n+l]):d.push([e,n-l]),d.push([d[1][0],u]);const f=a===ne.Position.Left?r-l:a===ne.Position.Right?r+l:r;d.push([f,u]),(a===ne.Position.Left||a===ne.Position.Right)&&d.push([f,o]),d.push([r,o]);const[h,m]=nS(d);return{edgePath:tS(d,i),labelX:h,labelY:m}}const kl=()=>Wt().canvas.mode??"edit";function Ke(){return Ke=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ke.apply(null,arguments)}var Vs;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(Vs||(Vs={}));var rS=function(t){return t},oS="beforeunload",x3="popstate";function E3(t){t===void 0&&(t={});var e=t,n=e.window,r=n===void 0?document.defaultView:n,o=r.history;function i(){var x=r.location,C=x.pathname,T=x.search,E=x.hash,A=o.state||{};return[A.idx,rS({pathname:C,search:T,hash:E,state:A.usr||null,key:A.key||"default"})]}var s=null;function a(){if(s)h.call(s),s=null;else{var x=Vs.Pop,C=i(),T=C[0],E=C[1];if(h.length){if(T!=null){var A=u-T;A&&(s={action:x,location:E,retry:function(){_(A*-1)}},_(A))}}else O(x)}}r.addEventListener(x3,a);var l=Vs.Pop,c=i(),u=c[0],d=c[1],f=sS(),h=sS();u==null&&(u=0,o.replaceState(Ke({},o.state,{idx:u}),""));function m(x){return typeof x=="string"?x:D3(x)}function w(x,C){return C===void 0&&(C=null),rS(Ke({pathname:d.pathname,hash:"",search:""},typeof x=="string"?T3(x):x,{state:C,key:_3()}))}function b(x,C){return[{usr:x.state,key:x.key,idx:C},m(x)]}function g(x,C,T){return!h.length||(h.call({action:x,location:C,retry:T}),!1)}function O(x){l=x;var C=i();u=C[0],d=C[1],f.call({action:l,location:d})}function v(x,C){var T=Vs.Push,E=w(x,C);function A(){v(x,C)}if(g(T,E,A)){var N=b(E,u+1),M=N[0],$=N[1];try{o.pushState(M,"",$)}catch{r.location.assign($)}O(T)}}function k(x,C){var T=Vs.Replace,E=w(x,C);function A(){k(x,C)}if(g(T,E,A)){var N=b(E,u),M=N[0],$=N[1];o.replaceState(M,"",$),O(T)}}function _(x){o.go(x)}var S={get action(){return l},get location(){return d},createHref:m,push:v,replace:k,go:_,back:function(){_(-1)},forward:function(){_(1)},listen:function(C){return f.push(C)},block:function(C){var T=h.push(C);return h.length===1&&r.addEventListener(oS,iS),function(){T(),h.length||r.removeEventListener(oS,iS)}}};return S}function iS(t){t.preventDefault(),t.returnValue=""}function sS(){var t=[];return{get length(){return t.length},push:function(n){return t.push(n),function(){t=t.filter(function(r){return r!==n})}},call:function(n){t.forEach(function(r){return r&&r(n)})}}}function _3(){return Math.random().toString(36).substr(2,8)}function D3(t){var e=t.pathname,n=e===void 0?"/":e,r=t.search,o=r===void 0?"":r,i=t.hash,s=i===void 0?"":i;return o&&o!=="?"&&(n+=o.charAt(0)==="?"?o:"?"+o),s&&s!=="#"&&(n+=s.charAt(0)==="#"?s:"#"+s),n}function T3(t){var e={};if(t){var n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));var r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}const ed=E3(),aS=t=>[new URLSearchParams(location.href)],A3={nodeSelectorVisible:!1,nodeAddInfo:null,nodeAddCallback:null},lS=nm.createSlice({name:"panel",initialState:A3,reducers:{openNodeSelector:(t,e)=>{t.nodeSelectorVisible=!0,t.nodeAddInfo=e.payload},closeNodeSelector:t=>{t.nodeSelectorVisible=!1},setNodeAddCallback:(t,e)=>{t.nodeAddCallback=e.payload},executeNodeAddCallback:(t,e)=>{t.nodeAddCallback&&t.nodeAddInfo}}}),{openNodeSelector:P3,closeNodeSelector:cS,setNodeAddCallback:M3,executeNodeAddCallback:Kfe}=lS.actions,N3=lS.reducer,uS=y.createContext(null),B3=({value:t,children:e})=>p.jsx(uS.Provider,{value:t,children:e}),td=()=>y.useContext(uS)??{hasTriggerNode:!1,isMcpServerCanvas:!1};var Gt=(t=>(t.SOURCE="source",t.TARGET="target",t))(Gt||{}),Le=(t=>(t.INPUT="input",t.OUTPUT="output",t.CHAT_MODEL="chat_model",t.DONE="done",t.LOOP="loop",t.FALSE="false",t.TRUE="true",t.MEMORY="memory",t.TOOLS="tools",t.AI_MODEL="ai_model",t.AI_MEMORY="ai_memory",t.AI_TOOL="ai_tool",t.BUILTIN_MCP="builtin_mcp",t))(Le||{}),Mm=(t=>(t.INPUT="input",t.OUTPUT="output",t))(Mm||{});const $3="main",I3="main",F3={left:ne.Position.Left,top:ne.Position.Top,right:ne.Position.Right,bottom:ne.Position.Bottom};function L3(t){return t?F3[t]:void 0}function Q3(t,e){var n;return{id:t.name,position:L3(t.position)??(e==="input"?ne.Position.Left:ne.Position.Right),type:t.handleType??(e==="input"?Gt.TARGET:Gt.SOURCE),protocol:(n=t.protocols)!=null&&n.length?t.protocols.join(","):t.protocol??I3,maxConnections:typeof t.maxConnections=="number"?t.maxConnections:void 0,label:t.displayName,isMain:t.isMain??t.name===$3,shape:t.shape,category:t.category,style:t.style}}function dS(t,e){return(t??[]).map(r=>Q3(r,e))}var me=(t=>(t.TEXT="TEXT",t.TEXTAREA="TEXTAREA",t.NUMBER="NUMBER",t.PASSWORD="PASSWORD",t.SELECT="SELECT",t.MULTI_SELECT="MULTI_SELECT",t.RADIO="RADIO",t.CHECKBOX="CHECKBOX",t.CHECKBOX_GROUP="CHECKBOX_GROUP",t.SWITCH="SWITCH",t.CASCADER="CASCADER",t.TREE_SELECT="TREE_SELECT",t.DATE="DATE",t.DATE_RANGE="DATE_RANGE",t.TIME="TIME",t.TIME_RANGE="TIME_RANGE",t.DATETIME="DATETIME",t.UPLOAD="UPLOAD",t.RATE="RATE",t.SLIDER="SLIDER",t.COLOR_PICKER="COLOR_PICKER",t.MENTIONS="MENTIONS",t.AUTO_COMPLETE="AUTO_COMPLETE",t.LABEL="LABEL",t.HIDDEN="HIDDEN",t.JSON="JSON",t.CODE="CODE",t.PROXY="PROXY",t.GLOBAL_VARIABLE_KEY="GLOBAL_VARIABLE_KEY",t.DIVIDER="DIVIDER",t.INFO_CARD="INFO_CARD",t.ARRAY="ARRAY",t.OBJECT="OBJECT",t.KEY_VALUE="KEY_VALUE",t.ARRAY_OBJECT="ARRAY_OBJECT",t))(me||{});const z3="dip.core.flow.switch",nd="default-branch";function rd(t){return t===z3}function Nm(t){const e=[t.config_schema,t.properties,t.params];for(const n of e){const r=H3(n);if(Array.isArray(r==null?void 0:r.branches))return r}return{}}function V3(t){const e=Array.isArray(t)?t:[],n=new Set;let r=!Array.isArray(t);return{branches:e.map((i,s)=>{const a=js(i)?i:{};a!==i&&(r=!0);const l=typeof a.id=="string"?a.id.trim():"",u=l.startsWith("branch")&&l!==nd&&!n.has(l)?l:R3(s,n);n.add(u);const d=typeof a.name=="string"?a.name:"",f=d.trim()?d:`分支 ${s+1}`;return(u!==a.id||f!==a.name)&&(r=!0),{...a,id:u,name:f}}),changed:r}}function Sl(t){const e=js(t)?t:{},n=V3(e.branches);return{...n,properties:n.changed?{...e,branches:n.branches}:e}}function Bm(t,e){if(!e.length)return{inputs:t.inputs,outputs:t.outputs};const n=t.outputs??[],r=n.find(i=>i.name!==nd)??{name:"branch-1",protocol:"main"},o=n.find(i=>i.name===nd)??{name:nd,displayName:"Default",protocol:"main"};return{inputs:t.inputs,outputs:[...e.map(i=>({...r,name:i.id,displayName:i.name,display_name:i.name})),o]}}function j3(t,e){if(!rd(t.key))return t;const n=Nm(e),r=Sl(n);return{...t,...Bm(t,r.branches)}}function W3(t,e){if(!rd(e))return t;let n=!1;const r=t.fields.map(o=>!fS(o)||o.name!=="branches"?o:(n=!0,{...o,createItem:({index:i,items:s})=>({...$m(o.columns),id:Z3(s),name:`分支 ${i+1}`})}));return n?{...t,fields:r}:t}function H3(t){if(js(t))return Array.isArray(t.branches)?t:js(t.properties)?t.properties:js(t.params)?t.params:t}function R3(t,e){let n=t+1,r=`branch-migrated-${n}`;for(;e.has(r);)n+=1,r=`branch-migrated-${n}`;return r}function Z3(t){const e=new Set(t.map(r=>typeof r.id=="string"?r.id:"").filter(r=>!!r));let n="";do n=`branch_${Date.now()}_${Math.random().toString(36).slice(2,11)}`;while(e.has(n));return n}function $m(t){const e={};for(const n of t){const r=q3(n);r!==void 0&&(e[n.name]=r)}return e}function q3(t){if(t.defaultValue!==void 0)return Im(t.defaultValue);if(U3(t))return $m(Object.values(t.properties));if(fS(t)){const e=Math.max(0,t.minItems??0);return Array.from({length:e},()=>$m(t.columns))}}function Im(t){return Array.isArray(t)?t.map(Im):js(t)?Object.fromEntries(Object.entries(t).map(([e,n])=>[e,Im(n)])):t}function js(t){return!!(t&&typeof t=="object"&&!Array.isArray(t))}function fS(t){return t.type===me.ARRAY_OBJECT&&"columns"in t}function U3(t){return t.type===me.OBJECT&&"properties"in t}const X3=({icon:t,label:e})=>{const n=t?p.jsx("img",{src:t,alt:e,style:{width:24,height:24}}):p.jsx(ae.ReloadOutlined,{style:{fontSize:24,color:"#007fff"}});return p.jsx(D.Badge,{offset:[-22,2],count:p.jsx(ae.ReloadOutlined,{style:{fontSize:12,color:"#007fff"}}),children:n})},Mr=p.jsx(ae.PlayCircleOutlined,{style:{fontSize:24,color:"#007fff"}}),G3=p.jsx(ae.ReloadOutlined,{style:{fontSize:24,color:"#007fff"}}),hS=p.jsx(ae.FilterOutlined,{style:{fontSize:24,color:"#007fff"}}),Y3=p.jsx(VL.PiCursorFill,{style:{color:"#007fff",fontSize:24}}),K3=p.jsx(ae.ApiOutlined,{style:{color:"#2d5bff",fontSize:22}}),J3=p.jsx(X3,{icon:void 0,label:void 0}),Nr=[],pS=[{name:Le.INPUT,position:"left",maxConnections:1}],mS=[{name:Le.OUTPUT,position:"right",maxConnections:1}],e4=[{name:Le.OUTPUT,position:"right",displayName:"",maxConnections:1}],t4=[{name:Le.INPUT,position:"left",maxConnections:1}],n4=[{name:Le.TRUE,position:"right",maxConnections:1,displayName:"true",style:{top:"33%"}},{name:Le.FALSE,position:"right",maxConnections:1,displayName:"false",style:{top:"67%"}}],gS=[{name:Le.INPUT,position:"left",maxConnections:1}],wS=[{name:Le.DONE,position:"right",maxConnections:1,displayName:"done",style:{top:"33%"}},{name:Le.LOOP,position:"right",maxConnections:1,displayName:"loop",style:{top:"67%"}}],OS=[{source:Le.LOOP,target:Le.INPUT}],r4=[{name:Le.INPUT,position:"left",maxConnections:1}],o4=[{name:"default-branch",position:"right",maxConnections:1,displayName:"default"}],i4=[{name:Le.OUTPUT,position:"right",maxConnections:1}],s4=[{name:Le.INPUT,position:"left"},{handleType:Gt.SOURCE,name:Le.AI_MODEL,position:"bottom",category:"slave",maxConnections:1,displayName:"Chat Model",protocol:Ie.AI_LANGUAGE_MODEL,shape:"rhombus",style:{left:"35%"}},{handleType:Gt.SOURCE,name:Le.AI_MEMORY,position:"bottom",category:"slave",maxConnections:1,displayName:"Memory",protocol:Ie.AI_MEMORY,shape:"rhombus",style:{left:"50%"}},{handleType:Gt.SOURCE,name:Le.AI_TOOL,position:"bottom",category:"slave",displayName:"Tools",protocols:[Ie.AI_TOOL,Ie.KNOWLEDGE,Ie.MCP_SERVER,Ie.BUILTIN_MCP],shape:"rhombus",style:{left:"65%"},maxConnections:10}],a4=[{name:Le.INPUT,position:"left"}],l4=[{name:Le.OUTPUT,position:"right"},{name:Le.AI_MODEL,position:"bottom",category:"slave",maxConnections:1,displayName:"Chat Model",protocol:Ie.AI_LANGUAGE_MODEL,shape:"rhombus",style:{left:"50%"}}],c4=[{name:Le.INPUT,position:"left",maxConnections:1}],u4=[{name:Le.OUTPUT,position:"right",maxConnections:1}],Cl=(t,e=1)=>({handleType:Gt.TARGET,name:Le.INPUT,position:"top",protocol:t,maxConnections:e}),d4=[{name:Le.BUILTIN_MCP,position:"top",protocol:Ie.BUILTIN_MCP,isMain:!0,maxConnections:1}],f4=[{name:Le.BUILTIN_MCP,position:"top",protocol:Ie.BUILTIN_MCP,isMain:!0,maxConnections:1}],h4=[],p4=[{name:Le.BUILTIN_MCP,position:"top",isMain:!0,protocol:Ie.BUILTIN_MCP,maxConnections:1}],m4=[{name:Le.OUTPUT,position:"bottom",isMain:!0,shape:"rhombus",style:{left:"50%"},maxConnections:10}],bS=[{name:Le.INPUT,position:"top",protocol:Ie.BUILTIN_MCP,isMain:!0}],yS=[{name:Le.OUTPUT,position:"bottom",isMain:!0,maxConnections:1}],Ws={[pe.ACTION]:{type:pe.ACTION,className:"action-node",fallbackIcon:Mr,inputs:pS,outputs:mS,byProtocol:{[Ie.BUILTIN_MCP]:{outputs:Nr},[Ie.MCP_SERVER]:{outputs:Nr}},useNodePackagePorts:!0},[pe.TRIGGER]:{type:pe.TRIGGER,className:"workflow-trigger-node",fallbackIcon:Y3,inputs:Nr,outputs:e4,useNodePackagePorts:!0},[pe.CONDITION]:{type:pe.CONDITION,className:"condition-node",fallbackIcon:hS,inputs:t4,outputs:n4,useNodePackagePorts:!0},[pe.LOOP]:{type:pe.LOOP,className:"loop-node",fallbackIcon:G3,inputs:gS,outputs:wS,autoConnect:OS,useNodePackagePorts:!0},[pe.SELF_LOOP]:{type:pe.SELF_LOOP,className:"loop-node",fallbackIcon:J3,inputs:gS,outputs:wS,autoConnect:OS,useNodePackagePorts:!0},[pe.SWITCH]:{type:pe.SWITCH,className:"switch-node",fallbackIcon:hS,inputs:r4,outputs:o4,useNodePackagePorts:!0},[pe.AGENT]:{type:pe.AGENT,className:"agent-node",fallbackIcon:Mr,inputs:s4,outputs:i4,useNodePackagePorts:!0},[pe.BROWSER]:{type:pe.BROWSER,className:"agent-node",fallbackIcon:Mr,inputs:a4,outputs:l4,useNodePackagePorts:!0},[pe.CUSTOM]:{type:pe.CUSTOM,className:"workflow-custom-node",fallbackIcon:K3,inputs:c4,outputs:u4,useNodePackagePorts:!0},[pe.AI_SUB_NODE]:{type:pe.AI_SUB_NODE,className:"workflow-aisub-node",fallbackIcon:Mr,inputs:[Cl(Ie.AI_LANGUAGE_MODEL,1)],outputs:Nr,byProtocol:{[Ie.AI_MEMORY]:{inputs:[Cl(Ie.AI_MEMORY)]},[Ie.AI_TOOL]:{inputs:[Cl(Ie.AI_TOOL,10)]}},useNodePackagePorts:!0},[pe.VECTOR_STORE]:{type:pe.VECTOR_STORE,className:"workflow-aisub-node",fallbackIcon:Mr,inputs:Nr,outputs:[Cl(Ie.AI_LANGUAGE_MODEL)],byProtocol:{[Ie.AI_VECTOR_STORE]:{inputs:[Cl(Ie.AI_VECTOR_STORE)]}},useNodePackagePorts:!0},[pe.STICKY]:{type:pe.STICKY,className:"workflow-sticky-note",fallbackIcon:null,inputs:Nr,outputs:Nr,useNodePackagePorts:!1},[pe.DYNAMIC]:{type:pe.ACTION,className:"action-node",fallbackIcon:Mr,inputs:pS,outputs:mS,useNodePackagePorts:!0},[pe.MCPServer]:{type:pe.MCPServer,className:"workflow-aisub-node",fallbackIcon:Mr,inputs:f4,outputs:[],useNodePackagePorts:!0},[pe.MCP_TRIGGER_NODE]:{type:pe.MCP_TRIGGER_NODE,className:"workflow-aisub-node",fallbackIcon:Mr,inputs:d4,outputs:h4,useNodePackagePorts:!0},[pe.BuiltinMCP]:{type:pe.BuiltinMCP,className:"workflow-aisub-node",fallbackIcon:Mr,inputs:p4,outputs:m4,useNodePackagePorts:!0},[pe.MCP_TOOL]:{type:pe.MCP_TOOL,className:"workflow-mcp-tool-node",fallbackIcon:Mr,inputs:bS,outputs:yS,byProtocol:{[Ie.BUILTIN_MCP]:{outputs:Nr},[Ie.MCP_SERVER]:{outputs:Nr}},useNodePackagePorts:!0},[pe.MCP_TOOLS_NODE]:{type:pe.MCP_TOOLS_NODE,className:"workflow-mcp-tool-node",fallbackIcon:Mr,inputs:bS,outputs:yS,byProtocol:{[Ie.BUILTIN_MCP]:{outputs:Nr},[Ie.MCP_SERVER]:{outputs:Nr}},useNodePackagePorts:!0}},Fm=new Map,Lm=new Set;let Qm=null;function g4(){Qm||(Qm=setTimeout(()=>{Qm=null,Lm.forEach(t=>t())},0))}function xl(t,e){return t?e==null?`${t}@`:Number.isFinite(e)?`${t}@${e}`:`${t}@`:null}function w4(t){const e=xl(t.nodeKey,t.nodeVersion);if(!e)return console.warn("[workflow:node-types] register skipped, missing nodeKey",{baseNodeType:t.baseNodeType,nodeKey:t.nodeKey,nodeVersion:t.nodeVersion}),null;if(Fm.has(e))return e;const n=Ws[t.baseNodeType]??Ws[pe.CUSTOM],r={...n,type:e,nodeKey:t.nodeKey,nodeVersion:t.nodeVersion,descriptorId:e,className:`${n.className} ${t.nodeKey.replaceAll(".","-")}`};return Fm.set(e,r),g4(),e}function vS(){return Array.from(Fm.keys())}function O4(t){return Lm.add(t),()=>{Lm.delete(t)}}function zm(t){return Ws[t]??Ws[pe.CUSTOM]}function kS(t){const e=t==null?void 0:t.protocol;return typeof e=="string"&&e?e:void 0}function b4(t,e){var o;const n=Ws[t]??Ws[pe.CUSTOM],r=(o=n.byProtocol)==null?void 0:o[kS(e)??""];return{inputs:(r==null?void 0:r.inputs)??n.inputs,outputs:(r==null?void 0:r.outputs)??n.outputs}}const SS=new Map;function Hs(t,e){const n=`${t}|${kS(e)??""}`,r=SS.get(n);if(r)return r;const o=b4(t,e),i={inputs:dS(o.inputs,"input"),outputs:dS(o.outputs,"output")};return SS.set(n,i),i}function CS(t,e){const n=Hs(t.type,t.data),r=new Map([...n.inputs,...n.outputs].map(o=>[o.id,o]));if(r.has(e)){const o=r.get(e);return{name:o.id,type:o.type,protocol:o.protocol??"main"}}return null}function y4(t,e,n,r){const o=Hs(t.type,t.data),s=(n?o.inputs:o.outputs).filter(c=>{const u=c.protocol??"main",d=e.split(",").map(h=>h.trim().toLowerCase()),f=u.split(",").map(h=>h.trim().toLowerCase());return d.some(h=>f.includes(h))}),l=(r?s.find(c=>c.id===r):void 0)??s[0];return l?{name:l.id,type:l.type,protocol:l.protocol??"main",position:l.position}:null}function v4(t){const e=Nm(t??{}),n=Sl(e);return k4(n.branches)}function xS(t){const e=Nm(t??{});return Sl(e).branches}function k4(t){const e=t.map((r,o)=>({id:r.id,position:ne.Position.Right,type:Gt.SOURCE,maxConnections:1,label:r.name,style:{top:`${(o+1)/(t.length+2)*100}%`},isMain:!1})),n={id:"default-branch",position:ne.Position.Right,type:Gt.SOURCE,maxConnections:1,label:"default",style:{top:`${(t.length+1)/(t.length+2)*100}%`},isMain:!1};return[...e,n]}function Vm(t,e,n){if(!t||!e)return!1;if(t===e)return!0;const r=new Map;for(const s of n){const a=r.get(s.target);a?a.push(s.source):r.set(s.target,[s.source])}const o=new Set,i=[t];for(;i.length>0;){const s=i.pop();if(s===e)return!0;if(o.has(s))continue;o.add(s);const a=r.get(s);a&&i.push(...a)}return!1}const S4=(t,e,n,r)=>t.filter(o=>r==="output"?o.source===e&&o.sourceHandle===n:!(o.target!==e||o.targetHandle!==n||o.source===o.target||Vm(o.source,e,t)));function C4(){const t=ne.useStore(r=>r.edges),e=y.useCallback((r,o,i)=>t?S4(t,r,o,i):[],[t]),n=y.useCallback((r,o)=>t&&t.some(s=>s.source===r&&s.sourceHandle===o||s.target===r&&s.targetHandle===o)?"connected":"default",[t]);return{getHandleConnections:e,handleStatus:n}}function od(){const t=Ka(),{nodeSelectorVisible:e,nodeAddInfo:n,nodeAddCallback:r}=Ja(c=>c.panel),o=y.useCallback(c=>{t(P3(c))},[t]),i=y.useCallback(()=>{t(cS())},[t]),s=y.useCallback(c=>{r&&n&&r(n,c),t(cS())},[t,n,r]),a=y.useCallback((c,u)=>{r&&c&&r(c,u)},[t,n,r]),l=y.useCallback(c=>{t(M3(c))},[t]);return{nodeSelectorVisible:e,nodeAddInfo:n,openNodeSelector:o,closeNodeSelector:i,handleNodeSelect:s,handleManualAdd:a,setNodeAddCallback:l}}Le.AI_MODEL,Le.AI_MEMORY,Le.AI_TOOL,Le.CHAT_MODEL+"",Le.AI_MODEL,Le.MEMORY+"",Le.AI_MEMORY,Le.TOOLS+"",Le.AI_TOOL,Le.AI_MODEL+"",Le.AI_MODEL,Le.AI_MEMORY+"",Le.AI_MEMORY,Le.AI_TOOL+"",Le.AI_TOOL,Le.AI_MODEL+"",Ie.AI_LANGUAGE_MODEL,Le.AI_MEMORY+"",Ie.AI_MEMORY,Le.AI_TOOL+"",Ie.AI_TOOL;function jm(t){return t===Le.AI_MODEL||t===Le.AI_MEMORY||t===Le.AI_TOOL}var hr=(t=>(t.MAIN="main",t))(hr||{});const Br=new Map,id=new Map;function sd(t,e){if(!t)throw new Error("nodePackageSchemaCache: nodeKey is required");return e==null?`${t}@latest`:typeof e!="number"||!Number.isFinite(e)||e<0?`${t}@latest`:`${t}@${e}`}function x4(t){return t!=null&&typeof t=="number"&&Number.isFinite(t)&&t>=0}function ES(t,e,n){if(!t||!n)return;const r=sd(t,e);Br.set(r,n)}function Rs(t,e){return t?Br.get(sd(t,e))??null:null}function _S(t){return t?Br.get(t)??null:null}function DS(t,e){if(!t)return null;const n=Br.get(t)??null;if(n){const r=new Map;if(n.inputs.forEach(o=>{const i={...o,protocol:o.protocol??"main",type:o.type??"target"};r.set(i.name,i)}),n.outputs.forEach(o=>{const i={...o,protocol:o.protocol??"main",type:o.type??"source"};r.set(i.name,i)}),r.has(e))return r.get(e)}return null}function E4(t,e,n,r){if(!t)return null;const o=Br.get(t)??null;if(o){const i=new Map;(n?o.inputs:o.outputs).forEach(a=>{const l={...a,protocol:a.protocol??"main"},c=l.protocol??"main",u=i.get(c);u?u.push(l):i.set(c,[l])});const s=i.get(e);if(s)return(r?s.find(l=>l.name===r):void 0)??s[0]}return null}async function ad(t,e){if(!t)return null;const n=sd(t,e);if(Br.has(n))return Br.get(n);if(id.has(n))return id.get(n);if(!x4(e))return Br.get(n)??null;const r=gk(t,e).then(o=>(Br.set(n,o),o)).catch(()=>null).finally(()=>{id.delete(n)});return id.set(n,r),r}function _4(t,e){if(!t)return null;const n=sd(t,e);return Br.has(n)?Br.get(n):null}const Zs=t=>typeof t=="string"&&t.includes("@"),Wm=(t,e)=>{if(Zs(t.type)){const n=DS(t.type,e);if(n)return n.type}else{const n=CS(t,e);if(n)return n.protocol}return null},El=(t,e)=>{var n;if(!t)return null;if(((n=t.data)==null?void 0:n.node_type)==="SwitchNode")return{name:e,type:"main",protocol:"main"};if(Zs(t.type)){const r=DS(t.type,e);if(r)return r}else{const r=CS(t,e);if(r)return r}return null},Hm=(t,e,n,r)=>{if(Zs(t.type)){const o=E4(t.type,e,n,r);if(o)return o}else{const o=y4(t,e,n,r);if(o)return o}return null};function TS(t){var e;if(/@/.test(t.type??"")){const n=_S(t.type);return n!=null&&n.auto_connections?n.auto_connections:(e=t.data)!=null&&e.saveType&&["SelfLoopNode","LoopNode"].includes(t.data.saveType)?[{source:"loop",target:"input"}]:[]}return zm(t.type).autoConnect??[]}function AS(t,e,n){return!e||!n?!1:TS(t).some(r=>r.source===e&&r.target===n)}function D4(t){const e=TS(t),n=[];for(const r of e){const o=El(t,r.source),i=El(t,r.target);if(!o||!i){console.warn("[workflow:auto-connect] 端口不存在,跳过自动连线",{nodeId:t.id,nodeType:t.type,rule:r});continue}if(o.protocol!==i.protocol){console.warn("[workflow:auto-connect] 自连线两端协议不一致,跳过",{nodeId:t.id,nodeType:t.type,rule:r,sourceProtocol:o.protocol,targetProtocol:i.protocol});continue}n.push(Bi.createEdge(hr.MAIN,`${t.id}-self-${r.source}-${r.target}`,t.id,t.id,{sourceNode:t,targetNode:t,sourceHandle:r.source,targetHandle:r.target,data:{renderType:r.source,connectionType:r.source}}))}return n}function T4(t){const e=t.type==="target"&&jm(t.handleId);return(t.type==="source"||e)&&!t.isFull&&!t.connectionInProgress&&t.canEdit}function A4(t,e){return{isConnectableStart:e&&t==="source",isConnectableEnd:e&&t==="target"}}function P4(t,e){const{connection:n,nodeId:r,handleId:o}=t;if(!n.inProgress)return!1;const{fromHandle:i,fromNode:s,toHandle:a}=n;return!(i!=null&&i.id)||!s||i.type!=="source"?!1:!!(i.nodeId===r&&AS(s,i.id,o)||a!=null&&a.nodeId&&Vm(i.nodeId,a.nodeId,e))}function M4(t){const e={position:t.position,refresh:t.refresh};return t.type==="target"?{...e,targetNodeId:t.nodeId,targetHandle:t.handleId,...t.anchorNode?{targetNode:t.anchorNode}:{}}:{...e,sourceNodeId:t.nodeId,sourceHandle:t.handleId,protocol:t.protocol,...t.anchorNode?{sourceNode:t.anchorNode}:{}}}const _l=()=>{const t=ne.useReactFlow(),e=ne.useStoreApi(),n=y.useCallback(a=>{t.addEdges(a)},[t]),r=y.useCallback(a=>{t.addNodes(a)},[t]),o=y.useCallback(a=>{const{nodes:l,edges:c}=e.getState(),u=c.filter(f=>a.includes(f.target)||a.includes(f.source)),d=l.filter(f=>a.includes(f.id));t.deleteElements({edges:u,nodes:d})},[t,e]),i=y.useCallback(a=>{const{edges:l}=e.getState(),c=l.filter(u=>a.includes(u.id));t.deleteElements({edges:c})},[e,t]);return{getNodes:y.useCallback(()=>{const{nodes:a}=e.getState();return a},[e]),removeNodes:o,removeEdges:i,addEdges:n,addNodes:r}};function ld(t,e){const n=e.source?t.find(s=>s.id===e.source):void 0;if(!n)return{valid:!1,code:"SOURCE_NODE_NOT_FOUND",message:"源节点不存在"};const r=e.target?t.find(s=>s.id===e.target):void 0;if(!r)return{valid:!1,code:"TARGET_NODE_NOT_FOUND",message:"目标节点不存在"};const o=Wm(n,e.sourceHandle)??"main",i=Wm(r,e.targetHandle)??"main";if(o.toLowerCase()!==i.toLowerCase()){const s=o.split(",").map(c=>c.trim().toLowerCase()),a=i.split(",").map(c=>c.trim().toLowerCase());return s.some(c=>a.includes(c))?{valid:!0,code:"VALID",message:""}:{valid:!1,code:"PROTOCOL_MISMATCH",message:`连接双方协议不相符:${o} -> ${i}`}}return n.id===r.id&&!AS(n,e.sourceHandle,e.targetHandle)?{valid:!1,code:"SELF_CONNECTION_NOT_ALLOWED",message:"节点不能连接到自身(端口对未在 auto_connect 规则中声明)"}:{valid:!0,code:"VALID",message:""}}var cd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function pr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Rm={exports:{}};/*!
9
+ `+s)}}catch{}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Ri(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&qu.assertOptions(r,{silentJSONParsing:On.transitional(On.boolean),forcedJSONParsing:On.transitional(On.boolean),clarifyTimeoutError:On.transitional(On.boolean),legacyInterceptorReqResOrdering:On.transitional(On.boolean),advertiseZstdAcceptEncoding:On.transitional(On.boolean),validateStatusUndefinedResolves:On.transitional(On.boolean)},!1),o!=null&&(K.isFunction(o)?n.paramsSerializer={serialize:o}:qu.assertOptions(o,{encode:On.function,serialize:On.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),qu.assertOptions(n,{baseUrl:On.spelling("baseURL"),withXsrfToken:On.spelling("withXSRFToken")},!0),n.method=(K.getSafeProp(n,"method")||K.getSafeProp(this.defaults,"method")||"get").toLowerCase();let s=i&&K.merge(i.common,i[n.method]);i&&K.forEach(Z1.concat("common"),m=>{delete i[m]}),n.headers=wn.concat(s,i);const a=[];let l=!0;this.interceptors.request.forEach(function(w){if(typeof w.runWhen=="function"&&w.runWhen(n)===!1)return;l=l&&w.synchronous;const b=n.transitional||hm;b&&b.legacyInterceptorReqResOrdering?a.unshift(w.fulfilled,w.rejected):a.push(w.fulfilled,w.rejected)});const c=[];this.interceptors.response.forEach(function(w){c.push(w.fulfilled,w.rejected)});let u,d=0,f;if(!l){const m=[vm.bind(this),void 0];for(m.unshift(...a),m.push(...c),f=m.length,u=Promise.resolve(n);d<f;)u=u.then(m[d++],m[d++]);return u}f=a.length;let h=n;for(;d<f;){const m=a[d++],w=a[d++];try{h=m?m(h):h}catch(b){if(!w){u=Promise.reject(b);break}try{const g=w.call(this,b);K.isThenable(g)&&(u=Promise.resolve(g).then(()=>vm.call(this,h)))}catch(g){u=Promise.reject(g)}break}}if(!u)try{u=vm.call(this,h)}catch(m){u=Promise.reject(m)}for(d=0,f=c.length;d<f;)u=u.then(c[d++],c[d++]);return u}getUri(e){e=Ri(this.defaults,e);const n=J1(e.baseURL,e.url,e.allowAbsoluteUrls,e);return Q1(n,e.params,e.paramsSerializer)}};K.forEach(["delete","get","head","options"],function(e){Zi.prototype[e]=function(n,r){return this.request(Ri(r||{},{method:e,url:n,data:r&&K.hasOwnProp(r,"data")?r.data:void 0}))}}),K.forEach(["post","put","patch","query"],function(e){function n(r){return function(i,s,a){return this.request(Ri(a||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}Zi.prototype[e]=n(),e!=="query"&&(Zi.prototype[e+"Form"]=n(!0))});let o3=class pL{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{r.subscribe(a),i=a}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},e(function(i,s,a){r.reason||(r.reason=new bl(i,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=r=>{e.abort(r)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new pL(function(o){e=o}),cancel:e}}};function i3(t){return function(n){return t.apply(null,n)}}function s3(t){return K.isObject(t)&&t.isAxiosError===!0}const Uu={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,ContentTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,UnprocessableContent:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Uu).forEach(([t,e])=>{Uu[e]===void 0&&(Uu[e]=t)});function hk(t){const e=new Zi(t),n=b1(Zi.prototype.request,e);return K.extend(n,Zi.prototype,e,{allOwnKeys:!0}),K.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return hk(Ri(t,o))},n}const It=hk(Ol);It.Axios=Zi,It.CanceledError=bl,It.CancelToken=o3,It.isCancel=q1,It.VERSION=Om,It.toFormData=Wu,It.AxiosError=Te,It.Cancel=It.CanceledError,It.all=function(e){return Promise.all(e)},It.spread=i3,It.isAxiosError=s3,It.mergeConfig=Ri,It.AxiosHeaders=wn,It.formToJSON=t=>R1(K.isHTMLForm(t)?new FormData(t):t),It.getAdapter=dk.getAdapter,It.HttpStatusCode=Uu,It.default=It;const{Axios:$fe,AxiosError:Ife,CanceledError:Ffe,isCancel:Lfe,CancelToken:Qfe,VERSION:zfe,all:Vfe,Cancel:jfe,isAxiosError:Wfe,spread:Hfe,toFormData:Rfe,AxiosHeaders:Zfe,HttpStatusCode:qfe,formToJSON:Ufe,getAdapter:Xfe,mergeConfig:Gfe,create:Yfe}=It,a3={nodeCategory:"/acm/links/domain/v2",nodesList:"/acm/links/v2",searchLinks:"/acm/links/search",connectableNodePackageCategories:"/acm/node-package/categories/connectable",connectableNodePackagePlugins:"/acm/node-package/plugins/connectable",actions:"/acm/actions/v2",actionNodeSchema:"/acm/actions/:nodeKey/:version",createNode:"/acm/flows/nodes/v2",updateNode:"/acm/flows/nodes/v2/:id",updateEdges:"/acm/flows/edge/v2/:flowId",copyFlow:"/acm/flows/copy/:id",proxyGroup:"/iam/api/proxyGroup",createFlow:"/acm/flows/v2",flowDetail:"/acm/flows/v2/:flowId",testRunNode:"/acm/flows/nodes/run/v2/:id",listenWebhook:"/acm/flows/:flowId/webhook/listen",connectors:"/acm/allLinks",connectorDetail:"/acm/links/:connectorId",nodeDetail:"/acm/flows/nodes/:id",cancelDebug:"/acm/flows/nodes/cancelDebug/v2/:id",deleteNode:"/acm/flows/nodes/v2/:id",checkFlow:"/acm/flows/check/:id",templateFlow:"/acm/flows/templates/:id",flowOutput:"/acm/flows/output/:id",flowOutputTree:"/acm/flows/outputTree/v2/:flowId",globalVariables:"/acm/api/globalVariables/list",accountModel:"/acm/accounts/:account_key",accountInstanceCollection:"/acm/accountInstance",accountInstanceDetail:"/acm/accountInstance/:id",accountInstanceTest:"/acm/accountInstance/test",moveNode:"/acm/flows/nodes/move/:nodeId",copyNode:"/acm/flows/nodes/copy/v2/:nodeId",updateNodeNote:"/acm/flows/nodes/updateNote",nodeStatus:"/acm/flows/nodes/close/:nodeId",exportNode:"/acm/export/flowNode",importNode:"/acm/import/flowNode",stopFlow:"/acm/flows/stop/v2/:id",runFlow:"/acm/flows/run/v2/:id",removeEdges:"/acm/flows/remove/edge/:flowId",selectOptions:"/acm/actions/select/item",flowOpStatus:"/acm/flows/op/v2/:paramsId/:opStatus",onlineFlow:"/acm/flows/online/v2/:id",templateSettingsFlowDetail:"/acm/flows/:flowId",templateCategoryList:"/acm/flows/templates/category",templateCategoryDetail:"/acm/flows/templates/category/:id",templateCategoryRelation:"/acm/flows/templates/:templateId/category/:categoryId",templateTagList:"/acm/flows/templates/tag",templateTagDetail:"/acm/flows/templates/tag/:id",templateTagRelation:"/acm/flows/templates/:templateId/tag/:tagId",getAppList:"/iam/api/apps/v2",subFlowList:"/acm/flow/sub-flow/list",flowVersionStatus:"/acm/flows/v2/:flowId/versions/status"},l3=async(t,e={})=>{const{params:n,data:r,headers:o,method:i="GET",transformResponse:s=void 0}=e,a={};o&&Object.assign(a,o);const l={url:t,method:i,params:n,data:r,headers:Object.keys(a).length?a:void 0,transformResponse:s},u=(await It(l)).data;return(u==null?void 0:u.data)!==void 0?u.data:u};let Qs={endpoints:{...a3},httpClient:l3};const Xu=t=>{t.httpClient&&(Qs.httpClient=t.httpClient),t.endpoints&&(Qs.endpoints={...Qs.endpoints,...t.endpoints})},c3=/:([A-Za-z0-9_]+)/g,pk=(t,e)=>{const n=Qs.endpoints[t];if(!n)throw new Error(`Workflow endpoint "${t}" is not configured.`);return n.replace(c3,(r,o)=>{if(!e||e[o]===void 0||e[o]===null)throw new Error(`Missing path parameter "${o}" for endpoint "${t}".`);return encodeURIComponent(String(e[o]))})},Ye=async(t,e,n)=>{const r=pk(t,n);return Qs.httpClient(r,e)},u3=new Set(["data","success","code","message","msg","error","errorCode","requestId","traceId"]),d3=t=>!t||typeof t!="object"||Array.isArray(t)||!Object.hasOwn(t,"data")?!1:Object.keys(t).every(e=>u3.has(e));function km(t,e){let n=t;for(;d3(n);)n=n.data;return n}async function f3(t){return Ye("connectableNodePackageCategories",{method:"POST",data:f1(t)})}async function h3(t){return Ye("connectableNodePackagePlugins",{method:"POST",data:f1(t)})}const mk=async t=>Ye("actions",{params:t}),gk=async(t,e)=>{const n=await Ye("actionNodeSchema",void 0,{nodeKey:t,version:e});return p3(n,t,e)};function wk(t){if(typeof t!="string")return t;try{return JSON.parse(t)}catch{return t}}function p3(t,e,n){const r=wk(t),o=wk((r==null?void 0:r.node_schema)??(r==null?void 0:r.nodeSchema)??r);return{...o,key:(o==null?void 0:o.key)??(r==null?void 0:r.action_key)??(r==null?void 0:r.node_key)??(r==null?void 0:r.nodeKey)??e,version:(o==null?void 0:o.version)??(r==null?void 0:r.action_ver)??(r==null?void 0:r.node_ver)??(r==null?void 0:r.nodeVersion)??n,name:(o==null?void 0:o.name)??(r==null?void 0:r.name)??(r==null?void 0:r.action_name)??e,description:(o==null?void 0:o.description)??(r==null?void 0:r.description),input_fields:Array.isArray(o==null?void 0:o.input_fields)?o.input_fields:[],output_fields:Array.isArray(o==null?void 0:o.output_fields)?o.output_fields:[],credentials:(o==null?void 0:o.credentials)??[]}}async function Ok(t){return Ye("createNode",{method:"POST",headers:{"Content-Type":"text/plain"},data:$s(t)})}async function Gu(t,e){return Ye("updateNode",{method:"PATCH",headers:{"Content-Type":"text/plain"},data:$s(e)},{id:t})}async function Sm(){return Ye("proxyGroup")}async function Cm(t){try{return await Ye("flowDetail",void 0,{flowId:t})}catch(e){throw console.error("Failed to fetch workflow data",e),e}}async function Yu(t,e){return Ye("flowDetail",{method:"PATCH",headers:{"Content-Type":"text/plain"},data:$s(e)},{flowId:t})}async function bk(t){return Ye("templateSettingsFlowDetail",void 0,{flowId:t})}async function yk(t,e){return Ye("templateSettingsFlowDetail",{method:"PUT",data:e},{flowId:t})}async function vk(){return Ye("templateCategoryList")}async function kk(t){return Ye("templateCategoryList",{method:"POST",data:t})}async function Sk(t,e){return Ye("templateCategoryDetail",{method:"PATCH",data:e},{id:t})}async function Ck(t){return Ye("templateCategoryDetail",{method:"DELETE"},{id:t})}async function xk(t,e){return Ye("templateCategoryRelation",{method:"POST"},{templateId:t,categoryId:e})}async function Ek(t,e){return Ye("templateCategoryRelation",{method:"DELETE"},{templateId:t,categoryId:e})}async function _k(){return Ye("templateTagList")}async function Dk(t){return Ye("templateTagList",{method:"POST",data:t})}async function Tk(t,e){return Ye("templateTagDetail",{method:"PATCH",data:e},{id:t})}async function Ak(t){return Ye("templateTagDetail",{method:"DELETE"},{id:t})}async function Pk(t,e){return Ye("templateTagRelation",{method:"POST"},{templateId:t,tagId:e})}async function Mk(t,e){return Ye("templateTagRelation",{method:"DELETE"},{templateId:t,tagId:e})}async function Nk(t){return Ye("testRunNode",{method:"POST",data:{},transformResponse:e=>({data:JSON.parse(e)})},{id:t})}async function Bk(t,e){return Ye("listenWebhook",{method:"GET",params:e},{flowId:t})}async function $k(t,e,n,r,o,i,s){return Ye("cancelDebug",{method:"PATCH",data:{connector_id:e,action_id:n,account_id:r,output:i,properties:o}},{id:t})}async function xm(t){return Ye("deleteNode",{method:"DELETE"},{id:t})}async function Ik(t,e){return Ye("flowOutputTree",{method:"POST",data:{...e,node_id:e.nodeId}},{flowId:t})}async function Em(t={}){return Ye("globalVariables",{method:"GET",params:{page:1,size:1e3,...t.allowFlowUpdate!==void 0?{allowFlowUpdate:t.allowFlowUpdate}:{}}})}async function _m(t,e){const n=pk("accountModel",{account_key:t}),r=e==null?"":`/${encodeURIComponent(String(e))}`,o=await Qs.httpClient(`${n}${r}`);return km(o)}async function Fk(t){const e=await Ye("accountInstanceDetail",void 0,{id:t});return km(e)}function Dm(t,e){return e&&(e.account_key&&(t.account_key=e.account_key),e.account_ver!==void 0&&e.account_ver!==null&&(t.account_ver=e.account_ver)),t}async function Lk(t,e,n,r,o,i,s){const a=Dm({connector_id:t,account_schema_id:e,auth_type:n,name:r,config:o},s);return i&&(a.proxy_id=i),Ye("accountInstanceCollection",{method:"POST",headers:{"Content-Type":"text/plain"},data:$s(a)})}async function Tm(t,e,n,r,o,i,s,a){const l=Dm({connector_id:t,account_schema_id:e,auth_type:n,name:r,config:o,id:i},a);return s&&(l.proxy_id=s),Ye("accountInstanceTest",{method:"POST",data:l})}async function Qk(t,e,n,r,o,i,s,a){const l=Dm({connector_id:e,account_schema_id:n,auth_type:r,name:o,config:i},a);return s&&(l.proxy_id=s),Ye("accountInstanceDetail",{method:"PATCH",headers:{"Content-Type":"text/plain"},data:$s(l)},{id:t})}async function zk(t,e){return Ye("accountInstanceDetail",{method:"PATCH",headers:{"Content-Type":"text/plain"},data:$s({connector_id:null,account_schema_id:null,auth_type:null,name:e,config:null})},{id:t})}async function Am(t){return Ye("copyNode",void 0,{nodeId:t})}async function Vk(t,e){return Ye("updateNodeNote",{method:"POST",data:{id:t,note:e}})}async function jk(t,e){return Ye("nodeStatus",{params:{closed:e==="on"?0:1}},{nodeId:t})}async function Wk(t,e){return Ye("removeEdges",{method:"POST",data:e},{flowId:t})}async function Hk(t){return Ye("selectOptions",{method:"GET",params:{type:t}})}async function Rk(t){return Ye("flowVersionStatus",void 0,{flowId:t})}const Zk=async(t,e)=>{const n={account_schema_id:e??null};t&&(n.linkId=t);const r=await Ye("accountInstanceCollection",{params:n});return km(r)},qk=async(t,e={})=>{var n;return Ye("getAppList",{params:{size:t.pageSize,page:t.current,filter:(n=e.filter)==null?void 0:n.trim()}})},Uk=async(t,e={})=>Ye("subFlowList",{params:{name:t}}),Xk=Object.freeze(Object.defineProperty({__proto__:null,apiAddTemplateCategoryRelation:xk,apiAddTemplateTagRelation:Pk,apiCancelDebug:$k,apiCopyNode:Am,apiCreateAccountInstance:Lk,apiCreateNode:Ok,apiCreateTemplateCategory:kk,apiCreateTemplateTag:Dk,apiDeleteNode:xm,apiDeleteTemplateCategory:Ck,apiDeleteTemplateTag:Ak,apiGetAccountInstanceDetail:Fk,apiGetAccountInstanceV2:Zk,apiGetAccountModel:_m,apiGetActionNodeSchema:gk,apiGetActions:mk,apiGetFlow:Cm,apiGetFlowOutputTree:Ik,apiGetFlowVersionStatus:Rk,apiGetGlobalVariables:Em,apiGetProxyGroup:Sm,apiGetSelectOptions:Hk,apiGetTemplateCategories:vk,apiGetTemplateSettings:bk,apiGetTemplateTags:_k,apiListenWebhook:Bk,apiQueryConnectableNodePackageCategories:f3,apiQueryConnectableNodePackagePlugins:h3,apiRemoveEdges:Wk,apiRemoveTemplateCategoryRelation:Ek,apiRemoveTemplateTagRelation:Mk,apiSaveTemplateSettings:yk,apiTestAccountInstanceValid:Tm,apiTestRunNode:Nk,apiUpdateAccountInstance:Qk,apiUpdateAccountInstanceName:zk,apiUpdateFlow:Yu,apiUpdateNode:Gu,apiUpdateNodeNote:Vk,apiUpdateNodeStatus:jk,apiUpdateTemplateCategory:Sk,apiUpdateTemplateTag:Tk,configureWorkflowApi:Xu,fetchSubFlowList:Uk,getAppList:qk},Symbol.toStringTag,{value:"Module"}));function m3(t){return typeof t=="number"?Number.isFinite(t)&&t>0:typeof t=="string"&&/^[1-9]\d*$/.test(t.trim())}function g3(t,e){const n=e.connector_id??e.connectorId;return n!=null?{connector_id:n}:m3(t)?{}:{connector_id:null}}var pe=(t=>(t.TRIGGER="StartEventNode",t.ACTION="ActionNode",t.CONDITION="ConditionNode",t.LOOP="LoopNode",t.SELF_LOOP="SelfLoopNode",t.MCPServer="MCPServerNode",t.MCP_TRIGGER_NODE="MCP_TRIGGER_NODE",t.BuiltinMCP="BuiltinMCPNode",t.VECTOR_STORE="VectorStoreNode",t.AGENT="AgentNode",t.BROWSER="BrowserNode",t.AI_SUB_NODE="AISubNode",t.MCP_TOOL="MCPToolNode",t.MCP_TOOLS_NODE="MCP_TOOLS_NODE",t.SWITCH="SwitchNode",t.STICKY="StickyNoteNode",t.CUSTOM="custom",t.DYNAMIC="dynamic",t))(pe||{}),ge=(t=>(t.INVALID="INVALID",t.IDLE="IDLE",t.RUNNING="RUNNING",t.FAILED="FAILED",t.SUCCESS="SUCCESS",t.RUNNABLE="RUNNABLE",t.ACTIVE="ACTIVE",t.DEACTIVATED="DEACTIVATED",t.WARNING="WARNING",t))(ge||{}),Ie=(t=>(t.AI_LANGUAGE_MODEL="AI_LANGUAGE_MODEL",t.AI_VECTOR_STORE="AI_VECTORSTORE",t.AI_MEMORY="AI_MEMORY",t.AI_DOCUMENT="AI_DOCUMENT",t.AI_TEXT_SPLITTER="AI_TEXTSPLITTER",t.AI_EMBEDDING="AI_EMBEDDING",t.AI_TOOL="AI_TOOL",t.KNOWLEDGE="KNOWLEDGE",t.MCP="MCP",t.BUILTIN_MCP="BUILTIN_MCP",t.MCP_SERVER="MCP_SERVER",t))(Ie||{}),Ee=(t=>(t.HIDDEN="HIDDEN",t.LABEL="LABEL",t.TEXT="TEXT",t.TEXTAREA="TEXTAREA",t.DATE="DATE",t.TIME="TIME",t.DATETIME="DATETIME",t.SELECT="SELECT",t.API_SELECT="API_SELECT",t.FIXED_OBJ="FIXED_OBJ",t.JSON="JSON",t.EXTEND_OBJ="EXTEND_OBJ",t.PASSWORD="PASSWORD",t.MultiRowAIExtractConfig="MULTI_ROW_EXTRACT",t.MULTI_SELECT_LIST="MULTI_SELECT_LIST",t.SYNC_HOUR_MINUTE="SYNC_HOUR_MINUTE",t.AUTH_TOKEN="AUTH_TOKEN",t.SECRET_KEY="SECRET_KEY",t.SELECT_CLIENT="SELECT_CLIENT",t))(Ee||{}),Xt=(t=>(t.REQUIRED="required",t.TYPE="type",t.ENUM="enum",t.RANGE="range",t))(Xt||{}),Ku=(t=>(t.ERROR="Error",t.WARNING="Warning",t))(Ku||{}),zs=(t=>(t.STRING="string",t.NUMBER="number",t.BOOLEAN="boolean",t.OBJECT="object",t.ARRAY="array",t))(zs||{});const Ju={token:{colorPrimary:"#2d5bff",colorInfo:"#2d5bff",colorSuccess:"#16a34a",colorWarning:"#d97706",colorError:"#dc2626",colorText:"#0f172a",colorTextSecondary:"#64748b",colorBorder:"#e2e8f0",colorBorderSecondary:"#eef1f5",colorBgContainer:"#ffffff",colorBgLayout:"#eef0f4",colorFillSecondary:"#f1f5f9",borderRadius:8,borderRadiusSM:6,borderRadiusLG:14,controlHeight:34,fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif",boxShadow:"0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04)",boxShadowSecondary:"0 18px 48px -16px rgba(15, 23, 42, 0.3)"},components:{Button:{borderRadius:8,controlHeight:34,defaultShadow:"none",primaryShadow:"none"},Card:{borderRadiusLG:12},Drawer:{paddingLG:20},Form:{itemMarginBottom:18,labelColor:"#334155",labelFontSize:13},Input:{activeBorderColor:"#2d5bff",hoverBorderColor:"#9db0ff"},Modal:{borderRadiusLG:14,titleColor:"#0f172a"},Select:{activeBorderColor:"#2d5bff",hoverBorderColor:"#9db0ff",optionSelectedBg:"#eff3ff"},Tabs:{inkBarColor:"#2d5bff",itemActiveColor:"#2d5bff",itemSelectedColor:"#2d5bff"},Tree:{nodeHoverBg:"#f1f5f9",nodeSelectedBg:"#eff3ff"}}},_n={default:"#007FFF",selected:"#3395ff",hovered:"#66b2ff",disabled:"#c7ccd1",[ge.IDLE]:"#aab2c2",[ge.INVALID]:"#fa8c16",[ge.RUNNING]:"#1890ff",[ge.FAILED]:"rgb(220, 38, 38)",[ge.SUCCESS]:"#52c41a",[ge.RUNNABLE]:"#52c41a",aiProtocol:"#007FFF"},qi={[ge.IDLE]:"#007FFF",[ge.INVALID]:"#F7CD8F",[ge.RUNNING]:"#007FFF",[ge.FAILED]:"#F3B096",[ge.SUCCESS]:"#98D7A9",[ge.RUNNABLE]:"#00B042",[ge.ACTIVE]:"#00B042",[ge.DEACTIVATED]:"#c7ccd1",[ge.WARNING]:"#FF9200"},yl={default:{stroke:_n[ge.IDLE],strokeWidth:1,fill:"none"},hovered:{stroke:_n.hovered,fill:"none"},selected:{stroke:_n.selected,fill:"none"},vertical:{stroke:_n.aiProtocol,strokeWidth:1,fill:"none",strokeDasharray:"5,5"},loop:{stroke:_n.default,strokeWidth:1,strokeDasharray:"5,5",fill:"none"}},Ui={default:{color:_n.default},main:{color:_n.default},connected:{color:_n.default},connecting:{color:_n.selected},error:{color:qi[ge.FAILED]},full:{opacity:.5,cursor:"not-allowed"},nodeStatus:{[ge.IDLE]:{color:qi[ge.IDLE]},[ge.INVALID]:{color:qi[ge.INVALID]},[ge.RUNNING]:{color:qi[ge.RUNNING]},[ge.FAILED]:{color:qi[ge.FAILED]},[ge.SUCCESS]:{color:qi[ge.SUCCESS]},[ge.RUNNABLE]:{color:qi[ge.RUNNABLE]}}},Pr={line:{backgroundColor:_n[ge.IDLE],height:"1px"},horizontal:{width:"64px",height:"1px"},vertical:{width:"1px",height:"36px",left:0},button:{fontSize:"20px",borderRadius:"4px",cursor:"pointer",color:_n.default}},Gk={default:{fontSize:"12px",fontWeight:"normal",color:_n.default},edge:{background:"#fff",padding:"4px 8px",borderRadius:"4px",fontSize:"12px",fontWeight:"bold",pointerEvents:"none"},loop:{background:"rgba(0, 127, 255, 0.08)",color:_n.default,border:`1px solid ${_n.default}`,padding:"2px 6px",borderRadius:"4px",fontSize:"12px",fontWeight:"bold",boxShadow:"0 2px 4px rgba(0,0,0,0.1)",pointerEvents:"none"}},vl={default:{border:"none",cursor:"pointer",padding:"4px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#fff",fontSize:"16px"},add:{},delete:{}},Pm={EDGE_PADDING_BOTTOM:130,EDGE_BORDER_RADIUS:16,HANDLE_SIZE:20,SELF_LOOP_EXIT_OFFSET:40,SELF_LOOP_DEPTH:130,SELF_LOOP_TIP_OFFSET:40},Yk={undeletableEdgeTargetTypes:[],unAddableTargetTypes:[]},Kk=y.createContext(null),Wt=()=>{const t=y.useContext(Kk);if(!t)throw new Error("useCanvasConfig must be used inside Provider");return t},w3=Kk.Provider,{SELF_LOOP_EXIT_OFFSET:Jk,SELF_LOOP_DEPTH:eS,SELF_LOOP_TIP_OFFSET:O3}=Pm;function b3(t){return t===ne.Position.Top||t===ne.Position.Bottom}function y3(t){return t.isVerticalEdge?yl.vertical:t.isLoopEdge?yl.loop:t.isHovered?yl.hovered:yl.default}function v3(t){return t.sourcePosition===ne.Position.Bottom&&t.targetPosition===ne.Position.Top?t.sourceAboveTarget:t.sourcePosition===ne.Position.Right&&t.targetPosition===ne.Position.Left?t.sourceLeftOfTarget:!1}function k3(t){const{sourceX:e,sourceY:n,targetX:r,targetY:o,borderRadius:i}=t,s=t.sourcePosition??ne.Position.Right,a=t.targetPosition??ne.Position.Left,l=S3(e,n,s,r,o,a),[c,u]=nS(l);return{edgePath:tS(l,i),labelX:c,labelY:u}}function S3(t,e,n,r,o,i){const s=Jk,a=eS,l=O3,c=Math.max(e,o)+a,u=Math.min(e,o)-a,d=Math.max(t,r)+a,f=Math.min(t,r)-a;switch(n){case ne.Position.Right:return i===ne.Position.Left?[[t,e],[t+s,e],[t+s,c],[r-l,c],[r-l,o],[r,o]]:i===ne.Position.Right?[[t,e],[t+s,e],[t+s,c],[r+s,c],[r+s,o+l],[r,o+l],[r,o]]:i===ne.Position.Top?[[t,e],[t+s,e],[t+s,u],[r,u],[r,o-l],[r,o]]:[[t,e],[t+s,e],[t+s,c],[r+l,c],[r+l,o+l],[r,o+l],[r,o]];case ne.Position.Left:return i===ne.Position.Right?[[t,e],[t-s,e],[t-s,c],[r-l,c],[r-l,o+l],[r,o+l],[r,o]]:i===ne.Position.Left?[[t,e],[t-s,e],[t-s,c],[r-s,c],[r-s,o+l],[r,o+l],[r,o]]:i===ne.Position.Top?[[t,e],[t-s,e],[t-s,u],[r,u],[r,o-l],[r,o]]:[[t,e],[t-s,e],[t-s,c],[r-l,c],[r-l,o+l],[r,o+l],[r,o]];case ne.Position.Top:return i===ne.Position.Bottom?[[t,e],[t,e-s],[d,e-s],[d,o+l],[r,o+l],[r,o]]:i===ne.Position.Top?[[t,e],[t,e-s],[d,e-s],[d,o-l],[r,o-l],[r,o]]:i===ne.Position.Right?[[t,e],[t,e-s],[d,e-s],[d,o+l],[r,o+l],[r,o]]:[[t,e],[t,e-s],[f,e-s],[f,o+l],[r-l,o+l],[r-l,o],[r,o]];default:return i===ne.Position.Top?[[t,e],[t,e+s],[d,e+s],[d,o-l],[r,o-l],[r,o]]:i===ne.Position.Bottom?[[t,e],[t,e+s],[d,e+s],[d,o+l],[r,o+l],[r,o]]:i===ne.Position.Right?[[t,e],[t,e+s],[d,e+s],[d,o+l],[r,o+l],[r,o]]:[[t,e],[t,e+s],[f,e+s],[f,o+l],[r-l,o+l],[r-l,o],[r,o]]}}function tS(t,e){const n=t.length;if(n===0)return"";if(n===1)return`M ${t[0][0]} ${t[0][1]}`;let r=`M ${t[0][0]} ${t[0][1]}`;for(let s=1;s<n-1;s++){const[a,l]=t[s],[c,u]=t[s-1],[d,f]=t[s+1],h=Math.abs(a-c)+Math.abs(l-u),m=Math.abs(d-a)+Math.abs(f-l),w=Math.min(e,h/2,m/2),b=Math.sign(a-c),g=Math.sign(l-u),O=Math.sign(d-a),v=Math.sign(f-l);r+=` L ${a-b*w} ${l-g*w} Q ${a} ${l} ${a+O*w} ${l+v*w}`}const[o,i]=t[n-1];return r+=` L ${o} ${i}`,r}function nS(t){let e=-1,n=[t[0][0],t[0][1]];for(let r=0;r<t.length-1;r++){const[o,i]=t[r],[s,a]=t[r+1],l=Math.abs(s-o)+Math.abs(a-i);l>e&&(e=l,n=[(o+s)/2,(i+a)/2])}return n}function C3(t){const{sourceX:e,sourceY:n,targetX:r,targetY:o,borderRadius:i}=t,s=t.sourcePosition??ne.Position.Right,a=t.targetPosition??ne.Position.Left,l=Jk,c=eS,u=Math.max(n,o)+c,d=[];d.push([e,n]),s===ne.Position.Right?d.push([e+l,n]):s===ne.Position.Left?d.push([e-l,n]):s===ne.Position.Bottom?d.push([e,n+l]):d.push([e,n-l]),d.push([d[1][0],u]);const f=a===ne.Position.Left?r-l:a===ne.Position.Right?r+l:r;d.push([f,u]),(a===ne.Position.Left||a===ne.Position.Right)&&d.push([f,o]),d.push([r,o]);const[h,m]=nS(d);return{edgePath:tS(d,i),labelX:h,labelY:m}}const kl=()=>Wt().canvas.mode??"edit";function Ke(){return Ke=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ke.apply(null,arguments)}var Vs;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(Vs||(Vs={}));var rS=function(t){return t},oS="beforeunload",x3="popstate";function E3(t){t===void 0&&(t={});var e=t,n=e.window,r=n===void 0?document.defaultView:n,o=r.history;function i(){var x=r.location,C=x.pathname,T=x.search,E=x.hash,A=o.state||{};return[A.idx,rS({pathname:C,search:T,hash:E,state:A.usr||null,key:A.key||"default"})]}var s=null;function a(){if(s)h.call(s),s=null;else{var x=Vs.Pop,C=i(),T=C[0],E=C[1];if(h.length){if(T!=null){var A=u-T;A&&(s={action:x,location:E,retry:function(){_(A*-1)}},_(A))}}else O(x)}}r.addEventListener(x3,a);var l=Vs.Pop,c=i(),u=c[0],d=c[1],f=sS(),h=sS();u==null&&(u=0,o.replaceState(Ke({},o.state,{idx:u}),""));function m(x){return typeof x=="string"?x:D3(x)}function w(x,C){return C===void 0&&(C=null),rS(Ke({pathname:d.pathname,hash:"",search:""},typeof x=="string"?T3(x):x,{state:C,key:_3()}))}function b(x,C){return[{usr:x.state,key:x.key,idx:C},m(x)]}function g(x,C,T){return!h.length||(h.call({action:x,location:C,retry:T}),!1)}function O(x){l=x;var C=i();u=C[0],d=C[1],f.call({action:l,location:d})}function v(x,C){var T=Vs.Push,E=w(x,C);function A(){v(x,C)}if(g(T,E,A)){var N=b(E,u+1),M=N[0],$=N[1];try{o.pushState(M,"",$)}catch{r.location.assign($)}O(T)}}function k(x,C){var T=Vs.Replace,E=w(x,C);function A(){k(x,C)}if(g(T,E,A)){var N=b(E,u),M=N[0],$=N[1];o.replaceState(M,"",$),O(T)}}function _(x){o.go(x)}var S={get action(){return l},get location(){return d},createHref:m,push:v,replace:k,go:_,back:function(){_(-1)},forward:function(){_(1)},listen:function(C){return f.push(C)},block:function(C){var T=h.push(C);return h.length===1&&r.addEventListener(oS,iS),function(){T(),h.length||r.removeEventListener(oS,iS)}}};return S}function iS(t){t.preventDefault(),t.returnValue=""}function sS(){var t=[];return{get length(){return t.length},push:function(n){return t.push(n),function(){t=t.filter(function(r){return r!==n})}},call:function(n){t.forEach(function(r){return r&&r(n)})}}}function _3(){return Math.random().toString(36).substr(2,8)}function D3(t){var e=t.pathname,n=e===void 0?"/":e,r=t.search,o=r===void 0?"":r,i=t.hash,s=i===void 0?"":i;return o&&o!=="?"&&(n+=o.charAt(0)==="?"?o:"?"+o),s&&s!=="#"&&(n+=s.charAt(0)==="#"?s:"#"+s),n}function T3(t){var e={};if(t){var n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));var r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}const ed=E3(),aS=t=>[new URLSearchParams(location.href)],A3={nodeSelectorVisible:!1,nodeAddInfo:null,nodeAddCallback:null},lS=nm.createSlice({name:"panel",initialState:A3,reducers:{openNodeSelector:(t,e)=>{t.nodeSelectorVisible=!0,t.nodeAddInfo=e.payload},closeNodeSelector:t=>{t.nodeSelectorVisible=!1},setNodeAddCallback:(t,e)=>{t.nodeAddCallback=e.payload},executeNodeAddCallback:(t,e)=>{t.nodeAddCallback&&t.nodeAddInfo}}}),{openNodeSelector:P3,closeNodeSelector:cS,setNodeAddCallback:M3,executeNodeAddCallback:Kfe}=lS.actions,N3=lS.reducer,uS=y.createContext(null),B3=({value:t,children:e})=>p.jsx(uS.Provider,{value:t,children:e}),td=()=>y.useContext(uS)??{hasTriggerNode:!1,isMcpServerCanvas:!1};var Gt=(t=>(t.SOURCE="source",t.TARGET="target",t))(Gt||{}),Le=(t=>(t.INPUT="input",t.OUTPUT="output",t.CHAT_MODEL="chat_model",t.DONE="done",t.LOOP="loop",t.FALSE="false",t.TRUE="true",t.MEMORY="memory",t.TOOLS="tools",t.AI_MODEL="ai_model",t.AI_MEMORY="ai_memory",t.AI_TOOL="ai_tool",t.BUILTIN_MCP="builtin_mcp",t))(Le||{}),Mm=(t=>(t.INPUT="input",t.OUTPUT="output",t))(Mm||{});const $3="main",I3="main",F3={left:ne.Position.Left,top:ne.Position.Top,right:ne.Position.Right,bottom:ne.Position.Bottom};function L3(t){return t?F3[t]:void 0}function Q3(t,e){var n;return{id:t.name,position:L3(t.position)??(e==="input"?ne.Position.Left:ne.Position.Right),type:t.handleType??(e==="input"?Gt.TARGET:Gt.SOURCE),protocol:(n=t.protocols)!=null&&n.length?t.protocols.join(","):t.protocol??I3,maxConnections:typeof t.maxConnections=="number"?t.maxConnections:void 0,label:t.displayName,isMain:t.isMain??t.name===$3,shape:t.shape,category:t.category,style:t.style}}function dS(t,e){return(t??[]).map(r=>Q3(r,e))}var me=(t=>(t.TEXT="TEXT",t.TEXTAREA="TEXTAREA",t.NUMBER="NUMBER",t.PASSWORD="PASSWORD",t.SELECT="SELECT",t.MULTI_SELECT="MULTI_SELECT",t.RADIO="RADIO",t.CHECKBOX="CHECKBOX",t.CHECKBOX_GROUP="CHECKBOX_GROUP",t.SWITCH="SWITCH",t.CASCADER="CASCADER",t.TREE_SELECT="TREE_SELECT",t.DATE="DATE",t.DATE_RANGE="DATE_RANGE",t.TIME="TIME",t.TIME_RANGE="TIME_RANGE",t.DATETIME="DATETIME",t.UPLOAD="UPLOAD",t.RATE="RATE",t.SLIDER="SLIDER",t.COLOR_PICKER="COLOR_PICKER",t.MENTIONS="MENTIONS",t.AUTO_COMPLETE="AUTO_COMPLETE",t.LABEL="LABEL",t.HIDDEN="HIDDEN",t.JSON="JSON",t.CODE="CODE",t.PROXY="PROXY",t.GLOBAL_VARIABLE_KEY="GLOBAL_VARIABLE_KEY",t.DIVIDER="DIVIDER",t.INFO_CARD="INFO_CARD",t.ARRAY="ARRAY",t.OBJECT="OBJECT",t.KEY_VALUE="KEY_VALUE",t.ARRAY_OBJECT="ARRAY_OBJECT",t))(me||{});const z3="dip.core.flow.switch",nd="default-branch";function rd(t){return t===z3}function Nm(t){const e=[t.config_schema,t.properties,t.params];for(const n of e){const r=H3(n);if(Array.isArray(r==null?void 0:r.branches))return r}return{}}function V3(t){const e=Array.isArray(t)?t:[],n=new Set;let r=!Array.isArray(t);return{branches:e.map((i,s)=>{const a=js(i)?i:{};a!==i&&(r=!0);const l=typeof a.id=="string"?a.id.trim():"",u=l.startsWith("branch")&&l!==nd&&!n.has(l)?l:R3(s,n);n.add(u);const d=typeof a.name=="string"?a.name:"",f=d.trim()?d:`分支 ${s+1}`;return(u!==a.id||f!==a.name)&&(r=!0),{...a,id:u,name:f}}),changed:r}}function Sl(t){const e=js(t)?t:{},n=V3(e.branches);return{...n,properties:n.changed?{...e,branches:n.branches}:e}}function Bm(t,e){if(!e.length)return{inputs:t.inputs,outputs:t.outputs};const n=t.outputs??[],r=n.find(i=>i.name!==nd)??{name:"branch-1",protocol:"main"},o=n.find(i=>i.name===nd)??{name:nd,displayName:"Default",protocol:"main"};return{inputs:t.inputs,outputs:[...e.map(i=>({...r,name:i.id,displayName:i.name,display_name:i.name})),o]}}function j3(t,e){if(!rd(t.key))return t;const n=Nm(e),r=Sl(n);return{...t,...Bm(t,r.branches)}}function W3(t,e){if(!rd(e))return t;let n=!1;const r=t.fields.map(o=>!fS(o)||o.name!=="branches"?o:(n=!0,{...o,createItem:({index:i,items:s})=>({...$m(o.columns),id:Z3(s),name:`分支 ${i+1}`})}));return n?{...t,fields:r}:t}function H3(t){if(js(t))return Array.isArray(t.branches)?t:js(t.properties)?t.properties:js(t.params)?t.params:t}function R3(t,e){let n=t+1,r=`branch-migrated-${n}`;for(;e.has(r);)n+=1,r=`branch-migrated-${n}`;return r}function Z3(t){const e=new Set(t.map(r=>typeof r.id=="string"?r.id:"").filter(r=>!!r));let n="";do n=`branch_${Date.now()}_${Math.random().toString(36).slice(2,11)}`;while(e.has(n));return n}function $m(t){const e={};for(const n of t){const r=q3(n);r!==void 0&&(e[n.name]=r)}return e}function q3(t){if(t.defaultValue!==void 0)return Im(t.defaultValue);if(U3(t))return $m(Object.values(t.properties));if(fS(t)){const e=Math.max(0,t.minItems??0);return Array.from({length:e},()=>$m(t.columns))}}function Im(t){return Array.isArray(t)?t.map(Im):js(t)?Object.fromEntries(Object.entries(t).map(([e,n])=>[e,Im(n)])):t}function js(t){return!!(t&&typeof t=="object"&&!Array.isArray(t))}function fS(t){return t.type===me.ARRAY_OBJECT&&"columns"in t}function U3(t){return t.type===me.OBJECT&&"properties"in t}const X3=({icon:t,label:e})=>{const n=t?p.jsx("img",{src:t,alt:e,style:{width:24,height:24}}):p.jsx(ae.ReloadOutlined,{style:{fontSize:24,color:"#007fff"}});return p.jsx(D.Badge,{offset:[-22,2],count:p.jsx(ae.ReloadOutlined,{style:{fontSize:12,color:"#007fff"}}),children:n})},Mr=p.jsx(ae.PlayCircleOutlined,{style:{fontSize:24,color:"#007fff"}}),G3=p.jsx(ae.ReloadOutlined,{style:{fontSize:24,color:"#007fff"}}),hS=p.jsx(ae.FilterOutlined,{style:{fontSize:24,color:"#007fff"}}),Y3=p.jsx(VL.PiCursorFill,{style:{color:"#007fff",fontSize:24}}),K3=p.jsx(ae.ApiOutlined,{style:{color:"#2d5bff",fontSize:22}}),J3=p.jsx(X3,{icon:void 0,label:void 0}),Nr=[],pS=[{name:Le.INPUT,position:"left",maxConnections:1}],mS=[{name:Le.OUTPUT,position:"right",maxConnections:1}],e4=[{name:Le.OUTPUT,position:"right",displayName:"",maxConnections:1}],t4=[{name:Le.INPUT,position:"left",maxConnections:1}],n4=[{name:Le.TRUE,position:"right",maxConnections:1,displayName:"true",style:{top:"33%"}},{name:Le.FALSE,position:"right",maxConnections:1,displayName:"false",style:{top:"67%"}}],gS=[{name:Le.INPUT,position:"left",maxConnections:1}],wS=[{name:Le.DONE,position:"right",maxConnections:1,displayName:"done",style:{top:"33%"}},{name:Le.LOOP,position:"right",maxConnections:1,displayName:"loop",style:{top:"67%"}}],OS=[{source:Le.LOOP,target:Le.INPUT}],r4=[{name:Le.INPUT,position:"left",maxConnections:1}],o4=[{name:"default-branch",position:"right",maxConnections:1,displayName:"default"}],i4=[{name:Le.OUTPUT,position:"right",maxConnections:1}],s4=[{name:Le.INPUT,position:"left"},{handleType:Gt.SOURCE,name:Le.AI_MODEL,position:"bottom",category:"slave",maxConnections:1,displayName:"Chat Model",protocol:Ie.AI_LANGUAGE_MODEL,shape:"rhombus",style:{left:"35%"}},{handleType:Gt.SOURCE,name:Le.AI_MEMORY,position:"bottom",category:"slave",maxConnections:1,displayName:"Memory",protocol:Ie.AI_MEMORY,shape:"rhombus",style:{left:"50%"}},{handleType:Gt.SOURCE,name:Le.AI_TOOL,position:"bottom",category:"slave",displayName:"Tools",protocols:[Ie.AI_TOOL,Ie.KNOWLEDGE,Ie.MCP_SERVER,Ie.BUILTIN_MCP],shape:"rhombus",style:{left:"65%"},maxConnections:10}],a4=[{name:Le.INPUT,position:"left"}],l4=[{name:Le.OUTPUT,position:"right",maxConnections:1},{name:Le.AI_MODEL,position:"bottom",category:"slave",maxConnections:1,displayName:"Chat Model",protocol:Ie.AI_LANGUAGE_MODEL,shape:"rhombus",style:{left:"50%"}}],c4=[{name:Le.INPUT,position:"left",maxConnections:1}],u4=[{name:Le.OUTPUT,position:"right",maxConnections:1}],Cl=(t,e=1)=>({handleType:Gt.TARGET,name:Le.INPUT,position:"top",protocol:t,maxConnections:e}),d4=[{name:Le.BUILTIN_MCP,position:"top",protocol:Ie.BUILTIN_MCP,isMain:!0,maxConnections:1}],f4=[{name:Le.BUILTIN_MCP,position:"top",protocol:Ie.BUILTIN_MCP,isMain:!0,maxConnections:1}],h4=[],p4=[{name:Le.BUILTIN_MCP,position:"top",isMain:!0,protocol:Ie.BUILTIN_MCP,maxConnections:1}],m4=[{name:Le.OUTPUT,position:"bottom",isMain:!0,shape:"rhombus",style:{left:"50%"},maxConnections:10}],bS=[{name:Le.INPUT,position:"top",protocol:Ie.BUILTIN_MCP,isMain:!0}],yS=[{name:Le.OUTPUT,position:"bottom",isMain:!0,maxConnections:1}],Ws={[pe.ACTION]:{type:pe.ACTION,className:"action-node",fallbackIcon:Mr,inputs:pS,outputs:mS,byProtocol:{[Ie.BUILTIN_MCP]:{outputs:Nr},[Ie.MCP_SERVER]:{outputs:Nr}},useNodePackagePorts:!0},[pe.TRIGGER]:{type:pe.TRIGGER,className:"workflow-trigger-node",fallbackIcon:Y3,inputs:Nr,outputs:e4,useNodePackagePorts:!0},[pe.CONDITION]:{type:pe.CONDITION,className:"condition-node",fallbackIcon:hS,inputs:t4,outputs:n4,useNodePackagePorts:!0},[pe.LOOP]:{type:pe.LOOP,className:"loop-node",fallbackIcon:G3,inputs:gS,outputs:wS,autoConnect:OS,useNodePackagePorts:!0},[pe.SELF_LOOP]:{type:pe.SELF_LOOP,className:"loop-node",fallbackIcon:J3,inputs:gS,outputs:wS,autoConnect:OS,useNodePackagePorts:!0},[pe.SWITCH]:{type:pe.SWITCH,className:"switch-node",fallbackIcon:hS,inputs:r4,outputs:o4,useNodePackagePorts:!0},[pe.AGENT]:{type:pe.AGENT,className:"agent-node",fallbackIcon:Mr,inputs:s4,outputs:i4,useNodePackagePorts:!0},[pe.BROWSER]:{type:pe.BROWSER,className:"agent-node",fallbackIcon:Mr,inputs:a4,outputs:l4,useNodePackagePorts:!0},[pe.CUSTOM]:{type:pe.CUSTOM,className:"workflow-custom-node",fallbackIcon:K3,inputs:c4,outputs:u4,useNodePackagePorts:!0},[pe.AI_SUB_NODE]:{type:pe.AI_SUB_NODE,className:"workflow-aisub-node",fallbackIcon:Mr,inputs:[Cl(Ie.AI_LANGUAGE_MODEL,1)],outputs:Nr,byProtocol:{[Ie.AI_MEMORY]:{inputs:[Cl(Ie.AI_MEMORY)]},[Ie.AI_TOOL]:{inputs:[Cl(Ie.AI_TOOL,10)]}},useNodePackagePorts:!0},[pe.VECTOR_STORE]:{type:pe.VECTOR_STORE,className:"workflow-aisub-node",fallbackIcon:Mr,inputs:Nr,outputs:[Cl(Ie.AI_LANGUAGE_MODEL)],byProtocol:{[Ie.AI_VECTOR_STORE]:{inputs:[Cl(Ie.AI_VECTOR_STORE)]}},useNodePackagePorts:!0},[pe.STICKY]:{type:pe.STICKY,className:"workflow-sticky-note",fallbackIcon:null,inputs:Nr,outputs:Nr,useNodePackagePorts:!1},[pe.DYNAMIC]:{type:pe.ACTION,className:"action-node",fallbackIcon:Mr,inputs:pS,outputs:mS,useNodePackagePorts:!0},[pe.MCPServer]:{type:pe.MCPServer,className:"workflow-aisub-node",fallbackIcon:Mr,inputs:f4,outputs:[],useNodePackagePorts:!0},[pe.MCP_TRIGGER_NODE]:{type:pe.MCP_TRIGGER_NODE,className:"workflow-aisub-node",fallbackIcon:Mr,inputs:d4,outputs:h4,useNodePackagePorts:!0},[pe.BuiltinMCP]:{type:pe.BuiltinMCP,className:"workflow-aisub-node",fallbackIcon:Mr,inputs:p4,outputs:m4,useNodePackagePorts:!0},[pe.MCP_TOOL]:{type:pe.MCP_TOOL,className:"workflow-mcp-tool-node",fallbackIcon:Mr,inputs:bS,outputs:yS,byProtocol:{[Ie.BUILTIN_MCP]:{outputs:Nr},[Ie.MCP_SERVER]:{outputs:Nr}},useNodePackagePorts:!0},[pe.MCP_TOOLS_NODE]:{type:pe.MCP_TOOLS_NODE,className:"workflow-mcp-tool-node",fallbackIcon:Mr,inputs:bS,outputs:yS,byProtocol:{[Ie.BUILTIN_MCP]:{outputs:Nr},[Ie.MCP_SERVER]:{outputs:Nr}},useNodePackagePorts:!0}},Fm=new Map,Lm=new Set;let Qm=null;function g4(){Qm||(Qm=setTimeout(()=>{Qm=null,Lm.forEach(t=>t())},0))}function xl(t,e){return t?e==null?`${t}@`:Number.isFinite(e)?`${t}@${e}`:`${t}@`:null}function w4(t){const e=xl(t.nodeKey,t.nodeVersion);if(!e)return console.warn("[workflow:node-types] register skipped, missing nodeKey",{baseNodeType:t.baseNodeType,nodeKey:t.nodeKey,nodeVersion:t.nodeVersion}),null;if(Fm.has(e))return e;const n=Ws[t.baseNodeType]??Ws[pe.CUSTOM],r={...n,type:e,nodeKey:t.nodeKey,nodeVersion:t.nodeVersion,descriptorId:e,className:`${n.className} ${t.nodeKey.replaceAll(".","-")}`};return Fm.set(e,r),g4(),e}function vS(){return Array.from(Fm.keys())}function O4(t){return Lm.add(t),()=>{Lm.delete(t)}}function zm(t){return Ws[t]??Ws[pe.CUSTOM]}function kS(t){const e=t==null?void 0:t.protocol;return typeof e=="string"&&e?e:void 0}function b4(t,e){var o;const n=Ws[t]??Ws[pe.CUSTOM],r=(o=n.byProtocol)==null?void 0:o[kS(e)??""];return{inputs:(r==null?void 0:r.inputs)??n.inputs,outputs:(r==null?void 0:r.outputs)??n.outputs}}const SS=new Map;function Hs(t,e){const n=`${t}|${kS(e)??""}`,r=SS.get(n);if(r)return r;const o=b4(t,e),i={inputs:dS(o.inputs,"input"),outputs:dS(o.outputs,"output")};return SS.set(n,i),i}function CS(t,e){const n=Hs(t.type,t.data),r=new Map([...n.inputs,...n.outputs].map(o=>[o.id,o]));if(r.has(e)){const o=r.get(e);return{name:o.id,type:o.type,protocol:o.protocol??"main"}}return null}function y4(t,e,n,r){const o=Hs(t.type,t.data),s=(n?o.inputs:o.outputs).filter(c=>{const u=c.protocol??"main",d=e.split(",").map(h=>h.trim().toLowerCase()),f=u.split(",").map(h=>h.trim().toLowerCase());return d.some(h=>f.includes(h))}),l=(r?s.find(c=>c.id===r):void 0)??s[0];return l?{name:l.id,type:l.type,protocol:l.protocol??"main",position:l.position}:null}function v4(t){const e=Nm(t??{}),n=Sl(e);return k4(n.branches)}function xS(t){const e=Nm(t??{});return Sl(e).branches}function k4(t){const e=t.map((r,o)=>({id:r.id,position:ne.Position.Right,type:Gt.SOURCE,maxConnections:1,label:r.name,style:{top:`${(o+1)/(t.length+2)*100}%`},isMain:!1})),n={id:"default-branch",position:ne.Position.Right,type:Gt.SOURCE,maxConnections:1,label:"default",style:{top:`${(t.length+1)/(t.length+2)*100}%`},isMain:!1};return[...e,n]}function Vm(t,e,n){if(!t||!e)return!1;if(t===e)return!0;const r=new Map;for(const s of n){const a=r.get(s.target);a?a.push(s.source):r.set(s.target,[s.source])}const o=new Set,i=[t];for(;i.length>0;){const s=i.pop();if(s===e)return!0;if(o.has(s))continue;o.add(s);const a=r.get(s);a&&i.push(...a)}return!1}const S4=(t,e,n,r)=>t.filter(o=>r==="output"?o.source===e&&o.sourceHandle===n:!(o.target!==e||o.targetHandle!==n||o.source===o.target||Vm(o.source,e,t)));function C4(){const t=ne.useStore(r=>r.edges),e=y.useCallback((r,o,i)=>t?S4(t,r,o,i):[],[t]),n=y.useCallback((r,o)=>t&&t.some(s=>s.source===r&&s.sourceHandle===o||s.target===r&&s.targetHandle===o)?"connected":"default",[t]);return{getHandleConnections:e,handleStatus:n}}function od(){const t=Ka(),{nodeSelectorVisible:e,nodeAddInfo:n,nodeAddCallback:r}=Ja(c=>c.panel),o=y.useCallback(c=>{t(P3(c))},[t]),i=y.useCallback(()=>{t(cS())},[t]),s=y.useCallback(c=>{r&&n&&r(n,c),t(cS())},[t,n,r]),a=y.useCallback((c,u)=>{r&&c&&r(c,u)},[t,n,r]),l=y.useCallback(c=>{t(M3(c))},[t]);return{nodeSelectorVisible:e,nodeAddInfo:n,openNodeSelector:o,closeNodeSelector:i,handleNodeSelect:s,handleManualAdd:a,setNodeAddCallback:l}}Le.AI_MODEL,Le.AI_MEMORY,Le.AI_TOOL,Le.CHAT_MODEL+"",Le.AI_MODEL,Le.MEMORY+"",Le.AI_MEMORY,Le.TOOLS+"",Le.AI_TOOL,Le.AI_MODEL+"",Le.AI_MODEL,Le.AI_MEMORY+"",Le.AI_MEMORY,Le.AI_TOOL+"",Le.AI_TOOL,Le.AI_MODEL+"",Ie.AI_LANGUAGE_MODEL,Le.AI_MEMORY+"",Ie.AI_MEMORY,Le.AI_TOOL+"",Ie.AI_TOOL;function jm(t){return t===Le.AI_MODEL||t===Le.AI_MEMORY||t===Le.AI_TOOL}var hr=(t=>(t.MAIN="main",t))(hr||{});const Br=new Map,id=new Map;function sd(t,e){if(!t)throw new Error("nodePackageSchemaCache: nodeKey is required");return e==null?`${t}@latest`:typeof e!="number"||!Number.isFinite(e)||e<0?`${t}@latest`:`${t}@${e}`}function x4(t){return t!=null&&typeof t=="number"&&Number.isFinite(t)&&t>=0}function ES(t,e,n){if(!t||!n)return;const r=sd(t,e);Br.set(r,n)}function Rs(t,e){return t?Br.get(sd(t,e))??null:null}function _S(t){return t?Br.get(t)??null:null}function DS(t,e){if(!t)return null;const n=Br.get(t)??null;if(n){const r=new Map;if(n.inputs.forEach(o=>{const i={...o,protocol:o.protocol??"main",type:o.type??"target"};r.set(i.name,i)}),n.outputs.forEach(o=>{const i={...o,protocol:o.protocol??"main",type:o.type??"source"};r.set(i.name,i)}),r.has(e))return r.get(e)}return null}function E4(t,e,n,r){if(!t)return null;const o=Br.get(t)??null;if(o){const i=new Map;(n?o.inputs:o.outputs).forEach(a=>{const l={...a,protocol:a.protocol??"main"},c=l.protocol??"main",u=i.get(c);u?u.push(l):i.set(c,[l])});const s=i.get(e);if(s)return(r?s.find(l=>l.name===r):void 0)??s[0]}return null}async function ad(t,e){if(!t)return null;const n=sd(t,e);if(Br.has(n))return Br.get(n);if(id.has(n))return id.get(n);if(!x4(e))return Br.get(n)??null;const r=gk(t,e).then(o=>(Br.set(n,o),o)).catch(()=>null).finally(()=>{id.delete(n)});return id.set(n,r),r}function _4(t,e){if(!t)return null;const n=sd(t,e);return Br.has(n)?Br.get(n):null}const Zs=t=>typeof t=="string"&&t.includes("@"),Wm=(t,e)=>{if(Zs(t.type)){const n=DS(t.type,e);if(n)return n.type}else{const n=CS(t,e);if(n)return n.protocol}return null},El=(t,e)=>{var n;if(!t)return null;if(((n=t.data)==null?void 0:n.node_type)==="SwitchNode")return{name:e,type:"main",protocol:"main"};if(Zs(t.type)){const r=DS(t.type,e);if(r)return r}else{const r=CS(t,e);if(r)return r}return null},Hm=(t,e,n,r)=>{if(Zs(t.type)){const o=E4(t.type,e,n,r);if(o)return o}else{const o=y4(t,e,n,r);if(o)return o}return null};function TS(t){var e;if(/@/.test(t.type??"")){const n=_S(t.type);return n!=null&&n.auto_connections?n.auto_connections:(e=t.data)!=null&&e.saveType&&["SelfLoopNode","LoopNode"].includes(t.data.saveType)?[{source:"loop",target:"input"}]:[]}return zm(t.type).autoConnect??[]}function AS(t,e,n){return!e||!n?!1:TS(t).some(r=>r.source===e&&r.target===n)}function D4(t){const e=TS(t),n=[];for(const r of e){const o=El(t,r.source),i=El(t,r.target);if(!o||!i){console.warn("[workflow:auto-connect] 端口不存在,跳过自动连线",{nodeId:t.id,nodeType:t.type,rule:r});continue}if(o.protocol!==i.protocol){console.warn("[workflow:auto-connect] 自连线两端协议不一致,跳过",{nodeId:t.id,nodeType:t.type,rule:r,sourceProtocol:o.protocol,targetProtocol:i.protocol});continue}n.push(Bi.createEdge(hr.MAIN,`${t.id}-self-${r.source}-${r.target}`,t.id,t.id,{sourceNode:t,targetNode:t,sourceHandle:r.source,targetHandle:r.target,data:{renderType:r.source,connectionType:r.source}}))}return n}function T4(t){const e=t.type==="target"&&jm(t.handleId);return(t.type==="source"||e)&&!t.isFull&&!t.connectionInProgress&&t.canEdit}function A4(t,e){return{isConnectableStart:e&&t==="source",isConnectableEnd:e&&t==="target"}}function P4(t,e){const{connection:n,nodeId:r,handleId:o}=t;if(!n.inProgress)return!1;const{fromHandle:i,fromNode:s,toHandle:a}=n;return!(i!=null&&i.id)||!s||i.type!=="source"?!1:!!(i.nodeId===r&&AS(s,i.id,o)||a!=null&&a.nodeId&&Vm(i.nodeId,a.nodeId,e))}function M4(t){const e={position:t.position,refresh:t.refresh};return t.type==="target"?{...e,targetNodeId:t.nodeId,targetHandle:t.handleId,...t.anchorNode?{targetNode:t.anchorNode}:{}}:{...e,sourceNodeId:t.nodeId,sourceHandle:t.handleId,protocol:t.protocol,...t.anchorNode?{sourceNode:t.anchorNode}:{}}}const _l=()=>{const t=ne.useReactFlow(),e=ne.useStoreApi(),n=y.useCallback(a=>{t.addEdges(a)},[t]),r=y.useCallback(a=>{t.addNodes(a)},[t]),o=y.useCallback(a=>{const{nodes:l,edges:c}=e.getState(),u=c.filter(f=>a.includes(f.target)||a.includes(f.source)),d=l.filter(f=>a.includes(f.id));t.deleteElements({edges:u,nodes:d})},[t,e]),i=y.useCallback(a=>{const{edges:l}=e.getState(),c=l.filter(u=>a.includes(u.id));t.deleteElements({edges:c})},[e,t]);return{getNodes:y.useCallback(()=>{const{nodes:a}=e.getState();return a},[e]),removeNodes:o,removeEdges:i,addEdges:n,addNodes:r}};function ld(t,e){const n=e.source?t.find(s=>s.id===e.source):void 0;if(!n)return{valid:!1,code:"SOURCE_NODE_NOT_FOUND",message:"源节点不存在"};const r=e.target?t.find(s=>s.id===e.target):void 0;if(!r)return{valid:!1,code:"TARGET_NODE_NOT_FOUND",message:"目标节点不存在"};const o=Wm(n,e.sourceHandle)??"main",i=Wm(r,e.targetHandle)??"main";if(o.toLowerCase()!==i.toLowerCase()){const s=o.split(",").map(c=>c.trim().toLowerCase()),a=i.split(",").map(c=>c.trim().toLowerCase());return s.some(c=>a.includes(c))?{valid:!0,code:"VALID",message:""}:{valid:!1,code:"PROTOCOL_MISMATCH",message:`连接双方协议不相符:${o} -> ${i}`}}return n.id===r.id&&!AS(n,e.sourceHandle,e.targetHandle)?{valid:!1,code:"SELF_CONNECTION_NOT_ALLOWED",message:"节点不能连接到自身(端口对未在 auto_connect 规则中声明)"}:{valid:!0,code:"VALID",message:""}}var cd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function pr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Rm={exports:{}};/*!
10
10
  Copyright (c) 2018 Jed Watson.
11
11
  Licensed under the MIT License (MIT), see
12
12
  http://jedwatson.github.io/classnames
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digitalsee-ai/rcs",
3
- "version": "2.0.4-beta",
3
+ "version": "2.0.4-beta2",
4
4
  "packageManager": "pnpm@10.12.1",
5
5
  "repository": {
6
6
  "type": "git"