@boltic/swirl 1.0.2-sit.78 → 1.0.2-sit.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/swirl.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as Te from "react";
2
2
  import re, { useState as ve, useEffect as ke, useCallback as ut, useRef as Pt, useMemo as Zt, createContext as ko, useContext as wo, forwardRef as Nr, useLayoutEffect as VN, useDeferredValue as VI, Suspense as Ia, lazy as HN, useReducer as $d, Component as zG, Fragment as Xa, memo as Ta, useImperativeHandle as Wu, createElement as Ey, PureComponent as Dae, isValidElement as Oy, cloneElement as yy, Children as Pae } from "react";
3
3
  import { Box as Be, useTheme as wt, Portal as Nae, Snackbar as Lae, Alert as Mae, Typography as He, IconButton as tr, Slide as WN, Stack as ce, Button as dr, Tooltip as mr, Divider as mn, TextField as Wo, ListSubheader as MA, OutlinedInput as Cl, MenuItem as rn, alpha as hs, Chip as Qi, InputAdornment as Kl, CircularProgress as Kn, Dialog as XG, Fade as Fae, DialogTitle as qG, DialogContent as YG, DialogActions as KG, List as WE, ListItem as qs, ListItemAvatar as GN, Avatar as Fu, ListItemText as nm, Card as kae, Accordion as kc, AccordionSummary as Bc, AccordionDetails as jc, FormControlLabel as ns, Switch as Nc, Grid as Ce, Stepper as Bae, Step as jae, StepLabel as $ae, styled as tS, StepConnector as Uae, Tabs as QN, Tab as fT, Skeleton as pa, FormLabel as ZG, debounce as GE, FormControl as sr, Select as Mo, Paper as km, FormHelperText as dn, Menu as QE, MenuList as d4, Checkbox as qa, FormGroup as JG, Autocomplete as zN, Link as Ud, InputBase as eQ, RadioGroup as rS, Radio as nS, Slider as tQ, Collapse as Vae, InputLabel as im, ButtonGroup as Hae, Input as Wae, Popover as Gae, ListItemButton as Qae, StyledEngineProvider as zae, ThemeProvider as XN, CssBaseline as Xae, Breadcrumbs as qae, TableContainer as Yae, Table as Kae, TableHead as Zae, TableRow as vC, TableCell as TC, TableBody as Jae } from "@mui/material";
4
- import { MarkerType as Bl, addEdge as pT, useReactFlow as no, useStore as ele, Panel as xC, MiniMap as tle, useNodes as el, useEdges as ic, getBezierPath as qN, Handle as If, useKeyPress as vy, useUpdateNodeInternals as xh, Position as Si, ReactFlow as rle, SelectionMode as nle, Background as ile, getNodesBounds as ole, getViewportForBounds as sle, useNodesState as ale, useEdgesState as lle, useNodesInitialized as cle, applyNodeChanges as ule, useOnViewportChange as dle, ReactFlowProvider as YN } from "@xyflow/react";
4
+ import { MarkerType as Bl, addEdge as pT, useReactFlow as io, useStore as ele, Panel as xC, MiniMap as tle, useNodes as el, useEdges as ic, getBezierPath as qN, Handle as If, useKeyPress as vy, useUpdateNodeInternals as xh, Position as Si, ReactFlow as rle, SelectionMode as nle, Background as ile, getNodesBounds as ole, getViewportForBounds as sle, useNodesState as ale, useEdgesState as lle, useNodesInitialized as cle, applyNodeChanges as ule, useOnViewportChange as dle, ReactFlowProvider as YN } from "@xyflow/react";
5
5
  import { useDispatch as Rr, useSelector as Yt, Provider as KN } from "react-redux";
6
6
  import { configureStore as fle, createSelector as $c } from "@reduxjs/toolkit";
7
7
  import { DOMEditor as ple, withDOM as hle, IS_ANDROID as Vl, EDITOR_TO_PENDING_SELECTION as Tp, EDITOR_TO_ON_CHANGE as f4, EDITOR_TO_FORCE_RENDER as rQ, IS_READ_ONLY as Ale, IS_NODE_MAP_DIRTY as gg, IS_WEBKIT as xp, getActiveElement as mle, getSelection as SC, IS_FOCUSED as e1, getDefaultView as gle, EDITOR_TO_WINDOW as Ele, EDITOR_TO_ELEMENT as bC, NODE_TO_ELEMENT as zp, ELEMENT_TO_NODE as hT, IS_FIREFOX as p4, containsShadowAware as h4, EDITOR_TO_USER_SELECTION as CC, IS_COMPOSING as TA, HAS_BEFORE_INPUT_SUPPORT as Jd, PLACEHOLDER_SYMBOL as AT, MARK_PLACEHOLDER_SYMBOL as nQ, EDITOR_TO_PENDING_INSERTION_MARKS as Lp, isPlainTextOnlyPaste as Ole, Hotkeys as So, IS_CHROME as yle, IS_FIREFOX_LEGACY as vle, IS_IOS as Tle, IS_WECHATBROWSER as xle, IS_UC_MOBILE as Sle, EDITOR_TO_USER_MARKS as Mp, isDOMNode as HI, TRIPLE_CLICK as ble, isDOMElement as Cle, CAN_USE_DOM as Ty, EDITOR_TO_SCHEDULE_FLUSH as _le, NODE_TO_INDEX as Y0, NODE_TO_PARENT as xy, isTrackedMutation as iQ, EDITOR_TO_PENDING_DIFFS as ef, applyStringDiff as wle, isDOMSelection as Rle, EDITOR_TO_PENDING_ACTION as jh, targetRange as Ile, verifyDiffState as Dle, splitDecorationsByChild as Ple, isElementDecorationsEqual as ZN, Key as Nle, EDITOR_TO_PLACEHOLDER_ELEMENT as WI, normalizeStringDiff as Lle, mergeStringDiffs as Mle, normalizeRange as A4, normalizePoint as Fle, EDITOR_TO_KEY_TO_ELEMENT as oQ, isTextDecorationsEqual as sQ } from "slate-dom";
@@ -2738,7 +2738,7 @@ const Sue = () => {
2738
2738
  display: "flex",
2739
2739
  flexDirection: "row",
2740
2740
  alignItems: "center"
2741
- }, eo = (e) => ({
2741
+ }, to = (e) => ({
2742
2742
  "&:hover": {
2743
2743
  backgroundColor: "transparent",
2744
2744
  "& svg": {
@@ -2994,7 +2994,7 @@ const DQ = () => {
2994
2994
  {
2995
2995
  "aria-label": "close",
2996
2996
  onClick: p || A,
2997
- sx: eo(t),
2997
+ sx: to(t),
2998
2998
  children: /* @__PURE__ */ d.jsx(
2999
2999
  Qe,
3000
3000
  {
@@ -3250,8 +3250,8 @@ function wue() {
3250
3250
  return Dn;
3251
3251
  if (!jo(me))
3252
3252
  return me;
3253
- var zi = ii(me);
3254
- if (zi) {
3253
+ var Xi = ii(me);
3254
+ if (Xi) {
3255
3255
  if (Dn = fn(me), !Ve)
3256
3256
  return gn(me, Dn);
3257
3257
  } else {
@@ -3273,7 +3273,7 @@ function wue() {
3273
3273
  var xo = En.get(me);
3274
3274
  if (xo)
3275
3275
  return xo;
3276
- if (En.set(me, Dn), !zi)
3276
+ if (En.set(me, Dn), !Xi)
3277
3277
  var fi = dt ? we(me) : ss(me);
3278
3278
  return H(fi || me, function(co, go) {
3279
3279
  fi && (go = co, co = me[go]), In(Dn, go, Hn(co, Ve, dt, $t, go, me, En));
@@ -17409,7 +17409,7 @@ const dD = async (e, t, r, n = "TB") => {
17409
17409
  onAutoLayout: o,
17410
17410
  bottomOffsetPx: s = 0
17411
17411
  }) => {
17412
- const a = wt(), l = Rr(), c = no(), { setNodes: u, getNodes: f, zoomIn: p, zoomOut: h, fitView: A } = c, { setViewport: g, getViewport: m, zoomTo: E } = c, [O, v] = ve(!1), [y, b] = ve(!1), x = f(), { activities: S, triggers: C } = Yt((j) => j.activities), { canvasWorkflow: R, autoSaving: _, viewOnly: I } = Yt((j) => j.canvas), [N, D] = ve(!1), P = !!(S?.data?.data && C?.data?.data && (S.data.data.length > 0 || C.data.data.length > 0));
17412
+ const a = wt(), l = Rr(), c = io(), { setNodes: u, getNodes: f, zoomIn: p, zoomOut: h, fitView: A } = c, { setViewport: g, getViewport: m, zoomTo: E } = c, [O, v] = ve(!1), [y, b] = ve(!1), x = f(), { activities: S, triggers: C } = Yt((j) => j.activities), { canvasWorkflow: R, autoSaving: _, viewOnly: I } = Yt((j) => j.canvas), [N, D] = ve(!1), P = !!(S?.data?.data && C?.data?.data && (S.data.data.length > 0 || C.data.data.length > 0));
17413
17413
  ke(() => {
17414
17414
  D(!!_);
17415
17415
  }, [_]);
@@ -19120,7 +19120,7 @@ const Bhe = ({ theme: e, choice: t, renderSteps: r }) => /* @__PURE__ */ d.jsxs(
19120
19120
  onClick: r,
19121
19121
  sx: {
19122
19122
  p: 0,
19123
- ...eo(A)
19123
+ ...to(A)
19124
19124
  },
19125
19125
  "data-testid": "button-close-dialog",
19126
19126
  children: /* @__PURE__ */ d.jsx(
@@ -19552,7 +19552,7 @@ tl.prototype.property = "";
19552
19552
  tl.prototype.spaceSeparated = !1;
19553
19553
  tl.prototype.space = void 0;
19554
19554
  let iAe = 0;
19555
- const kn = Ch(), Ko = Ch(), hD = Ch(), fr = Ch(), Yi = Ch(), BA = Ch(), cl = Ch();
19555
+ const kn = Ch(), Ko = Ch(), hD = Ch(), fr = Ch(), Ki = Ch(), BA = Ch(), cl = Ch();
19556
19556
  function Ch() {
19557
19557
  return 2 ** ++iAe;
19558
19558
  }
@@ -19564,7 +19564,7 @@ const AD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19564
19564
  commaSeparated: BA,
19565
19565
  number: fr,
19566
19566
  overloadedBoolean: hD,
19567
- spaceSeparated: Yi
19567
+ spaceSeparated: Ki
19568
19568
  }, Symbol.toStringTag, { value: "Module" })), k_ = (
19569
19569
  /** @type {ReadonlyArray<keyof typeof types>} */
19570
19570
  Object.keys(AD)
@@ -19619,36 +19619,36 @@ const Sz = Um({
19619
19619
  ariaColCount: fr,
19620
19620
  ariaColIndex: fr,
19621
19621
  ariaColSpan: fr,
19622
- ariaControls: Yi,
19622
+ ariaControls: Ki,
19623
19623
  ariaCurrent: null,
19624
- ariaDescribedBy: Yi,
19624
+ ariaDescribedBy: Ki,
19625
19625
  ariaDetails: null,
19626
19626
  ariaDisabled: Ko,
19627
- ariaDropEffect: Yi,
19627
+ ariaDropEffect: Ki,
19628
19628
  ariaErrorMessage: null,
19629
19629
  ariaExpanded: Ko,
19630
- ariaFlowTo: Yi,
19630
+ ariaFlowTo: Ki,
19631
19631
  ariaGrabbed: Ko,
19632
19632
  ariaHasPopup: null,
19633
19633
  ariaHidden: Ko,
19634
19634
  ariaInvalid: null,
19635
19635
  ariaKeyShortcuts: null,
19636
19636
  ariaLabel: null,
19637
- ariaLabelledBy: Yi,
19637
+ ariaLabelledBy: Ki,
19638
19638
  ariaLevel: fr,
19639
19639
  ariaLive: null,
19640
19640
  ariaModal: Ko,
19641
19641
  ariaMultiLine: Ko,
19642
19642
  ariaMultiSelectable: Ko,
19643
19643
  ariaOrientation: null,
19644
- ariaOwns: Yi,
19644
+ ariaOwns: Ki,
19645
19645
  ariaPlaceholder: null,
19646
19646
  ariaPosInSet: fr,
19647
19647
  ariaPressed: Ko,
19648
19648
  ariaReadOnly: Ko,
19649
19649
  ariaRelevant: null,
19650
19650
  ariaRequired: Ko,
19651
- ariaRoleDescription: Yi,
19651
+ ariaRoleDescription: Ki,
19652
19652
  ariaRowCount: fr,
19653
19653
  ariaRowIndex: fr,
19654
19654
  ariaRowSpan: fr,
@@ -19683,8 +19683,8 @@ const oAe = Um({
19683
19683
  // Standard Properties.
19684
19684
  abbr: null,
19685
19685
  accept: BA,
19686
- acceptCharset: Yi,
19687
- accessKey: Yi,
19686
+ acceptCharset: Ki,
19687
+ accessKey: Ki,
19688
19688
  action: null,
19689
19689
  allow: null,
19690
19690
  allowFullScreen: kn,
@@ -19694,21 +19694,21 @@ const oAe = Um({
19694
19694
  as: null,
19695
19695
  async: kn,
19696
19696
  autoCapitalize: null,
19697
- autoComplete: Yi,
19697
+ autoComplete: Ki,
19698
19698
  autoFocus: kn,
19699
19699
  autoPlay: kn,
19700
- blocking: Yi,
19700
+ blocking: Ki,
19701
19701
  capture: null,
19702
19702
  charSet: null,
19703
19703
  checked: kn,
19704
19704
  cite: null,
19705
- className: Yi,
19705
+ className: Ki,
19706
19706
  cols: fr,
19707
19707
  colSpan: null,
19708
19708
  content: null,
19709
19709
  contentEditable: Ko,
19710
19710
  controls: kn,
19711
- controlsList: Yi,
19711
+ controlsList: Ki,
19712
19712
  coords: fr | BA,
19713
19713
  crossOrigin: null,
19714
19714
  data: null,
@@ -19730,14 +19730,14 @@ const oAe = Um({
19730
19730
  formMethod: null,
19731
19731
  formNoValidate: kn,
19732
19732
  formTarget: null,
19733
- headers: Yi,
19733
+ headers: Ki,
19734
19734
  height: fr,
19735
19735
  hidden: hD,
19736
19736
  high: fr,
19737
19737
  href: null,
19738
19738
  hrefLang: null,
19739
- htmlFor: Yi,
19740
- httpEquiv: Yi,
19739
+ htmlFor: Ki,
19740
+ httpEquiv: Ki,
19741
19741
  id: null,
19742
19742
  imageSizes: null,
19743
19743
  imageSrcSet: null,
@@ -19747,10 +19747,10 @@ const oAe = Um({
19747
19747
  is: null,
19748
19748
  isMap: kn,
19749
19749
  itemId: null,
19750
- itemProp: Yi,
19751
- itemRef: Yi,
19750
+ itemProp: Ki,
19751
+ itemRef: Ki,
19752
19752
  itemScope: kn,
19753
- itemType: Yi,
19753
+ itemType: Ki,
19754
19754
  kind: null,
19755
19755
  label: null,
19756
19756
  lang: null,
@@ -19863,7 +19863,7 @@ const oAe = Um({
19863
19863
  open: kn,
19864
19864
  optimum: fr,
19865
19865
  pattern: null,
19866
- ping: Yi,
19866
+ ping: Ki,
19867
19867
  placeholder: null,
19868
19868
  playsInline: kn,
19869
19869
  popover: null,
@@ -19873,12 +19873,12 @@ const oAe = Um({
19873
19873
  preload: null,
19874
19874
  readOnly: kn,
19875
19875
  referrerPolicy: null,
19876
- rel: Yi,
19876
+ rel: Ki,
19877
19877
  required: kn,
19878
19878
  reversed: kn,
19879
19879
  rows: fr,
19880
19880
  rowSpan: fr,
19881
- sandbox: Yi,
19881
+ sandbox: Ki,
19882
19882
  scope: null,
19883
19883
  scoped: kn,
19884
19884
  seamless: kn,
@@ -19916,7 +19916,7 @@ const oAe = Um({
19916
19916
  // Several. Use CSS `text-align` instead,
19917
19917
  aLink: null,
19918
19918
  // `<body>`. Use CSS `a:active {color}` instead
19919
- archive: Yi,
19919
+ archive: Ki,
19920
19920
  // `<object>`. List of URIs to archives
19921
19921
  axis: null,
19922
19922
  // `<td>` and `<th>`. Use `scope` on `<th>`
@@ -20231,7 +20231,7 @@ const oAe = Um({
20231
20231
  by: null,
20232
20232
  calcMode: null,
20233
20233
  capHeight: fr,
20234
- className: Yi,
20234
+ className: Ki,
20235
20235
  clip: null,
20236
20236
  clipPath: null,
20237
20237
  clipPathUnits: null,
@@ -20466,7 +20466,7 @@ const oAe = Um({
20466
20466
  patternTransform: null,
20467
20467
  patternUnits: null,
20468
20468
  phase: null,
20469
- ping: Yi,
20469
+ ping: Ki,
20470
20470
  pitch: null,
20471
20471
  playbackOrder: null,
20472
20472
  pointerEvents: null,
@@ -21373,7 +21373,7 @@ function Vm(e) {
21373
21373
  }
21374
21374
  return t.join("") + e.slice(n);
21375
21375
  }
21376
- function to(e, t, r, n) {
21376
+ function ro(e, t, r, n) {
21377
21377
  const i = n ? n - 1 : Number.POSITIVE_INFINITY;
21378
21378
  let o = 0;
21379
21379
  return s;
@@ -21396,7 +21396,7 @@ function eme(e) {
21396
21396
  e.consume(a);
21397
21397
  return;
21398
21398
  }
21399
- return e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), to(e, t, "linePrefix");
21399
+ return e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), ro(e, t, "linePrefix");
21400
21400
  }
21401
21401
  function i(a) {
21402
21402
  return e.enter("paragraph"), o(a);
@@ -21534,7 +21534,7 @@ function rme(e) {
21534
21534
  }
21535
21535
  }
21536
21536
  function nme(e, t, r) {
21537
- return to(e, e.attempt(this.parser.constructs.document, t, r), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
21537
+ return ro(e, e.attempt(this.parser.constructs.document, t, r), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
21538
21538
  }
21539
21539
  function uF(e) {
21540
21540
  if (e === null || Va(e) || ZAe(e))
@@ -21674,7 +21674,7 @@ const OS = {
21674
21674
  function lme(e, t, r) {
21675
21675
  return n;
21676
21676
  function n(o) {
21677
- return Ei(o) ? to(e, i, "linePrefix")(o) : i(o);
21677
+ return Ei(o) ? ro(e, i, "linePrefix")(o) : i(o);
21678
21678
  }
21679
21679
  function i(o) {
21680
21680
  return o === null || Tn(o) ? t(o) : r(o);
@@ -21708,7 +21708,7 @@ function ume(e, t, r) {
21708
21708
  const n = this;
21709
21709
  return i;
21710
21710
  function i(s) {
21711
- return Ei(s) ? to(e, o, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(s) : o(s);
21711
+ return Ei(s) ? ro(e, o, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(s) : o(s);
21712
21712
  }
21713
21713
  function o(s) {
21714
21714
  return e.attempt(Bz, t, r)(s);
@@ -21778,7 +21778,7 @@ function hme(e, t, r) {
21778
21778
  return o = S && S[1].type === "linePrefix" ? S[2].sliceSerialize(S[1], !0).length : 0, a = x, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), u(x);
21779
21779
  }
21780
21780
  function u(x) {
21781
- return x === a ? (s++, e.consume(x), u) : s < 3 ? r(x) : (e.exit("codeFencedFenceSequence"), Ei(x) ? to(e, f, "whitespace")(x) : f(x));
21781
+ return x === a ? (s++, e.consume(x), u) : s < 3 ? r(x) : (e.exit("codeFencedFenceSequence"), Ei(x) ? ro(e, f, "whitespace")(x) : f(x));
21782
21782
  }
21783
21783
  function f(x) {
21784
21784
  return x === null || Tn(x) ? (e.exit("codeFencedFence"), n.interrupt ? t(x) : e.check(fF, g, y)(x)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
@@ -21786,7 +21786,7 @@ function hme(e, t, r) {
21786
21786
  }), p(x));
21787
21787
  }
21788
21788
  function p(x) {
21789
- return x === null || Tn(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), f(x)) : Ei(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), to(e, h, "whitespace")(x)) : x === 96 && x === a ? r(x) : (e.consume(x), p);
21789
+ return x === null || Tn(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), f(x)) : Ei(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), ro(e, h, "whitespace")(x)) : x === 96 && x === a ? r(x) : (e.consume(x), p);
21790
21790
  }
21791
21791
  function h(x) {
21792
21792
  return x === null || Tn(x) ? f(x) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
@@ -21803,7 +21803,7 @@ function hme(e, t, r) {
21803
21803
  return e.enter("lineEnding"), e.consume(x), e.exit("lineEnding"), E;
21804
21804
  }
21805
21805
  function E(x) {
21806
- return o > 0 && Ei(x) ? to(e, O, "linePrefix", o + 1)(x) : O(x);
21806
+ return o > 0 && Ei(x) ? ro(e, O, "linePrefix", o + 1)(x) : O(x);
21807
21807
  }
21808
21808
  function O(x) {
21809
21809
  return x === null || Tn(x) ? e.check(fF, g, y)(x) : (e.enter("codeFlowValue"), v(x));
@@ -21821,13 +21821,13 @@ function hme(e, t, r) {
21821
21821
  return x.enter("lineEnding"), x.consume(L), x.exit("lineEnding"), I;
21822
21822
  }
21823
21823
  function I(L) {
21824
- return x.enter("codeFencedFence"), Ei(L) ? to(x, N, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(L) : N(L);
21824
+ return x.enter("codeFencedFence"), Ei(L) ? ro(x, N, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(L) : N(L);
21825
21825
  }
21826
21826
  function N(L) {
21827
21827
  return L === a ? (x.enter("codeFencedFenceSequence"), D(L)) : C(L);
21828
21828
  }
21829
21829
  function D(L) {
21830
- return L === a ? (R++, x.consume(L), D) : R >= s ? (x.exit("codeFencedFenceSequence"), Ei(L) ? to(x, P, "whitespace")(L) : P(L)) : C(L);
21830
+ return L === a ? (R++, x.consume(L), D) : R >= s ? (x.exit("codeFencedFenceSequence"), Ei(L) ? ro(x, P, "whitespace")(L) : P(L)) : C(L);
21831
21831
  }
21832
21832
  function P(L) {
21833
21833
  return L === null || Tn(L) ? (x.exit("codeFencedFence"), S(L)) : C(L);
@@ -21855,7 +21855,7 @@ function gme(e, t, r) {
21855
21855
  const n = this;
21856
21856
  return i;
21857
21857
  function i(c) {
21858
- return e.enter("codeIndented"), to(e, o, "linePrefix", 5)(c);
21858
+ return e.enter("codeIndented"), ro(e, o, "linePrefix", 5)(c);
21859
21859
  }
21860
21860
  function o(c) {
21861
21861
  const u = n.events[n.events.length - 1];
@@ -21875,7 +21875,7 @@ function Eme(e, t, r) {
21875
21875
  const n = this;
21876
21876
  return i;
21877
21877
  function i(s) {
21878
- return n.parser.lazy[n.now().line] ? r(s) : Tn(s) ? (e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), i) : to(e, o, "linePrefix", 5)(s);
21878
+ return n.parser.lazy[n.now().line] ? r(s) : Tn(s) ? (e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), i) : ro(e, o, "linePrefix", 5)(s);
21879
21879
  }
21880
21880
  function o(s) {
21881
21881
  const a = n.events[n.events.length - 1];
@@ -22179,7 +22179,7 @@ function Rme(e, t, r) {
22179
22179
  const n = this;
22180
22180
  return i;
22181
22181
  function i(s) {
22182
- return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), to(e, o, "linePrefix");
22182
+ return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), ro(e, o, "linePrefix");
22183
22183
  }
22184
22184
  function o(s) {
22185
22185
  if (s === null || Tn(s))
@@ -22249,7 +22249,7 @@ function Wz(e, t, r, n, i, o) {
22249
22249
  return p === s ? (e.enter(i), e.consume(p), e.exit(i), e.exit(n), t) : (e.enter(o), c(p));
22250
22250
  }
22251
22251
  function c(p) {
22252
- return p === s ? (e.exit(o), l(s)) : p === null ? r(p) : Tn(p) ? (e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), to(e, c, "linePrefix")) : (e.enter("chunkString", {
22252
+ return p === s ? (e.exit(o), l(s)) : p === null ? r(p) : Tn(p) ? (e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), ro(e, c, "linePrefix")) : (e.enter("chunkString", {
22253
22253
  contentType: "string"
22254
22254
  }), u(p));
22255
22255
  }
@@ -22264,7 +22264,7 @@ function vg(e, t) {
22264
22264
  let r;
22265
22265
  return n;
22266
22266
  function n(i) {
22267
- return Tn(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), r = !0, n) : Ei(i) ? to(e, n, r ? "linePrefix" : "lineSuffix")(i) : t(i);
22267
+ return Tn(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), r = !0, n) : Ei(i) ? ro(e, n, r ? "linePrefix" : "lineSuffix")(i) : t(i);
22268
22268
  }
22269
22269
  }
22270
22270
  const Ime = {
@@ -22316,7 +22316,7 @@ function Pme(e, t, r) {
22316
22316
  return e.attempt(Dme, f, f)(h);
22317
22317
  }
22318
22318
  function f(h) {
22319
- return Ei(h) ? to(e, p, "whitespace")(h) : p(h);
22319
+ return Ei(h) ? ro(e, p, "whitespace")(h) : p(h);
22320
22320
  }
22321
22321
  function p(h) {
22322
22322
  return h === null || Tn(h) ? (e.exit("definition"), n.parser.defined.push(i), t(h)) : r(h);
@@ -22331,7 +22331,7 @@ function Nme(e, t, r) {
22331
22331
  return Wz(e, o, r, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(a);
22332
22332
  }
22333
22333
  function o(a) {
22334
- return Ei(a) ? to(e, s, "whitespace")(a) : s(a);
22334
+ return Ei(a) ? ro(e, s, "whitespace")(a) : s(a);
22335
22335
  }
22336
22336
  function s(a) {
22337
22337
  return a === null || Tn(a) ? t(a) : r(a);
@@ -22381,7 +22381,7 @@ function Bme(e, t, r) {
22381
22381
  return u === 35 && n++ < 6 ? (e.consume(u), s) : u === null || Va(u) ? (e.exit("atxHeadingSequence"), a(u)) : r(u);
22382
22382
  }
22383
22383
  function a(u) {
22384
- return u === 35 ? (e.enter("atxHeadingSequence"), l(u)) : u === null || Tn(u) ? (e.exit("atxHeading"), t(u)) : Ei(u) ? to(e, a, "whitespace")(u) : (e.enter("atxHeadingText"), c(u));
22384
+ return u === 35 ? (e.enter("atxHeadingSequence"), l(u)) : u === null || Tn(u) ? (e.exit("atxHeading"), t(u)) : Ei(u) ? ro(e, a, "whitespace")(u) : (e.enter("atxHeadingText"), c(u));
22385
22385
  }
22386
22386
  function l(u) {
22387
22387
  return u === 35 ? (e.consume(u), l) : (e.exit("atxHeadingSequence"), a(u));
@@ -22682,7 +22682,7 @@ function Xme(e, t, r) {
22682
22682
  return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(M), e.exit("lineEnding"), k;
22683
22683
  }
22684
22684
  function k(M) {
22685
- return Ei(M) ? to(e, X, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(M) : X(M);
22685
+ return Ei(M) ? ro(e, X, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(M) : X(M);
22686
22686
  }
22687
22687
  function X(M) {
22688
22688
  return e.enter("htmlTextData"), s(M);
@@ -22869,7 +22869,7 @@ const U_ = {
22869
22869
  function l0e(e, t) {
22870
22870
  return r;
22871
22871
  function r(n) {
22872
- return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), to(e, t, "linePrefix");
22872
+ return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), ro(e, t, "linePrefix");
22873
22873
  }
22874
22874
  }
22875
22875
  const gv = {
@@ -22889,7 +22889,7 @@ function c0e(e, t, r) {
22889
22889
  return c === i ? (e.enter("thematicBreakSequence"), l(c)) : n >= 3 && (c === null || Tn(c)) ? (e.exit("thematicBreak"), t(c)) : r(c);
22890
22890
  }
22891
22891
  function l(c) {
22892
- return c === i ? (e.consume(c), n++, l) : (e.exit("thematicBreakSequence"), Ei(c) ? to(e, a, "whitespace")(c) : a(c));
22892
+ return c === i ? (e.consume(c), n++, l) : (e.exit("thematicBreakSequence"), Ei(c) ? ro(e, a, "whitespace")(c) : a(c));
22893
22893
  }
22894
22894
  }
22895
22895
  const Ca = {
@@ -22947,18 +22947,18 @@ function p0e(e, t, r) {
22947
22947
  const n = this;
22948
22948
  return n.containerState._closeFlow = void 0, e.check(OS, i, o);
22949
22949
  function i(a) {
22950
- return n.containerState.furtherBlankLines = n.containerState.furtherBlankLines || n.containerState.initialBlankLine, to(e, t, "listItemIndent", n.containerState.size + 1)(a);
22950
+ return n.containerState.furtherBlankLines = n.containerState.furtherBlankLines || n.containerState.initialBlankLine, ro(e, t, "listItemIndent", n.containerState.size + 1)(a);
22951
22951
  }
22952
22952
  function o(a) {
22953
22953
  return n.containerState.furtherBlankLines || !Ei(a) ? (n.containerState.furtherBlankLines = void 0, n.containerState.initialBlankLine = void 0, s(a)) : (n.containerState.furtherBlankLines = void 0, n.containerState.initialBlankLine = void 0, e.attempt(d0e, t, s)(a));
22954
22954
  }
22955
22955
  function s(a) {
22956
- return n.containerState._closeFlow = !0, n.interrupt = void 0, to(e, e.attempt(Ca, t, r), "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(a);
22956
+ return n.containerState._closeFlow = !0, n.interrupt = void 0, ro(e, e.attempt(Ca, t, r), "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(a);
22957
22957
  }
22958
22958
  }
22959
22959
  function h0e(e, t, r) {
22960
22960
  const n = this;
22961
- return to(e, i, "listItemIndent", n.containerState.size + 1);
22961
+ return ro(e, i, "listItemIndent", n.containerState.size + 1);
22962
22962
  function i(o) {
22963
22963
  const s = n.events[n.events.length - 1];
22964
22964
  return s && s[1].type === "listItemIndent" && s[2].sliceSerialize(s[1], !0).length === n.containerState.size ? t(o) : r(o);
@@ -22969,7 +22969,7 @@ function A0e(e) {
22969
22969
  }
22970
22970
  function m0e(e, t, r) {
22971
22971
  const n = this;
22972
- return to(e, i, "listItemPrefixWhitespace", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
22972
+ return ro(e, i, "listItemPrefixWhitespace", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
22973
22973
  function i(o) {
22974
22974
  const s = n.events[n.events.length - 1];
22975
22975
  return !Ei(o) && s && s[1].type === "listItemPrefixWhitespace" ? t(o) : r(o);
@@ -23021,7 +23021,7 @@ function E0e(e, t, r) {
23021
23021
  return e.enter("setextHeadingLineSequence"), a(c);
23022
23022
  }
23023
23023
  function a(c) {
23024
- return c === i ? (e.consume(c), a) : (e.exit("setextHeadingLineSequence"), Ei(c) ? to(e, l, "lineSuffix")(c) : l(c));
23024
+ return c === i ? (e.consume(c), a) : (e.exit("setextHeadingLineSequence"), Ei(c) ? ro(e, l, "lineSuffix")(c) : l(c));
23025
23025
  }
23026
23026
  function l(c) {
23027
23027
  return c === null || Tn(c) ? (e.exit("setextHeadingLine"), t(c)) : r(c);
@@ -23036,7 +23036,7 @@ function y0e(e) {
23036
23036
  OS,
23037
23037
  n,
23038
23038
  // Try to parse initial flow (essentially, only code).
23039
- e.attempt(this.parser.constructs.flowInitial, i, to(e, e.attempt(this.parser.constructs.flow, i, e.attempt(bme, i)), "linePrefix"))
23039
+ e.attempt(this.parser.constructs.flowInitial, i, ro(e, e.attempt(this.parser.constructs.flow, i, e.attempt(bme, i)), "linePrefix"))
23040
23040
  );
23041
23041
  return r;
23042
23042
  function n(o) {
@@ -26224,7 +26224,7 @@ function gEe(e) {
26224
26224
  dEe.test(e.slice(0, t)) ? e : ""
26225
26225
  );
26226
26226
  }
26227
- const iX = ko(void 0), io = () => {
26227
+ const iX = ko(void 0), zi = () => {
26228
26228
  const e = wo(iX);
26229
26229
  if (e === void 0)
26230
26230
  throw new Error("useWorkflow must be used within a WorkflowUrlsProvider");
@@ -26235,17 +26235,27 @@ const iX = ko(void 0), io = () => {
26235
26235
  children: r,
26236
26236
  analytics: n,
26237
26237
  userData: i,
26238
- openAddonModal: o,
26239
- currentSubscription: s,
26240
- allowedAccount: a
26238
+ openUpgradeModal: o,
26239
+ openAddonModal: s,
26240
+ currentSubscription: a,
26241
+ allowedAccount: l
26241
26242
  }) => /* @__PURE__ */ d.jsx(
26242
26243
  iX.Provider,
26243
26244
  {
26244
- value: { WORKFLOW_URLS: e, ENTITY_ID: t, analytics: n, userData: i, openAddonModal: o, currentSubscription: s, allowedAccount: a },
26245
+ value: {
26246
+ WORKFLOW_URLS: e,
26247
+ ENTITY_ID: t,
26248
+ analytics: n,
26249
+ userData: i,
26250
+ openUpgradeModal: o,
26251
+ openAddonModal: s,
26252
+ currentSubscription: a,
26253
+ allowedAccount: l
26254
+ },
26245
26255
  children: r
26246
26256
  }
26247
26257
  ), EEe = ({ selectedNode: e, setOpenDocs: t, openDocs: r }) => {
26248
- const n = wt(), { WORKFLOW_URLS: i } = io(), { GYRATE_MAIN_URL: o } = i, { activities: s, triggers: a } = Yt((A) => A.activities), l = _i(
26258
+ const n = wt(), { WORKFLOW_URLS: i } = zi(), { GYRATE_MAIN_URL: o } = i, { activities: s, triggers: a } = Yt((A) => A.activities), l = _i(
26249
26259
  s?.data?.data,
26250
26260
  a?.data?.data,
26251
26261
  e?.data,
@@ -26319,7 +26329,7 @@ const iX = ko(void 0), io = () => {
26319
26329
  children: "Open full doc"
26320
26330
  }
26321
26331
  ),
26322
- /* @__PURE__ */ d.jsx(tr, { onClick: () => t(!r), sx: eo(n), children: /* @__PURE__ */ d.jsx(Qe, { width: 24, height: 24, src: "ic_close" }) })
26332
+ /* @__PURE__ */ d.jsx(tr, { onClick: () => t(!r), sx: to(n), children: /* @__PURE__ */ d.jsx(Qe, { width: 24, height: 24, src: "ic_close" }) })
26323
26333
  ] })
26324
26334
  ]
26325
26335
  }
@@ -26347,7 +26357,7 @@ var rs = (e) => !Da(e) && !Array.isArray(e) && oX(e) && !Bp(e), sX = (e) => rs(e
26347
26357
  const t = e.constructor && e.constructor.prototype;
26348
26358
  return rs(t) && t.hasOwnProperty("isPrototypeOf");
26349
26359
  }, LL = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
26350
- function qi(e) {
26360
+ function Yi(e) {
26351
26361
  if (e instanceof Date)
26352
26362
  return new Date(e);
26353
26363
  const t = typeof FileList < "u" && e instanceof FileList;
@@ -26358,7 +26368,7 @@ function qi(e) {
26358
26368
  return e;
26359
26369
  const n = r ? [] : Object.create(Object.getPrototypeOf(e));
26360
26370
  for (const i in e)
26361
- Object.prototype.hasOwnProperty.call(e, i) && (n[i] = qi(e[i]));
26371
+ Object.prototype.hasOwnProperty.call(e, i) && (n[i] = Yi(e[i]));
26362
26372
  return n;
26363
26373
  }
26364
26374
  var TS = (e) => /^\w*$/.test(e), ji = (e) => e === void 0, xS = (e) => Array.isArray(e) ? e.filter(Boolean) : [], ML = (e) => xS(e.replace(/["|']|\]/g, "").split(/\.|\[/)), Tr = (e, t, r) => {
@@ -26578,7 +26588,7 @@ function TEe(e) {
26578
26588
  R && R._f && (R._f.mount = C);
26579
26589
  };
26580
26590
  if (x(r, !0), y) {
26581
- const S = qi(Tr(i._options.defaultValues, r, p.current.defaultValue));
26591
+ const S = Yi(Tr(i._options.defaultValues, r, p.current.defaultValue));
26582
26592
  ki(i._defaultValues, r, S), ji(Tr(i._formValues, r)) && ki(i._formValues, r, S);
26583
26593
  }
26584
26594
  return !l && i.register(r), h.current = r, () => {
@@ -26948,7 +26958,7 @@ function FEe(e = {}) {
26948
26958
  validatingFields: {},
26949
26959
  errors: t.errors || {},
26950
26960
  disabled: t.disabled || !1
26951
- }, n = {}, i = rs(t.defaultValues) || rs(t.values) ? qi(t.defaultValues || t.values) || {} : {}, o = t.shouldUnregister ? {} : qi(i), s = {
26961
+ }, n = {}, i = rs(t.defaultValues) || rs(t.values) ? Yi(t.defaultValues || t.values) || {} : {}, o = t.shouldUnregister ? {} : Yi(i), s = {
26952
26962
  action: !1,
26953
26963
  mount: !1,
26954
26964
  watch: !1,
@@ -27109,7 +27119,7 @@ function FEe(e = {}) {
27109
27119
  (!Se.defaultChecked || !Se.disabled) && (Array.isArray(Ae) ? Se.checked = !!Ae.find((ge) => ge === Se.value) : Se.checked = Ae === Se.value || !!Ae);
27110
27120
  }) : fe.refs.forEach((Se) => Se.checked = Se.value === Ae) : BL(fe.ref) ? fe.ref.value = "" : (fe.ref.value = Ae, fe.ref.type || h.state.next({
27111
27121
  name: q,
27112
- values: qi(o)
27122
+ values: Yi(o)
27113
27123
  })));
27114
27124
  }
27115
27125
  (ae.shouldDirty || ae.shouldTouch) && x(q, Ae, ae.shouldTouch, ae.shouldDirty, !0), ae.shouldValidate && M(q);
@@ -27121,10 +27131,10 @@ function FEe(e = {}) {
27121
27131
  (a.array.has(q) || rs(Ae) || Se && !Se._f) && !Bp(Ae) ? F(fe, Ae, ae) : L(fe, Ae, ae);
27122
27132
  }
27123
27133
  }, U = (q, ee, ae = {}) => {
27124
- const he = Tr(n, q), Ae = a.array.has(q), fe = qi(ee);
27134
+ const he = Tr(n, q), Ae = a.array.has(q), fe = Yi(ee);
27125
27135
  ki(o, q, fe), Ae ? (h.array.next({
27126
27136
  name: q,
27127
- values: qi(o)
27137
+ values: Yi(o)
27128
27138
  }), (f.isDirty || f.dirtyFields || p.isDirty || p.dirtyFields) && ae.shouldDirty && h.state.next({
27129
27139
  name: q,
27130
27140
  dirtyFields: hA(i, o),
@@ -27132,10 +27142,10 @@ function FEe(e = {}) {
27132
27142
  })) : he && !he._f && !Da(fe) ? F(q, fe, ae) : L(q, fe, ae), CD(q, a) ? h.state.next({
27133
27143
  ...r,
27134
27144
  name: q,
27135
- values: qi(o)
27145
+ values: Yi(o)
27136
27146
  }) : h.state.next({
27137
27147
  name: s.mount ? q : void 0,
27138
- values: qi(o)
27148
+ values: Yi(o)
27139
27149
  });
27140
27150
  }, k = async (q) => {
27141
27151
  s.mount = !0;
@@ -27152,7 +27162,7 @@ function FEe(e = {}) {
27152
27162
  if (!Ge && h.state.next({
27153
27163
  name: ae,
27154
27164
  type: q.type,
27155
- values: qi(o)
27165
+ values: Yi(o)
27156
27166
  }), it)
27157
27167
  return (f.isValid || p.isValid) && (t.mode === "onBlur" ? Ge && m() : Ge || m()), De && h.state.next({ name: ae, ...at ? {} : st });
27158
27168
  if (!Ge && at && h.state.next({ ...r }), t.resolver) {
@@ -27239,7 +27249,7 @@ function FEe(e = {}) {
27239
27249
  for (const ae of q ? Fa(q) : a.mount)
27240
27250
  a.mount.delete(ae), a.array.delete(ae), ee.keepValue || (Uo(n, ae), Uo(o, ae)), !ee.keepError && Uo(r.errors, ae), !ee.keepDirty && Uo(r.dirtyFields, ae), !ee.keepTouched && Uo(r.touchedFields, ae), !ee.keepIsValidating && Uo(r.validatingFields, ae), !t.shouldUnregister && !ee.keepDefaultValue && Uo(i, ae);
27241
27251
  h.state.next({
27242
- values: qi(o)
27252
+ values: Yi(o)
27243
27253
  }), h.state.next({
27244
27254
  ...r,
27245
27255
  ...ee.keepDirty ? { isDirty: N() } : {}
@@ -27309,12 +27319,12 @@ function FEe(e = {}) {
27309
27319
  }, se = (q, ee) => async (ae) => {
27310
27320
  let he;
27311
27321
  ae && (ae.preventDefault && ae.preventDefault(), ae.persist && ae.persist());
27312
- let Ae = qi(o);
27322
+ let Ae = Yi(o);
27313
27323
  if (h.state.next({
27314
27324
  isSubmitting: !0
27315
27325
  }), t.resolver) {
27316
27326
  const { errors: fe, values: Se } = await C();
27317
- E(), r.errors = fe, Ae = qi(Se);
27327
+ E(), r.errors = fe, Ae = Yi(Se);
27318
27328
  } else
27319
27329
  await _(n);
27320
27330
  if (a.disabled.size)
@@ -27340,9 +27350,9 @@ function FEe(e = {}) {
27340
27350
  }), he)
27341
27351
  throw he;
27342
27352
  }, te = (q, ee = {}) => {
27343
- Tr(n, q) && (ji(ee.defaultValue) ? U(q, qi(Tr(i, q))) : (U(q, ee.defaultValue), ki(i, q, qi(ee.defaultValue))), ee.keepTouched || Uo(r.touchedFields, q), ee.keepDirty || (Uo(r.dirtyFields, q), r.isDirty = ee.defaultValue ? N(q, qi(Tr(i, q))) : N()), ee.keepError || (Uo(r.errors, q), f.isValid && m()), h.state.next({ ...r }));
27353
+ Tr(n, q) && (ji(ee.defaultValue) ? U(q, Yi(Tr(i, q))) : (U(q, ee.defaultValue), ki(i, q, Yi(ee.defaultValue))), ee.keepTouched || Uo(r.touchedFields, q), ee.keepDirty || (Uo(r.dirtyFields, q), r.isDirty = ee.defaultValue ? N(q, Yi(Tr(i, q))) : N()), ee.keepError || (Uo(r.errors, q), f.isValid && m()), h.state.next({ ...r }));
27344
27354
  }, le = (q, ee = {}) => {
27345
- const ae = q ? qi(q) : i, he = qi(ae), Ae = zs(q), fe = Ae ? i : he;
27355
+ const ae = q ? Yi(q) : i, he = Yi(ae), Ae = zs(q), fe = Ae ? i : he;
27346
27356
  if (ee.keepDefaultValues || (i = ae), !ee.keepValues) {
27347
27357
  if (ee.keepDirtyValues) {
27348
27358
  const Se = /* @__PURE__ */ new Set([
@@ -27374,7 +27384,7 @@ function FEe(e = {}) {
27374
27384
  else
27375
27385
  n = {};
27376
27386
  }
27377
- o = t.shouldUnregister ? ee.keepDefaultValues ? qi(i) : {} : qi(fe), h.array.next({
27387
+ o = t.shouldUnregister ? ee.keepDefaultValues ? Yi(i) : {} : Yi(fe), h.array.next({
27378
27388
  values: { ...fe }
27379
27389
  }), h.state.next({
27380
27390
  values: { ...fe }
@@ -27541,12 +27551,12 @@ function BEe(e) {
27541
27551
  const f = re.useCallback((y) => {
27542
27552
  u.current = !0, r._setFieldArray(n, y);
27543
27553
  }, [r, n]), p = (y, b) => {
27544
- const x = Fa(qi(y)), S = Z_(r._getFieldArray(n), x);
27554
+ const x = Fa(Yi(y)), S = Z_(r._getFieldArray(n), x);
27545
27555
  r._names.focus = K_(n, S.length - 1, b), c.current = Z_(c.current, x.map(rf)), f(S), l(S), r._setFieldArray(n, S, Z_, {
27546
27556
  argA: J_(y)
27547
27557
  });
27548
27558
  }, h = (y, b) => {
27549
- const x = Fa(qi(y)), S = rw(r._getFieldArray(n), x);
27559
+ const x = Fa(Yi(y)), S = rw(r._getFieldArray(n), x);
27550
27560
  r._names.focus = K_(n, 0, b), c.current = rw(c.current, x.map(rf)), f(S), l(S), r._setFieldArray(n, S, rw, {
27551
27561
  argA: J_(y)
27552
27562
  });
@@ -27556,7 +27566,7 @@ function BEe(e) {
27556
27566
  argA: y
27557
27567
  });
27558
27568
  }, g = (y, b, x) => {
27559
- const S = Fa(qi(b)), C = ew(r._getFieldArray(n), y, S);
27569
+ const S = Fa(Yi(b)), C = ew(r._getFieldArray(n), y, S);
27560
27570
  r._names.focus = K_(n, y, x), c.current = ew(c.current, y, S.map(rf)), f(C), l(C), r._setFieldArray(n, C, ew, {
27561
27571
  argA: y,
27562
27572
  argB: J_(b)
@@ -27574,13 +27584,13 @@ function BEe(e) {
27574
27584
  argB: b
27575
27585
  }, !1);
27576
27586
  }, O = (y, b) => {
27577
- const x = qi(b), S = VF(r._getFieldArray(n), y, x);
27587
+ const x = Yi(b), S = VF(r._getFieldArray(n), y, x);
27578
27588
  c.current = [...S].map((C, R) => !C || R === y ? rf() : c.current[R]), f(S), l([...S]), r._setFieldArray(n, S, VF, {
27579
27589
  argA: y,
27580
27590
  argB: x
27581
27591
  }, !0, !1);
27582
27592
  }, v = (y) => {
27583
- const b = Fa(qi(y));
27593
+ const b = Fa(Yi(y));
27584
27594
  c.current = b.map(rf), f([...b]), l([...b]), r._setFieldArray(n, [...b], (x) => x, {}, !0, !1);
27585
27595
  };
27586
27596
  return re.useEffect(() => {
@@ -27603,7 +27613,7 @@ function BEe(e) {
27603
27613
  }
27604
27614
  r._subjects.state.next({
27605
27615
  name: n,
27606
- values: qi(r._formValues)
27616
+ values: Yi(r._formValues)
27607
27617
  }), r._names.focus && $A(r._fields, (y, b) => {
27608
27618
  if (r._names.focus && b.startsWith(r._names.focus) && y.focus)
27609
27619
  return y.focus(), 1;
@@ -27711,7 +27721,7 @@ const jEe = Nr(
27711
27721
  },
27712
27722
  activityExecutionList: u = null
27713
27723
  }, f) => {
27714
- const p = Yt((S) => S.canvas.showDebugLogs), { getNodes: h } = no(), A = h(), { data: g } = A.find((S) => S.id === s?.id) || {}, { blt_node_states: { test: m = "", node: E } = {} } = g || {}, O = () => a === 0 ? {
27724
+ const p = Yt((S) => S.canvas.showDebugLogs), { getNodes: h } = io(), A = h(), { data: g } = A.find((S) => S.id === s?.id) || {}, { blt_node_states: { test: m = "", node: E } = {} } = g || {}, O = () => a === 0 ? {
27715
27725
  secondaryButtonText: "Cancel",
27716
27726
  primaryButtonText: ah.includes(t) ? "Save" : "Next"
27717
27727
  } : a === 1 && (m === "default" || m === "") ? {
@@ -30058,7 +30068,7 @@ var UOe = {
30058
30068
  affinity: n
30059
30069
  } = e;
30060
30070
  if (r != null) {
30061
- var i = Ki.transform(r, t, {
30071
+ var i = Zi.transform(r, t, {
30062
30072
  affinity: n
30063
30073
  });
30064
30074
  e.current = i, i == null && e.unref();
@@ -30337,7 +30347,7 @@ var or = {
30337
30347
  return t;
30338
30348
  },
30339
30349
  equals(e, t) {
30340
- return Ki.equals(e.anchor, t.anchor) && Ki.equals(e.focus, t.focus);
30350
+ return Zi.equals(e.anchor, t.anchor) && Zi.equals(e.focus, t.focus);
30341
30351
  },
30342
30352
  surrounds(e, t) {
30343
30353
  var r = or.intersection(e, t);
@@ -30348,14 +30358,14 @@ var or = {
30348
30358
  if (or.includes(e, t.anchor) || or.includes(e, t.focus))
30349
30359
  return !0;
30350
30360
  var [r, n] = or.edges(e), [i, o] = or.edges(t);
30351
- return Ki.isBefore(r, i) && Ki.isAfter(n, o);
30361
+ return Zi.isBefore(r, i) && Zi.isAfter(n, o);
30352
30362
  }
30353
30363
  var [s, a] = or.edges(e), l = !1, c = !1;
30354
- return Pn.isPoint(t) ? (l = Ki.compare(t, s) >= 0, c = Ki.compare(t, a) <= 0) : (l = gt.compare(t, s.path) >= 0, c = gt.compare(t, a.path) <= 0), l && c;
30364
+ return Pn.isPoint(t) ? (l = Zi.compare(t, s) >= 0, c = Zi.compare(t, a) <= 0) : (l = gt.compare(t, s.path) >= 0, c = gt.compare(t, a.path) <= 0), l && c;
30355
30365
  },
30356
30366
  intersection(e, t) {
30357
- var r = Cd(e, zOe), [n, i] = or.edges(e), [o, s] = or.edges(t), a = Ki.isBefore(n, o) ? o : n, l = Ki.isBefore(i, s) ? i : s;
30358
- return Ki.isBefore(l, a) ? null : XOe({
30367
+ var r = Cd(e, zOe), [n, i] = or.edges(e), [o, s] = or.edges(t), a = Zi.isBefore(n, o) ? o : n, l = Zi.isBefore(i, s) ? i : s;
30368
+ return Zi.isBefore(l, a) ? null : XOe({
30359
30369
  anchor: a,
30360
30370
  focus: l
30361
30371
  }, r);
@@ -30365,14 +30375,14 @@ var or = {
30365
30375
  anchor: t,
30366
30376
  focus: r
30367
30377
  } = e;
30368
- return Ki.isAfter(t, r);
30378
+ return Zi.isAfter(t, r);
30369
30379
  },
30370
30380
  isCollapsed(e) {
30371
30381
  var {
30372
30382
  anchor: t,
30373
30383
  focus: r
30374
30384
  } = e;
30375
- return Ki.equals(t, r);
30385
+ return Zi.equals(t, r);
30376
30386
  },
30377
30387
  isExpanded(e) {
30378
30388
  return !or.isCollapsed(e);
@@ -30381,7 +30391,7 @@ var or = {
30381
30391
  return !or.isBackward(e);
30382
30392
  },
30383
30393
  isRange(e) {
30384
- return Ds(e) && Ki.isPoint(e.anchor) && Ki.isPoint(e.focus);
30394
+ return Ds(e) && Zi.isPoint(e.anchor) && Zi.isPoint(e.focus);
30385
30395
  },
30386
30396
  *points(e) {
30387
30397
  yield [e.anchor, "anchor"], yield [e.focus, "focus"];
@@ -30401,9 +30411,9 @@ var or = {
30401
30411
  var s = or.isCollapsed(e);
30402
30412
  or.isForward(e) ? (i = "forward", o = s ? i : "backward") : (i = "backward", o = s ? i : "forward");
30403
30413
  } else n === "outward" ? or.isForward(e) ? (i = "backward", o = "forward") : (i = "forward", o = "backward") : (i = n, o = n);
30404
- var a = Ki.transform(e.anchor, t, {
30414
+ var a = Zi.transform(e.anchor, t, {
30405
30415
  affinity: i
30406
- }), l = Ki.transform(e.focus, t, {
30416
+ }), l = Zi.transform(e.focus, t, {
30407
30417
  affinity: o
30408
30418
  });
30409
30419
  return !a || !l ? null : {
@@ -31144,7 +31154,7 @@ var g1e = /(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u
31144
31154
  shouldMergeNodesRemovePrevNode: (e, t, r) => e.shouldMergeNodesRemovePrevNode(t, r)
31145
31155
  }, Pn = {
31146
31156
  isLocation(e) {
31147
- return gt.isPath(e) || Ki.isPoint(e) || or.isRange(e);
31157
+ return gt.isPath(e) || Zi.isPoint(e) || or.isRange(e);
31148
31158
  },
31149
31159
  isPath(e) {
31150
31160
  return Array.isArray(e);
@@ -31180,16 +31190,16 @@ function yk(e) {
31180
31190
  }
31181
31191
  return e;
31182
31192
  }
31183
- var Ki = {
31193
+ var Zi = {
31184
31194
  compare(e, t) {
31185
31195
  var r = gt.compare(e.path, t.path);
31186
31196
  return r === 0 ? e.offset < t.offset ? -1 : e.offset > t.offset ? 1 : 0 : r;
31187
31197
  },
31188
31198
  isAfter(e, t) {
31189
- return Ki.compare(e, t) === 1;
31199
+ return Zi.compare(e, t) === 1;
31190
31200
  },
31191
31201
  isBefore(e, t) {
31192
- return Ki.compare(e, t) === -1;
31202
+ return Zi.compare(e, t) === -1;
31193
31203
  },
31194
31204
  equals(e, t) {
31195
31205
  return e.offset === t.offset && gt.equals(e.path, t.path);
@@ -31519,7 +31529,7 @@ var x1e = {
31519
31529
  if (Sp(e, gt.parent(O), (Q) => PD(Q, v, 1)), e.selection) {
31520
31530
  var y = $o({}, e.selection);
31521
31531
  for (var [b, x] of or.points(y)) {
31522
- var S = Ki.transform(b, t);
31532
+ var S = Zi.transform(b, t);
31523
31533
  if (y != null && S != null)
31524
31534
  y[x] = S;
31525
31535
  else {
@@ -31642,7 +31652,7 @@ var x1e = {
31642
31652
  if (r && e.selection) {
31643
31653
  var G = $o({}, e.selection);
31644
31654
  for (var [W, H] of or.points(G))
31645
- G[H] = Ki.transform(W, t);
31655
+ G[H] = Zi.transform(W, t);
31646
31656
  or.equals(G, e.selection) || (e.selection = G);
31647
31657
  }
31648
31658
  }
@@ -32258,7 +32268,7 @@ var tye = function(t, r) {
32258
32268
  return r.length === 0 || r.length === 1 && Ot.isText(n) && n.text === "" && !e.isVoid(t);
32259
32269
  }, oye = (e, t, r) => {
32260
32270
  var n = je.end(e, r);
32261
- return Ki.equals(t, n);
32271
+ return Zi.equals(t, n);
32262
32272
  }, sye = (e) => {
32263
32273
  var t = PX.get(e);
32264
32274
  return t === void 0 ? !0 : t;
@@ -32266,7 +32276,7 @@ var tye = function(t, r) {
32266
32276
  if (t.offset !== 0)
32267
32277
  return !1;
32268
32278
  var n = je.start(e, r);
32269
- return Ki.equals(t, n);
32279
+ return Zi.equals(t, n);
32270
32280
  }, lye = (e, t) => {
32271
32281
  var r = je.path(e, t, {
32272
32282
  edge: "end"
@@ -32846,7 +32856,7 @@ var Dye = (e, t) => {
32846
32856
  if (!or.isCollapsed(c)) {
32847
32857
  if (!u) {
32848
32858
  var [, m] = or.edges(c), E = je.end(t, []);
32849
- Ki.equals(m, E) || (c = je.unhangRange(t, c, {
32859
+ Zi.equals(m, E) || (c = je.unhangRange(t, c, {
32850
32860
  voids: l
32851
32861
  }));
32852
32862
  }
@@ -33157,7 +33167,7 @@ var Wye = function(t, r) {
33157
33167
  } = e, n = {}, i = {};
33158
33168
  if (r) {
33159
33169
  for (var o in t)
33160
- (o === "anchor" && t.anchor != null && !Ki.equals(t.anchor, r.anchor) || o === "focus" && t.focus != null && !Ki.equals(t.focus, r.focus) || o !== "anchor" && o !== "focus" && t[o] !== r[o]) && (n[o] = r[o], i[o] = t[o]);
33170
+ (o === "anchor" && t.anchor != null && !Zi.equals(t.anchor, r.anchor) || o === "focus" && t.focus != null && !Zi.equals(t.focus, r.focus) || o !== "anchor" && o !== "focus" && t[o] !== r[o]) && (n[o] = r[o], i[o] = t[o]);
33161
33171
  Object.keys(n).length > 0 && e.apply({
33162
33172
  type: "set_selection",
33163
33173
  properties: n,
@@ -37633,7 +37643,7 @@ const aq = Nr(
37633
37643
  sx: {
37634
37644
  cursor: "grab",
37635
37645
  "&:active": { cursor: "grabbing" },
37636
- ...eo(y)
37646
+ ...to(y)
37637
37647
  },
37638
37648
  onMouseDown: S,
37639
37649
  "data-testid": "suggestions-popup-drag-btn",
@@ -37650,7 +37660,7 @@ const aq = Nr(
37650
37660
  P.preventDefault(), P.stopPropagation(), O(!0);
37651
37661
  },
37652
37662
  sx: {
37653
- ...eo(y)
37663
+ ...to(y)
37654
37664
  },
37655
37665
  size: "small",
37656
37666
  "data-testid": "suggestions-popup-close-btn",
@@ -39481,9 +39491,9 @@ const aq = Nr(
39481
39491
  showSuggestion: v = !1,
39482
39492
  ...y
39483
39493
  }, b) => {
39484
- const x = wt(), { getNodes: S, setNodes: C, getEdges: R } = no(), _ = S(), { loopSuggestionsData: I = {} } = Yt((Ae) => Ae.loopActivity), [N, D] = ve(!1), { canvasWorkflow: P, activityExecutionData: L, selectedActivityId: F, aiGeneratedFieldMap: U } = Yt(
39494
+ const x = wt(), { getNodes: S, setNodes: C, getEdges: R } = io(), _ = S(), { loopSuggestionsData: I = {} } = Yt((Ae) => Ae.loopActivity), [N, D] = ve(!1), { canvasWorkflow: P, activityExecutionData: L, selectedActivityId: F, aiGeneratedFieldMap: U } = Yt(
39485
39495
  (Ae) => Ae.canvas
39486
- ), k = Pt(null), { WORKFLOW_URLS: X, ENTITY_ID: M = "", analytics: $, openAddonModal: V, currentSubscription: w } = io(), { VORTEX_MAIN_URL: B } = X, j = is(), z = Un(j), G = Un(Hr.VERSION);
39496
+ ), k = Pt(null), { WORKFLOW_URLS: X, ENTITY_ID: M = "", analytics: $, openAddonModal: V, currentSubscription: w } = zi(), { VORTEX_MAIN_URL: B } = X, j = is(), z = Un(j), G = Un(Hr.VERSION);
39487
39497
  ke(() => () => {
39488
39498
  k.current && clearTimeout(k.current);
39489
39499
  }, []);
@@ -46092,9 +46102,9 @@ class xc {
46092
46102
  return new xc(this.from, this.length + t.length, this.top, this.height + t.height, r);
46093
46103
  }
46094
46104
  }
46095
- var Zi = /* @__PURE__ */ (function(e) {
46105
+ var Ji = /* @__PURE__ */ (function(e) {
46096
46106
  return e[e.ByPos = 0] = "ByPos", e[e.ByHeight = 1] = "ByHeight", e[e.ByPosNoHeight = 2] = "ByPosNoHeight", e;
46097
- })(Zi || (Zi = {}));
46107
+ })(Ji || (Ji = {}));
46098
46108
  const bv = 1e-3;
46099
46109
  class ga {
46100
46110
  constructor(t, r, n = 2) {
@@ -46125,9 +46135,9 @@ class ga {
46125
46135
  applyChanges(t, r, n, i) {
46126
46136
  let o = this, s = n.doc;
46127
46137
  for (let a = i.length - 1; a >= 0; a--) {
46128
- let { fromA: l, toA: c, fromB: u, toB: f } = i[a], p = o.lineAt(l, Zi.ByPosNoHeight, n.setDoc(r), 0, 0), h = p.to >= c ? p : o.lineAt(c, Zi.ByPosNoHeight, n, 0, 0);
46138
+ let { fromA: l, toA: c, fromB: u, toB: f } = i[a], p = o.lineAt(l, Ji.ByPosNoHeight, n.setDoc(r), 0, 0), h = p.to >= c ? p : o.lineAt(c, Ji.ByPosNoHeight, n, 0, 0);
46129
46139
  for (f += h.to - c, c = h.to; a > 0 && p.from <= i[a - 1].toA; )
46130
- l = i[a - 1].fromA, u = i[a - 1].fromB, a--, l < p.from && (p = o.lineAt(l, Zi.ByPosNoHeight, n, 0, 0));
46140
+ l = i[a - 1].fromA, u = i[a - 1].fromB, a--, l < p.from && (p = o.lineAt(l, Ji.ByPosNoHeight, n, 0, 0));
46131
46141
  u += p.from - l, l = p.from;
46132
46142
  let A = f8.build(n.setDoc(s), t, u, f);
46133
46143
  o = HT(o, o.replace(l, c, A));
@@ -46186,7 +46196,7 @@ class mY extends ga {
46186
46196
  return this.spaceAbove ? this.blockAt(0, n, i, o).join(s) : s;
46187
46197
  }
46188
46198
  forEachLine(t, r, n, i, o, s) {
46189
- t <= o + this.length && r >= o && s(this.lineAt(0, Zi.ByPos, n, i, o));
46199
+ t <= o + this.length && r >= o && s(this.lineAt(0, Ji.ByPos, n, i, o));
46190
46200
  }
46191
46201
  setMeasuredHeight(t) {
46192
46202
  let r = t.heights[t.index++];
@@ -46241,9 +46251,9 @@ class Is extends ga {
46241
46251
  }
46242
46252
  }
46243
46253
  lineAt(t, r, n, i, o) {
46244
- if (r == Zi.ByHeight)
46254
+ if (r == Ji.ByHeight)
46245
46255
  return this.blockAt(t, n, i, o);
46246
- if (r == Zi.ByPosNoHeight) {
46256
+ if (r == Ji.ByPosNoHeight) {
46247
46257
  let { from: h, to: A } = n.doc.lineAt(t);
46248
46258
  return new xc(h, A - h, 0, 0, 0);
46249
46259
  }
@@ -46315,10 +46325,10 @@ class rbe extends ga {
46315
46325
  return t < o ? this.left.blockAt(t, r, n, i) : this.right.blockAt(t, r, o, i + this.left.length + this.break);
46316
46326
  }
46317
46327
  lineAt(t, r, n, i, o) {
46318
- let s = i + this.left.height, a = o + this.left.length + this.break, l = r == Zi.ByHeight ? t < s : t < a, c = l ? this.left.lineAt(t, r, n, i, o) : this.right.lineAt(t, r, n, s, a);
46328
+ let s = i + this.left.height, a = o + this.left.length + this.break, l = r == Ji.ByHeight ? t < s : t < a, c = l ? this.left.lineAt(t, r, n, i, o) : this.right.lineAt(t, r, n, s, a);
46319
46329
  if (this.break || (l ? c.to < a : c.from > a))
46320
46330
  return c;
46321
- let u = r == Zi.ByPosNoHeight ? Zi.ByPosNoHeight : Zi.ByPos;
46331
+ let u = r == Ji.ByPosNoHeight ? Ji.ByPosNoHeight : Ji.ByPos;
46322
46332
  return l ? c.join(this.right.lineAt(a, u, n, s, a)) : this.left.lineAt(a, u, n, i, o).join(c);
46323
46333
  }
46324
46334
  forEachLine(t, r, n, i, o, s) {
@@ -46326,7 +46336,7 @@ class rbe extends ga {
46326
46336
  if (this.break)
46327
46337
  t < l && this.left.forEachLine(t, r, n, i, o, s), r >= l && this.right.forEachLine(t, r, n, a, l, s);
46328
46338
  else {
46329
- let c = this.lineAt(l, Zi.ByPos, n, i, o);
46339
+ let c = this.lineAt(l, Ji.ByPos, n, i, o);
46330
46340
  t < c.from && this.left.forEachLine(t, c.from - 1, n, i, o, s), c.to >= t && c.from <= r && s(c), r > c.to && this.right.forEachLine(c.to + 1, r, n, a, l, s);
46331
46341
  }
46332
46342
  }
@@ -46611,26 +46621,26 @@ class u7 {
46611
46621
  return this.scaler.fromDOM(this.pixelViewport.bottom);
46612
46622
  }
46613
46623
  getViewport(t, r) {
46614
- let n = 0.5 - Math.max(-0.5, Math.min(0.5, t / 1e3 / 2)), i = this.heightMap, o = this.heightOracle, { visibleTop: s, visibleBottom: a } = this, l = new b1(i.lineAt(s - n * 1e3, Zi.ByHeight, o, 0, 0).from, i.lineAt(a + (1 - n) * 1e3, Zi.ByHeight, o, 0, 0).to);
46624
+ let n = 0.5 - Math.max(-0.5, Math.min(0.5, t / 1e3 / 2)), i = this.heightMap, o = this.heightOracle, { visibleTop: s, visibleBottom: a } = this, l = new b1(i.lineAt(s - n * 1e3, Ji.ByHeight, o, 0, 0).from, i.lineAt(a + (1 - n) * 1e3, Ji.ByHeight, o, 0, 0).to);
46615
46625
  if (r) {
46616
46626
  let { head: c } = r.range;
46617
46627
  if (c < l.from || c > l.to) {
46618
- let u = Math.min(this.editorHeight, this.pixelViewport.bottom - this.pixelViewport.top), f = i.lineAt(c, Zi.ByPos, o, 0, 0), p;
46619
- r.y == "center" ? p = (f.top + f.bottom) / 2 - u / 2 : r.y == "start" || r.y == "nearest" && c < l.from ? p = f.top : p = f.bottom - u, l = new b1(i.lineAt(p - 1e3 / 2, Zi.ByHeight, o, 0, 0).from, i.lineAt(p + u + 1e3 / 2, Zi.ByHeight, o, 0, 0).to);
46628
+ let u = Math.min(this.editorHeight, this.pixelViewport.bottom - this.pixelViewport.top), f = i.lineAt(c, Ji.ByPos, o, 0, 0), p;
46629
+ r.y == "center" ? p = (f.top + f.bottom) / 2 - u / 2 : r.y == "start" || r.y == "nearest" && c < l.from ? p = f.top : p = f.bottom - u, l = new b1(i.lineAt(p - 1e3 / 2, Ji.ByHeight, o, 0, 0).from, i.lineAt(p + u + 1e3 / 2, Ji.ByHeight, o, 0, 0).to);
46620
46630
  }
46621
46631
  }
46622
46632
  return l;
46623
46633
  }
46624
46634
  mapViewport(t, r) {
46625
46635
  let n = r.mapPos(t.from, -1), i = r.mapPos(t.to, 1);
46626
- return new b1(this.heightMap.lineAt(n, Zi.ByPos, this.heightOracle, 0, 0).from, this.heightMap.lineAt(i, Zi.ByPos, this.heightOracle, 0, 0).to);
46636
+ return new b1(this.heightMap.lineAt(n, Ji.ByPos, this.heightOracle, 0, 0).from, this.heightMap.lineAt(i, Ji.ByPos, this.heightOracle, 0, 0).to);
46627
46637
  }
46628
46638
  // Checks if a given viewport covers the visible part of the
46629
46639
  // document and not too much beyond that.
46630
46640
  viewportIsAppropriate({ from: t, to: r }, n = 0) {
46631
46641
  if (!this.inView)
46632
46642
  return !0;
46633
- let { top: i } = this.heightMap.lineAt(t, Zi.ByPos, this.heightOracle, 0, 0), { bottom: o } = this.heightMap.lineAt(r, Zi.ByPos, this.heightOracle, 0, 0), { visibleTop: s, visibleBottom: a } = this;
46643
+ let { top: i } = this.heightMap.lineAt(t, Ji.ByPos, this.heightOracle, 0, 0), { bottom: o } = this.heightMap.lineAt(r, Ji.ByPos, this.heightOracle, 0, 0), { visibleTop: s, visibleBottom: a } = this;
46634
46644
  return (t == 0 || i <= s - Math.max(10, Math.min(
46635
46645
  -n,
46636
46646
  250
@@ -46743,10 +46753,10 @@ class u7 {
46743
46753
  return this.visibleRanges = n, i;
46744
46754
  }
46745
46755
  lineBlockAt(t) {
46746
- return t >= this.viewport.from && t <= this.viewport.to && this.viewportLines.find((r) => r.from <= t && r.to >= t) || ng(this.heightMap.lineAt(t, Zi.ByPos, this.heightOracle, 0, 0), this.scaler);
46756
+ return t >= this.viewport.from && t <= this.viewport.to && this.viewportLines.find((r) => r.from <= t && r.to >= t) || ng(this.heightMap.lineAt(t, Ji.ByPos, this.heightOracle, 0, 0), this.scaler);
46747
46757
  }
46748
46758
  lineBlockAtHeight(t) {
46749
- return t >= this.viewportLines[0].top && t <= this.viewportLines[this.viewportLines.length - 1].bottom && this.viewportLines.find((r) => r.top <= t && r.bottom >= t) || ng(this.heightMap.lineAt(this.scaler.fromDOM(t), Zi.ByHeight, this.heightOracle, 0, 0), this.scaler);
46759
+ return t >= this.viewportLines[0].top && t <= this.viewportLines[this.viewportLines.length - 1].bottom && this.viewportLines.find((r) => r.top <= t && r.bottom >= t) || ng(this.heightMap.lineAt(this.scaler.fromDOM(t), Ji.ByHeight, this.heightOracle, 0, 0), this.scaler);
46750
46760
  }
46751
46761
  getScrollOffset() {
46752
46762
  return (this.scrollParent == this.view.scrollDOM ? this.scrollParent.scrollTop : (this.scrollParent ? this.scrollParent.getBoundingClientRect().top : 0) - this.view.contentDOM.getBoundingClientRect().top) * this.scaleY;
@@ -46829,7 +46839,7 @@ class p8 {
46829
46839
  constructor(t, r, n) {
46830
46840
  let i = 0, o = 0, s = 0;
46831
46841
  this.viewports = n.map(({ from: a, to: l }) => {
46832
- let c = r.lineAt(a, Zi.ByPos, t, 0, 0).top, u = r.lineAt(l, Zi.ByPos, t, 0, 0).bottom;
46842
+ let c = r.lineAt(a, Ji.ByPos, t, 0, 0).top, u = r.lineAt(l, Ji.ByPos, t, 0, 0).bottom;
46833
46843
  return i += u - c, { from: a, to: l, top: c, bottom: u, domTop: 0, domBottom: 0 };
46834
46844
  }), this.scale = (7e6 - i) / (r.height - i);
46835
46845
  for (let a of this.viewports)
@@ -93122,7 +93132,7 @@ const Eh = /* @__PURE__ */ ai(v9e), T9e = (e) => !e || typeof e != "string" ? ""
93122
93132
  suggestionLabel: x,
93123
93133
  allowArrayAtRoot: S = !1,
93124
93134
  ...C
93125
- } = e, R = Zt(() => u && typeof u == "object" && Object.keys(u).length > 0 ? u : {}, [JSON.stringify(u)]), [_, I] = ve(null), N = Pt(null), D = Pt(null), P = Rr(), L = Pt(null), F = Pt(null), [U, k] = ve(!1), X = el(), { canvasWorkflow: M, activityExecutionData: $ } = Yt((Ae) => Ae.canvas), { WORKFLOW_URLS: V, ENTITY_ID: w = "", analytics: B, openAddonModal: j, currentSubscription: z } = io(), { VORTEX_MAIN_URL: G } = V, W = is(), H = Un(W), Y = Un(Hr.VERSION) || H, { setNodes: J, getEdges: se } = no(), { MCP_INTEGRATION_FORM: te } = rl(), le = (Ae) => {
93135
+ } = e, R = Zt(() => u && typeof u == "object" && Object.keys(u).length > 0 ? u : {}, [JSON.stringify(u)]), [_, I] = ve(null), N = Pt(null), D = Pt(null), P = Rr(), L = Pt(null), F = Pt(null), [U, k] = ve(!1), X = el(), { canvasWorkflow: M, activityExecutionData: $ } = Yt((Ae) => Ae.canvas), { WORKFLOW_URLS: V, ENTITY_ID: w = "", analytics: B, openAddonModal: j, currentSubscription: z } = zi(), { VORTEX_MAIN_URL: G } = V, W = is(), H = Un(W), Y = Un(Hr.VERSION) || H, { setNodes: J, getEdges: se } = io(), { MCP_INTEGRATION_FORM: te } = rl(), le = (Ae) => {
93126
93136
  try {
93127
93137
  if (l !== "json")
93128
93138
  return !0;
@@ -94319,9 +94329,9 @@ function j9e(e, t) {
94319
94329
  const r = e.value === t.value && e.language === t.language && e.viewOnly === t.viewOnly && e.height === t.height && e.size === t.size && e.showCopyToClipboard === t.showCopyToClipboard && e.showSuggestions === t.showSuggestions && e.error === t.error && e.errorMsg === t.errorMsg && e.id === t.id, n = e.suggestionsData, i = t.suggestionsData, o = n == null && i == null || (typeof n == "object" && typeof i == "object" ? Object.keys(n).length === Object.keys(i).length && Object.keys(n).every((s) => JSON.stringify(n[s]) === JSON.stringify(i[s])) : n === i);
94320
94330
  return r && o;
94321
94331
  }
94322
- const ro = re.memo(Hd(B9e), j9e), ate = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
94332
+ const no = re.memo(Hd(B9e), j9e), ate = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
94323
94333
  __proto__: null,
94324
- default: ro
94334
+ default: no
94325
94335
  }, Symbol.toStringTag, { value: "Module" })), aU = (e) => /* @__PURE__ */ d.jsx(
94326
94336
  Qe,
94327
94337
  {
@@ -94483,7 +94493,7 @@ const ro = re.memo(Hd(B9e), j9e), ate = /* @__PURE__ */ Object.freeze(/* @__PURE
94483
94493
  viewOnly: r = !1,
94484
94494
  excludeUrlLanguage: n = !1
94485
94495
  }) => {
94486
- const i = Rr(), o = wt(), { getNodes: s } = no(), a = s(), { trigger_help: l, workflow: c } = Yt((b) => b.workflows), [u, f] = ve(""), [p, h] = ve("get"), [A, g] = ve({}), m = Un(), E = Un("version");
94496
+ const i = Rr(), o = wt(), { getNodes: s } = io(), a = s(), { trigger_help: l, workflow: c } = Yt((b) => b.workflows), [u, f] = ve(""), [p, h] = ve("get"), [A, g] = ve({}), m = Un(), E = Un("version");
94487
94497
  ke(() => {
94488
94498
  if (!Tt(l)) {
94489
94499
  const b = {}, x = [];
@@ -94559,7 +94569,7 @@ const ro = re.memo(Hd(B9e), j9e), ate = /* @__PURE__ */ Object.freeze(/* @__PURE
94559
94569
  }
94560
94570
  },
94561
94571
  children: /* @__PURE__ */ d.jsx(
94562
- ro,
94572
+ no,
94563
94573
  {
94564
94574
  viewOnly: !0,
94565
94575
  readOnly: r && y,
@@ -95185,7 +95195,7 @@ const ro = re.memo(Hd(B9e), j9e), ate = /* @__PURE__ */ Object.freeze(/* @__PURE
95185
95195
  height: 32,
95186
95196
  border: `1px solid ${s.palette.grey.outlined.border}`,
95187
95197
  borderRadius: 1.5,
95188
- ...eo(s),
95198
+ ...to(s),
95189
95199
  ...i
95190
95200
  },
95191
95201
  "data-testid": "button-refresh",
@@ -96075,7 +96085,7 @@ const AU = 40, uje = 400, dje = re.forwardRef(
96075
96085
  ] });
96076
96086
  }
96077
96087
  ), fje = Nr((e, t) => {
96078
- const r = wt(), { getNodes: n } = no(), { selectedActivityId: i, nodes: o, aiGeneratedFieldMap: s } = Yt((ge) => ge.canvas), a = ut(
96088
+ const r = wt(), { getNodes: n } = io(), { selectedActivityId: i, nodes: o, aiGeneratedFieldMap: s } = Yt((ge) => ge.canvas), a = ut(
96079
96089
  (ge, ye, We, Ke, Ge, it = !1) => {
96080
96090
  const { multiple: at, renderOption: st, name: De, handleChange: Xe } = e, ze = Array.isArray(ye) ? ye.map(
96081
96091
  (de) => de && typeof de == "object" && "value" in de ? de.value : de
@@ -97245,7 +97255,7 @@ const AU = 40, uje = 400, dje = re.forwardRef(
97245
97255
  }
97246
97256
  },
97247
97257
  render: ({ field: f }) => /* @__PURE__ */ d.jsx(
97248
- ro,
97258
+ no,
97249
97259
  {
97250
97260
  size: "md",
97251
97261
  language: u === "xml" ? "xml" : "json",
@@ -101551,7 +101561,7 @@ const R2 = (e) => !e.field || typeof e.field == "object" && Object.keys(e.field)
101551
101561
  insert: M
101552
101562
  }
101553
101563
  }), j(""), G("");
101554
- }, tt = Pt(null), [Je, pt] = ve(!1), { canvasWorkflow: St, activityExecutionData: bt } = Yt((Ut) => Ut.canvas), { getNodes: Wt, setNodes: Ne, getEdges: ct } = no(), ot = Wt(), { ENTITY_ID: Le = "", analytics: ft, openAddonModal: vt, currentSubscription: ar } = io(), { VORTEX_MAIN_URL: vr = "", GYRATE_MAIN_URL: Yr = "" } = h || {}, Rn = is(), Sn = Un(Rn), gr = Un(Hr.VERSION) || Sn, $r = async (Ut) => {
101564
+ }, tt = Pt(null), [Je, pt] = ve(!1), { canvasWorkflow: St, activityExecutionData: bt } = Yt((Ut) => Ut.canvas), { getNodes: Wt, setNodes: Ne, getEdges: ct } = io(), ot = Wt(), { ENTITY_ID: Le = "", analytics: ft, openAddonModal: vt, currentSubscription: ar } = zi(), { VORTEX_MAIN_URL: vr = "", GYRATE_MAIN_URL: Yr = "" } = h || {}, Rn = is(), Sn = Un(Rn), gr = Un(Hr.VERSION) || Sn, $r = async (Ut) => {
101555
101565
  const lr = [...Array.isArray(ot) ? ot : []], Jr = {
101556
101566
  workflow_json: [bd({ ...Ut })],
101557
101567
  result: sO(St, ot, bt, Ut?.id, ct())
@@ -101678,7 +101688,7 @@ const R2 = (e) => !e.field || typeof e.field == "object" && Object.keys(e.field)
101678
101688
  title: "Generate using AI",
101679
101689
  content: fe ? /* @__PURE__ */ d.jsxs(Be, { sx: { width: "100%" }, children: [
101680
101690
  /* @__PURE__ */ d.jsx(
101681
- ro,
101691
+ no,
101682
101692
  {
101683
101693
  height: "27vh",
101684
101694
  value: ee,
@@ -102504,7 +102514,7 @@ await page.close()`
102504
102514
  required: "Script is required"
102505
102515
  },
102506
102516
  render: ({ field: I }) => /* @__PURE__ */ d.jsx(sr, { fullWidth: !0, children: /* @__PURE__ */ d.jsx(
102507
- ro,
102517
+ no,
102508
102518
  {
102509
102519
  ...I,
102510
102520
  required: !0,
@@ -109759,7 +109769,7 @@ const m$e = /* @__PURE__ */ ai(A$e), g$e = (e) => {
109759
109769
  required: "Data is required"
109760
109770
  },
109761
109771
  render: ({ field: m }) => /* @__PURE__ */ d.jsx(
109762
- ro,
109772
+ no,
109763
109773
  {
109764
109774
  ...m,
109765
109775
  label: "Data",
@@ -109810,7 +109820,7 @@ const m$e = /* @__PURE__ */ ai(A$e), g$e = (e) => {
109810
109820
  validate: (m) => m && g$e(m) !== !0 ? "Error in JSONata expression. Please check the expression's syntax." : !0
109811
109821
  },
109812
109822
  render: ({ field: m }) => /* @__PURE__ */ d.jsx(
109813
- ro,
109823
+ no,
109814
109824
  {
109815
109825
  ...m,
109816
109826
  language: "javascript",
@@ -109842,7 +109852,7 @@ const m$e = /* @__PURE__ */ ai(A$e), g$e = (e) => {
109842
109852
  validate: (m) => m && E$e(m) !== !0 ? "Error in JSONPath expression. Please check the expression's syntax." : !0
109843
109853
  },
109844
109854
  render: ({ field: m }) => /* @__PURE__ */ d.jsx(
109845
- ro,
109855
+ no,
109846
109856
  {
109847
109857
  ...m,
109848
109858
  language: "javascript",
@@ -111579,7 +111589,7 @@ const RU = HN(() => Promise.resolve().then(() => ate)), IU = () => /* @__PURE__
111579
111589
  viewOnly: p = !1,
111580
111590
  hideLabel: h = !1
111581
111591
  }, A) => {
111582
- const g = wt(), { MCP_INTEGRATION_FORM: m } = rl(), { getNodes: E } = no(), { selectedActivityId: O, aiGeneratedFieldMap: v } = Yt((V) => V.canvas), y = Po(l), [b, x] = ve(""), S = Pt(null), C = Pt(null), [R, _] = ve(""), I = (V) => {
111592
+ const g = wt(), { MCP_INTEGRATION_FORM: m } = rl(), { getNodes: E } = io(), { selectedActivityId: O, aiGeneratedFieldMap: v } = Yt((V) => V.canvas), y = Po(l), [b, x] = ve(""), S = Pt(null), C = Pt(null), [R, _] = ve(""), I = (V) => {
111583
111593
  x(V.target.value);
111584
111594
  }, N = () => {
111585
111595
  if (b.trim() !== "") {
@@ -112114,7 +112124,7 @@ const RU = HN(() => Promise.resolve().then(() => ate)), IU = () => /* @__PURE__
112114
112124
  required: "Email body is required"
112115
112125
  },
112116
112126
  render: ({ field: X }) => /* @__PURE__ */ d.jsx(
112117
- ro,
112127
+ no,
112118
112128
  {
112119
112129
  ...X,
112120
112130
  label: "Email body",
@@ -112680,9 +112690,9 @@ function P$e() {
112680
112690
  if (On && !cn)
112681
112691
  return Jt || (Jt = new gr()), pr || go(be) ? Os(be, Ye, mt, Ct, er, Jt) : Ri(be, Ye, Cr, mt, Ct, er, Jt);
112682
112692
  if (!(er & s)) {
112683
- var hn = cn && it.call(be, "__wrapped__"), Xi = Zr && it.call(Ye, "__wrapped__");
112684
- if (hn || Xi) {
112685
- var as = hn ? be.value() : be, Hs = Xi ? Ye.value() : Ye;
112693
+ var hn = cn && it.call(be, "__wrapped__"), qi = Zr && it.call(Ye, "__wrapped__");
112694
+ if (hn || qi) {
112695
+ var as = hn ? be.value() : be, Hs = qi ? Ye.value() : Ye;
112686
112696
  return Jt || (Jt = new gr()), mt(as, Hs, Ct, er, Jt);
112687
112697
  }
112688
112698
  }
@@ -112795,9 +112805,9 @@ function P$e() {
112795
112805
  return Vr == Ye;
112796
112806
  var cn = -1, Zr = !0, On = er & o ? new Rn() : void 0;
112797
112807
  for (Jt.set(be, Ye), Jt.set(Ye, be); ++cn < wr; ) {
112798
- var hn = be[cn], Xi = Ye[cn];
112808
+ var hn = be[cn], qi = Ye[cn];
112799
112809
  if (Ct)
112800
- var as = pr ? Ct(Xi, hn, cn, Ye, be, Jt) : Ct(hn, Xi, cn, be, Ye, Jt);
112810
+ var as = pr ? Ct(qi, hn, cn, Ye, be, Jt) : Ct(hn, qi, cn, be, Ye, Jt);
112801
112811
  if (as !== void 0) {
112802
112812
  if (as)
112803
112813
  continue;
@@ -112812,7 +112822,7 @@ function P$e() {
112812
112822
  Zr = !1;
112813
112823
  break;
112814
112824
  }
112815
- } else if (!(hn === Xi || mt(hn, Xi, Ct, er, Jt))) {
112825
+ } else if (!(hn === qi || mt(hn, qi, Ct, er, Jt))) {
112816
112826
  Zr = !1;
112817
112827
  break;
112818
112828
  }
@@ -112866,7 +112876,7 @@ function P$e() {
112866
112876
  var hn = Jt.get(be);
112867
112877
  if (hn && Jt.get(Ye))
112868
112878
  return hn == Ye;
112869
- var Xi = !0;
112879
+ var qi = !0;
112870
112880
  Jt.set(be, Ye), Jt.set(Ye, be);
112871
112881
  for (var as = pr; ++Zr < Cr; ) {
112872
112882
  On = wr[Zr];
@@ -112874,16 +112884,16 @@ function P$e() {
112874
112884
  if (Ct)
112875
112885
  var Zd = pr ? Ct(uo, Hs, On, Ye, be, Jt) : Ct(Hs, uo, On, be, Ye, Jt);
112876
112886
  if (!(Zd === void 0 ? Hs === uo || mt(Hs, uo, Ct, er, Jt) : Zd)) {
112877
- Xi = !1;
112887
+ qi = !1;
112878
112888
  break;
112879
112889
  }
112880
112890
  as || (as = On == "constructor");
112881
112891
  }
112882
- if (Xi && !as) {
112892
+ if (qi && !as) {
112883
112893
  var ZO = be.constructor, JO = Ye.constructor;
112884
- ZO != JO && "constructor" in be && "constructor" in Ye && !(typeof ZO == "function" && ZO instanceof ZO && typeof JO == "function" && JO instanceof JO) && (Xi = !1);
112894
+ ZO != JO && "constructor" in be && "constructor" in Ye && !(typeof ZO == "function" && ZO instanceof ZO && typeof JO == "function" && JO instanceof JO) && (qi = !1);
112885
112895
  }
112886
- return Jt.delete(be), Jt.delete(Ye), Xi;
112896
+ return Jt.delete(be), Jt.delete(Ye), qi;
112887
112897
  }
112888
112898
  function vn(be, Ye) {
112889
112899
  var mt = be.__data__;
@@ -113005,13 +113015,13 @@ function P$e() {
113005
113015
  return be === Ye || be !== be && Ye !== Ye;
113006
113016
  }
113007
113017
  function Ur(be) {
113008
- return zi(be) && it.call(be, "callee") && (!ze.call(be, "callee") || at.call(be) == l);
113018
+ return Xi(be) && it.call(be, "callee") && (!ze.call(be, "callee") || at.call(be) == l);
113009
113019
  }
113010
113020
  var En = Array.isArray;
113011
113021
  function Dn(be) {
113012
113022
  return be != null && lo(be.length) && !qn(be);
113013
113023
  }
113014
- function zi(be) {
113024
+ function Xi(be) {
113015
113025
  return fi(be) && Dn(be);
113016
113026
  }
113017
113027
  function qn(be) {
@@ -113285,7 +113295,7 @@ function L$e() {
113285
113295
  Ye || (Ct = Ri(pe), Ct = Ct == l ? E : Ct), mt || (er = Ri(Fe), er = er == l ? E : er);
113286
113296
  var Jt = Ct == E && !ee(pe), pr = er == E && !ee(Fe), wr = Ct == er;
113287
113297
  if (wr && !Jt)
113288
- return be || (be = new In()), Ye || zi(pe) ? pn(pe, Fe, rt, Et, Gt, be) : di(pe, Fe, Ct, rt, Et, Gt, be);
113298
+ return be || (be = new In()), Ye || Xi(pe) ? pn(pe, Fe, rt, Et, Gt, be) : di(pe, Fe, Ct, rt, Et, Gt, be);
113289
113299
  if (!(Gt & s)) {
113290
113300
  var Cr = Jt && Ge.call(pe, "__wrapped__"), Vr = pr && Ge.call(Fe, "__wrapped__");
113291
113301
  if (Cr || Vr) {
@@ -113470,8 +113480,8 @@ function L$e() {
113470
113480
  cn || (cn = wr == "constructor");
113471
113481
  }
113472
113482
  if (Vr && !cn) {
113473
- var Xi = pe.constructor, as = Fe.constructor;
113474
- Xi != as && "constructor" in pe && "constructor" in Fe && !(typeof Xi == "function" && Xi instanceof Xi && typeof as == "function" && as instanceof as) && (Vr = !1);
113483
+ var qi = pe.constructor, as = Fe.constructor;
113484
+ qi != as && "constructor" in pe && "constructor" in Fe && !(typeof qi == "function" && qi instanceof qi && typeof as == "function" && as instanceof as) && (Vr = !1);
113475
113485
  }
113476
113486
  return be.delete(pe), be.delete(Fe), Vr;
113477
113487
  }
@@ -113618,7 +113628,7 @@ function L$e() {
113618
113628
  function Dn(pe) {
113619
113629
  return typeof pe == "symbol" || En(pe) && it.call(pe) == x;
113620
113630
  }
113621
- var zi = Oe ? K(Oe) : gn;
113631
+ var Xi = Oe ? K(Oe) : gn;
113622
113632
  function qn(pe) {
113623
113633
  return pe == null ? "" : kt(pe);
113624
113634
  }
@@ -114404,7 +114414,7 @@ const j$e = /* @__PURE__ */ ai(B$e), $$e = Nr((e, t) => {
114404
114414
  required: "Error: Function is required. Please review your function syntax."
114405
114415
  },
114406
114416
  render: ({ field: m }) => /* @__PURE__ */ d.jsx(sr, { fullWidth: !0, children: /* @__PURE__ */ d.jsx(
114407
- ro,
114417
+ no,
114408
114418
  {
114409
114419
  ...m,
114410
114420
  required: !0,
@@ -114703,7 +114713,7 @@ const TO = (e) => {
114703
114713
  control: n,
114704
114714
  rules: w.required ? { required: `${V} is required` } : {},
114705
114715
  render: ({ field: B }) => /* @__PURE__ */ d.jsx(
114706
- ro,
114716
+ no,
114707
114717
  {
114708
114718
  ...B,
114709
114719
  ...F,
@@ -114932,7 +114942,7 @@ const TO = (e) => {
114932
114942
  control: n,
114933
114943
  rules: w.required ? { required: `${V} is required` } : {},
114934
114944
  render: ({ field: B }) => /* @__PURE__ */ d.jsx(
114935
- ro,
114945
+ no,
114936
114946
  {
114937
114947
  ...B,
114938
114948
  ...F,
@@ -115323,7 +115333,7 @@ const TO = (e) => {
115323
115333
  control: n,
115324
115334
  rules: w.required ? { required: `${V} is required` } : {},
115325
115335
  render: ({ field: B }) => /* @__PURE__ */ d.jsx(
115326
- ro,
115336
+ no,
115327
115337
  {
115328
115338
  ...B,
115329
115339
  ...F,
@@ -115663,7 +115673,7 @@ const TO = (e) => {
115663
115673
  control: n,
115664
115674
  rules: V.required ? { required: `${$} is required` } : {},
115665
115675
  render: ({ field: w }) => /* @__PURE__ */ d.jsx(
115666
- ro,
115676
+ no,
115667
115677
  {
115668
115678
  ...w,
115669
115679
  ...F,
@@ -115907,7 +115917,7 @@ const TO = (e) => {
115907
115917
  control: n,
115908
115918
  rules: j.required ? { required: `${B} is required` } : {},
115909
115919
  render: ({ field: z }) => /* @__PURE__ */ d.jsx(
115910
- ro,
115920
+ no,
115911
115921
  {
115912
115922
  ...z,
115913
115923
  ...F,
@@ -115930,7 +115940,7 @@ const TO = (e) => {
115930
115940
  control: n,
115931
115941
  rules: j.required ? { required: `${B} is required` } : {},
115932
115942
  render: ({ field: z }) => /* @__PURE__ */ d.jsx(
115933
- ro,
115943
+ no,
115934
115944
  {
115935
115945
  ...z,
115936
115946
  ...F,
@@ -117068,7 +117078,7 @@ const TO = (e) => {
117068
117078
  required: "Email body is required"
117069
117079
  },
117070
117080
  render: ({ field: M }) => /* @__PURE__ */ d.jsx(
117071
- ro,
117081
+ no,
117072
117082
  {
117073
117083
  ...M,
117074
117084
  label: "Email body",
@@ -149606,7 +149616,7 @@ const mrt = ({ slotProps: e = {}, ...t }) => {
149606
149616
  currentQuery: i,
149607
149617
  form: o = null
149608
149618
  }) => {
149609
- const s = wt(), [a, l] = ve(!1), [c, u] = ve(""), [f, p] = ve(null), [h, A] = ve([]), [g, m] = ve([]), [E, O] = ve(/* @__PURE__ */ new Map()), [v, y] = ve(/* @__PURE__ */ new Set()), [b, x] = ve(""), [S, C] = ve(""), [R, _] = ve("query"), { WORKFLOW_URLS: I, ENTITY_ID: N = "" } = io(), { VORTEX_MAIN_URL: D } = I, P = Zt(
149619
+ const s = wt(), [a, l] = ve(!1), [c, u] = ve(""), [f, p] = ve(null), [h, A] = ve([]), [g, m] = ve([]), [E, O] = ve(/* @__PURE__ */ new Map()), [v, y] = ve(/* @__PURE__ */ new Set()), [b, x] = ve(""), [S, C] = ve(""), [R, _] = ve("query"), { WORKFLOW_URLS: I, ENTITY_ID: N = "" } = zi(), { VORTEX_MAIN_URL: D } = I, P = Zt(
149610
149620
  () => vl((te) => {
149611
149621
  C(te);
149612
149622
  }, 300),
@@ -150333,7 +150343,7 @@ ${K}
150333
150343
  required: "Query is required"
150334
150344
  },
150335
150345
  render: ({ field: v }) => /* @__PURE__ */ d.jsx(sr, { fullWidth: !0, children: /* @__PURE__ */ d.jsx(
150336
- ro,
150346
+ no,
150337
150347
  {
150338
150348
  ...v,
150339
150349
  ...O,
@@ -151519,7 +151529,7 @@ const xrt = Ao(sie, ""), Srt = Nr((e, t) => {
151519
151529
  viewOnly: f = !1,
151520
151530
  SET_INTEGRATION_DATA: p,
151521
151531
  source: h
151522
- } = e, A = wt(), g = Pt({}), m = Pt({}), { getNodes: E } = no(), O = E(), { activities: v } = Yt((M) => M.activities), [y, b] = ve([]), [x, S] = ve({}), C = Rr(), { watch: R, control: _, setValue: I } = Wr(), N = R("properties"), D = $L({
151532
+ } = e, A = wt(), g = Pt({}), m = Pt({}), { getNodes: E } = io(), O = E(), { activities: v } = Yt((M) => M.activities), [y, b] = ve([]), [x, S] = ve({}), C = Rr(), { watch: R, control: _, setValue: I } = Wr(), N = R("properties"), D = $L({
151523
151533
  defaultValues: Tt(N) ? {} : OT(x, h),
151524
151534
  mode: "onChange"
151525
151535
  });
@@ -152165,13 +152175,13 @@ function $rt() {
152165
152175
  }
152166
152176
  $r.prototype.clear = Hn, $r.prototype.delete = Ut, $r.prototype.get = lr, $r.prototype.has = Jr, $r.prototype.set = Br;
152167
152177
  function Pr(me, Ve) {
152168
- var dt = ci(me), $t = !dt && vn(me), ln = !dt && !$t && Ni(me), Ur = !dt && !$t && !ln && Vs(me), En = dt || $t || ln || Ur, Dn = En ? oe(me.length, String) : [], zi = Dn.length;
152178
+ var dt = ci(me), $t = !dt && vn(me), ln = !dt && !$t && Ni(me), Ur = !dt && !$t && !ln && Vs(me), En = dt || $t || ln || Ur, Dn = En ? oe(me.length, String) : [], Xi = Dn.length;
152169
152179
  for (var qn in me)
152170
152180
  We.call(me, qn) && !(En && // Safari 9 has enumerable `arguments.length` in strict mode.
152171
152181
  (qn == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
152172
152182
  ln && (qn == "offset" || qn == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
152173
152183
  Ur && (qn == "buffer" || qn == "byteLength" || qn == "byteOffset") || // Skip index properties.
152174
- di(qn, zi))) && Dn.push(qn);
152184
+ di(qn, Xi))) && Dn.push(qn);
152175
152185
  return Dn;
152176
152186
  }
152177
152187
  function zr(me, Ve) {
@@ -152194,16 +152204,16 @@ function $rt() {
152194
152204
  return me === Ve ? !0 : me == null || Ve == null || !jo(me) && !jo(Ve) ? me !== me && Ve !== Ve : Xn(me, Ve, dt, $t, Fn, ln);
152195
152205
  }
152196
152206
  function Xn(me, Ve, dt, $t, ln, Ur) {
152197
- var En = ci(me), Dn = ci(Ve), zi = En ? l : pn(me), qn = Dn ? l : pn(Ve);
152198
- zi = zi == a ? O : zi, qn = qn == a ? O : qn;
152199
- var lo = zi == O, xo = qn == O, fi = zi == qn;
152207
+ var En = ci(me), Dn = ci(Ve), Xi = En ? l : pn(me), qn = Dn ? l : pn(Ve);
152208
+ Xi = Xi == a ? O : Xi, qn = qn == a ? O : qn;
152209
+ var lo = Xi == O, xo = qn == O, fi = Xi == qn;
152200
152210
  if (fi && Ni(me)) {
152201
152211
  if (!Ni(Ve))
152202
152212
  return !1;
152203
152213
  En = !0, lo = !1;
152204
152214
  }
152205
152215
  if (fi && !lo)
152206
- return Ur || (Ur = new $r()), En || Vs(me) ? Bo(me, Ve, dt, $t, ln, Ur) : ie(me, Ve, zi, dt, $t, ln, Ur);
152216
+ return Ur || (Ur = new $r()), En || Vs(me) ? Bo(me, Ve, dt, $t, ln, Ur) : ie(me, Ve, Xi, dt, $t, ln, Ur);
152207
152217
  if (!(dt & i)) {
152208
152218
  var co = lo && We.call(me, "__wrapped__"), go = xo && We.call(Ve, "__wrapped__");
152209
152219
  if (co || go) {
@@ -152231,8 +152241,8 @@ function $rt() {
152231
152241
  return Ve;
152232
152242
  }
152233
152243
  function Bo(me, Ve, dt, $t, ln, Ur) {
152234
- var En = dt & i, Dn = me.length, zi = Ve.length;
152235
- if (Dn != zi && !(En && zi > Dn))
152244
+ var En = dt & i, Dn = me.length, Xi = Ve.length;
152245
+ if (Dn != Xi && !(En && Xi > Dn))
152236
152246
  return !1;
152237
152247
  var qn = Ur.get(me);
152238
152248
  if (qn && Ur.get(Ve))
@@ -152283,8 +152293,8 @@ function $rt() {
152283
152293
  case g:
152284
152294
  var Dn = ee;
152285
152295
  case x:
152286
- var zi = $t & i;
152287
- if (Dn || (Dn = he), me.size != Ve.size && !zi)
152296
+ var Xi = $t & i;
152297
+ if (Dn || (Dn = he), me.size != Ve.size && !Xi)
152288
152298
  return !1;
152289
152299
  var qn = En.get(me);
152290
152300
  if (qn)
@@ -152299,10 +152309,10 @@ function $rt() {
152299
152309
  return !1;
152300
152310
  }
152301
152311
  function we(me, Ve, dt, $t, ln, Ur) {
152302
- var En = dt & i, Dn = Ze(me), zi = Dn.length, qn = Ze(Ve), lo = qn.length;
152303
- if (zi != lo && !En)
152312
+ var En = dt & i, Dn = Ze(me), Xi = Dn.length, qn = Ze(Ve), lo = qn.length;
152313
+ if (Xi != lo && !En)
152304
152314
  return !1;
152305
- for (var xo = zi; xo--; ) {
152315
+ for (var xo = Xi; xo--; ) {
152306
152316
  var fi = Dn[xo];
152307
152317
  if (!(En ? fi in Ve : We.call(Ve, fi)))
152308
152318
  return !1;
@@ -152312,7 +152322,7 @@ function $rt() {
152312
152322
  return co == Ve;
152313
152323
  var go = !0;
152314
152324
  Ur.set(me, Ve), Ur.set(Ve, me);
152315
- for (var sa = En; ++xo < zi; ) {
152325
+ for (var sa = En; ++xo < Xi; ) {
152316
152326
  fi = Dn[xo];
152317
152327
  var pe = me[fi], Fe = Ve[fi];
152318
152328
  if ($t)
@@ -153114,7 +153124,7 @@ const jH = /* @__PURE__ */ ai(Urt), Vrt = {
153114
153124
  required: "Response body is required"
153115
153125
  },
153116
153126
  render: ({ field: m }) => /* @__PURE__ */ d.jsx(sr, { fullWidth: !0, children: /* @__PURE__ */ d.jsx(
153117
- ro,
153127
+ no,
153118
153128
  {
153119
153129
  ...m,
153120
153130
  label: "Response Body",
@@ -154761,11 +154771,11 @@ function us(e) {
154761
154771
  return e;
154762
154772
  return t;
154763
154773
  }
154764
- var VO = (e) => Array.isArray(e) ? e.filter(Boolean) : [], Ji = (e) => e === void 0, yr = (e, t, r) => {
154774
+ var VO = (e) => Array.isArray(e) ? e.filter(Boolean) : [], eo = (e) => e === void 0, yr = (e, t, r) => {
154765
154775
  if (!t || !gs(e))
154766
154776
  return r;
154767
154777
  const n = VO(t.split(/[,[\].]+?/)).reduce((i, o) => ua(i) ? i : i[o], e);
154768
- return Ji(n) || n === e ? Ji(e[t]) ? r : e[t] : n;
154778
+ return eo(n) || n === e ? eo(e[t]) ? r : e[t] : n;
154769
154779
  }, Eu = (e) => typeof e == "boolean", M5 = (e) => /^\w*$/.test(e), fie = (e) => VO(e.replace(/["|']|\]/g, "").split(/\.|\[/)), Fi = (e, t, r) => {
154770
154780
  let n = -1;
154771
154781
  const i = M5(t) ? [t] : fie(t), o = i.length, s = o - 1;
@@ -154888,7 +154898,7 @@ function cnt(e) {
154888
154898
  };
154889
154899
  if (f(r, !0), u) {
154890
154900
  const p = us(yr(i._options.defaultValues, r));
154891
- Fi(i._defaultValues, r, p), Ji(yr(i._formValues, r)) && Fi(i._formValues, r, p);
154901
+ Fi(i._defaultValues, r, p), eo(yr(i._formValues, r)) && Fi(i._formValues, r, p);
154892
154902
  }
154893
154903
  return () => {
154894
154904
  (s ? u && !i._state.action : u) ? i.unregister(r) : f(r, !1);
@@ -154967,7 +154977,7 @@ var unt = (e, t, r, n, i) => t ? {
154967
154977
  const r = (Math.random() * 16 + e) % 16 | 0;
154968
154978
  return (t == "x" ? r : r & 3 | 8).toString(16);
154969
154979
  });
154970
- }, uI = (e, t, r = {}) => r.shouldFocus || Ji(r.shouldFocus) ? r.focusName || `${e}.${Ji(r.focusIndex) ? t : r.focusIndex}.` : "", Wg = (e) => ({
154980
+ }, uI = (e, t, r = {}) => r.shouldFocus || eo(r.shouldFocus) ? r.focusName || `${e}.${eo(r.focusIndex) ? t : r.focusIndex}.` : "", Wg = (e) => ({
154971
154981
  isOnSubmit: !e || e === Gl.onSubmit,
154972
154982
  isOnBlur: e === Gl.onBlur,
154973
154983
  isOnChange: e === Gl.onChange,
@@ -155010,7 +155020,7 @@ var yie = (e) => {
155010
155020
  }
155011
155021
  return e[0].checked && !e[0].disabled ? (
155012
155022
  // @ts-expect-error expected to work in the browser
155013
- e[0].attributes && !Ji(e[0].attributes.value) ? Ji(e[0].value) || e[0].value === "" ? GH : { value: e[0].value, isValid: !0 } : GH
155023
+ e[0].attributes && !eo(e[0].attributes.value) ? eo(e[0].value) || e[0].value === "" ? GH : { value: e[0].value, isValid: !0 } : GH
155014
155024
  ) : WH;
155015
155025
  }
155016
155026
  return WH;
@@ -155040,7 +155050,7 @@ var sA = (e) => gs(e) && !Mx(e) ? e : {
155040
155050
  return {};
155041
155051
  const v = s ? s[0] : o, y = (N) => {
155042
155052
  n && v.reportValidity && (v.setCustomValidity(Eu(N) ? "" : N || ""), v.reportValidity());
155043
- }, b = {}, x = k5(o), S = UO(o), C = x || S, R = (g || F5(o)) && Ji(o.value) && Ji(O) || Lx(o) && o.value === "" || O === "" || Array.isArray(O) && !O.length, _ = unt.bind(null, A, r, b), I = (N, D, P, L = td.maxLength, F = td.minLength) => {
155053
+ }, b = {}, x = k5(o), S = UO(o), C = x || S, R = (g || F5(o)) && eo(o.value) && eo(O) || Lx(o) && o.value === "" || O === "" || Array.isArray(O) && !O.length, _ = unt.bind(null, A, r, b), I = (N, D, P, L = td.maxLength, F = td.minLength) => {
155044
155054
  const U = N ? D : P;
155045
155055
  b[A] = {
155046
155056
  type: N ? L : F,
@@ -155126,7 +155136,7 @@ function pI(e, t, r) {
155126
155136
  ...e.slice(t)
155127
155137
  ];
155128
155138
  }
155129
- var hI = (e, t, r) => Array.isArray(e) ? (Ji(e[r]) && (e[r] = void 0), e.splice(r, 0, e.splice(t, 1)[0]), e) : [], AI = (e, t) => [
155139
+ var hI = (e, t, r) => Array.isArray(e) ? (eo(e[r]) && (e[r] = void 0), e.splice(r, 0, e.splice(t, 1)[0]), e) : [], AI = (e, t) => [
155130
155140
  ...ja(t),
155131
155141
  ...ja(e)
155132
155142
  ];
@@ -155137,19 +155147,19 @@ function dnt(e, t) {
155137
155147
  n.splice(i - r, 1), r++;
155138
155148
  return VO(n).length ? n : [];
155139
155149
  }
155140
- var mI = (e, t) => Ji(t) ? [] : dnt(e, ja(t).sort((r, n) => r - n)), gI = (e, t, r) => {
155150
+ var mI = (e, t) => eo(t) ? [] : dnt(e, ja(t).sort((r, n) => r - n)), gI = (e, t, r) => {
155141
155151
  [e[t], e[r]] = [e[r], e[t]];
155142
155152
  };
155143
155153
  function fnt(e, t) {
155144
155154
  const r = t.slice(0, -1).length;
155145
155155
  let n = 0;
155146
155156
  for (; n < r; )
155147
- e = Ji(e) ? n++ : e[t[n++]];
155157
+ e = eo(e) ? n++ : e[t[n++]];
155148
155158
  return e;
155149
155159
  }
155150
155160
  function pnt(e) {
155151
155161
  for (const t in e)
155152
- if (e.hasOwnProperty(t) && !Ji(e[t]))
155162
+ if (e.hasOwnProperty(t) && !eo(e[t]))
155153
155163
  return !1;
155154
155164
  return !0;
155155
155165
  }
@@ -155312,14 +155322,14 @@ function bie(e, t, r) {
155312
155322
  const n = Array.isArray(e);
155313
155323
  if (gs(e) || n)
155314
155324
  for (const i in e)
155315
- Array.isArray(e[i]) || gs(e[i]) && !Sie(e[i]) ? Ji(t) || Fx(r[i]) ? r[i] = Array.isArray(e[i]) ? kx(e[i], []) : { ...kx(e[i]) } : bie(e[i], ua(t) ? {} : t[i], r[i]) : r[i] = !Gp(e[i], t[i]);
155325
+ Array.isArray(e[i]) || gs(e[i]) && !Sie(e[i]) ? eo(t) || Fx(r[i]) ? r[i] = Array.isArray(e[i]) ? kx(e[i], []) : { ...kx(e[i]) } : bie(e[i], ua(t) ? {} : t[i], r[i]) : r[i] = !Gp(e[i], t[i]);
155316
155326
  return r;
155317
155327
  }
155318
- var Ay = (e, t) => bie(e, t, kx(t)), Cie = (e, { valueAsNumber: t, valueAsDate: r, setValueAs: n }) => Ji(e) ? e : t ? e === "" ? NaN : e && +e : r && wu(e) ? new Date(e) : n ? n(e) : e;
155328
+ var Ay = (e, t) => bie(e, t, kx(t)), Cie = (e, { valueAsNumber: t, valueAsDate: r, setValueAs: n }) => eo(e) ? e : t ? e === "" ? NaN : e && +e : r && wu(e) ? new Date(e) : n ? n(e) : e;
155319
155329
  function yI(e) {
155320
155330
  const t = e.ref;
155321
155331
  if (!(e.refs ? e.refs.every((r) => r.disabled) : t.disabled))
155322
- return F5(t) ? t.files : k5(t) ? vie(e.refs).value : xie(t) ? [...t.selectedOptions].map(({ value: r }) => r) : UO(t) ? yie(e.refs).value : Cie(Ji(t.value) ? e.ref.value : t.value, e);
155332
+ return F5(t) ? t.files : k5(t) ? vie(e.refs).value : xie(t) ? [...t.selectedOptions].map(({ value: r }) => r) : UO(t) ? yie(e.refs).value : Cie(eo(t.value) ? e.ref.value : t.value, e);
155323
155333
  }
155324
155334
  var Ant = (e, t, r, n) => {
155325
155335
  const i = {};
@@ -155333,7 +155343,7 @@ var Ant = (e, t, r, n) => {
155333
155343
  fields: i,
155334
155344
  shouldUseNativeValidation: n
155335
155345
  };
155336
- }, G0 = (e) => Ji(e) ? e : Mx(e) ? e.source : gs(e) ? Mx(e.value) ? e.value.source : e.value : e, mnt = (e) => e.mount && (e.required || e.min || e.max || e.maxLength || e.minLength || e.pattern || e.validate);
155346
+ }, G0 = (e) => eo(e) ? e : Mx(e) ? e.source : gs(e) ? Mx(e.value) ? e.value.source : e.value : e, mnt = (e) => e.mount && (e.required || e.min || e.max || e.maxLength || e.minLength || e.pattern || e.validate);
155337
155347
  function qH(e, t, r) {
155338
155348
  const n = yr(e, r);
155339
155349
  if (n || M5(r))
@@ -155454,8 +155464,8 @@ function ynt(e = {}) {
155454
155464
  }, b = (oe, ne, K, q) => {
155455
155465
  const ee = yr(n, oe);
155456
155466
  if (ee) {
155457
- const ae = yr(o, oe, Ji(K) ? yr(i, oe) : K);
155458
- Ji(ae) || q && q.defaultChecked || ne ? Fi(o, oe, ne ? ae : yI(ee._f)) : L(oe, ae), s.mount && m();
155467
+ const ae = yr(o, oe, eo(K) ? yr(i, oe) : K);
155468
+ eo(ae) || q && q.defaultChecked || ne ? Fi(o, oe, ne ? ae : yI(ee._f)) : L(oe, ae), s.mount && m();
155459
155469
  }
155460
155470
  }, x = (oe, ne, K, q, ee) => {
155461
155471
  let ae = !1, he = !1;
@@ -155526,7 +155536,7 @@ function ynt(e = {}) {
155526
155536
  }
155527
155537
  a.unMount = /* @__PURE__ */ new Set();
155528
155538
  }, N = (oe, ne) => (oe && ne && Fi(o, oe, ne), !Gp($(), i)), D = (oe, ne, K) => gie(oe, a, {
155529
- ...s.mount ? o : Ji(ne) ? i : wu(oe) ? { [oe]: ne } : ne
155539
+ ...s.mount ? o : eo(ne) ? i : wu(oe) ? { [oe]: ne } : ne
155530
155540
  }, K, ne), P = (oe) => VO(yr(s.mount ? o : i, oe, e.shouldUnregister ? yr(i, oe, []) : [])), L = (oe, ne, K = {}) => {
155531
155541
  const q = yr(n, oe);
155532
155542
  let ee = ne;
@@ -155591,7 +155601,7 @@ function ynt(e = {}) {
155591
155601
  let K, q;
155592
155602
  const ee = ja(oe);
155593
155603
  if (t.resolver) {
155594
- const ae = await R(Ji(oe) ? oe : ee);
155604
+ const ae = await R(eo(oe) ? oe : ee);
155595
155605
  K = Ra(ae), q = oe ? !ee.some((he) => yr(ae, he)) : K;
155596
155606
  } else oe ? (q = (await Promise.all(ee.map(async (ae) => {
155597
155607
  const he = yr(n, ae);
@@ -155606,7 +155616,7 @@ function ynt(e = {}) {
155606
155616
  const ne = {
155607
155617
  ...s.mount ? o : i
155608
155618
  };
155609
- return Ji(oe) ? ne : wu(oe) ? yr(ne, oe) : oe.map((K) => yr(ne, K));
155619
+ return eo(oe) ? ne : wu(oe) ? yr(ne, oe) : oe.map((K) => yr(ne, K));
155610
155620
  }, V = (oe, ne) => ({
155611
155621
  invalid: !!yr((ne || r).errors, oe),
155612
155622
  isDirty: !!yr((ne || r).dirtyFields, oe),
@@ -155641,7 +155651,7 @@ function ynt(e = {}) {
155641
155651
  }), !ne.keepIsValid && m();
155642
155652
  }, G = ({ disabled: oe, name: ne, field: K, fields: q, value: ee }) => {
155643
155653
  if (Eu(oe) && s.mount || oe) {
155644
- const ae = oe ? void 0 : Ji(ee) ? yI(K ? K._f : yr(q, ne)._f) : ee;
155654
+ const ae = oe ? void 0 : eo(ee) ? yI(K ? K._f : yr(q, ne)._f) : ee;
155645
155655
  Fi(o, ne, ae), x(ne, ae, !1, !1, !0);
155646
155656
  }
155647
155657
  }, W = (oe, ne = {}) => {
@@ -155676,7 +155686,7 @@ function ynt(e = {}) {
155676
155686
  ref: (ee) => {
155677
155687
  if (ee) {
155678
155688
  W(oe, ne), K = yr(n, oe);
155679
- const ae = Ji(ee.value) && ee.querySelectorAll && ee.querySelectorAll("input,select,textarea")[0] || ee, he = hnt(ae), Ae = K._f.refs || [];
155689
+ const ae = eo(ee.value) && ee.querySelectorAll && ee.querySelectorAll("input,select,textarea")[0] || ee, he = hnt(ae), Ae = K._f.refs || [];
155680
155690
  if (he ? Ae.find((fe) => fe === ae) : ae === K._f.ref)
155681
155691
  return;
155682
155692
  Fi(n, oe, {
@@ -155734,7 +155744,7 @@ function ynt(e = {}) {
155734
155744
  }), q)
155735
155745
  throw q;
155736
155746
  }, J = (oe, ne = {}) => {
155737
- yr(n, oe) && (Ji(ne.defaultValue) ? U(oe, us(yr(i, oe))) : (U(oe, ne.defaultValue), Fi(i, oe, us(ne.defaultValue))), ne.keepTouched || qo(r.touchedFields, oe), ne.keepDirty || (qo(r.dirtyFields, oe), r.isDirty = ne.defaultValue ? N(oe, us(yr(i, oe))) : N()), ne.keepError || (qo(r.errors, oe), u.isValid && m()), f.state.next({ ...r }));
155747
+ yr(n, oe) && (eo(ne.defaultValue) ? U(oe, us(yr(i, oe))) : (U(oe, ne.defaultValue), Fi(i, oe, us(ne.defaultValue))), ne.keepTouched || qo(r.touchedFields, oe), ne.keepDirty || (qo(r.dirtyFields, oe), r.isDirty = ne.defaultValue ? N(oe, us(yr(i, oe))) : N()), ne.keepError || (qo(r.errors, oe), u.isValid && m()), f.state.next({ ...r }));
155738
155748
  }, se = (oe, ne = {}) => {
155739
155749
  const K = oe ? us(oe) : i, q = us(K), ee = Ra(oe), ae = ee ? i : q;
155740
155750
  if (ne.keepDefaultValues || (i = K), !ne.keepValues) {
@@ -155742,7 +155752,7 @@ function ynt(e = {}) {
155742
155752
  for (const he of a.mount)
155743
155753
  yr(r.dirtyFields, he) ? Fi(ae, he, yr(o, he)) : U(he, yr(ae, he));
155744
155754
  else {
155745
- if (L5 && Ji(oe))
155755
+ if (L5 && eo(oe))
155746
155756
  for (const he of a.mount) {
155747
155757
  const Ae = yr(n, he);
155748
155758
  if (Ae && Ae._f) {
@@ -166682,7 +166692,7 @@ const Gx = (e) => {
166682
166692
  headers: {},
166683
166693
  query: "",
166684
166694
  variables: {}
166685
- }), b = Pt(!1), x = Pt(null), S = Rr(), [C, R] = ve(!1), { WORKFLOW_URLS: _, ENTITY_ID: I = "" } = io(), { VORTEX_MAIN_URL: N, TESSERACT_MAIN_URL: D, FRONTEND_URL: P } = _, L = r?.data?.type, F = r?.data?.properties?.activity_name, U = r?.data?.properties?.activity_id, k = r?.data?.properties?.integration_slug, X = (te) => {
166695
+ }), b = Pt(!1), x = Pt(null), S = Rr(), [C, R] = ve(!1), { WORKFLOW_URLS: _, ENTITY_ID: I = "" } = zi(), { VORTEX_MAIN_URL: N, TESSERACT_MAIN_URL: D, FRONTEND_URL: P } = _, L = r?.data?.type, F = r?.data?.properties?.activity_name, U = r?.data?.properties?.activity_id, k = r?.data?.properties?.integration_slug, X = (te) => {
166686
166696
  if (!te)
166687
166697
  return {};
166688
166698
  if (typeof te == "string")
@@ -167990,7 +168000,7 @@ const Gx = (e) => {
167990
168000
  }
167991
168001
  ),
167992
168002
  /* @__PURE__ */ d.jsx(
167993
- ro,
168003
+ no,
167994
168004
  {
167995
168005
  size: "md",
167996
168006
  language: "json",
@@ -169007,7 +169017,7 @@ const Gx = (e) => {
169007
169017
  required: "Template is required"
169008
169018
  },
169009
169019
  render: ({ field: f }) => /* @__PURE__ */ d.jsx(
169010
- ro,
169020
+ no,
169011
169021
  {
169012
169022
  ...f,
169013
169023
  label: "Template",
@@ -170329,7 +170339,7 @@ const Gx = (e) => {
170329
170339
  actionRef: p,
170330
170340
  MCP_INTEGRATION_FORM: h = !1
170331
170341
  }) => {
170332
- const A = wt(), g = Rr(), m = el(), { setNodes: E, getNode: O, getEdges: v } = no(), y = p || Pt(null), b = Pt(null), x = Zt(() => is(), []), { activities: S, triggers: C, reserved_keywords: R, activity_names: _ } = Yt(
170342
+ const A = wt(), g = Rr(), m = el(), { setNodes: E, getNode: O, getEdges: v } = io(), y = p || Pt(null), b = Pt(null), x = Zt(() => is(), []), { activities: S, triggers: C, reserved_keywords: R, activity_names: _ } = Yt(
170333
170343
  (Je) => Je.activities
170334
170344
  ), { canvasWorkflow: I, activityExecutionData: N, viewOnly: D = !1, triggerNodeTest: P } = Yt(
170335
170345
  (Je) => Je.canvas
@@ -170338,10 +170348,10 @@ const Gx = (e) => {
170338
170348
  C?.data?.data,
170339
170349
  t.data,
170340
170350
  "slug"
170341
- ), { ENTITY_ID: F, WORKFLOW_URLS: U, openAddonModal: k, currentSubscription: X } = io(), { workflow: M } = Yt((Je) => Je.workflows), $ = f || M?.source || "", V = OT(t, $), w = $L({
170351
+ ), { ENTITY_ID: F, WORKFLOW_URLS: U, openAddonModal: k, currentSubscription: X } = zi(), { workflow: M } = Yt((Je) => Je.workflows), $ = f || M?.source || "", V = OT(t, $), w = $L({
170342
170352
  defaultValues: V,
170343
170353
  mode: "onChange"
170344
- }), B = Pt(null), { analytics: j = {} } = io(), [z, G] = ve(!1), [W, H] = ve([]), [Q, Y] = ve(!1), J = Pt(null), { data: se } = m.find((Je) => Je.id === t?.id) || {}, { blt_node_states: te } = se || {}, {
170354
+ }), B = Pt(null), { analytics: j = {} } = zi(), [z, G] = ve(!1), [W, H] = ve([]), [Q, Y] = ve(!1), J = Pt(null), { data: se } = m.find((Je) => Je.id === t?.id) || {}, { blt_node_states: te } = se || {}, {
170345
170355
  test: le = "",
170346
170356
  setup_and_configure: Oe = "",
170347
170357
  node: xe = ""
@@ -171013,7 +171023,7 @@ const Gx = (e) => {
171013
171023
  ]
171014
171024
  }
171015
171025
  ),
171016
- /* @__PURE__ */ d.jsx(tr, { onClick: Ie, sx: eo(A), children: /* @__PURE__ */ d.jsx(Qe, { width: 24, height: 24, src: "ic_close" }) })
171026
+ /* @__PURE__ */ d.jsx(tr, { onClick: Ie, sx: to(A), children: /* @__PURE__ */ d.jsx(Qe, { width: 24, height: 24, src: "ic_close" }) })
171017
171027
  ] })
171018
171028
  ]
171019
171029
  }
@@ -171090,7 +171100,7 @@ const Gx = (e) => {
171090
171100
  }
171091
171101
  );
171092
171102
  }, wct = Ta((e) => {
171093
- const t = wt(), r = el(), n = ic(), { setNodes: i, setEdges: o } = no(), { canvasWorkflow: s } = Yt((E) => E.canvas), a = s?.meta?.isHorizontal ?? !0, { fromX: l, fromY: c, toX: u, toY: f, fromNode: p, sourcePosition: h, targetPosition: A } = e;
171103
+ const t = wt(), r = el(), n = ic(), { setNodes: i, setEdges: o } = io(), { canvasWorkflow: s } = Yt((E) => E.canvas), a = s?.meta?.isHorizontal ?? !0, { fromX: l, fromY: c, toX: u, toY: f, fromNode: p, sourcePosition: h, targetPosition: A } = e;
171094
171104
  if ([l, c, u, f].some((E) => typeof E != "number" || Number.isNaN(E)))
171095
171105
  return null;
171096
171106
  ke(() => {
@@ -171200,7 +171210,7 @@ const Gx = (e) => {
171200
171210
  ] }) })
171201
171211
  ] });
171202
171212
  }, Ict = (e) => {
171203
- const t = wt(), { canvasWorkflow: r } = Yt((G) => G.canvas), { ENTITY_ID: n, allowedAccount: i } = io(), o = HO(n, i), s = r?.meta?.isHorizontal ?? !0, {
171213
+ const t = wt(), { canvasWorkflow: r } = Yt((G) => G.canvas), { ENTITY_ID: n, allowedAccount: i } = zi(), o = HO(n, i), s = r?.meta?.isHorizontal ?? !0, {
171204
171214
  id: a,
171205
171215
  sourceX: l,
171206
171216
  sourceY: c,
@@ -171217,7 +171227,7 @@ const Gx = (e) => {
171217
171227
  } = e;
171218
171228
  if ([l, c, u, f].some((G) => typeof G != "number" || Number.isNaN(G)) || !p || !h)
171219
171229
  return null;
171220
- const y = ic(), b = el(), { deleteElements: x } = no(), S = Rr(), { viewOnly: C } = Yt((G) => G.canvas), R = y.find((G) => G.id === a), _ = R?.data?.isStraight === !0, I = () => qN({
171230
+ const y = ic(), b = el(), { deleteElements: x } = io(), S = Rr(), { viewOnly: C } = Yt((G) => G.canvas), R = y.find((G) => G.id === a), _ = R?.data?.isStraight === !0, I = () => qN({
171221
171231
  sourceX: l,
171222
171232
  sourceY: c,
171223
171233
  sourcePosition: p,
@@ -171339,7 +171349,7 @@ const Gx = (e) => {
171339
171349
  target: p,
171340
171350
  sourceHandle: h,
171341
171351
  targetHandle: A
171342
- } = e, { deleteElements: g } = no(), m = Rr(), { ENTITY_ID: E, allowedAccount: O } = io(), v = HO(E, O), y = el(), b = ic(), { viewOnly: x, canvasWorkflow: S, activitiesPopover: C } = Yt((z) => z.canvas), R = S?.meta?.isHorizontal ?? !0, _ = C?.edgeId === r && C?.active;
171352
+ } = e, { deleteElements: g } = io(), m = Rr(), { ENTITY_ID: E, allowedAccount: O } = zi(), v = HO(E, O), y = el(), b = ic(), { viewOnly: x, canvasWorkflow: S, activitiesPopover: C } = Yt((z) => z.canvas), R = S?.meta?.isHorizontal ?? !0, _ = C?.edgeId === r && C?.active;
171343
171353
  if ([n, i, o, s].some((z) => typeof z != "number" || Number.isNaN(z)) || !a || !l)
171344
171354
  return null;
171345
171355
  const [I, N, D] = qN({
@@ -171551,7 +171561,7 @@ const Mct = $c(
171551
171561
  );
171552
171562
  };
171553
171563
  function jct(e = !1) {
171554
- const t = Rr(), { getNodes: r, getEdges: n } = no(), i = r(), o = n(), s = Pt({ x: 0, y: 0 }), { activity_names: a } = Yt((m) => m.activities), { setNodes: l, screenToFlowPosition: c } = no(), [u, f] = ve([]), p = ut(
171564
+ const t = Rr(), { getNodes: r, getEdges: n } = io(), i = r(), o = n(), s = Pt({ x: 0, y: 0 }), { activity_names: a } = Yt((m) => m.activities), { setNodes: l, screenToFlowPosition: c } = io(), [u, f] = ve([]), p = ut(
171555
171565
  (m = c({ x: s.current.x, y: s.current.y })) => {
171556
171566
  const E = i.filter((y) => y.id === m);
171557
171567
  let O = [...i];
@@ -171692,7 +171702,7 @@ const QO = ({
171692
171702
  p: 0.5,
171693
171703
  width: 28,
171694
171704
  height: 28,
171695
- ...eo(a)
171705
+ ...to(a)
171696
171706
  },
171697
171707
  "data-testid": "node-action-switch-trigger",
171698
171708
  children: /* @__PURE__ */ d.jsx(
@@ -171789,7 +171799,7 @@ const QO = ({
171789
171799
  p: 0.5,
171790
171800
  width: 28,
171791
171801
  height: 28,
171792
- ...eo(a),
171802
+ ...to(a),
171793
171803
  ...F
171794
171804
  },
171795
171805
  "data-testid": "node-action-duplicate",
@@ -171856,7 +171866,7 @@ const QO = ({
171856
171866
  u(), l(!0);
171857
171867
  };
171858
171868
  ke(() => () => u(), []);
171859
- const { setNodes: h } = no(), { nodesToFocus: A } = Yt((S) => S.canvas), g = Rr(), m = A.nodes.includes(t), [E, O] = ve(r?.activity_comment?.body || ""), v = A.type;
171869
+ const { setNodes: h } = io(), { nodesToFocus: A } = Yt((S) => S.canvas), g = Rr(), m = A.nodes.includes(t), [E, O] = ve(r?.activity_comment?.body || ""), v = A.type;
171860
171870
  ke(() => {
171861
171871
  O(r?.activity_comment?.body || "");
171862
171872
  }, [r?.activity_comment?.body]);
@@ -172128,7 +172138,7 @@ const QO = ({
172128
172138
  proIntegration: a = !1,
172129
172139
  pro: l = !1
172130
172140
  }) => {
172131
- const c = Rr(), u = wt(), { setNodes: f, getNodes: p } = no(), { activitiesPopover: h } = Yt((m) => m.canvas), A = Zt(
172141
+ const c = Rr(), u = wt(), { setNodes: f, getNodes: p } = io(), { activitiesPopover: h } = Yt((m) => m.canvas), A = Zt(
172132
172142
  () => r ? $m(r, "t.resize(h:24,w:24)") : "",
172133
172143
  [r]
172134
172144
  ), g = (m) => {
@@ -172267,7 +172277,7 @@ const QO = ({
172267
172277
  },
172268
172278
  sx: {
172269
172279
  p: 0,
172270
- ...eo(u)
172280
+ ...to(u)
172271
172281
  },
172272
172282
  children: /* @__PURE__ */ d.jsx(Qe, { src: "ic_comment", width: 16, height: 16 })
172273
172283
  }
@@ -172300,7 +172310,7 @@ const QO = ({
172300
172310
  }, Gct = re.memo((e) => {
172301
172311
  const t = el(), r = ic(), n = wt(), { canvasWorkflow: i, activityExecutionData: o, viewOnly: s, selectedActivityId: a } = Yt(
172302
172312
  (U) => U.canvas
172303
- ), l = i?.meta?.isHorizontal ?? !0, c = xh(), { setNodes: u } = no(), { id: f, data: p, onHandleClick: h, handleDeleteNode: A, selected: g, pro_integration: m, onRunWithPrevious: E } = e, O = t.find((U) => U.id === a), { activities: v, triggers: y } = Yt(GO), b = Array.isArray(v) ? v : [], x = Array.isArray(y) ? y : [], S = _i(b, x, p, "pro"), C = !!S && S !== "", R = C && m === !1, _ = o?.[p.name]?.loading ?? !1;
172313
+ ), l = i?.meta?.isHorizontal ?? !0, c = xh(), { setNodes: u } = io(), { id: f, data: p, onHandleClick: h, handleDeleteNode: A, selected: g, pro_integration: m, onRunWithPrevious: E } = e, O = t.find((U) => U.id === a), { activities: v, triggers: y } = Yt(GO), b = Array.isArray(v) ? v : [], x = Array.isArray(y) ? y : [], S = _i(b, x, p, "pro"), C = !!S && S !== "", R = C && m === !1, _ = o?.[p.name]?.loading ?? !1;
172304
172314
  let I = Array.isArray(p.properties?.branches) ? p.properties.branches : [];
172305
172315
  (p.type === nt.API || p.type === nt.GRAPHQL) && p.properties?.continue_on_failure === !1 && (I = I.filter((U) => U.ref === "success")), ke(() => {
172306
172316
  c(f);
@@ -172871,7 +172881,7 @@ const QO = ({
172871
172881
  }
172872
172882
  ) });
172873
172883
  }, Yct = ({ id: e, data: t, onHandleClick: r }) => {
172874
- const { isTriggerPlaceholder: n } = t, i = wt(), o = el(), s = ic(), { ENTITY_ID: a, allowedAccount: l } = io(), c = Rr(), { activitiesPopover: u, viewOnly: f, canvasWorkflow: p, selectedActivityId: h } = Yt(
172884
+ const { isTriggerPlaceholder: n } = t, i = wt(), o = el(), s = ic(), { ENTITY_ID: a, allowedAccount: l } = zi(), c = Rr(), { activitiesPopover: u, viewOnly: f, canvasWorkflow: p, selectedActivityId: h } = Yt(
172875
172885
  (E) => E.canvas
172876
172886
  ), A = HO(a, l), g = p?.meta?.isHorizontal ?? !0, m = (E) => {
172877
172887
  if (f)
@@ -173163,7 +173173,7 @@ const QO = ({
173163
173173
  handleDeleteNode: a,
173164
173174
  currentSubscription: l,
173165
173175
  pro_integration: c
173166
- } = e, u = Un(Hr.VERSION), f = is(), p = Un(f), h = Rr(), A = wt(), { analytics: g } = io(), m = el(), E = ic(), { workflow: O } = Yt((j) => j.workflows), { canvasWorkflow: v, activityExecutionData: y, viewOnly: b, showDebugLogs: x, selectedActivityId: S } = Yt(
173176
+ } = e, u = Un(Hr.VERSION), f = is(), p = Un(f), h = Rr(), A = wt(), { analytics: g } = zi(), m = el(), E = ic(), { workflow: O } = Yt((j) => j.workflows), { canvasWorkflow: v, activityExecutionData: y, viewOnly: b, showDebugLogs: x, selectedActivityId: S } = Yt(
173167
173177
  (j) => j.canvas
173168
173178
  ), C = m.find((j) => j.id === S), R = v?.meta?.isHorizontal ?? !0, _ = m?.find((j) => j?.type === Rt.TRIGGER), { activities: I, triggers: N } = Yt(GO), D = Array.isArray(I) ? I : [], P = Array.isArray(N) ? N : [], L = _i(D, P, r, "pro"), F = !!L && L !== "", U = F && c === !1, [k, X] = ve(!1), M = y?.[r.name]?.loading ?? !1, $ = _?.data?.type, w = (Array.isArray(r?.properties?.branches) ? r.properties.branches : []).length + 1, B = Math.max(w * 16, 84);
173169
173179
  return /* @__PURE__ */ d.jsxs(
@@ -173335,7 +173345,7 @@ const QO = ({
173335
173345
  }
173336
173346
  );
173337
173347
  }), Jct = (e, t, r, n, i) => {
173338
- const o = wt(), s = el(), a = ic(), l = Rr(), c = Un(), { analytics: u, ENTITY_ID: f, WORKFLOW_URLS: p } = io(), { activity_names: h } = Yt((_) => _.activities), { selectedPlaceholderId: A } = Yt((_) => _.canvas), g = (_, I) => [..._, I], { captureEvent: m, WORKFLOW_EVENTS: E } = u || {}, O = ut(
173348
+ const o = wt(), s = el(), a = ic(), l = Rr(), c = Un(), { analytics: u, ENTITY_ID: f, WORKFLOW_URLS: p } = zi(), { activity_names: h } = Yt((_) => _.activities), { selectedPlaceholderId: A } = Yt((_) => _.canvas), g = (_, I) => [..._, I], { captureEvent: m, WORKFLOW_EVENTS: E } = u || {}, O = ut(
173339
173349
  (_) => {
173340
173350
  _.preventDefault(), A && l({
173341
173351
  type: lm,
@@ -173712,7 +173722,7 @@ const QO = ({
173712
173722
  maxHistorySize: e = II.maxHistorySize,
173713
173723
  enableShortcuts: t = II.enableShortcuts
173714
173724
  } = II) => {
173715
- const { getNodes: r, getEdges: n, setNodes: i, setEdges: o } = no(), { selectedActivityId: s } = Yt((O) => O.canvas), a = r(), l = n(), [c, u] = ve([]), [f, p] = ve([]), h = ut(() => {
173725
+ const { getNodes: r, getEdges: n, setNodes: i, setEdges: o } = io(), { selectedActivityId: s } = Yt((O) => O.canvas), a = r(), l = n(), [c, u] = ve([]), [f, p] = ve([]), h = ut(() => {
173716
173726
  u((O) => {
173717
173727
  const v = O[O.length - 1];
173718
173728
  return v && v.nodes === a && v.edges === l ? O : [...O.slice(-e + 1), { nodes: a, edges: l }];
@@ -174416,7 +174426,7 @@ const moe = (e) => {
174416
174426
  showCanvasOverlay: O,
174417
174427
  setShowCanvasOverlay: v,
174418
174428
  pro_integration: y
174419
- } = e, b = Pt(null), x = Pt(!1), S = Rr(), C = Pt(0), { fitView: R, deleteElements: _, getNodes: I, getEdges: N, getNode: D, screenToFlowPosition: P } = no(), L = wt(), { analytics: F, allowedAccount: U, openAddonModal: k } = io(), X = Zt(() => HO(i, U), [i, U]), M = vy("Delete"), $ = vy("Backspace"), V = vy(["Meta+a", "Ctrl+a"], { actInsideInputWithModifier: !1 }), { VORTEX_MAIN_URL: w, VORTEX_SYNC_DOMAIN: B, BOLTICAI_MAIN_URL: j } = t, z = L.drawer.rightMenu, {
174429
+ } = e, b = Pt(null), x = Pt(!1), S = Rr(), C = Pt(0), { fitView: R, deleteElements: _, getNodes: I, getEdges: N, getNode: D, screenToFlowPosition: P } = io(), L = wt(), { analytics: F, allowedAccount: U, openAddonModal: k } = zi(), X = Zt(() => HO(i, U), [i, U]), M = vy("Delete"), $ = vy("Backspace"), V = vy(["Meta+a", "Ctrl+a"], { actInsideInputWithModifier: !1 }), { VORTEX_MAIN_URL: w, VORTEX_SYNC_DOMAIN: B, BOLTICAI_MAIN_URL: j } = t, z = L.drawer.rightMenu, {
174420
174430
  canvasWorkflow: G,
174421
174431
  activityExecutionData: W,
174422
174432
  viewOnly: H,
@@ -174516,8 +174526,8 @@ const moe = (e) => {
174516
174526
  Gt = le;
174517
174527
  const On = String(le.id), hn = f.find((uo) => uo?.id === On) || null;
174518
174528
  Et = hn?.position ?? { x: 0, y: 0 }, er = f.filter((uo) => uo?.id !== On), Jt = p.filter((uo) => uo?.data?.isTempAiEdge !== !0).filter((uo) => uo?.source !== On && uo?.target !== On);
174519
- const Xi = le.originalEdge;
174520
- Xi?.id && !Jt.some((uo) => uo?.id === Xi.id) && (Jt = [...Jt, Xi]);
174529
+ const qi = le.originalEdge;
174530
+ qi?.id && !Jt.some((uo) => uo?.id === qi.id) && (Jt = [...Jt, qi]);
174521
174531
  const as = er.find((uo) => uo.id === le.sourceNodeId), Hs = er.find((uo) => uo.id === le.targetNodeId);
174522
174532
  as && Hs && !hn?.position && (Et = {
174523
174533
  x: (as.position.x + Hs.position.x) / 2,
@@ -174842,7 +174852,7 @@ const moe = (e) => {
174842
174852
  payload: !!Q?.nodeId
174843
174853
  });
174844
174854
  }, [Q?.nodeId]);
174845
- const [In, gr] = ve(!1), [$r, Hn] = ve(!1), [Ut, lr] = ve(!1), [Jr, Br] = ve(null), [Pr, zr] = ve(!1), { selectedActivityId: en, openDrawer: Kr } = Yt((pe) => pe.canvas), [$n, Fn] = ve(null), Xn = no(), { undo: Pi, redo: mo, canUndo: gn, canRedo: Bo, takeSnapshot: ie } = eut(), Ze = (() => {
174855
+ const [In, gr] = ve(!1), [$r, Hn] = ve(!1), [Ut, lr] = ve(!1), [Jr, Br] = ve(null), [Pr, zr] = ve(!1), { selectedActivityId: en, openDrawer: Kr } = Yt((pe) => pe.canvas), [$n, Fn] = ve(null), Xn = io(), { undo: Pi, redo: mo, canUndo: gn, canRedo: Bo, takeSnapshot: ie } = eut(), Ze = (() => {
174846
174856
  const pe = localStorage.getItem(`viewport-${ge}`);
174847
174857
  if (pe)
174848
174858
  return JSON.parse(pe);
@@ -175231,8 +175241,8 @@ const moe = (e) => {
175231
175241
  return !1;
175232
175242
  } else if (hn.ref && hn.ref !== pe)
175233
175243
  return !1;
175234
- const Xi = rt.find((Hs) => Hs.id === hn.id);
175235
- return Xi ? !(Xi.type === Rt.PLACEHOLDER && Xi.data?.isActivityPlaceholder) : !1;
175244
+ const qi = rt.find((Hs) => Hs.id === hn.id);
175245
+ return qi ? !(qi.type === Rt.PLACEHOLDER && qi.data?.isActivityPlaceholder) : !1;
175236
175246
  }), Ct = Et.some((hn) => {
175237
175247
  if (hn.source !== Fe || (hn.sourceHandle || "outHandle") !== (pe || "outHandle") || hn.type === on.PLACEHOLDER || hn.target?.startsWith("placeholder_") || rt.some(
175238
175248
  (Zd) => Zd.id === hn.target && Zd.type === Rt.PLACEHOLDER && Zd.data?.isActivityPlaceholder
@@ -175515,7 +175525,7 @@ const moe = (e) => {
175515
175525
  );
175516
175526
  }, Dn = () => {
175517
175527
  zr(!0), En(K?.data?.data?.[0]?.id, K?.data?.data?.[0]?.status);
175518
- }, zi = Lpe(L), qn = 55, lo = 95, xo = te ?? 340, fi = `-${qn}px`, co = `calc(100% + ${lo}px)`, go = fi, sa = se ? `calc(${co} - ${xo}px)` : co;
175528
+ }, Xi = Lpe(L), qn = 55, lo = 95, xo = te ?? 340, fi = `-${qn}px`, co = `calc(100% + ${lo}px)`, go = fi, sa = se ? `calc(${co} - ${xo}px)` : co;
175519
175529
  return ke(() => {
175520
175530
  if ((oe || ye) && !K?.data?.data?.length) {
175521
175531
  const pe = [Hr.PUBLISHED, Hr.SCHEDULED].includes(Se) && oe?.id || oe?.parent_id;
@@ -175808,7 +175818,7 @@ const moe = (e) => {
175808
175818
  right: 68,
175809
175819
  bottom: se ? Oe + 16 : 56,
175810
175820
  backgroundColor: L.palette.common.white,
175811
- boxShadow: zi.primary.outlined,
175821
+ boxShadow: Xi.primary.outlined,
175812
175822
  "&:hover": {
175813
175823
  backgroundColor: L.palette.common.white
175814
175824
  }
@@ -179165,7 +179175,7 @@ const JW = ({ data: e, maxHeight: t = 400 }) => {
179165
179175
  VORTEX_MAIN_URL: s,
179166
179176
  ENTITY_ID: a,
179167
179177
  navigate: l
179168
- } = e, c = Rr(), u = wt(), { analytics: f } = io(), [p, h] = ve({
179178
+ } = e, c = Rr(), u = wt(), { analytics: f } = zi(), [p, h] = ve({
179169
179179
  per_page: 10,
179170
179180
  type: "all"
179171
179181
  }), { executions: A, executionLogs: g, workflow: m } = Yt((Z) => Z.workflows), { activities: E, triggers: O } = Yt((Z) => Z.activities), { testExecutionId: v, showDebugLogs: y, runWithPreviousExecutionId: b, runLogsPanelHeight: x } = Yt((Z) => Z.canvas), [S, C] = ve("Logs"), [R] = ve(!0), [_, I] = ve(0), [N, D] = ve(""), [P, L] = ve("all"), [F, U] = ve(v), [k, X] = ve({
@@ -179494,7 +179504,7 @@ const JW = ({ data: e, maxHeight: t = 400 }) => {
179494
179504
  p: 0.5,
179495
179505
  border: `1px solid ${u.palette.neutral.outlined.border || u.palette.grey[300]}`,
179496
179506
  borderRadius: 1.5,
179497
- ...eo(u)
179507
+ ...to(u)
179498
179508
  },
179499
179509
  onClick: ze,
179500
179510
  disabled: A.loading,
@@ -179524,7 +179534,7 @@ const JW = ({ data: e, maxHeight: t = 400 }) => {
179524
179534
  p: 0.5,
179525
179535
  border: `1px solid ${u.palette.neutral.outlined.border || u.palette.grey[300]}`,
179526
179536
  borderRadius: 1.5,
179527
- ...eo(u)
179537
+ ...to(u)
179528
179538
  },
179529
179539
  children: /* @__PURE__ */ d.jsx(
179530
179540
  Qe,
@@ -179545,7 +179555,7 @@ const JW = ({ data: e, maxHeight: t = 400 }) => {
179545
179555
  tr,
179546
179556
  {
179547
179557
  onClick: o,
179548
- sx: { p: 0, ...eo(u) },
179558
+ sx: { p: 0, ...to(u) },
179549
179559
  size: "small",
179550
179560
  children: /* @__PURE__ */ d.jsx(
179551
179561
  Qe,
@@ -179736,7 +179746,7 @@ const JW = ({ data: e, maxHeight: t = 400 }) => {
179736
179746
  p: 0.5,
179737
179747
  border: `1px solid ${u.palette.neutral.outlined.border || u.palette.grey[300]}`,
179738
179748
  borderRadius: 1.5,
179739
- ...eo(u)
179749
+ ...to(u)
179740
179750
  },
179741
179751
  onClick: De,
179742
179752
  disabled: A.loading,
@@ -179984,7 +179994,7 @@ const JW = ({ data: e, maxHeight: t = 400 }) => {
179984
179994
  p: 0.5,
179985
179995
  border: `1px solid ${u.palette.neutral.outlined.border || u.palette.grey[300]}`,
179986
179996
  borderRadius: 1.5,
179987
- ...eo(u)
179997
+ ...to(u)
179988
179998
  },
179989
179999
  onClick: De,
179990
180000
  disabled: A.loading,
@@ -180347,7 +180357,7 @@ const JW = ({ data: e, maxHeight: t = 400 }) => {
180347
180357
  disabled: n = !1,
180348
180358
  ...i
180349
180359
  }) => /* @__PURE__ */ d.jsx(zN, { renderInput: e, options: t, disabled: n || r, ...i }), Ddt = Hd(Idt), Pdt = ({ onClose: e, open: t }) => {
180350
- const { WORKFLOW_URLS: r, ENTITY_ID: n } = io(), { VORTEX_MAIN_URL: i } = r, o = Rr(), { canvasWorkflow: s, viewOnly: a } = Yt((b) => b.canvas), { workflow: l } = Yt((b) => b.workflows), c = s?.meta?.fallback_workflow_id || "", [u, f] = ve(c), [p, h] = ve([]), [A, g] = ve(!1), E = is() === ei.DRAFT ? l?.id : l?.meta?.draft_id, O = Zt(() => Rdt(p, u), [p, u]), v = ut(
180360
+ const { WORKFLOW_URLS: r, ENTITY_ID: n } = zi(), { VORTEX_MAIN_URL: i } = r, o = Rr(), { canvasWorkflow: s, viewOnly: a } = Yt((b) => b.canvas), { workflow: l } = Yt((b) => b.workflows), c = s?.meta?.fallback_workflow_id || "", [u, f] = ve(c), [p, h] = ve([]), [A, g] = ve(!1), E = is() === ei.DRAFT ? l?.id : l?.meta?.draft_id, O = Zt(() => Rdt(p, u), [p, u]), v = ut(
180351
180361
  async (b) => {
180352
180362
  g(!0);
180353
180363
  try {
@@ -180518,7 +180528,7 @@ const JW = ({ data: e, maxHeight: t = 400 }) => {
180518
180528
  }
180519
180529
  );
180520
180530
  }, Ndt = ({ setActiveMenu: e, open: t, onClose: r }) => {
180521
- const n = wt(), i = Rr(), [o, s] = ve(""), [a, l] = ve(!1), [c, u] = ve(!1), [f, p] = ve(null), [h, A] = ve(!0), { canvasWorkflow: g } = Yt((k) => k.canvas), { WORKFLOW_URLS: m, ENTITY_ID: E } = io(), { setNodes: O, setEdges: v, getNodes: y } = no(), b = is(), x = Un(b), S = async (k) => {
180531
+ const n = wt(), i = Rr(), [o, s] = ve(""), [a, l] = ve(!1), [c, u] = ve(!1), [f, p] = ve(null), [h, A] = ve(!0), { canvasWorkflow: g } = Yt((k) => k.canvas), { WORKFLOW_URLS: m, ENTITY_ID: E } = zi(), { setNodes: O, setEdges: v, getNodes: y } = io(), b = is(), x = Un(b), S = async (k) => {
180522
180532
  if (!k) return;
180523
180533
  u(!0), i({
180524
180534
  type: nD,
@@ -181286,7 +181296,7 @@ async function Cft(e, t = {}) {
181286
181296
  return (await bft(e, t)).toDataURL();
181287
181297
  }
181288
181298
  const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose: n }) => {
181289
- const i = Rr(), o = wt(), { ENTITY_ID: s, WORKFLOW_URLS: a, analytics: l } = io(), { captureEvent: c, WORKFLOW_EVENTS: u } = l || {}, { VORTEX_MAIN_URL: f } = a, { canvasWorkflow: p } = Yt((C) => C.canvas), { share: h } = Yt((C) => C.workflows), A = Pt(), g = Zt(() => {
181299
+ const i = Rr(), o = wt(), { ENTITY_ID: s, WORKFLOW_URLS: a, analytics: l } = zi(), { captureEvent: c, WORKFLOW_EVENTS: u } = l || {}, { VORTEX_MAIN_URL: f } = a, { canvasWorkflow: p } = Yt((C) => C.canvas), { share: h } = Yt((C) => C.workflows), A = Pt(), g = Zt(() => {
181290
181300
  const C = Oc("nodes_update", e) || [], R = Oc("edges_update", null, t) || [];
181291
181301
  return { ...p, nodes: C, edges: R };
181292
181302
  }, [p, e, t]), m = ut(() => {
@@ -181622,7 +181632,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
181622
181632
  ] })
181623
181633
  ] }) }),
181624
181634
  /* @__PURE__ */ d.jsx(
181625
- ro,
181635
+ no,
181626
181636
  {
181627
181637
  viewOnly: !0,
181628
181638
  height: "300px",
@@ -181942,7 +181952,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
181942
181952
  left: 16
181943
181953
  },
181944
181954
  menuItemStyles: {
181945
- ...eo(o)
181955
+ ...to(o)
181946
181956
  },
181947
181957
  menuItems: p
181948
181958
  }
@@ -181959,23 +181969,45 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
181959
181969
  isActiveWorkflow: l,
181960
181970
  currentSubscription: c
181961
181971
  }) => {
181962
- const u = Rr(), f = wt(), { canvasWorkflow: p, selectedActivityId: h, publishLock: A } = Yt((P) => P.canvas), g = Array.isArray(c) ? c[0] : c, m = g?.metricData?.creation?.remaining, E = g?.metricData?.execution?.remaining, O = g?.status === "EXPIRED", v = g?.status === "CANCELLED", y = m == null || m <= 0, b = E == null || E <= 0, x = O || v || y || b, S = Zt(() => s?.find((P) => P.type === Rt.TRIGGER), [s]), C = Zt(() => S ? Kg(S, s) : !1, [S, s]), R = ut(() => {
181963
- const P = ET($6(i)), L = ET(
181972
+ const u = Rr(), f = wt(), { openAddonModal: p, openUpgradeModal: h } = zi(), { canvasWorkflow: A, selectedActivityId: g, publishLock: m } = Yt((F) => F.canvas), E = Array.isArray(c) ? c[0] : c, O = E?.metricData?.creation?.remaining, v = E?.metricData?.execution?.remaining, y = E?.status === "EXPIRED", b = E?.status === "CANCELLED", x = O == null || O <= 0, S = v == null || v <= 0, C = y || b || x || S, R = Zt(() => s?.find((F) => F.type === Rt.TRIGGER), [s]), _ = Zt(() => R ? Kg(R, s) : !1, [R, s]), I = ut(() => {
181973
+ const F = ET($6(i)), U = ET(
181964
181974
  $6({
181965
- ...p,
181975
+ ...A,
181966
181976
  nodes: Oc("nodes_update", s),
181967
181977
  edges: Oc("edges_update", null, a)
181968
181978
  })
181969
181979
  );
181970
- return P === L;
181971
- }, [i, p, s, a]), _ = ut(() => {
181972
- setTimeout(() => {
181973
- const L = ['[data-testid="plans-add-on-button"]', '[data-test-id="plan-upgrade-button"]'].map((F) => document.querySelector(F)).find((F) => F);
181974
- L && L.click();
181975
- }, 100);
181976
- }, []), I = ut(() => {
181977
- if (y || O || v) {
181978
- _();
181980
+ return F === U;
181981
+ }, [i, A, s, a]), N = ut(
181982
+ ({ preferAddon: F = !1 } = {}) => {
181983
+ if (F && typeof p == "function") {
181984
+ p();
181985
+ return;
181986
+ }
181987
+ if (!F && typeof h == "function") {
181988
+ h();
181989
+ return;
181990
+ }
181991
+ setTimeout(() => {
181992
+ const k = (F ? ['[data-testid="plans-add-on-button"]', '[data-test-id="plan-upgrade-button"]'] : ['[data-test-id="plan-upgrade-button"]', '[data-testid="plans-add-on-button"]']).map((X) => document.querySelector(X)).find((X) => X);
181993
+ if (k) {
181994
+ k.click();
181995
+ return;
181996
+ }
181997
+ u({
181998
+ type: an,
181999
+ payload: {
182000
+ open: !0,
182001
+ title: F ? "You have reached your workflow usage limit. Please add usage to continue." : "Your subscription is not active. Please update your plan to continue.",
182002
+ type: "error"
182003
+ }
182004
+ });
182005
+ }, 100);
182006
+ },
182007
+ [u, p, h]
182008
+ ), D = ut(() => {
182009
+ if (x || y || b) {
182010
+ N();
181979
182011
  return;
181980
182012
  }
181981
182013
  if (!l && e !== ei.DRAFT) {
@@ -181989,7 +182021,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
181989
182021
  });
181990
182022
  return;
181991
182023
  }
181992
- if (!S) {
182024
+ if (!R) {
181993
182025
  u({
181994
182026
  type: an,
181995
182027
  payload: {
@@ -182000,7 +182032,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
182000
182032
  });
182001
182033
  return;
182002
182034
  }
182003
- if (!C) {
182035
+ if (!_) {
182004
182036
  u({
182005
182037
  type: an,
182006
182038
  payload: {
@@ -182013,19 +182045,20 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
182013
182045
  }
182014
182046
  r(!t);
182015
182047
  }, [
182048
+ x,
182049
+ S,
182016
182050
  y,
182017
- O,
182018
- v,
182051
+ b,
182019
182052
  l,
182020
182053
  e,
182021
- S,
182022
- C,
182054
+ R,
182055
+ _,
182023
182056
  t,
182024
182057
  r,
182025
182058
  u,
182026
- _
182027
- ]), N = o || A || R() || h || !S || !C, D = !C && !(x || y) ? "Workflow not completed" : "";
182028
- return /* @__PURE__ */ d.jsx(ce, { direction: "row", gap: 1, children: Tt(n) && e === ei.DRAFT && /* @__PURE__ */ d.jsx(mr, { disableHoverListener: C, arrow: !0, title: D, children: /* @__PURE__ */ d.jsx("span", { children: /* @__PURE__ */ d.jsx(
182059
+ N
182060
+ ]), P = o || m || I() || g || !R || !_, L = !_ && !(C || x) ? "Workflow not completed" : "";
182061
+ return /* @__PURE__ */ d.jsx(ce, { direction: "row", gap: 1, children: Tt(n) && e === ei.DRAFT && /* @__PURE__ */ d.jsx(mr, { disableHoverListener: _, arrow: !0, title: L, children: /* @__PURE__ */ d.jsx("span", { children: /* @__PURE__ */ d.jsx(
182029
182062
  dr,
182030
182063
  {
182031
182064
  sx: {
@@ -182044,8 +182077,8 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
182044
182077
  }
182045
182078
  },
182046
182079
  variant: "contained",
182047
- onClick: I,
182048
- disabled: N,
182080
+ onClick: D,
182081
+ disabled: P,
182049
182082
  size: "medium",
182050
182083
  children: /* @__PURE__ */ d.jsx(He, { variant: "smSemiBold", children: "Publish" })
182051
182084
  }
@@ -182242,7 +182275,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
182242
182275
  };
182243
182276
  return /* @__PURE__ */ d.jsx(dr, { sx: { height: 32, ml: 1 }, variant: "contained", color: "primary", onClick: n, children: /* @__PURE__ */ d.jsx(He, { variant: "smSemiBold", children: "Edit Workflow" }) });
182244
182277
  }, kft = ({ open: e, onClose: t, navigate: r }) => {
182245
- const n = wt(), i = Rr(), { workflow: o } = Yt((O) => O.workflows), [s, a] = ve(!1), { ENTITY_ID: l, WORKFLOW_URLS: c, analytics: u } = io(), { VORTEX_MAIN_URL: f } = c, { captureEvent: p, WORKFLOW_EVENTS: h } = u || {}, A = () => {
182278
+ const n = wt(), i = Rr(), { workflow: o } = Yt((O) => O.workflows), [s, a] = ve(!1), { ENTITY_ID: l, WORKFLOW_URLS: c, analytics: u } = zi(), { VORTEX_MAIN_URL: f } = c, { captureEvent: p, WORKFLOW_EVENTS: h } = u || {}, A = () => {
182246
182279
  const O = o?.meta?.draft_id;
182247
182280
  if (!O) return;
182248
182281
  i({ type: gT });
@@ -182340,7 +182373,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
182340
182373
  edges: c,
182341
182374
  currentSubscription: u
182342
182375
  }) => {
182343
- const { VORTEX_MAIN_URL: f, GYRATE_MAIN_URL: p } = n, h = Rr(), A = wt(), { analytics: g } = io(), [m, E] = ve(!1), [O, v] = ve(!1), [y, b] = ve(!1), [x, S] = ve(!1), [C, R] = ve(""), [_, I] = ve(!1), [N, D] = ve(null), [P, L] = ve(!1), [F, U] = ve(!1), [k, X] = ve(!1), [M, $] = ve({
182376
+ const { VORTEX_MAIN_URL: f, GYRATE_MAIN_URL: p } = n, h = Rr(), A = wt(), { analytics: g } = zi(), [m, E] = ve(!1), [O, v] = ve(!1), [y, b] = ve(!1), [x, S] = ve(!1), [C, R] = ve(""), [_, I] = ve(!1), [N, D] = ve(null), [P, L] = ve(!1), [F, U] = ve(!1), [k, X] = ve(!1), [M, $] = ve({
182344
182377
  title: "",
182345
182378
  content: "",
182346
182379
  status: ""
@@ -182566,7 +182599,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
182566
182599
  p: 0,
182567
182600
  opacity: V ? 0.6 : 1
182568
182601
  },
182569
- ...eo(A)
182602
+ ...to(A)
182570
182603
  },
182571
182604
  onClick: fe,
182572
182605
  disabled: V,
@@ -182897,7 +182930,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
182897
182930
  },
182898
182931
  arrow: !0,
182899
182932
  title: "A global variable is a key-value pair that can be accessed and used throughout an entire workflow, ensuring consistency and reusability of data across different activities",
182900
- children: /* @__PURE__ */ d.jsx(Be, { component: "span", children: /* @__PURE__ */ d.jsx(Qe, { src: "ic_info", sx: { ...eo(i) } }) })
182933
+ children: /* @__PURE__ */ d.jsx(Be, { component: "span", children: /* @__PURE__ */ d.jsx(Qe, { src: "ic_info", sx: { ...to(i) } }) })
182901
182934
  }
182902
182935
  )
182903
182936
  ]
@@ -182909,7 +182942,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
182909
182942
  src: "ic_close",
182910
182943
  sx: {
182911
182944
  cursor: "pointer",
182912
- ...eo(i)
182945
+ ...to(i)
182913
182946
  },
182914
182947
  onClick: () => {
182915
182948
  r("");
@@ -183042,7 +183075,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
183042
183075
  src: "ic_close",
183043
183076
  sx: {
183044
183077
  cursor: "pointer",
183045
- ...eo(i)
183078
+ ...to(i)
183046
183079
  },
183047
183080
  onClick: () => {
183048
183081
  n("");
@@ -183365,7 +183398,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
183365
183398
  src: "ic_close",
183366
183399
  sx: {
183367
183400
  cursor: "pointer",
183368
- ...eo(E)
183401
+ ...to(E)
183369
183402
  },
183370
183403
  onClick: () => {
183371
183404
  i("");
@@ -183860,13 +183893,13 @@ const Wft = ({ onUpgradeToPro: e }) => {
183860
183893
  setSelectedMenu: u,
183861
183894
  pro_integration: f,
183862
183895
  openUpgradeModal: p
183863
- } = e, h = wt(), A = Rr(), g = no(), [m, E] = ve({}), { setNodes: O } = no(), [v, y] = ve(""), [b, x] = ve(!0), S = Un() || "", C = [
183896
+ } = e, h = wt(), A = Rr(), g = io(), [m, E] = ve({}), { setNodes: O } = io(), [v, y] = ve(""), [b, x] = ve(!0), S = Un() || "", C = [
183864
183897
  { icon: "ic_all", label: "All" },
183865
183898
  { icon: "ic_apps", label: "Integrations" },
183866
183899
  { icon: "ic_tools", label: "Built in tools" }
183867
183900
  ], [R, _] = ve(0), I = (K) => {
183868
183901
  _(K);
183869
- }, N = Pt(), D = Pt(null), { analytics: P, ENTITY_ID: L = "", WORKFLOW_URLS: F = {} } = io(), { captureEvent: U, WORKFLOW_EVENTS: k } = P || {}, { getNodes: X, getEdges: M } = no(), $ = xh(), V = X(), w = M(), { activities: B, triggers: j, activity_names: z } = Yt((K) => K.activities), { selectedPlaceholderId: G, canvasWorkflow: W } = Yt((K) => K.canvas), [H, Q] = ve([]), Y = (K) => {
183902
+ }, N = Pt(), D = Pt(null), { analytics: P, ENTITY_ID: L = "", WORKFLOW_URLS: F = {} } = zi(), { captureEvent: U, WORKFLOW_EVENTS: k } = P || {}, { getNodes: X, getEdges: M } = io(), $ = xh(), V = X(), w = M(), { activities: B, triggers: j, activity_names: z } = Yt((K) => K.activities), { selectedPlaceholderId: G, canvasWorkflow: W } = Yt((K) => K.canvas), [H, Q] = ve([]), Y = (K) => {
183870
183903
  const q = K.filter((ae) => ae.active ? R === 0 ? !0 : R === 1 ? Nf.includes(ae.type) : !Nf.includes(ae.type) : !1);
183871
183904
  if (n === "triggers") {
183872
183905
  const ae = { Triggers: { activities: q } };
@@ -184233,7 +184266,7 @@ const Wft = ({ onUpgradeToPro: e }) => {
184233
184266
  pro_integration: i,
184234
184267
  openUpgradeModal: o
184235
184268
  }) => {
184236
- const s = wt(), a = Rr(), { getNodes: l, getEdges: c, setNodes: u, setEdges: f } = no(), p = c(), h = l(), [A, g] = re.useState(""), { canvasWorkflow: m, showSideBar: E, selectedPlaceholderId: O } = Yt((X) => X.canvas), { retry_config: v } = m, { VORTEX_MAIN_URL: y, VORTEX_SYNC_DOMAIN: b } = r, x = is(), S = Un(x), C = Un(Hr.VERSION), { activitiesPopover: R } = Yt((X) => X.canvas), I = new URLSearchParams(window.location.search).get("source")?.toLowerCase(), N = () => Tt(m) ? !1 : x !== Hr.DRAFT, D = Zt(
184269
+ const s = wt(), a = Rr(), { getNodes: l, getEdges: c, setNodes: u, setEdges: f } = io(), p = c(), h = l(), [A, g] = re.useState(""), { canvasWorkflow: m, showSideBar: E, selectedPlaceholderId: O } = Yt((X) => X.canvas), { retry_config: v } = m, { VORTEX_MAIN_URL: y, VORTEX_SYNC_DOMAIN: b } = r, x = is(), S = Un(x), C = Un(Hr.VERSION), { activitiesPopover: R } = Yt((X) => X.canvas), I = new URLSearchParams(window.location.search).get("source")?.toLowerCase(), N = () => Tt(m) ? !1 : x !== Hr.DRAFT, D = Zt(
184237
184270
  () => [
184238
184271
  {
184239
184272
  label: "Add activity",
@@ -184932,6 +184965,7 @@ const Wft = ({ onUpgradeToPro: e }) => {
184932
184965
  ENTITY_ID: r,
184933
184966
  analytics: a,
184934
184967
  userData: l,
184968
+ openUpgradeModal: h,
184935
184969
  openAddonModal: A,
184936
184970
  currentSubscription: u,
184937
184971
  allowedAccount: p,
@@ -189367,7 +189401,7 @@ const FG = () => {
189367
189401
  JETBRIDGE_DASHBOARD_ACCOUNT_ID: t.JETBRIDGE_DASHBOARD_ACCOUNT_ID ?? "",
189368
189402
  JETBRIDGE_DASHBOARD_USER_ID: t.JETBRIDGE_DASHBOARD_USER_ID ?? ""
189369
189403
  }), AAt = ({ dashboardId: e, workflowId: t, startDate: r, endDate: n }) => {
189370
- const i = wt(), { ENTITY_ID: o, userData: s, WORKFLOW_URLS: a } = io(), { FYND_CLOUD_DOMAIN: l } = a, c = u4(), u = t ?? c ?? "", [f, p] = ve(!1), h = Zt(() => {
189404
+ const i = wt(), { ENTITY_ID: o, userData: s, WORKFLOW_URLS: a } = zi(), { FYND_CLOUD_DOMAIN: l } = a, c = u4(), u = t ?? c ?? "", [f, p] = ve(!1), h = Zt(() => {
189371
189405
  const g = l || "", m = {
189372
189406
  ANALYTICS_AUTH_TOKEN: a?.ANALYTICS_AUTH_TOKEN,
189373
189407
  JETBRIDGE_DASHBOARD_ACCOUNT_ID: a?.JETBRIDGE_DASHBOARD_ACCOUNT_ID,
@@ -189774,7 +189808,7 @@ const FG = () => {
189774
189808
  e.cooldownIds
189775
189809
  ]
189776
189810
  ), kG = (e) => {
189777
- const t = Rr(), { WORKFLOW_URLS: r, ENTITY_ID: n, analytics: i } = io(), { height: o, workflowId: s, state: a, fetchCounts: l, loadingStats: c } = e, { VORTEX_MAIN_URL: u } = r, f = () => {
189811
+ const t = Rr(), { WORKFLOW_URLS: r, ENTITY_ID: n, analytics: i } = zi(), { height: o, workflowId: s, state: a, fetchCounts: l, loadingStats: c } = e, { VORTEX_MAIN_URL: u } = r, f = () => {
189778
189812
  e.onRefresh ? e.onRefresh() : (t(
189779
189813
  jm(
189780
189814
  s,
@@ -191140,7 +191174,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
191140
191174
  {
191141
191175
  fallback: /* @__PURE__ */ d.jsx(ce, { sx: { ...fo, p: 2 }, children: /* @__PURE__ */ d.jsx($i, { size: 30 }) }),
191142
191176
  children: /* @__PURE__ */ d.jsx(
191143
- ro,
191177
+ no,
191144
191178
  {
191145
191179
  height: "calc(100vh - 440px)",
191146
191180
  size: "lg",
@@ -191179,7 +191213,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
191179
191213
  {
191180
191214
  fallback: /* @__PURE__ */ d.jsx(ce, { sx: { ...fo, p: 2 }, children: /* @__PURE__ */ d.jsx($i, { size: 30 }) }),
191181
191215
  children: /* @__PURE__ */ d.jsx(
191182
- ro,
191216
+ no,
191183
191217
  {
191184
191218
  height: "calc(100vh - 440px)",
191185
191219
  size: "lg",
@@ -191216,7 +191250,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
191216
191250
  {
191217
191251
  fallback: /* @__PURE__ */ d.jsx(ce, { sx: { ...fo, p: 2 }, children: /* @__PURE__ */ d.jsx($i, { size: 30 }) }),
191218
191252
  children: /* @__PURE__ */ d.jsx(
191219
- ro,
191253
+ no,
191220
191254
  {
191221
191255
  height: "calc(100vh - 440px)",
191222
191256
  size: "lg",
@@ -191241,7 +191275,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
191241
191275
  {
191242
191276
  fallback: /* @__PURE__ */ d.jsx(ce, { sx: { ...fo, p: 2 }, children: /* @__PURE__ */ d.jsx(Qe, { src: "ic_loading", width: 30, height: 30 }) }),
191243
191277
  children: /* @__PURE__ */ d.jsx(
191244
- ro,
191278
+ no,
191245
191279
  {
191246
191280
  height: "calc(100vh - 440px)",
191247
191281
  size: "lg",
@@ -191295,7 +191329,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
191295
191329
  parentExecutionStatus: n,
191296
191330
  currentStatus: i
191297
191331
  }) => {
191298
- const o = wt(), { WORKFLOW_URLS: s, ENTITY_ID: a } = io(), { VORTEX_MAIN_URL: l } = s, [c, u] = ve(null), f = !!c, [p, h] = ve(!1), [A, g] = ve([]), [m, E] = ve(null), O = async () => {
191332
+ const o = wt(), { WORKFLOW_URLS: s, ENTITY_ID: a } = zi(), { VORTEX_MAIN_URL: l } = s, [c, u] = ve(null), f = !!c, [p, h] = ve(!1), [A, g] = ve([]), [m, E] = ve(null), O = async () => {
191299
191333
  if (E(null), !!r) {
191300
191334
  h(!0);
191301
191335
  try {
@@ -191465,7 +191499,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
191465
191499
  )
191466
191500
  ] }) });
191467
191501
  }, BAt = (e) => {
191468
- const t = wt(), r = Rr(), { WORKFLOW_URLS: n, ENTITY_ID: i, analytics: o } = io(), { VORTEX_MAIN_URL: s } = n, { executionId: a, parentExecutionId: l, parentExecutionStatus: c } = e, u = u4(), { executionLogs: f } = Yt((ee) => ee.workflows), { activities: p, triggers: h } = Yt((ee) => ee.activities), [A, g] = ve("Data in"), [m, E] = ve("GUI"), [O, v] = ve(null), [y, b] = ve(""), [x, S] = ve([]), [C, R] = ve(!1), [_, I] = ve(!1), [N, D] = ve(!1), [P, L] = ve(!1), { retryExecutions: F } = _ae({
191502
+ const t = wt(), r = Rr(), { WORKFLOW_URLS: n, ENTITY_ID: i, analytics: o } = zi(), { VORTEX_MAIN_URL: s } = n, { executionId: a, parentExecutionId: l, parentExecutionStatus: c } = e, u = u4(), { executionLogs: f } = Yt((ee) => ee.workflows), { activities: p, triggers: h } = Yt((ee) => ee.activities), [A, g] = ve("Data in"), [m, E] = ve("GUI"), [O, v] = ve(null), [y, b] = ve(""), [x, S] = ve([]), [C, R] = ve(!1), [_, I] = ve(!1), [N, D] = ve(!1), [P, L] = ve(!1), { retryExecutions: F } = _ae({
191469
191503
  workflowId: u ?? void 0,
191470
191504
  VORTEX_MAIN_URL: s,
191471
191505
  ENTITY_ID: i
@@ -191843,7 +191877,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
191843
191877
  border: `1px solid ${t.palette.grey[300]}`,
191844
191878
  p: 0.5,
191845
191879
  ":hover": { backgroundColor: "transparent" },
191846
- ...eo(t)
191880
+ ...to(t)
191847
191881
  },
191848
191882
  children: /* @__PURE__ */ d.jsx(Qe, { src: "ic_refresh", width: 16, height: 16 })
191849
191883
  }
@@ -191863,7 +191897,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
191863
191897
  p: 0.5,
191864
191898
  opacity: M && !k ? 1 : 0.4,
191865
191899
  ":hover": { backgroundColor: "transparent" },
191866
- ...eo(t)
191900
+ ...to(t)
191867
191901
  },
191868
191902
  children: /* @__PURE__ */ d.jsx(
191869
191903
  Qe,
@@ -191890,7 +191924,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
191890
191924
  p: 0.5,
191891
191925
  opacity: $ && !k ? 1 : 0.4,
191892
191926
  ":hover": { backgroundColor: "transparent" },
191893
- ...eo(t)
191927
+ ...to(t)
191894
191928
  },
191895
191929
  children: /* @__PURE__ */ d.jsx(
191896
191930
  Qe,
@@ -192042,7 +192076,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
192042
192076
  tr,
192043
192077
  {
192044
192078
  onClick: t,
192045
- sx: { cursor: "pointer", p: 0, width: 24, height: 24, ...eo(n) },
192079
+ sx: { cursor: "pointer", p: 0, width: 24, height: 24, ...to(n) },
192046
192080
  "data-testid": "executions-back-button",
192047
192081
  children: /* @__PURE__ */ d.jsx(Qe, { src: "ic_back", width: 24, height: 24, fill: n.palette.neutral.solid.bg })
192048
192082
  }
@@ -192953,7 +192987,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
192953
192987
  sx: {
192954
192988
  border: "1px solid",
192955
192989
  borderColor: t.palette.neutral.outlined.border,
192956
- ...eo(t)
192990
+ ...to(t)
192957
192991
  },
192958
192992
  onClick: R,
192959
192993
  "data-testid": "refresh-button",
@@ -194336,7 +194370,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
194336
194370
  }
194337
194371
  }, []);
194338
194372
  }, mmt = (e) => {
194339
- const t = wt(), r = Rr(), { WORKFLOW_URLS: n, ENTITY_ID: i, analytics: o } = io(), { VORTEX_MAIN_URL: s } = n, {
194373
+ const t = wt(), r = Rr(), { WORKFLOW_URLS: n, ENTITY_ID: i, analytics: o } = zi(), { VORTEX_MAIN_URL: s } = n, {
194340
194374
  executionId: a = "",
194341
194375
  token: l,
194342
194376
  api: c,