@boltic/swirl 1.0.2-uat.77 → 1.0.2-uat.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 Kt, createContext as No, useContext as xo, forwardRef as Ur, useLayoutEffect as yN, useDeferredValue as TI, Suspense as Ra, lazy as vN, useReducer as Fd, Component as IG, Fragment as Qa, memo as va, useImperativeHandle as $u, createElement as hy, PureComponent as pae, isValidElement as Ay, cloneElement as my, Children as hae } from "react";
3
3
  import { Box as Be, useTheme as It, Portal as Aae, Snackbar as mae, Alert as gae, Typography as Ve, IconButton as tr, Slide as TN, Stack as ce, Button as fr, Tooltip as mr, Divider as _n, TextField as jo, ListSubheader as DA, OutlinedInput as xl, MenuItem as en, alpha as ps, Chip as Vi, InputAdornment as Xl, CircularProgress as Yn, Dialog as DG, Fade as Eae, DialogTitle as PG, DialogContent as NG, DialogActions as LG, List as UE, ListItem as Xs, ListItemAvatar as SN, Avatar as Pu, ListItemText as ZA, Card as Oae, Accordion as Nc, AccordionSummary as Lc, AccordionDetails as Mc, FormControlLabel as ts, Switch as Rc, Grid as Pe, Stepper as yae, Step as vae, StepLabel as Tae, styled as KS, StepConnector as Sae, Tabs as xN, Tab as lT, Skeleton as fa, FormLabel as MG, debounce as HE, FormControl as ur, Select as Do, Paper as P0, FormHelperText as dn, Menu as VE, MenuList as Q5, Checkbox as za, FormGroup as FG, Autocomplete as bN, Link as kd, InputBase as kG, RadioGroup as ZS, Radio as JS, Slider as BG, Collapse as xae, InputLabel as JA, ButtonGroup as bae, Input as Cae, Popover as _ae, ListItemButton as wae, StyledEngineProvider as Rae, ThemeProvider as CN, CssBaseline as Iae, Breadcrumbs as Dae, TableContainer as Pae, Table as Nae, TableHead as Lae, TableRow as hC, TableCell as AC, TableBody as Mae } from "@mui/material";
4
- import { MarkerType as Fl, addEdge as cT, useReactFlow as Ji, useStore as Fae, Panel as mC, MiniMap as kae, useNodes as Za, useEdges as tc, getBezierPath as _N, Handle as xf, useKeyPress as gy, useUpdateNodeInternals as gh, Position as xi, ReactFlow as Bae, SelectionMode as jae, Background as $ae, getNodesBounds as Uae, getViewportForBounds as Hae, useNodesState as Vae, useEdgesState as Wae, useNodesInitialized as Gae, applyNodeChanges as Qae, useOnViewportChange as zae, ReactFlowProvider as wN } from "@xyflow/react";
4
+ import { MarkerType as Fl, addEdge as cT, useReactFlow as eo, useStore as Fae, Panel as mC, MiniMap as kae, useNodes as Za, useEdges as tc, getBezierPath as _N, Handle as xf, useKeyPress as gy, useUpdateNodeInternals as gh, Position as xi, ReactFlow as Bae, SelectionMode as jae, Background as $ae, getNodesBounds as Uae, getViewportForBounds as Hae, useNodesState as Vae, useEdgesState as Wae, useNodesInitialized as Gae, applyNodeChanges as Qae, useOnViewportChange as zae, ReactFlowProvider as wN } from "@xyflow/react";
5
5
  import { useDispatch as Lr, useSelector as Jt, Provider as RN } from "react-redux";
6
6
  import { configureStore as Xae, createSelector as Fc } from "@reduxjs/toolkit";
7
7
  import { DOMEditor as Yae, withDOM as qae, IS_ANDROID as $l, EDITOR_TO_PENDING_SELECTION as mp, EDITOR_TO_ON_CHANGE as z5, EDITOR_TO_FORCE_RENDER as jG, IS_READ_ONLY as Kae, IS_NODE_MAP_DIRTY as fg, IS_WEBKIT as gp, getActiveElement as Zae, getSelection as gC, IS_FOCUSED as qO, getDefaultView as Jae, EDITOR_TO_WINDOW as ele, EDITOR_TO_ELEMENT as EC, NODE_TO_ELEMENT as Up, ELEMENT_TO_NODE as uT, IS_FIREFOX as X5, containsShadowAware as Y5, EDITOR_TO_USER_SELECTION as OC, IS_COMPOSING as OA, HAS_BEFORE_INPUT_SUPPORT as Yd, PLACEHOLDER_SYMBOL as dT, MARK_PLACEHOLDER_SYMBOL as $G, EDITOR_TO_PENDING_INSERTION_MARKS as wp, isPlainTextOnlyPaste as tle, Hotkeys as yo, IS_CHROME as rle, IS_FIREFOX_LEGACY as nle, IS_IOS as ile, IS_WECHATBROWSER as ole, IS_UC_MOBILE as sle, EDITOR_TO_USER_MARKS as Rp, isDOMNode as SI, TRIPLE_CLICK as ale, isDOMElement as lle, CAN_USE_DOM as Ey, EDITOR_TO_SCHEDULE_FLUSH as cle, NODE_TO_INDEX as Gm, NODE_TO_PARENT as Oy, isTrackedMutation as UG, EDITOR_TO_PENDING_DIFFS as qd, applyStringDiff as ule, isDOMSelection as dle, EDITOR_TO_PENDING_ACTION as Fh, targetRange as fle, verifyDiffState as ple, splitDecorationsByChild as hle, isElementDecorationsEqual as IN, Key as Ale, EDITOR_TO_PLACEHOLDER_ELEMENT as xI, normalizeStringDiff as mle, mergeStringDiffs as gle, normalizeRange as q5, normalizePoint as Ele, EDITOR_TO_KEY_TO_ELEMENT as HG, isTextDecorationsEqual as VG } from "slate-dom";
@@ -2738,7 +2738,7 @@ const sue = () => {
2738
2738
  display: "flex",
2739
2739
  flexDirection: "row",
2740
2740
  alignItems: "center"
2741
- }, Ki = (e) => ({
2741
+ }, Zi = (e) => ({
2742
2742
  "&:hover": {
2743
2743
  backgroundColor: "transparent",
2744
2744
  "& svg": {
@@ -2994,7 +2994,7 @@ const hQ = () => {
2994
2994
  {
2995
2995
  "aria-label": "close",
2996
2996
  onClick: p || A,
2997
- sx: Ki(t),
2997
+ sx: Zi(t),
2998
2998
  children: /* @__PURE__ */ f.jsx(
2999
2999
  Qe,
3000
3000
  {
@@ -3250,8 +3250,8 @@ function uue() {
3250
3250
  return Dn;
3251
3251
  if (!Mo(me))
3252
3252
  return me;
3253
- var Wi = ii(me);
3254
- if (Wi) {
3253
+ var Gi = ii(me);
3254
+ if (Gi) {
3255
3255
  if (Dn = fn(me), !He)
3256
3256
  return mn(me, Dn);
3257
3257
  } else {
@@ -3273,7 +3273,7 @@ function uue() {
3273
3273
  var Oo = gn.get(me);
3274
3274
  if (Oo)
3275
3275
  return Oo;
3276
- if (gn.set(me, Dn), !Wi)
3276
+ if (gn.set(me, Dn), !Gi)
3277
3277
  var fi = dt ? _e(me) : os(me);
3278
3278
  return j(fi || me, function(oo, fo) {
3279
3279
  fi && (fo = oo, oo = me[fo]), In(Dn, fo, Un(oo, He, dt, Ut, fo, me, gn));
@@ -17322,7 +17322,7 @@ const GI = async (e, t, r, n = "TB") => {
17322
17322
  onAutoLayout: o,
17323
17323
  bottomOffsetPx: s = 0
17324
17324
  }) => {
17325
- const a = It(), l = Lr(), c = Ji(), { setNodes: u, getNodes: d, zoomIn: p, zoomOut: h, fitView: A } = c, { setViewport: g, getViewport: m, zoomTo: E } = c, [O, y] = ve(!1), [v, b] = ve(!1), S = d(), { activities: x, triggers: C } = Jt((B) => B.activities), { canvasWorkflow: w, autoSaving: _, viewOnly: I } = Jt((B) => B.canvas), [N, D] = ve(!1), P = !!(x?.data?.data && C?.data?.data && (x.data.data.length > 0 || C.data.data.length > 0));
17325
+ const a = It(), l = Lr(), c = eo(), { setNodes: u, getNodes: d, zoomIn: p, zoomOut: h, fitView: A } = c, { setViewport: g, getViewport: m, zoomTo: E } = c, [O, y] = ve(!1), [v, b] = ve(!1), S = d(), { activities: x, triggers: C } = Jt((B) => B.activities), { canvasWorkflow: w, autoSaving: _, viewOnly: I } = Jt((B) => B.canvas), [N, D] = ve(!1), P = !!(x?.data?.data && C?.data?.data && (x.data.data.length > 0 || C.data.data.length > 0));
17326
17326
  ke(() => {
17327
17327
  D(!!_);
17328
17328
  }, [_]);
@@ -19033,7 +19033,7 @@ const phe = ({ theme: e, choice: t, renderSteps: r }) => /* @__PURE__ */ f.jsxs(
19033
19033
  onClick: r,
19034
19034
  sx: {
19035
19035
  p: 0,
19036
- ...Ki(A)
19036
+ ...Zi(A)
19037
19037
  },
19038
19038
  "data-testid": "button-close-dialog",
19039
19039
  children: /* @__PURE__ */ f.jsx(
@@ -19465,7 +19465,7 @@ Ja.prototype.property = "";
19465
19465
  Ja.prototype.spaceSeparated = !1;
19466
19466
  Ja.prototype.space = void 0;
19467
19467
  let Nhe = 0;
19468
- const Mn = yh(), Xo = yh(), XI = yh(), dr = yh(), zi = yh(), LA = yh(), al = yh();
19468
+ const Mn = yh(), Xo = yh(), XI = yh(), dr = yh(), Xi = yh(), LA = yh(), al = yh();
19469
19469
  function yh() {
19470
19470
  return 2 ** ++Nhe;
19471
19471
  }
@@ -19477,7 +19477,7 @@ const YI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19477
19477
  commaSeparated: LA,
19478
19478
  number: dr,
19479
19479
  overloadedBoolean: XI,
19480
- spaceSeparated: zi
19480
+ spaceSeparated: Xi
19481
19481
  }, Symbol.toStringTag, { value: "Module" })), I_ = (
19482
19482
  /** @type {ReadonlyArray<keyof typeof types>} */
19483
19483
  Object.keys(YI)
@@ -19532,36 +19532,36 @@ const az = F0({
19532
19532
  ariaColCount: dr,
19533
19533
  ariaColIndex: dr,
19534
19534
  ariaColSpan: dr,
19535
- ariaControls: zi,
19535
+ ariaControls: Xi,
19536
19536
  ariaCurrent: null,
19537
- ariaDescribedBy: zi,
19537
+ ariaDescribedBy: Xi,
19538
19538
  ariaDetails: null,
19539
19539
  ariaDisabled: Xo,
19540
- ariaDropEffect: zi,
19540
+ ariaDropEffect: Xi,
19541
19541
  ariaErrorMessage: null,
19542
19542
  ariaExpanded: Xo,
19543
- ariaFlowTo: zi,
19543
+ ariaFlowTo: Xi,
19544
19544
  ariaGrabbed: Xo,
19545
19545
  ariaHasPopup: null,
19546
19546
  ariaHidden: Xo,
19547
19547
  ariaInvalid: null,
19548
19548
  ariaKeyShortcuts: null,
19549
19549
  ariaLabel: null,
19550
- ariaLabelledBy: zi,
19550
+ ariaLabelledBy: Xi,
19551
19551
  ariaLevel: dr,
19552
19552
  ariaLive: null,
19553
19553
  ariaModal: Xo,
19554
19554
  ariaMultiLine: Xo,
19555
19555
  ariaMultiSelectable: Xo,
19556
19556
  ariaOrientation: null,
19557
- ariaOwns: zi,
19557
+ ariaOwns: Xi,
19558
19558
  ariaPlaceholder: null,
19559
19559
  ariaPosInSet: dr,
19560
19560
  ariaPressed: Xo,
19561
19561
  ariaReadOnly: Xo,
19562
19562
  ariaRelevant: null,
19563
19563
  ariaRequired: Xo,
19564
- ariaRoleDescription: zi,
19564
+ ariaRoleDescription: Xi,
19565
19565
  ariaRowCount: dr,
19566
19566
  ariaRowIndex: dr,
19567
19567
  ariaRowSpan: dr,
@@ -19596,8 +19596,8 @@ const Lhe = F0({
19596
19596
  // Standard Properties.
19597
19597
  abbr: null,
19598
19598
  accept: LA,
19599
- acceptCharset: zi,
19600
- accessKey: zi,
19599
+ acceptCharset: Xi,
19600
+ accessKey: Xi,
19601
19601
  action: null,
19602
19602
  allow: null,
19603
19603
  allowFullScreen: Mn,
@@ -19607,21 +19607,21 @@ const Lhe = F0({
19607
19607
  as: null,
19608
19608
  async: Mn,
19609
19609
  autoCapitalize: null,
19610
- autoComplete: zi,
19610
+ autoComplete: Xi,
19611
19611
  autoFocus: Mn,
19612
19612
  autoPlay: Mn,
19613
- blocking: zi,
19613
+ blocking: Xi,
19614
19614
  capture: null,
19615
19615
  charSet: null,
19616
19616
  checked: Mn,
19617
19617
  cite: null,
19618
- className: zi,
19618
+ className: Xi,
19619
19619
  cols: dr,
19620
19620
  colSpan: null,
19621
19621
  content: null,
19622
19622
  contentEditable: Xo,
19623
19623
  controls: Mn,
19624
- controlsList: zi,
19624
+ controlsList: Xi,
19625
19625
  coords: dr | LA,
19626
19626
  crossOrigin: null,
19627
19627
  data: null,
@@ -19643,14 +19643,14 @@ const Lhe = F0({
19643
19643
  formMethod: null,
19644
19644
  formNoValidate: Mn,
19645
19645
  formTarget: null,
19646
- headers: zi,
19646
+ headers: Xi,
19647
19647
  height: dr,
19648
19648
  hidden: XI,
19649
19649
  high: dr,
19650
19650
  href: null,
19651
19651
  hrefLang: null,
19652
- htmlFor: zi,
19653
- httpEquiv: zi,
19652
+ htmlFor: Xi,
19653
+ httpEquiv: Xi,
19654
19654
  id: null,
19655
19655
  imageSizes: null,
19656
19656
  imageSrcSet: null,
@@ -19660,10 +19660,10 @@ const Lhe = F0({
19660
19660
  is: null,
19661
19661
  isMap: Mn,
19662
19662
  itemId: null,
19663
- itemProp: zi,
19664
- itemRef: zi,
19663
+ itemProp: Xi,
19664
+ itemRef: Xi,
19665
19665
  itemScope: Mn,
19666
- itemType: zi,
19666
+ itemType: Xi,
19667
19667
  kind: null,
19668
19668
  label: null,
19669
19669
  lang: null,
@@ -19776,7 +19776,7 @@ const Lhe = F0({
19776
19776
  open: Mn,
19777
19777
  optimum: dr,
19778
19778
  pattern: null,
19779
- ping: zi,
19779
+ ping: Xi,
19780
19780
  placeholder: null,
19781
19781
  playsInline: Mn,
19782
19782
  popover: null,
@@ -19786,12 +19786,12 @@ const Lhe = F0({
19786
19786
  preload: null,
19787
19787
  readOnly: Mn,
19788
19788
  referrerPolicy: null,
19789
- rel: zi,
19789
+ rel: Xi,
19790
19790
  required: Mn,
19791
19791
  reversed: Mn,
19792
19792
  rows: dr,
19793
19793
  rowSpan: dr,
19794
- sandbox: zi,
19794
+ sandbox: Xi,
19795
19795
  scope: null,
19796
19796
  scoped: Mn,
19797
19797
  seamless: Mn,
@@ -19829,7 +19829,7 @@ const Lhe = F0({
19829
19829
  // Several. Use CSS `text-align` instead,
19830
19830
  aLink: null,
19831
19831
  // `<body>`. Use CSS `a:active {color}` instead
19832
- archive: zi,
19832
+ archive: Xi,
19833
19833
  // `<object>`. List of URIs to archives
19834
19834
  axis: null,
19835
19835
  // `<td>` and `<th>`. Use `scope` on `<th>`
@@ -20144,7 +20144,7 @@ const Lhe = F0({
20144
20144
  by: null,
20145
20145
  calcMode: null,
20146
20146
  capHeight: dr,
20147
- className: zi,
20147
+ className: Xi,
20148
20148
  clip: null,
20149
20149
  clipPath: null,
20150
20150
  clipPathUnits: null,
@@ -20379,7 +20379,7 @@ const Lhe = F0({
20379
20379
  patternTransform: null,
20380
20380
  patternUnits: null,
20381
20381
  phase: null,
20382
- ping: zi,
20382
+ ping: Xi,
20383
20383
  pitch: null,
20384
20384
  playbackOrder: null,
20385
20385
  pointerEvents: null,
@@ -21286,7 +21286,7 @@ function k0(e) {
21286
21286
  }
21287
21287
  return t.join("") + e.slice(n);
21288
21288
  }
21289
- function Zi(e, t, r, n) {
21289
+ function Ji(e, t, r, n) {
21290
21290
  const i = n ? n - 1 : Number.POSITIVE_INFINITY;
21291
21291
  let o = 0;
21292
21292
  return s;
@@ -21309,7 +21309,7 @@ function RAe(e) {
21309
21309
  e.consume(a);
21310
21310
  return;
21311
21311
  }
21312
- return e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), Zi(e, t, "linePrefix");
21312
+ return e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), Ji(e, t, "linePrefix");
21313
21313
  }
21314
21314
  function i(a) {
21315
21315
  return e.enter("paragraph"), o(a);
@@ -21447,7 +21447,7 @@ function DAe(e) {
21447
21447
  }
21448
21448
  }
21449
21449
  function PAe(e, t, r) {
21450
- return Zi(e, e.attempt(this.parser.constructs.document, t, r), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
21450
+ return Ji(e, e.attempt(this.parser.constructs.document, t, r), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
21451
21451
  }
21452
21452
  function GM(e) {
21453
21453
  if (e === null || $a(e) || _Ae(e))
@@ -21587,7 +21587,7 @@ const Ax = {
21587
21587
  function kAe(e, t, r) {
21588
21588
  return n;
21589
21589
  function n(o) {
21590
- return Ei(o) ? Zi(e, i, "linePrefix")(o) : i(o);
21590
+ return Ei(o) ? Ji(e, i, "linePrefix")(o) : i(o);
21591
21591
  }
21592
21592
  function i(o) {
21593
21593
  return o === null || vn(o) ? t(o) : r(o);
@@ -21621,7 +21621,7 @@ function jAe(e, t, r) {
21621
21621
  const n = this;
21622
21622
  return i;
21623
21623
  function i(s) {
21624
- return Ei(s) ? Zi(e, o, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(s) : o(s);
21624
+ return Ei(s) ? Ji(e, o, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(s) : o(s);
21625
21625
  }
21626
21626
  function o(s) {
21627
21627
  return e.attempt(vz, t, r)(s);
@@ -21691,7 +21691,7 @@ function VAe(e, t, r) {
21691
21691
  return o = x && x[1].type === "linePrefix" ? x[2].sliceSerialize(x[1], !0).length : 0, a = S, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), u(S);
21692
21692
  }
21693
21693
  function u(S) {
21694
- return S === a ? (s++, e.consume(S), u) : s < 3 ? r(S) : (e.exit("codeFencedFenceSequence"), Ei(S) ? Zi(e, d, "whitespace")(S) : d(S));
21694
+ return S === a ? (s++, e.consume(S), u) : s < 3 ? r(S) : (e.exit("codeFencedFenceSequence"), Ei(S) ? Ji(e, d, "whitespace")(S) : d(S));
21695
21695
  }
21696
21696
  function d(S) {
21697
21697
  return S === null || vn(S) ? (e.exit("codeFencedFence"), n.interrupt ? t(S) : e.check(zM, g, v)(S)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
@@ -21699,7 +21699,7 @@ function VAe(e, t, r) {
21699
21699
  }), p(S));
21700
21700
  }
21701
21701
  function p(S) {
21702
- return S === null || vn(S) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), d(S)) : Ei(S) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), Zi(e, h, "whitespace")(S)) : S === 96 && S === a ? r(S) : (e.consume(S), p);
21702
+ return S === null || vn(S) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), d(S)) : Ei(S) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), Ji(e, h, "whitespace")(S)) : S === 96 && S === a ? r(S) : (e.consume(S), p);
21703
21703
  }
21704
21704
  function h(S) {
21705
21705
  return S === null || vn(S) ? d(S) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
@@ -21716,7 +21716,7 @@ function VAe(e, t, r) {
21716
21716
  return e.enter("lineEnding"), e.consume(S), e.exit("lineEnding"), E;
21717
21717
  }
21718
21718
  function E(S) {
21719
- return o > 0 && Ei(S) ? Zi(e, O, "linePrefix", o + 1)(S) : O(S);
21719
+ return o > 0 && Ei(S) ? Ji(e, O, "linePrefix", o + 1)(S) : O(S);
21720
21720
  }
21721
21721
  function O(S) {
21722
21722
  return S === null || vn(S) ? e.check(zM, g, v)(S) : (e.enter("codeFlowValue"), y(S));
@@ -21734,13 +21734,13 @@ function VAe(e, t, r) {
21734
21734
  return S.enter("lineEnding"), S.consume(L), S.exit("lineEnding"), I;
21735
21735
  }
21736
21736
  function I(L) {
21737
- return S.enter("codeFencedFence"), Ei(L) ? Zi(S, N, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(L) : N(L);
21737
+ return S.enter("codeFencedFence"), Ei(L) ? Ji(S, N, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(L) : N(L);
21738
21738
  }
21739
21739
  function N(L) {
21740
21740
  return L === a ? (S.enter("codeFencedFenceSequence"), D(L)) : C(L);
21741
21741
  }
21742
21742
  function D(L) {
21743
- return L === a ? (w++, S.consume(L), D) : w >= s ? (S.exit("codeFencedFenceSequence"), Ei(L) ? Zi(S, P, "whitespace")(L) : P(L)) : C(L);
21743
+ return L === a ? (w++, S.consume(L), D) : w >= s ? (S.exit("codeFencedFenceSequence"), Ei(L) ? Ji(S, P, "whitespace")(L) : P(L)) : C(L);
21744
21744
  }
21745
21745
  function P(L) {
21746
21746
  return L === null || vn(L) ? (S.exit("codeFencedFence"), x(L)) : C(L);
@@ -21768,7 +21768,7 @@ function QAe(e, t, r) {
21768
21768
  const n = this;
21769
21769
  return i;
21770
21770
  function i(c) {
21771
- return e.enter("codeIndented"), Zi(e, o, "linePrefix", 5)(c);
21771
+ return e.enter("codeIndented"), Ji(e, o, "linePrefix", 5)(c);
21772
21772
  }
21773
21773
  function o(c) {
21774
21774
  const u = n.events[n.events.length - 1];
@@ -21788,7 +21788,7 @@ function zAe(e, t, r) {
21788
21788
  const n = this;
21789
21789
  return i;
21790
21790
  function i(s) {
21791
- return n.parser.lazy[n.now().line] ? r(s) : vn(s) ? (e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), i) : Zi(e, o, "linePrefix", 5)(s);
21791
+ return n.parser.lazy[n.now().line] ? r(s) : vn(s) ? (e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), i) : Ji(e, o, "linePrefix", 5)(s);
21792
21792
  }
21793
21793
  function o(s) {
21794
21794
  const a = n.events[n.events.length - 1];
@@ -22092,7 +22092,7 @@ function i0e(e, t, r) {
22092
22092
  const n = this;
22093
22093
  return i;
22094
22094
  function i(s) {
22095
- return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), Zi(e, o, "linePrefix");
22095
+ return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), Ji(e, o, "linePrefix");
22096
22096
  }
22097
22097
  function o(s) {
22098
22098
  if (s === null || vn(s))
@@ -22162,7 +22162,7 @@ function _z(e, t, r, n, i, o) {
22162
22162
  return p === s ? (e.enter(i), e.consume(p), e.exit(i), e.exit(n), t) : (e.enter(o), c(p));
22163
22163
  }
22164
22164
  function c(p) {
22165
- return p === s ? (e.exit(o), l(s)) : p === null ? r(p) : vn(p) ? (e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), Zi(e, c, "linePrefix")) : (e.enter("chunkString", {
22165
+ return p === s ? (e.exit(o), l(s)) : p === null ? r(p) : vn(p) ? (e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), Ji(e, c, "linePrefix")) : (e.enter("chunkString", {
22166
22166
  contentType: "string"
22167
22167
  }), u(p));
22168
22168
  }
@@ -22177,7 +22177,7 @@ function mg(e, t) {
22177
22177
  let r;
22178
22178
  return n;
22179
22179
  function n(i) {
22180
- return vn(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), r = !0, n) : Ei(i) ? Zi(e, n, r ? "linePrefix" : "lineSuffix")(i) : t(i);
22180
+ return vn(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), r = !0, n) : Ei(i) ? Ji(e, n, r ? "linePrefix" : "lineSuffix")(i) : t(i);
22181
22181
  }
22182
22182
  }
22183
22183
  const o0e = {
@@ -22229,7 +22229,7 @@ function a0e(e, t, r) {
22229
22229
  return e.attempt(s0e, d, d)(h);
22230
22230
  }
22231
22231
  function d(h) {
22232
- return Ei(h) ? Zi(e, p, "whitespace")(h) : p(h);
22232
+ return Ei(h) ? Ji(e, p, "whitespace")(h) : p(h);
22233
22233
  }
22234
22234
  function p(h) {
22235
22235
  return h === null || vn(h) ? (e.exit("definition"), n.parser.defined.push(i), t(h)) : r(h);
@@ -22244,7 +22244,7 @@ function l0e(e, t, r) {
22244
22244
  return _z(e, o, r, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(a);
22245
22245
  }
22246
22246
  function o(a) {
22247
- return Ei(a) ? Zi(e, s, "whitespace")(a) : s(a);
22247
+ return Ei(a) ? Ji(e, s, "whitespace")(a) : s(a);
22248
22248
  }
22249
22249
  function s(a) {
22250
22250
  return a === null || vn(a) ? t(a) : r(a);
@@ -22294,7 +22294,7 @@ function p0e(e, t, r) {
22294
22294
  return u === 35 && n++ < 6 ? (e.consume(u), s) : u === null || $a(u) ? (e.exit("atxHeadingSequence"), a(u)) : r(u);
22295
22295
  }
22296
22296
  function a(u) {
22297
- return u === 35 ? (e.enter("atxHeadingSequence"), l(u)) : u === null || vn(u) ? (e.exit("atxHeading"), t(u)) : Ei(u) ? Zi(e, a, "whitespace")(u) : (e.enter("atxHeadingText"), c(u));
22297
+ return u === 35 ? (e.enter("atxHeadingSequence"), l(u)) : u === null || vn(u) ? (e.exit("atxHeading"), t(u)) : Ei(u) ? Ji(e, a, "whitespace")(u) : (e.enter("atxHeadingText"), c(u));
22298
22298
  }
22299
22299
  function l(u) {
22300
22300
  return u === 35 ? (e.consume(u), l) : (e.exit("atxHeadingSequence"), a(u));
@@ -22595,7 +22595,7 @@ function S0e(e, t, r) {
22595
22595
  return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(M), e.exit("lineEnding"), U;
22596
22596
  }
22597
22597
  function U(M) {
22598
- return Ei(M) ? Zi(e, X, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(M) : X(M);
22598
+ return Ei(M) ? Ji(e, X, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(M) : X(M);
22599
22599
  }
22600
22600
  function X(M) {
22601
22601
  return e.enter("htmlTextData"), s(M);
@@ -22782,7 +22782,7 @@ const L_ = {
22782
22782
  function k0e(e, t) {
22783
22783
  return r;
22784
22784
  function r(n) {
22785
- return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), Zi(e, t, "linePrefix");
22785
+ return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), Ji(e, t, "linePrefix");
22786
22786
  }
22787
22787
  }
22788
22788
  const pv = {
@@ -22802,7 +22802,7 @@ function B0e(e, t, r) {
22802
22802
  return c === i ? (e.enter("thematicBreakSequence"), l(c)) : n >= 3 && (c === null || vn(c)) ? (e.exit("thematicBreak"), t(c)) : r(c);
22803
22803
  }
22804
22804
  function l(c) {
22805
- return c === i ? (e.consume(c), n++, l) : (e.exit("thematicBreakSequence"), Ei(c) ? Zi(e, a, "whitespace")(c) : a(c));
22805
+ return c === i ? (e.consume(c), n++, l) : (e.exit("thematicBreakSequence"), Ei(c) ? Ji(e, a, "whitespace")(c) : a(c));
22806
22806
  }
22807
22807
  }
22808
22808
  const ba = {
@@ -22860,18 +22860,18 @@ function H0e(e, t, r) {
22860
22860
  const n = this;
22861
22861
  return n.containerState._closeFlow = void 0, e.check(Ax, i, o);
22862
22862
  function i(a) {
22863
- return n.containerState.furtherBlankLines = n.containerState.furtherBlankLines || n.containerState.initialBlankLine, Zi(e, t, "listItemIndent", n.containerState.size + 1)(a);
22863
+ return n.containerState.furtherBlankLines = n.containerState.furtherBlankLines || n.containerState.initialBlankLine, Ji(e, t, "listItemIndent", n.containerState.size + 1)(a);
22864
22864
  }
22865
22865
  function o(a) {
22866
22866
  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($0e, t, s)(a));
22867
22867
  }
22868
22868
  function s(a) {
22869
- return n.containerState._closeFlow = !0, n.interrupt = void 0, Zi(e, e.attempt(ba, t, r), "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(a);
22869
+ return n.containerState._closeFlow = !0, n.interrupt = void 0, Ji(e, e.attempt(ba, t, r), "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(a);
22870
22870
  }
22871
22871
  }
22872
22872
  function V0e(e, t, r) {
22873
22873
  const n = this;
22874
- return Zi(e, i, "listItemIndent", n.containerState.size + 1);
22874
+ return Ji(e, i, "listItemIndent", n.containerState.size + 1);
22875
22875
  function i(o) {
22876
22876
  const s = n.events[n.events.length - 1];
22877
22877
  return s && s[1].type === "listItemIndent" && s[2].sliceSerialize(s[1], !0).length === n.containerState.size ? t(o) : r(o);
@@ -22882,7 +22882,7 @@ function W0e(e) {
22882
22882
  }
22883
22883
  function G0e(e, t, r) {
22884
22884
  const n = this;
22885
- return Zi(e, i, "listItemPrefixWhitespace", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
22885
+ return Ji(e, i, "listItemPrefixWhitespace", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
22886
22886
  function i(o) {
22887
22887
  const s = n.events[n.events.length - 1];
22888
22888
  return !Ei(o) && s && s[1].type === "listItemPrefixWhitespace" ? t(o) : r(o);
@@ -22934,7 +22934,7 @@ function z0e(e, t, r) {
22934
22934
  return e.enter("setextHeadingLineSequence"), a(c);
22935
22935
  }
22936
22936
  function a(c) {
22937
- return c === i ? (e.consume(c), a) : (e.exit("setextHeadingLineSequence"), Ei(c) ? Zi(e, l, "lineSuffix")(c) : l(c));
22937
+ return c === i ? (e.consume(c), a) : (e.exit("setextHeadingLineSequence"), Ei(c) ? Ji(e, l, "lineSuffix")(c) : l(c));
22938
22938
  }
22939
22939
  function l(c) {
22940
22940
  return c === null || vn(c) ? (e.exit("setextHeadingLine"), t(c)) : r(c);
@@ -22949,7 +22949,7 @@ function Y0e(e) {
22949
22949
  Ax,
22950
22950
  n,
22951
22951
  // Try to parse initial flow (essentially, only code).
22952
- e.attempt(this.parser.constructs.flowInitial, i, Zi(e, e.attempt(this.parser.constructs.flow, i, e.attempt(e0e, i)), "linePrefix"))
22952
+ e.attempt(this.parser.constructs.flowInitial, i, Ji(e, e.attempt(this.parser.constructs.flow, i, e.attempt(e0e, i)), "linePrefix"))
22953
22953
  );
22954
22954
  return r;
22955
22955
  function n(o) {
@@ -26137,7 +26137,7 @@ function Qge(e) {
26137
26137
  $ge.test(e.slice(0, t)) ? e : ""
26138
26138
  );
26139
26139
  }
26140
- const Uz = No(void 0), eo = () => {
26140
+ const Uz = No(void 0), Wi = () => {
26141
26141
  const e = xo(Uz);
26142
26142
  if (e === void 0)
26143
26143
  throw new Error("useWorkflow must be used within a WorkflowUrlsProvider");
@@ -26148,17 +26148,27 @@ const Uz = No(void 0), eo = () => {
26148
26148
  children: r,
26149
26149
  analytics: n,
26150
26150
  userData: i,
26151
- openAddonModal: o,
26152
- currentSubscription: s,
26153
- allowedAccount: a
26151
+ openUpgradeModal: o,
26152
+ openAddonModal: s,
26153
+ currentSubscription: a,
26154
+ allowedAccount: l
26154
26155
  }) => /* @__PURE__ */ f.jsx(
26155
26156
  Uz.Provider,
26156
26157
  {
26157
- value: { WORKFLOW_URLS: e, ENTITY_ID: t, analytics: n, userData: i, openAddonModal: o, currentSubscription: s, allowedAccount: a },
26158
+ value: {
26159
+ WORKFLOW_URLS: e,
26160
+ ENTITY_ID: t,
26161
+ analytics: n,
26162
+ userData: i,
26163
+ openUpgradeModal: o,
26164
+ openAddonModal: s,
26165
+ currentSubscription: a,
26166
+ allowedAccount: l
26167
+ },
26158
26168
  children: r
26159
26169
  }
26160
26170
  ), zge = ({ selectedNode: e, setOpenDocs: t, openDocs: r }) => {
26161
- const n = It(), { WORKFLOW_URLS: i } = eo(), { GYRATE_MAIN_URL: o } = i, { activities: s, triggers: a } = Jt((A) => A.activities), l = _i(
26171
+ const n = It(), { WORKFLOW_URLS: i } = Wi(), { GYRATE_MAIN_URL: o } = i, { activities: s, triggers: a } = Jt((A) => A.activities), l = _i(
26162
26172
  s?.data?.data,
26163
26173
  a?.data?.data,
26164
26174
  e?.data,
@@ -26232,7 +26242,7 @@ const Uz = No(void 0), eo = () => {
26232
26242
  children: "Open full doc"
26233
26243
  }
26234
26244
  ),
26235
- /* @__PURE__ */ f.jsx(tr, { onClick: () => t(!r), sx: Ki(n), children: /* @__PURE__ */ f.jsx(Qe, { width: 24, height: 24, src: "ic_close" }) })
26245
+ /* @__PURE__ */ f.jsx(tr, { onClick: () => t(!r), sx: Zi(n), children: /* @__PURE__ */ f.jsx(Qe, { width: 24, height: 24, src: "ic_close" }) })
26236
26246
  ] })
26237
26247
  ]
26238
26248
  }
@@ -26279,7 +26289,7 @@ var Ex = (e) => /^\w*$/.test(e), Ao = (e) => e === void 0, pL = (e) => Array.isA
26279
26289
  return r;
26280
26290
  const n = (Ex(t) ? [t] : hL(t)).reduce((i, o) => Ia(i) ? i : i[o], e);
26281
26291
  return Ao(n) || n === e ? Ao(e[t]) ? r : e[t] : n;
26282
- }, ul = (e) => typeof e == "boolean", pa = (e) => typeof e == "function", Qi = (e, t, r) => {
26292
+ }, ul = (e) => typeof e == "boolean", pa = (e) => typeof e == "function", zi = (e, t, r) => {
26283
26293
  let n = -1;
26284
26294
  const i = Ex(t) ? [t] : hL(t), o = i.length, s = o - 1;
26285
26295
  for (; ++n < o; ) {
@@ -26492,7 +26502,7 @@ function Kge(e) {
26492
26502
  };
26493
26503
  if (S(r, !0), v) {
26494
26504
  const x = Wo(_r(i._options.defaultValues, r, p.current.defaultValue));
26495
- Qi(i._defaultValues, r, x), Ao(_r(i._formValues, r)) && Qi(i._formValues, r, x);
26505
+ zi(i._defaultValues, r, x), Ao(_r(i._formValues, r)) && zi(i._formValues, r, x);
26496
26506
  }
26497
26507
  return !l && i.register(r), h.current = r, () => {
26498
26508
  (l ? v && !i._state.action : v) ? i.unregister(r) : S(r, !1);
@@ -26675,7 +26685,7 @@ var nEe = (e, t, r, n) => {
26675
26685
  const i = {};
26676
26686
  for (const o of e) {
26677
26687
  const s = _r(t, o);
26678
- s && Qi(i, o, s._f);
26688
+ s && zi(i, o, s._f);
26679
26689
  }
26680
26690
  return {
26681
26691
  criteriaMode: r,
@@ -26743,7 +26753,7 @@ var sEe = (e, t, r, n) => {
26743
26753
  return la(o) || Object.keys(o).length >= Object.keys(t).length || Object.keys(o).find((s) => t[s] === (!n || gc.all));
26744
26754
  }, aEe = (e, t, r) => !e || !t || e === t || Eg(e).some((n) => n && (r ? n === t : n.startsWith(t) || t.startsWith(n))), lEe = (e, t, r, n, i) => i.isOnAll ? !1 : !r && i.isOnTouch ? !(t || e) : (r ? n.isOnBlur : i.isOnBlur) ? !e : (r ? n.isOnChange : i.isOnChange) ? e : !0, cEe = (e, t) => !pL(_r(e, t)).length && Go(e, t), uEe = (e, t, r) => {
26745
26755
  const n = Eg(_r(e, r));
26746
- return Qi(n, "root", t[r]), Qi(e, r, n), e;
26756
+ return zi(n, "root", t[r]), zi(e, r, n), e;
26747
26757
  };
26748
26758
  function xF(e, t, r = "validate") {
26749
26759
  if (hl(e) || Array.isArray(e) && e.every(hl) || ul(e) && !e)
@@ -26901,7 +26911,7 @@ function fEe(e = {}) {
26901
26911
  }
26902
26912
  }, E = (Y, ee) => {
26903
26913
  !t.disabled && (d.isValidating || d.validatingFields || p.isValidating || p.validatingFields) && ((Y || Array.from(a.mount)).forEach((ae) => {
26904
- ae && (ee ? Qi(r.validatingFields, ae, ee) : Go(r.validatingFields, ae));
26914
+ ae && (ee ? zi(r.validatingFields, ae, ee) : Go(r.validatingFields, ae));
26905
26915
  }), h.state.next({
26906
26916
  validatingFields: r.validatingFields,
26907
26917
  isValidating: !la(r.validatingFields)
@@ -26910,15 +26920,15 @@ function fEe(e = {}) {
26910
26920
  if (pe && ae && !t.disabled) {
26911
26921
  if (s.action = !0, fe && Array.isArray(_r(n, Y))) {
26912
26922
  const xe = ae(_r(n, Y), pe.argA, pe.argB);
26913
- Ae && Qi(n, Y, xe);
26923
+ Ae && zi(n, Y, xe);
26914
26924
  }
26915
26925
  if (fe && Array.isArray(_r(r.errors, Y))) {
26916
26926
  const xe = ae(_r(r.errors, Y), pe.argA, pe.argB);
26917
- Ae && Qi(r.errors, Y, xe), cEe(r.errors, Y);
26927
+ Ae && zi(r.errors, Y, xe), cEe(r.errors, Y);
26918
26928
  }
26919
26929
  if ((d.touchedFields || p.touchedFields) && fe && Array.isArray(_r(r.touchedFields, Y))) {
26920
26930
  const xe = ae(_r(r.touchedFields, Y), pe.argA, pe.argB);
26921
- Ae && Qi(r.touchedFields, Y, xe);
26931
+ Ae && zi(r.touchedFields, Y, xe);
26922
26932
  }
26923
26933
  (d.dirtyFields || p.dirtyFields) && (r.dirtyFields = dA(i, o)), h.state.next({
26924
26934
  name: Y,
@@ -26928,9 +26938,9 @@ function fEe(e = {}) {
26928
26938
  isValid: r.isValid
26929
26939
  });
26930
26940
  } else
26931
- Qi(o, Y, ee);
26941
+ zi(o, Y, ee);
26932
26942
  }, y = (Y, ee) => {
26933
- Qi(r.errors, Y, ee), h.state.next({
26943
+ zi(r.errors, Y, ee), h.state.next({
26934
26944
  errors: r.errors
26935
26945
  });
26936
26946
  }, v = (Y) => {
@@ -26942,7 +26952,7 @@ function fEe(e = {}) {
26942
26952
  const Ae = _r(n, Y);
26943
26953
  if (Ae) {
26944
26954
  const fe = _r(o, Y, Ao(ae) ? _r(i, Y) : ae);
26945
- Ao(fe) || pe && pe.defaultChecked || ee ? Qi(o, Y, ee ? fe : OF(Ae._f)) : L(Y, fe), s.mount && !s.action && m();
26955
+ Ao(fe) || pe && pe.defaultChecked || ee ? zi(o, Y, ee ? fe : OF(Ae._f)) : L(Y, fe), s.mount && !s.action && m();
26946
26956
  }
26947
26957
  }, S = (Y, ee, ae, pe, Ae) => {
26948
26958
  let fe = !1, xe = !1;
@@ -26953,18 +26963,18 @@ function fEe(e = {}) {
26953
26963
  if (!ae || pe) {
26954
26964
  (d.isDirty || p.isDirty) && (xe = r.isDirty, r.isDirty = ge.isDirty = N(), fe = xe !== ge.isDirty);
26955
26965
  const ye = Ec(_r(i, Y), ee);
26956
- xe = !!_r(r.dirtyFields, Y), ye ? Go(r.dirtyFields, Y) : Qi(r.dirtyFields, Y, !0), ge.dirtyFields = r.dirtyFields, fe = fe || (d.dirtyFields || p.dirtyFields) && xe !== !ye;
26966
+ xe = !!_r(r.dirtyFields, Y), ye ? Go(r.dirtyFields, Y) : zi(r.dirtyFields, Y, !0), ge.dirtyFields = r.dirtyFields, fe = fe || (d.dirtyFields || p.dirtyFields) && xe !== !ye;
26957
26967
  }
26958
26968
  if (ae) {
26959
26969
  const ye = _r(r.touchedFields, Y);
26960
- ye || (Qi(r.touchedFields, Y, ae), ge.touchedFields = r.touchedFields, fe = fe || (d.touchedFields || p.touchedFields) && ye !== ae);
26970
+ ye || (zi(r.touchedFields, Y, ae), ge.touchedFields = r.touchedFields, fe = fe || (d.touchedFields || p.touchedFields) && ye !== ae);
26961
26971
  }
26962
26972
  fe && Ae && h.state.next(ge);
26963
26973
  }
26964
26974
  return fe ? ge : {};
26965
26975
  }, x = (Y, ee, ae, pe) => {
26966
26976
  const Ae = _r(r.errors, Y), fe = (d.isValid || p.isValid) && ul(ee) && r.isValid !== ee;
26967
- if (t.delayError && ae ? (l = g(() => y(Y, ae)), l(t.delayError)) : (clearTimeout(c), l = null, ae ? Qi(r.errors, Y, ae) : Go(r.errors, Y)), (ae ? !Ec(Ae, ae) : Ae) || !la(pe) || fe) {
26977
+ if (t.delayError && ae ? (l = g(() => y(Y, ae)), l(t.delayError)) : (clearTimeout(c), l = null, ae ? zi(r.errors, Y, ae) : Go(r.errors, Y)), (ae ? !Ec(Ae, ae) : Ae) || !la(pe) || fe) {
26968
26978
  const xe = {
26969
26979
  ...pe,
26970
26980
  ...fe && ul(ee) ? { isValid: ee } : {},
@@ -26981,7 +26991,7 @@ function fEe(e = {}) {
26981
26991
  if (E(Y), Y)
26982
26992
  for (const ae of Y) {
26983
26993
  const pe = _r(ee, ae);
26984
- pe ? Qi(r.errors, ae, pe) : Go(r.errors, ae);
26994
+ pe ? zi(r.errors, ae, pe) : Go(r.errors, ae);
26985
26995
  }
26986
26996
  else
26987
26997
  r.errors = ee;
@@ -26999,7 +27009,7 @@ function fEe(e = {}) {
26999
27009
  const Ge = await bF(Ae, a.disabled, o, A, t.shouldUseNativeValidation && !ee, ge);
27000
27010
  if (ye && d.validatingFields && E([fe.name]), Ge[fe.name] && (ae.valid = !1, ee || e.shouldUseNativeValidation))
27001
27011
  break;
27002
- !ee && (_r(Ge, fe.name) ? ge ? uEe(r.errors, Ge, fe.name) : Qi(r.errors, fe.name, Ge[fe.name]) : Go(r.errors, fe.name));
27012
+ !ee && (_r(Ge, fe.name) ? ge ? uEe(r.errors, Ge, fe.name) : zi(r.errors, fe.name, Ge[fe.name]) : Go(r.errors, fe.name));
27003
27013
  }
27004
27014
  !la(xe) && await _(xe, ee, ae);
27005
27015
  }
@@ -27011,14 +27021,14 @@ function fEe(e = {}) {
27011
27021
  ee && (ee._f.refs ? ee._f.refs.every((ae) => !V_(ae)) : !V_(ee._f.ref)) && $(Y);
27012
27022
  }
27013
27023
  a.unMount = /* @__PURE__ */ new Set();
27014
- }, N = (Y, ee) => !t.disabled && (Y && ee && Qi(o, Y, ee), !Ec(H(), i)), D = (Y, ee, ae) => nD(Y, a, {
27024
+ }, N = (Y, ee) => !t.disabled && (Y && ee && zi(o, Y, ee), !Ec(H(), i)), D = (Y, ee, ae) => nD(Y, a, {
27015
27025
  ...s.mount ? o : Ao(ee) ? i : hl(Y) ? { [Y]: ee } : ee
27016
27026
  }, ae, ee), P = (Y) => pL(_r(s.mount ? o : i, Y, t.shouldUnregister ? _r(i, Y, []) : [])), L = (Y, ee, ae = {}) => {
27017
27027
  const pe = _r(n, Y);
27018
27028
  let Ae = ee;
27019
27029
  if (pe) {
27020
27030
  const fe = pe._f;
27021
- fe && (!fe.disabled && Qi(o, Y, Zz(ee, fe)), Ae = xT(fe.ref) && Ia(ee) ? "" : ee, Yz(fe.ref) ? [...fe.ref.options].forEach((xe) => xe.selected = Ae.includes(xe.value)) : fe.refs ? tO(fe.ref) ? fe.refs.forEach((xe) => {
27031
+ fe && (!fe.disabled && zi(o, Y, Zz(ee, fe)), Ae = xT(fe.ref) && Ia(ee) ? "" : ee, Yz(fe.ref) ? [...fe.ref.options].forEach((xe) => xe.selected = Ae.includes(xe.value)) : fe.refs ? tO(fe.ref) ? fe.refs.forEach((xe) => {
27022
27032
  (!xe.defaultChecked || !xe.disabled) && (Array.isArray(Ae) ? xe.checked = !!Ae.find((ge) => ge === xe.value) : xe.checked = Ae === xe.value || !!Ae);
27023
27033
  }) : fe.refs.forEach((xe) => xe.checked = xe.value === Ae) : OL(fe.ref) ? fe.ref.value = "" : (fe.ref.value = Ae, fe.ref.type || h.state.next({
27024
27034
  name: Y,
@@ -27035,7 +27045,7 @@ function fEe(e = {}) {
27035
27045
  }
27036
27046
  }, W = (Y, ee, ae = {}) => {
27037
27047
  const pe = _r(n, Y), Ae = a.array.has(Y), fe = Wo(ee);
27038
- Qi(o, Y, fe), Ae ? (h.array.next({
27048
+ zi(o, Y, fe), Ae ? (h.array.next({
27039
27049
  name: Y,
27040
27050
  values: Wo(o)
27041
27051
  }), (d.isDirty || d.dirtyFields || p.isDirty || p.dirtyFields) && ae.shouldDirty && h.state.next({
@@ -27060,7 +27070,7 @@ function fEe(e = {}) {
27060
27070
  if (Ae) {
27061
27071
  let ye, Ge;
27062
27072
  const Ke = ee.type ? OF(Ae._f) : Vz(Y), We = Y.type === ST.BLUR || Y.type === ST.FOCUS_OUT, ot = !oEe(Ae._f) && !t.resolver && !_r(r.errors, ae) && !Ae._f.deps || lEe(We, _r(r.touchedFields, ae), r.isSubmitted, ge, xe), lt = TF(ae, a, We);
27063
- Qi(o, ae, Ke), We ? (!ee || !ee.readOnly) && (Ae._f.onBlur && Ae._f.onBlur(Y), l && l(0)) : Ae._f.onChange && Ae._f.onChange(Y);
27073
+ zi(o, ae, Ke), We ? (!ee || !ee.readOnly) && (Ae._f.onBlur && Ae._f.onBlur(Y), l && l(0)) : Ae._f.onChange && Ae._f.onChange(Y);
27064
27074
  const at = S(ae, Ke, We), Ie = !la(at) || lt;
27065
27075
  if (!We && h.state.next({
27066
27076
  name: ae,
@@ -27119,7 +27129,7 @@ function fEe(e = {}) {
27119
27129
  });
27120
27130
  }, k = (Y, ee, ae) => {
27121
27131
  const pe = (_r(n, Y, { _f: {} })._f || {}).ref, Ae = _r(r.errors, Y) || {}, { ref: fe, message: xe, type: ge, ...ye } = Ae;
27122
- Qi(r.errors, Y, {
27132
+ zi(r.errors, Y, {
27123
27133
  ...ye,
27124
27134
  ...ee,
27125
27135
  ref: pe
@@ -27165,7 +27175,7 @@ function fEe(e = {}) {
27165
27175
  }, Q = (Y, ee = {}) => {
27166
27176
  let ae = _r(n, Y);
27167
27177
  const pe = ul(ee.disabled) || ul(t.disabled);
27168
- return Qi(n, Y, {
27178
+ return zi(n, Y, {
27169
27179
  ...ae || {},
27170
27180
  _f: {
27171
27181
  ...ae && ae._f ? ae._f : { ref: { name: Y } },
@@ -27195,7 +27205,7 @@ function fEe(e = {}) {
27195
27205
  const fe = Ao(Ae.value) && Ae.querySelectorAll && Ae.querySelectorAll("input,select,textarea")[0] || Ae, xe = Jge(fe), ge = ae._f.refs || [];
27196
27206
  if (xe ? ge.find((ye) => ye === fe) : fe === ae._f.ref)
27197
27207
  return;
27198
- Qi(n, Y, {
27208
+ zi(n, Y, {
27199
27209
  _f: {
27200
27210
  ...ae._f,
27201
27211
  ...xe ? {
@@ -27253,7 +27263,7 @@ function fEe(e = {}) {
27253
27263
  }), pe)
27254
27264
  throw pe;
27255
27265
  }, te = (Y, ee = {}) => {
27256
- _r(n, Y) && (Ao(ee.defaultValue) ? W(Y, Wo(_r(i, Y))) : (W(Y, ee.defaultValue), Qi(i, Y, Wo(ee.defaultValue))), ee.keepTouched || Go(r.touchedFields, Y), ee.keepDirty || (Go(r.dirtyFields, Y), r.isDirty = ee.defaultValue ? N(Y, Wo(_r(i, Y))) : N()), ee.keepError || (Go(r.errors, Y), d.isValid && m()), h.state.next({ ...r }));
27266
+ _r(n, Y) && (Ao(ee.defaultValue) ? W(Y, Wo(_r(i, Y))) : (W(Y, ee.defaultValue), zi(i, Y, Wo(ee.defaultValue))), ee.keepTouched || Go(r.touchedFields, Y), ee.keepDirty || (Go(r.dirtyFields, Y), r.isDirty = ee.defaultValue ? N(Y, Wo(_r(i, Y))) : N()), ee.keepError || (Go(r.errors, Y), d.isValid && m()), h.state.next({ ...r }));
27257
27267
  }, le = (Y, ee = {}) => {
27258
27268
  const ae = Y ? Wo(Y) : i, pe = Wo(ae), Ae = la(Y), fe = Ae ? i : pe;
27259
27269
  if (ee.keepDefaultValues || (i = ae), !ee.keepValues) {
@@ -27264,7 +27274,7 @@ function fEe(e = {}) {
27264
27274
  ]);
27265
27275
  for (const ge of Array.from(xe)) {
27266
27276
  const ye = _r(r.dirtyFields, ge), Ge = _r(o, ge), Ke = _r(fe, ge);
27267
- ye && !Ao(Ge) ? Qi(fe, ge, Ge) : !ye && !Ao(Ke) && W(ge, Ke);
27277
+ ye && !Ao(Ge) ? zi(fe, ge, Ge) : !ye && !Ao(Ke) && W(ge, Ke);
27268
27278
  }
27269
27279
  } else {
27270
27280
  if (fL && Ao(Y))
@@ -27489,7 +27499,7 @@ const pEe = Ur(
27489
27499
  },
27490
27500
  activityExecutionList: u = null
27491
27501
  }, d) => {
27492
- const p = Jt((x) => x.canvas.showDebugLogs), { getNodes: h } = Ji(), A = h(), { data: g } = A.find((x) => x.id === s?.id) || {}, { blt_node_states: { test: m = "", node: E } = {} } = g || {}, O = () => a === 0 ? {
27502
+ const p = Jt((x) => x.canvas.showDebugLogs), { getNodes: h } = eo(), A = h(), { data: g } = A.find((x) => x.id === s?.id) || {}, { blt_node_states: { test: m = "", node: E } = {} } = g || {}, O = () => a === 0 ? {
27493
27503
  secondaryButtonText: "Cancel",
27494
27504
  primaryButtonText: th.includes(t) ? "Save" : "Next"
27495
27505
  } : a === 1 && (m === "default" || m === "") ? {
@@ -29827,7 +29837,7 @@ var AOe = {
29827
29837
  affinity: n
29828
29838
  } = e;
29829
29839
  if (r != null) {
29830
- var i = Xi.transform(r, t, {
29840
+ var i = Yi.transform(r, t, {
29831
29841
  affinity: n
29832
29842
  });
29833
29843
  e.current = i, i == null && e.unref();
@@ -30106,7 +30116,7 @@ var rr = {
30106
30116
  return t;
30107
30117
  },
30108
30118
  equals(e, t) {
30109
- return Xi.equals(e.anchor, t.anchor) && Xi.equals(e.focus, t.focus);
30119
+ return Yi.equals(e.anchor, t.anchor) && Yi.equals(e.focus, t.focus);
30110
30120
  },
30111
30121
  surrounds(e, t) {
30112
30122
  var r = rr.intersection(e, t);
@@ -30117,14 +30127,14 @@ var rr = {
30117
30127
  if (rr.includes(e, t.anchor) || rr.includes(e, t.focus))
30118
30128
  return !0;
30119
30129
  var [r, n] = rr.edges(e), [i, o] = rr.edges(t);
30120
- return Xi.isBefore(r, i) && Xi.isAfter(n, o);
30130
+ return Yi.isBefore(r, i) && Yi.isAfter(n, o);
30121
30131
  }
30122
30132
  var [s, a] = rr.edges(e), l = !1, c = !1;
30123
- return Pn.isPoint(t) ? (l = Xi.compare(t, s) >= 0, c = Xi.compare(t, a) <= 0) : (l = gt.compare(t, s.path) >= 0, c = gt.compare(t, a.path) <= 0), l && c;
30133
+ return Pn.isPoint(t) ? (l = Yi.compare(t, s) >= 0, c = Yi.compare(t, a) <= 0) : (l = gt.compare(t, s.path) >= 0, c = gt.compare(t, a.path) <= 0), l && c;
30124
30134
  },
30125
30135
  intersection(e, t) {
30126
- var r = Td(e, vOe), [n, i] = rr.edges(e), [o, s] = rr.edges(t), a = Xi.isBefore(n, o) ? o : n, l = Xi.isBefore(i, s) ? i : s;
30127
- return Xi.isBefore(l, a) ? null : TOe({
30136
+ var r = Td(e, vOe), [n, i] = rr.edges(e), [o, s] = rr.edges(t), a = Yi.isBefore(n, o) ? o : n, l = Yi.isBefore(i, s) ? i : s;
30137
+ return Yi.isBefore(l, a) ? null : TOe({
30128
30138
  anchor: a,
30129
30139
  focus: l
30130
30140
  }, r);
@@ -30134,14 +30144,14 @@ var rr = {
30134
30144
  anchor: t,
30135
30145
  focus: r
30136
30146
  } = e;
30137
- return Xi.isAfter(t, r);
30147
+ return Yi.isAfter(t, r);
30138
30148
  },
30139
30149
  isCollapsed(e) {
30140
30150
  var {
30141
30151
  anchor: t,
30142
30152
  focus: r
30143
30153
  } = e;
30144
- return Xi.equals(t, r);
30154
+ return Yi.equals(t, r);
30145
30155
  },
30146
30156
  isExpanded(e) {
30147
30157
  return !rr.isCollapsed(e);
@@ -30150,7 +30160,7 @@ var rr = {
30150
30160
  return !rr.isBackward(e);
30151
30161
  },
30152
30162
  isRange(e) {
30153
- return Ds(e) && Xi.isPoint(e.anchor) && Xi.isPoint(e.focus);
30163
+ return Ds(e) && Yi.isPoint(e.anchor) && Yi.isPoint(e.focus);
30154
30164
  },
30155
30165
  *points(e) {
30156
30166
  yield [e.anchor, "anchor"], yield [e.focus, "focus"];
@@ -30170,9 +30180,9 @@ var rr = {
30170
30180
  var s = rr.isCollapsed(e);
30171
30181
  rr.isForward(e) ? (i = "forward", o = s ? i : "backward") : (i = "backward", o = s ? i : "forward");
30172
30182
  } else n === "outward" ? rr.isForward(e) ? (i = "backward", o = "forward") : (i = "forward", o = "backward") : (i = n, o = n);
30173
- var a = Xi.transform(e.anchor, t, {
30183
+ var a = Yi.transform(e.anchor, t, {
30174
30184
  affinity: i
30175
- }), l = Xi.transform(e.focus, t, {
30185
+ }), l = Yi.transform(e.focus, t, {
30176
30186
  affinity: o
30177
30187
  });
30178
30188
  return !a || !l ? null : {
@@ -30913,7 +30923,7 @@ var GOe = /(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u
30913
30923
  shouldMergeNodesRemovePrevNode: (e, t, r) => e.shouldMergeNodesRemovePrevNode(t, r)
30914
30924
  }, Pn = {
30915
30925
  isLocation(e) {
30916
- return gt.isPath(e) || Xi.isPoint(e) || rr.isRange(e);
30926
+ return gt.isPath(e) || Yi.isPoint(e) || rr.isRange(e);
30917
30927
  },
30918
30928
  isPath(e) {
30919
30929
  return Array.isArray(e);
@@ -30949,16 +30959,16 @@ function nk(e) {
30949
30959
  }
30950
30960
  return e;
30951
30961
  }
30952
- var Xi = {
30962
+ var Yi = {
30953
30963
  compare(e, t) {
30954
30964
  var r = gt.compare(e.path, t.path);
30955
30965
  return r === 0 ? e.offset < t.offset ? -1 : e.offset > t.offset ? 1 : 0 : r;
30956
30966
  },
30957
30967
  isAfter(e, t) {
30958
- return Xi.compare(e, t) === 1;
30968
+ return Yi.compare(e, t) === 1;
30959
30969
  },
30960
30970
  isBefore(e, t) {
30961
- return Xi.compare(e, t) === -1;
30971
+ return Yi.compare(e, t) === -1;
30962
30972
  },
30963
30973
  equals(e, t) {
30964
30974
  return e.offset === t.offset && gt.equals(e.path, t.path);
@@ -31288,7 +31298,7 @@ var KOe = {
31288
31298
  if (Ep(e, gt.parent(O), (Q) => uD(Q, y, 1)), e.selection) {
31289
31299
  var v = Fo({}, e.selection);
31290
31300
  for (var [b, S] of rr.points(v)) {
31291
- var x = Xi.transform(b, t);
31301
+ var x = Yi.transform(b, t);
31292
31302
  if (v != null && x != null)
31293
31303
  v[S] = x;
31294
31304
  else {
@@ -31411,7 +31421,7 @@ var KOe = {
31411
31421
  if (r && e.selection) {
31412
31422
  var G = Fo({}, e.selection);
31413
31423
  for (var [$, j] of rr.points(G))
31414
- G[j] = Xi.transform($, t);
31424
+ G[j] = Yi.transform($, t);
31415
31425
  rr.equals(G, e.selection) || (e.selection = G);
31416
31426
  }
31417
31427
  }
@@ -32027,7 +32037,7 @@ var R1e = function(t, r) {
32027
32037
  return r.length === 0 || r.length === 1 && vt.isText(n) && n.text === "" && !e.isVoid(t);
32028
32038
  }, N1e = (e, t, r) => {
32029
32039
  var n = je.end(e, r);
32030
- return Xi.equals(t, n);
32040
+ return Yi.equals(t, n);
32031
32041
  }, L1e = (e) => {
32032
32042
  var t = hX.get(e);
32033
32043
  return t === void 0 ? !0 : t;
@@ -32035,7 +32045,7 @@ var R1e = function(t, r) {
32035
32045
  if (t.offset !== 0)
32036
32046
  return !1;
32037
32047
  var n = je.start(e, r);
32038
- return Xi.equals(t, n);
32048
+ return Yi.equals(t, n);
32039
32049
  }, F1e = (e, t) => {
32040
32050
  var r = je.path(e, t, {
32041
32051
  edge: "end"
@@ -32615,7 +32625,7 @@ var oye = (e, t) => {
32615
32625
  if (!rr.isCollapsed(c)) {
32616
32626
  if (!u) {
32617
32627
  var [, m] = rr.edges(c), E = je.end(t, []);
32618
- Xi.equals(m, E) || (c = je.unhangRange(t, c, {
32628
+ Yi.equals(m, E) || (c = je.unhangRange(t, c, {
32619
32629
  voids: l
32620
32630
  }));
32621
32631
  }
@@ -32926,7 +32936,7 @@ var Eye = function(t, r) {
32926
32936
  } = e, n = {}, i = {};
32927
32937
  if (r) {
32928
32938
  for (var o in t)
32929
- (o === "anchor" && t.anchor != null && !Xi.equals(t.anchor, r.anchor) || o === "focus" && t.focus != null && !Xi.equals(t.focus, r.focus) || o !== "anchor" && o !== "focus" && t[o] !== r[o]) && (n[o] = r[o], i[o] = t[o]);
32939
+ (o === "anchor" && t.anchor != null && !Yi.equals(t.anchor, r.anchor) || o === "focus" && t.focus != null && !Yi.equals(t.focus, r.focus) || o !== "anchor" && o !== "focus" && t[o] !== r[o]) && (n[o] = r[o], i[o] = t[o]);
32930
32940
  Object.keys(n).length > 0 && e.apply({
32931
32941
  type: "set_selection",
32932
32942
  properties: n,
@@ -37402,7 +37412,7 @@ const VX = Ur(
37402
37412
  sx: {
37403
37413
  cursor: "grab",
37404
37414
  "&:active": { cursor: "grabbing" },
37405
- ...Ki(v)
37415
+ ...Zi(v)
37406
37416
  },
37407
37417
  onMouseDown: x,
37408
37418
  "data-testid": "suggestions-popup-drag-btn",
@@ -37419,7 +37429,7 @@ const VX = Ur(
37419
37429
  P.preventDefault(), P.stopPropagation(), O(!0);
37420
37430
  },
37421
37431
  sx: {
37422
- ...Ki(v)
37432
+ ...Zi(v)
37423
37433
  },
37424
37434
  size: "small",
37425
37435
  "data-testid": "suggestions-popup-close-btn",
@@ -39250,9 +39260,9 @@ const VX = Ur(
39250
39260
  showSuggestion: y = !1,
39251
39261
  ...v
39252
39262
  }, b) => {
39253
- const S = It(), { getNodes: x, setNodes: C, getEdges: w } = Ji(), _ = x(), { loopSuggestionsData: I = {} } = Jt((Ae) => Ae.loopActivity), [N, D] = ve(!1), { canvasWorkflow: P, activityExecutionData: L, selectedActivityId: F, aiGeneratedFieldMap: W } = Jt(
39263
+ const S = It(), { getNodes: x, setNodes: C, getEdges: w } = eo(), _ = x(), { loopSuggestionsData: I = {} } = Jt((Ae) => Ae.loopActivity), [N, D] = ve(!1), { canvasWorkflow: P, activityExecutionData: L, selectedActivityId: F, aiGeneratedFieldMap: W } = Jt(
39254
39264
  (Ae) => Ae.canvas
39255
- ), U = Pt(null), { WORKFLOW_URLS: X, ENTITY_ID: M = "", analytics: H, openAddonModal: V, currentSubscription: R } = eo(), { VORTEX_MAIN_URL: k } = X, B = rs(), z = jn(B), G = jn(Wr.VERSION);
39265
+ ), U = Pt(null), { WORKFLOW_URLS: X, ENTITY_ID: M = "", analytics: H, openAddonModal: V, currentSubscription: R } = Wi(), { VORTEX_MAIN_URL: k } = X, B = rs(), z = jn(B), G = jn(Wr.VERSION);
39256
39266
  ke(() => () => {
39257
39267
  U.current && clearTimeout(U.current);
39258
39268
  }, []);
@@ -45861,9 +45871,9 @@ class Oc {
45861
45871
  return new Oc(this.from, this.length + t.length, this.top, this.height + t.height, r);
45862
45872
  }
45863
45873
  }
45864
- var Yi = /* @__PURE__ */ (function(e) {
45874
+ var qi = /* @__PURE__ */ (function(e) {
45865
45875
  return e[e.ByPos = 0] = "ByPos", e[e.ByHeight = 1] = "ByHeight", e[e.ByPosNoHeight = 2] = "ByPosNoHeight", e;
45866
- })(Yi || (Yi = {}));
45876
+ })(qi || (qi = {}));
45867
45877
  const vv = 1e-3;
45868
45878
  class ma {
45869
45879
  constructor(t, r, n = 2) {
@@ -45894,9 +45904,9 @@ class ma {
45894
45904
  applyChanges(t, r, n, i) {
45895
45905
  let o = this, s = n.doc;
45896
45906
  for (let a = i.length - 1; a >= 0; a--) {
45897
- let { fromA: l, toA: c, fromB: u, toB: d } = i[a], p = o.lineAt(l, Yi.ByPosNoHeight, n.setDoc(r), 0, 0), h = p.to >= c ? p : o.lineAt(c, Yi.ByPosNoHeight, n, 0, 0);
45907
+ let { fromA: l, toA: c, fromB: u, toB: d } = i[a], p = o.lineAt(l, qi.ByPosNoHeight, n.setDoc(r), 0, 0), h = p.to >= c ? p : o.lineAt(c, qi.ByPosNoHeight, n, 0, 0);
45898
45908
  for (d += h.to - c, c = h.to; a > 0 && p.from <= i[a - 1].toA; )
45899
- l = i[a - 1].fromA, u = i[a - 1].fromB, a--, l < p.from && (p = o.lineAt(l, Yi.ByPosNoHeight, n, 0, 0));
45909
+ l = i[a - 1].fromA, u = i[a - 1].fromB, a--, l < p.from && (p = o.lineAt(l, qi.ByPosNoHeight, n, 0, 0));
45900
45910
  u += p.from - l, l = p.from;
45901
45911
  let A = zL.build(n.setDoc(s), t, u, d);
45902
45912
  o = jT(o, o.replace(l, c, A));
@@ -45955,7 +45965,7 @@ class ZY extends ma {
45955
45965
  return this.spaceAbove ? this.blockAt(0, n, i, o).join(s) : s;
45956
45966
  }
45957
45967
  forEachLine(t, r, n, i, o, s) {
45958
- t <= o + this.length && r >= o && s(this.lineAt(0, Yi.ByPos, n, i, o));
45968
+ t <= o + this.length && r >= o && s(this.lineAt(0, qi.ByPos, n, i, o));
45959
45969
  }
45960
45970
  setMeasuredHeight(t) {
45961
45971
  let r = t.heights[t.index++];
@@ -46010,9 +46020,9 @@ class Is extends ma {
46010
46020
  }
46011
46021
  }
46012
46022
  lineAt(t, r, n, i, o) {
46013
- if (r == Yi.ByHeight)
46023
+ if (r == qi.ByHeight)
46014
46024
  return this.blockAt(t, n, i, o);
46015
- if (r == Yi.ByPosNoHeight) {
46025
+ if (r == qi.ByPosNoHeight) {
46016
46026
  let { from: h, to: A } = n.doc.lineAt(t);
46017
46027
  return new Oc(h, A - h, 0, 0, 0);
46018
46028
  }
@@ -46084,10 +46094,10 @@ class Ixe extends ma {
46084
46094
  return t < o ? this.left.blockAt(t, r, n, i) : this.right.blockAt(t, r, o, i + this.left.length + this.break);
46085
46095
  }
46086
46096
  lineAt(t, r, n, i, o) {
46087
- let s = i + this.left.height, a = o + this.left.length + this.break, l = r == Yi.ByHeight ? t < s : t < a, c = l ? this.left.lineAt(t, r, n, i, o) : this.right.lineAt(t, r, n, s, a);
46097
+ let s = i + this.left.height, a = o + this.left.length + this.break, l = r == qi.ByHeight ? t < s : t < a, c = l ? this.left.lineAt(t, r, n, i, o) : this.right.lineAt(t, r, n, s, a);
46088
46098
  if (this.break || (l ? c.to < a : c.from > a))
46089
46099
  return c;
46090
- let u = r == Yi.ByPosNoHeight ? Yi.ByPosNoHeight : Yi.ByPos;
46100
+ let u = r == qi.ByPosNoHeight ? qi.ByPosNoHeight : qi.ByPos;
46091
46101
  return l ? c.join(this.right.lineAt(a, u, n, s, a)) : this.left.lineAt(a, u, n, i, o).join(c);
46092
46102
  }
46093
46103
  forEachLine(t, r, n, i, o, s) {
@@ -46095,7 +46105,7 @@ class Ixe extends ma {
46095
46105
  if (this.break)
46096
46106
  t < l && this.left.forEachLine(t, r, n, i, o, s), r >= l && this.right.forEachLine(t, r, n, a, l, s);
46097
46107
  else {
46098
- let c = this.lineAt(l, Yi.ByPos, n, i, o);
46108
+ let c = this.lineAt(l, qi.ByPos, n, i, o);
46099
46109
  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);
46100
46110
  }
46101
46111
  }
@@ -46380,26 +46390,26 @@ class zB {
46380
46390
  return this.scaler.fromDOM(this.pixelViewport.bottom);
46381
46391
  }
46382
46392
  getViewport(t, r) {
46383
- 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 v1(i.lineAt(s - n * 1e3, Yi.ByHeight, o, 0, 0).from, i.lineAt(a + (1 - n) * 1e3, Yi.ByHeight, o, 0, 0).to);
46393
+ 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 v1(i.lineAt(s - n * 1e3, qi.ByHeight, o, 0, 0).from, i.lineAt(a + (1 - n) * 1e3, qi.ByHeight, o, 0, 0).to);
46384
46394
  if (r) {
46385
46395
  let { head: c } = r.range;
46386
46396
  if (c < l.from || c > l.to) {
46387
- let u = Math.min(this.editorHeight, this.pixelViewport.bottom - this.pixelViewport.top), d = i.lineAt(c, Yi.ByPos, o, 0, 0), p;
46388
- r.y == "center" ? p = (d.top + d.bottom) / 2 - u / 2 : r.y == "start" || r.y == "nearest" && c < l.from ? p = d.top : p = d.bottom - u, l = new v1(i.lineAt(p - 1e3 / 2, Yi.ByHeight, o, 0, 0).from, i.lineAt(p + u + 1e3 / 2, Yi.ByHeight, o, 0, 0).to);
46397
+ let u = Math.min(this.editorHeight, this.pixelViewport.bottom - this.pixelViewport.top), d = i.lineAt(c, qi.ByPos, o, 0, 0), p;
46398
+ r.y == "center" ? p = (d.top + d.bottom) / 2 - u / 2 : r.y == "start" || r.y == "nearest" && c < l.from ? p = d.top : p = d.bottom - u, l = new v1(i.lineAt(p - 1e3 / 2, qi.ByHeight, o, 0, 0).from, i.lineAt(p + u + 1e3 / 2, qi.ByHeight, o, 0, 0).to);
46389
46399
  }
46390
46400
  }
46391
46401
  return l;
46392
46402
  }
46393
46403
  mapViewport(t, r) {
46394
46404
  let n = r.mapPos(t.from, -1), i = r.mapPos(t.to, 1);
46395
- return new v1(this.heightMap.lineAt(n, Yi.ByPos, this.heightOracle, 0, 0).from, this.heightMap.lineAt(i, Yi.ByPos, this.heightOracle, 0, 0).to);
46405
+ return new v1(this.heightMap.lineAt(n, qi.ByPos, this.heightOracle, 0, 0).from, this.heightMap.lineAt(i, qi.ByPos, this.heightOracle, 0, 0).to);
46396
46406
  }
46397
46407
  // Checks if a given viewport covers the visible part of the
46398
46408
  // document and not too much beyond that.
46399
46409
  viewportIsAppropriate({ from: t, to: r }, n = 0) {
46400
46410
  if (!this.inView)
46401
46411
  return !0;
46402
- let { top: i } = this.heightMap.lineAt(t, Yi.ByPos, this.heightOracle, 0, 0), { bottom: o } = this.heightMap.lineAt(r, Yi.ByPos, this.heightOracle, 0, 0), { visibleTop: s, visibleBottom: a } = this;
46412
+ let { top: i } = this.heightMap.lineAt(t, qi.ByPos, this.heightOracle, 0, 0), { bottom: o } = this.heightMap.lineAt(r, qi.ByPos, this.heightOracle, 0, 0), { visibleTop: s, visibleBottom: a } = this;
46403
46413
  return (t == 0 || i <= s - Math.max(10, Math.min(
46404
46414
  -n,
46405
46415
  250
@@ -46512,10 +46522,10 @@ class zB {
46512
46522
  return this.visibleRanges = n, i;
46513
46523
  }
46514
46524
  lineBlockAt(t) {
46515
- return t >= this.viewport.from && t <= this.viewport.to && this.viewportLines.find((r) => r.from <= t && r.to >= t) || Zm(this.heightMap.lineAt(t, Yi.ByPos, this.heightOracle, 0, 0), this.scaler);
46525
+ return t >= this.viewport.from && t <= this.viewport.to && this.viewportLines.find((r) => r.from <= t && r.to >= t) || Zm(this.heightMap.lineAt(t, qi.ByPos, this.heightOracle, 0, 0), this.scaler);
46516
46526
  }
46517
46527
  lineBlockAtHeight(t) {
46518
- return t >= this.viewportLines[0].top && t <= this.viewportLines[this.viewportLines.length - 1].bottom && this.viewportLines.find((r) => r.top <= t && r.bottom >= t) || Zm(this.heightMap.lineAt(this.scaler.fromDOM(t), Yi.ByHeight, this.heightOracle, 0, 0), this.scaler);
46528
+ return t >= this.viewportLines[0].top && t <= this.viewportLines[this.viewportLines.length - 1].bottom && this.viewportLines.find((r) => r.top <= t && r.bottom >= t) || Zm(this.heightMap.lineAt(this.scaler.fromDOM(t), qi.ByHeight, this.heightOracle, 0, 0), this.scaler);
46519
46529
  }
46520
46530
  getScrollOffset() {
46521
46531
  return (this.scrollParent == this.view.scrollDOM ? this.scrollParent.scrollTop : (this.scrollParent ? this.scrollParent.getBoundingClientRect().top : 0) - this.view.contentDOM.getBoundingClientRect().top) * this.scaleY;
@@ -46598,7 +46608,7 @@ class XL {
46598
46608
  constructor(t, r, n) {
46599
46609
  let i = 0, o = 0, s = 0;
46600
46610
  this.viewports = n.map(({ from: a, to: l }) => {
46601
- let c = r.lineAt(a, Yi.ByPos, t, 0, 0).top, u = r.lineAt(l, Yi.ByPos, t, 0, 0).bottom;
46611
+ let c = r.lineAt(a, qi.ByPos, t, 0, 0).top, u = r.lineAt(l, qi.ByPos, t, 0, 0).bottom;
46602
46612
  return i += u - c, { from: a, to: l, top: c, bottom: u, domTop: 0, domBottom: 0 };
46603
46613
  }), this.scale = (7e6 - i) / (r.height - i);
46604
46614
  for (let a of this.viewports)
@@ -92891,7 +92901,7 @@ const fh = /* @__PURE__ */ ai(Y7e), q7e = (e) => !e || typeof e != "string" ? ""
92891
92901
  suggestionLabel: S,
92892
92902
  allowArrayAtRoot: x = !1,
92893
92903
  ...C
92894
- } = e, w = Kt(() => u && typeof u == "object" && Object.keys(u).length > 0 ? u : {}, [JSON.stringify(u)]), [_, I] = ve(null), N = Pt(null), D = Pt(null), P = Lr(), L = Pt(null), F = Pt(null), [W, U] = ve(!1), X = Za(), { canvasWorkflow: M, activityExecutionData: H } = Jt((Ae) => Ae.canvas), { WORKFLOW_URLS: V, ENTITY_ID: R = "", analytics: k, openAddonModal: B, currentSubscription: z } = eo(), { VORTEX_MAIN_URL: G } = V, $ = rs(), j = jn($), K = jn(Wr.VERSION) || j, { setNodes: J, getEdges: se } = Ji(), { MCP_INTEGRATION_FORM: te } = el(), le = (Ae) => {
92904
+ } = e, w = Kt(() => u && typeof u == "object" && Object.keys(u).length > 0 ? u : {}, [JSON.stringify(u)]), [_, I] = ve(null), N = Pt(null), D = Pt(null), P = Lr(), L = Pt(null), F = Pt(null), [W, U] = ve(!1), X = Za(), { canvasWorkflow: M, activityExecutionData: H } = Jt((Ae) => Ae.canvas), { WORKFLOW_URLS: V, ENTITY_ID: R = "", analytics: k, openAddonModal: B, currentSubscription: z } = Wi(), { VORTEX_MAIN_URL: G } = V, $ = rs(), j = jn($), K = jn(Wr.VERSION) || j, { setNodes: J, getEdges: se } = eo(), { MCP_INTEGRATION_FORM: te } = el(), le = (Ae) => {
92895
92905
  try {
92896
92906
  if (l !== "json")
92897
92907
  return !0;
@@ -94252,7 +94262,7 @@ const Ko = re.memo(jd(f9e), p9e), Vee = /* @__PURE__ */ Object.freeze(/* @__PURE
94252
94262
  viewOnly: r = !1,
94253
94263
  excludeUrlLanguage: n = !1
94254
94264
  }) => {
94255
- const i = Lr(), o = It(), { getNodes: s } = Ji(), a = s(), { trigger_help: l, workflow: c } = Jt((b) => b.workflows), [u, d] = ve(""), [p, h] = ve("get"), [A, g] = ve({}), m = jn(), E = jn("version");
94265
+ const i = Lr(), o = It(), { getNodes: s } = eo(), a = s(), { trigger_help: l, workflow: c } = Jt((b) => b.workflows), [u, d] = ve(""), [p, h] = ve("get"), [A, g] = ve({}), m = jn(), E = jn("version");
94256
94266
  ke(() => {
94257
94267
  if (!St(l)) {
94258
94268
  const b = {}, S = [];
@@ -94956,7 +94966,7 @@ const Ko = re.memo(jd(f9e), p9e), Vee = /* @__PURE__ */ Object.freeze(/* @__PURE
94956
94966
  height: 32,
94957
94967
  border: `1px solid ${s.palette.grey.outlined.border}`,
94958
94968
  borderRadius: 1.5,
94959
- ...Ki(s),
94969
+ ...Zi(s),
94960
94970
  ...i
94961
94971
  },
94962
94972
  "data-testid": "button-refresh",
@@ -95846,7 +95856,7 @@ const Z$ = 40, B9e = 400, j9e = re.forwardRef(
95846
95856
  ] });
95847
95857
  }
95848
95858
  ), $9e = Ur((e, t) => {
95849
- const r = It(), { getNodes: n } = Ji(), { selectedActivityId: i, nodes: o, aiGeneratedFieldMap: s } = Jt((ge) => ge.canvas), a = ut(
95859
+ const r = It(), { getNodes: n } = eo(), { selectedActivityId: i, nodes: o, aiGeneratedFieldMap: s } = Jt((ge) => ge.canvas), a = ut(
95850
95860
  (ge, ye, Ge, Ke, We, ot = !1) => {
95851
95861
  const { multiple: lt, renderOption: at, name: Ie, handleChange: ze } = e, Xe = Array.isArray(ye) ? ye.map(
95852
95862
  (de) => de && typeof de == "object" && "value" in de ? de.value : de
@@ -101322,7 +101332,7 @@ const h2 = (e) => !e.field || typeof e.field == "object" && Object.keys(e.field)
101322
101332
  insert: M
101323
101333
  }
101324
101334
  }), B(""), G("");
101325
- }, et = Pt(null), [ht, nt] = ve(!1), { canvasWorkflow: Tt, activityExecutionData: bt } = Jt((Vt) => Vt.canvas), { getNodes: $t, setNodes: Ne, getEdges: st } = Ji(), it = $t(), { ENTITY_ID: Le = "", analytics: ft, openAddonModal: Ot, currentSubscription: or } = eo(), { VORTEX_MAIN_URL: Sr = "", GYRATE_MAIN_URL: Hr = "" } = h || {}, Rn = rs(), Sn = jn(Rn), gr = jn(Wr.VERSION) || Sn, jr = async (Vt) => {
101335
+ }, et = Pt(null), [ht, nt] = ve(!1), { canvasWorkflow: Tt, activityExecutionData: bt } = Jt((Vt) => Vt.canvas), { getNodes: $t, setNodes: Ne, getEdges: st } = eo(), it = $t(), { ENTITY_ID: Le = "", analytics: ft, openAddonModal: Ot, currentSubscription: or } = Wi(), { VORTEX_MAIN_URL: Sr = "", GYRATE_MAIN_URL: Hr = "" } = h || {}, Rn = rs(), Sn = jn(Rn), gr = jn(Wr.VERSION) || Sn, jr = async (Vt) => {
101326
101336
  const ar = [...Array.isArray(it) ? it : []], Kr = {
101327
101337
  workflow_json: [vd({ ...Vt })],
101328
101338
  result: nO(Tt, it, bt, Vt?.id, st())
@@ -111350,7 +111360,7 @@ const fU = vN(() => Promise.resolve().then(() => Vee)), pU = () => /* @__PURE__
111350
111360
  viewOnly: p = !1,
111351
111361
  hideLabel: h = !1
111352
111362
  }, A) => {
111353
- const g = It(), { MCP_INTEGRATION_FORM: m } = el(), { getNodes: E } = Ji(), { selectedActivityId: O, aiGeneratedFieldMap: y } = Jt((V) => V.canvas), v = wo(l), [b, S] = ve(""), x = Pt(null), C = Pt(null), [w, _] = ve(""), I = (V) => {
111363
+ const g = It(), { MCP_INTEGRATION_FORM: m } = el(), { getNodes: E } = eo(), { selectedActivityId: O, aiGeneratedFieldMap: y } = Jt((V) => V.canvas), v = wo(l), [b, S] = ve(""), x = Pt(null), C = Pt(null), [w, _] = ve(""), I = (V) => {
111354
111364
  S(V.target.value);
111355
111365
  }, N = () => {
111356
111366
  if (b.trim() !== "") {
@@ -112451,9 +112461,9 @@ function s$e() {
112451
112461
  if (En && !cn)
112452
112462
  return Zt || (Zt = new gr()), pr || fo(be) ? Es(be, qe, mt, Ct, er, Zt) : Ri(be, qe, xr, mt, Ct, er, Zt);
112453
112463
  if (!(er & s)) {
112454
- var hn = cn && ot.call(be, "__wrapped__"), Gi = qr && ot.call(qe, "__wrapped__");
112455
- if (hn || Gi) {
112456
- var ss = hn ? be.value() : be, Vs = Gi ? qe.value() : qe;
112464
+ var hn = cn && ot.call(be, "__wrapped__"), Qi = qr && ot.call(qe, "__wrapped__");
112465
+ if (hn || Qi) {
112466
+ var ss = hn ? be.value() : be, Vs = Qi ? qe.value() : qe;
112457
112467
  return Zt || (Zt = new gr()), mt(ss, Vs, Ct, er, Zt);
112458
112468
  }
112459
112469
  }
@@ -112566,9 +112576,9 @@ function s$e() {
112566
112576
  return Vr == qe;
112567
112577
  var cn = -1, qr = !0, En = er & o ? new Rn() : void 0;
112568
112578
  for (Zt.set(be, qe), Zt.set(qe, be); ++cn < Cr; ) {
112569
- var hn = be[cn], Gi = qe[cn];
112579
+ var hn = be[cn], Qi = qe[cn];
112570
112580
  if (Ct)
112571
- var ss = pr ? Ct(Gi, hn, cn, qe, be, Zt) : Ct(hn, Gi, cn, be, qe, Zt);
112581
+ var ss = pr ? Ct(Qi, hn, cn, qe, be, Zt) : Ct(hn, Qi, cn, be, qe, Zt);
112572
112582
  if (ss !== void 0) {
112573
112583
  if (ss)
112574
112584
  continue;
@@ -112583,7 +112593,7 @@ function s$e() {
112583
112593
  qr = !1;
112584
112594
  break;
112585
112595
  }
112586
- } else if (!(hn === Gi || mt(hn, Gi, Ct, er, Zt))) {
112596
+ } else if (!(hn === Qi || mt(hn, Qi, Ct, er, Zt))) {
112587
112597
  qr = !1;
112588
112598
  break;
112589
112599
  }
@@ -112637,7 +112647,7 @@ function s$e() {
112637
112647
  var hn = Zt.get(be);
112638
112648
  if (hn && Zt.get(qe))
112639
112649
  return hn == qe;
112640
- var Gi = !0;
112650
+ var Qi = !0;
112641
112651
  Zt.set(be, qe), Zt.set(qe, be);
112642
112652
  for (var ss = pr; ++qr < xr; ) {
112643
112653
  En = Cr[qr];
@@ -112645,16 +112655,16 @@ function s$e() {
112645
112655
  if (Ct)
112646
112656
  var Xd = pr ? Ct(so, Vs, En, qe, be, Zt) : Ct(Vs, so, En, be, qe, Zt);
112647
112657
  if (!(Xd === void 0 ? Vs === so || mt(Vs, so, Ct, er, Zt) : Xd)) {
112648
- Gi = !1;
112658
+ Qi = !1;
112649
112659
  break;
112650
112660
  }
112651
112661
  ss || (ss = En == "constructor");
112652
112662
  }
112653
- if (Gi && !ss) {
112663
+ if (Qi && !ss) {
112654
112664
  var XO = be.constructor, YO = qe.constructor;
112655
- XO != YO && "constructor" in be && "constructor" in qe && !(typeof XO == "function" && XO instanceof XO && typeof YO == "function" && YO instanceof YO) && (Gi = !1);
112665
+ XO != YO && "constructor" in be && "constructor" in qe && !(typeof XO == "function" && XO instanceof XO && typeof YO == "function" && YO instanceof YO) && (Qi = !1);
112656
112666
  }
112657
- return Zt.delete(be), Zt.delete(qe), Gi;
112667
+ return Zt.delete(be), Zt.delete(qe), Qi;
112658
112668
  }
112659
112669
  function yn(be, qe) {
112660
112670
  var mt = be.__data__;
@@ -112776,13 +112786,13 @@ function s$e() {
112776
112786
  return be === qe || be !== be && qe !== qe;
112777
112787
  }
112778
112788
  function $r(be) {
112779
- return Wi(be) && ot.call(be, "callee") && (!Xe.call(be, "callee") || lt.call(be) == l);
112789
+ return Gi(be) && ot.call(be, "callee") && (!Xe.call(be, "callee") || lt.call(be) == l);
112780
112790
  }
112781
112791
  var gn = Array.isArray;
112782
112792
  function Dn(be) {
112783
112793
  return be != null && io(be.length) && !zn(be);
112784
112794
  }
112785
- function Wi(be) {
112795
+ function Gi(be) {
112786
112796
  return fi(be) && Dn(be);
112787
112797
  }
112788
112798
  function zn(be) {
@@ -113056,7 +113066,7 @@ function l$e() {
113056
113066
  qe || (Ct = Ri(he), Ct = Ct == l ? E : Ct), mt || (er = Ri(Fe), er = er == l ? E : er);
113057
113067
  var Zt = Ct == E && !ee(he), pr = er == E && !ee(Fe), Cr = Ct == er;
113058
113068
  if (Cr && !Zt)
113059
- return be || (be = new In()), qe || Wi(he) ? pn(he, Fe, tt, Et, Gt, be) : di(he, Fe, Ct, tt, Et, Gt, be);
113069
+ return be || (be = new In()), qe || Gi(he) ? pn(he, Fe, tt, Et, Gt, be) : di(he, Fe, Ct, tt, Et, Gt, be);
113060
113070
  if (!(Gt & s)) {
113061
113071
  var xr = Zt && We.call(he, "__wrapped__"), Vr = pr && We.call(Fe, "__wrapped__");
113062
113072
  if (xr || Vr) {
@@ -113241,8 +113251,8 @@ function l$e() {
113241
113251
  cn || (cn = Cr == "constructor");
113242
113252
  }
113243
113253
  if (Vr && !cn) {
113244
- var Gi = he.constructor, ss = Fe.constructor;
113245
- Gi != ss && "constructor" in he && "constructor" in Fe && !(typeof Gi == "function" && Gi instanceof Gi && typeof ss == "function" && ss instanceof ss) && (Vr = !1);
113254
+ var Qi = he.constructor, ss = Fe.constructor;
113255
+ Qi != ss && "constructor" in he && "constructor" in Fe && !(typeof Qi == "function" && Qi instanceof Qi && typeof ss == "function" && ss instanceof ss) && (Vr = !1);
113246
113256
  }
113247
113257
  return be.delete(he), be.delete(Fe), Vr;
113248
113258
  }
@@ -113389,7 +113399,7 @@ function l$e() {
113389
113399
  function Dn(he) {
113390
113400
  return typeof he == "symbol" || gn(he) && ot.call(he) == S;
113391
113401
  }
113392
- var Wi = Oe ? q(Oe) : mn;
113402
+ var Gi = Oe ? q(Oe) : mn;
113393
113403
  function zn(he) {
113394
113404
  return he == null ? "" : Ft(he);
113395
113405
  }
@@ -147314,7 +147324,7 @@ const Rtt = ({ slotProps: e = {}, ...t }) => {
147314
147324
  currentQuery: i,
147315
147325
  form: o = null
147316
147326
  }) => {
147317
- const s = It(), [a, l] = ve(!1), [c, u] = ve(""), [d, p] = ve(null), [h, A] = ve([]), [g, m] = ve([]), [E, O] = ve(/* @__PURE__ */ new Map()), [y, v] = ve(/* @__PURE__ */ new Set()), [b, S] = ve(""), [x, C] = ve(""), [w, _] = ve("query"), { WORKFLOW_URLS: I, ENTITY_ID: N = "" } = eo(), { VORTEX_MAIN_URL: D } = I, P = Kt(
147327
+ const s = It(), [a, l] = ve(!1), [c, u] = ve(""), [d, p] = ve(null), [h, A] = ve([]), [g, m] = ve([]), [E, O] = ve(/* @__PURE__ */ new Map()), [y, v] = ve(/* @__PURE__ */ new Set()), [b, S] = ve(""), [x, C] = ve(""), [w, _] = ve("query"), { WORKFLOW_URLS: I, ENTITY_ID: N = "" } = Wi(), { VORTEX_MAIN_URL: D } = I, P = Kt(
147318
147328
  () => Ol((te) => {
147319
147329
  C(te);
147320
147330
  }, 300),
@@ -149227,7 +149237,7 @@ const Ftt = ns(Hne, ""), ktt = Ur((e, t) => {
149227
149237
  viewOnly: d = !1,
149228
149238
  SET_INTEGRATION_DATA: p,
149229
149239
  source: h
149230
- } = e, A = It(), g = Pt({}), m = Pt({}), { getNodes: E } = Ji(), O = E(), { activities: y } = Jt((M) => M.activities), [v, b] = ve([]), [S, x] = ve({}), C = Lr(), { watch: w, control: _, setValue: I } = nn(), N = w("properties"), D = vL({
149240
+ } = e, A = It(), g = Pt({}), m = Pt({}), { getNodes: E } = eo(), O = E(), { activities: y } = Jt((M) => M.activities), [v, b] = ve([]), [S, x] = ve({}), C = Lr(), { watch: w, control: _, setValue: I } = nn(), N = w("properties"), D = vL({
149231
149241
  defaultValues: St(N) ? {} : AT(S, h),
149232
149242
  mode: "onChange"
149233
149243
  });
@@ -149873,13 +149883,13 @@ function Jtt() {
149873
149883
  }
149874
149884
  jr.prototype.clear = Un, jr.prototype.delete = Vt, jr.prototype.get = ar, jr.prototype.has = Kr, jr.prototype.set = kr;
149875
149885
  function Dr(me, He) {
149876
- var dt = ci(me), Ut = !dt && yn(me), ln = !dt && !Ut && Ni(me), $r = !dt && !Ut && !ln && Hs(me), gn = dt || Ut || ln || $r, Dn = gn ? oe(me.length, String) : [], Wi = Dn.length;
149886
+ var dt = ci(me), Ut = !dt && yn(me), ln = !dt && !Ut && Ni(me), $r = !dt && !Ut && !ln && Hs(me), gn = dt || Ut || ln || $r, Dn = gn ? oe(me.length, String) : [], Gi = Dn.length;
149877
149887
  for (var zn in me)
149878
149888
  Ge.call(me, zn) && !(gn && // Safari 9 has enumerable `arguments.length` in strict mode.
149879
149889
  (zn == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
149880
149890
  ln && (zn == "offset" || zn == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
149881
149891
  $r && (zn == "buffer" || zn == "byteLength" || zn == "byteOffset") || // Skip index properties.
149882
- di(zn, Wi))) && Dn.push(zn);
149892
+ di(zn, Gi))) && Dn.push(zn);
149883
149893
  return Dn;
149884
149894
  }
149885
149895
  function zr(me, He) {
@@ -149902,16 +149912,16 @@ function Jtt() {
149902
149912
  return me === He ? !0 : me == null || He == null || !Mo(me) && !Mo(He) ? me !== me && He !== He : Qn(me, He, dt, Ut, Ln, ln);
149903
149913
  }
149904
149914
  function Qn(me, He, dt, Ut, ln, $r) {
149905
- var gn = ci(me), Dn = ci(He), Wi = gn ? l : pn(me), zn = Dn ? l : pn(He);
149906
- Wi = Wi == a ? O : Wi, zn = zn == a ? O : zn;
149907
- var io = Wi == O, Oo = zn == O, fi = Wi == zn;
149915
+ var gn = ci(me), Dn = ci(He), Gi = gn ? l : pn(me), zn = Dn ? l : pn(He);
149916
+ Gi = Gi == a ? O : Gi, zn = zn == a ? O : zn;
149917
+ var io = Gi == O, Oo = zn == O, fi = Gi == zn;
149908
149918
  if (fi && Ni(me)) {
149909
149919
  if (!Ni(He))
149910
149920
  return !1;
149911
149921
  gn = !0, io = !1;
149912
149922
  }
149913
149923
  if (fi && !io)
149914
- return $r || ($r = new jr()), gn || Hs(me) ? Lo(me, He, dt, Ut, ln, $r) : ie(me, He, Wi, dt, Ut, ln, $r);
149924
+ return $r || ($r = new jr()), gn || Hs(me) ? Lo(me, He, dt, Ut, ln, $r) : ie(me, He, Gi, dt, Ut, ln, $r);
149915
149925
  if (!(dt & i)) {
149916
149926
  var oo = io && Ge.call(me, "__wrapped__"), fo = Oo && Ge.call(He, "__wrapped__");
149917
149927
  if (oo || fo) {
@@ -149939,8 +149949,8 @@ function Jtt() {
149939
149949
  return He;
149940
149950
  }
149941
149951
  function Lo(me, He, dt, Ut, ln, $r) {
149942
- var gn = dt & i, Dn = me.length, Wi = He.length;
149943
- if (Dn != Wi && !(gn && Wi > Dn))
149952
+ var gn = dt & i, Dn = me.length, Gi = He.length;
149953
+ if (Dn != Gi && !(gn && Gi > Dn))
149944
149954
  return !1;
149945
149955
  var zn = $r.get(me);
149946
149956
  if (zn && $r.get(He))
@@ -149991,8 +150001,8 @@ function Jtt() {
149991
150001
  case g:
149992
150002
  var Dn = ee;
149993
150003
  case S:
149994
- var Wi = Ut & i;
149995
- if (Dn || (Dn = pe), me.size != He.size && !Wi)
150004
+ var Gi = Ut & i;
150005
+ if (Dn || (Dn = pe), me.size != He.size && !Gi)
149996
150006
  return !1;
149997
150007
  var zn = gn.get(me);
149998
150008
  if (zn)
@@ -150007,10 +150017,10 @@ function Jtt() {
150007
150017
  return !1;
150008
150018
  }
150009
150019
  function _e(me, He, dt, Ut, ln, $r) {
150010
- var gn = dt & i, Dn = Ze(me), Wi = Dn.length, zn = Ze(He), io = zn.length;
150011
- if (Wi != io && !gn)
150020
+ var gn = dt & i, Dn = Ze(me), Gi = Dn.length, zn = Ze(He), io = zn.length;
150021
+ if (Gi != io && !gn)
150012
150022
  return !1;
150013
- for (var Oo = Wi; Oo--; ) {
150023
+ for (var Oo = Gi; Oo--; ) {
150014
150024
  var fi = Dn[Oo];
150015
150025
  if (!(gn ? fi in He : Ge.call(He, fi)))
150016
150026
  return !1;
@@ -150020,7 +150030,7 @@ function Jtt() {
150020
150030
  return oo == He;
150021
150031
  var fo = !0;
150022
150032
  $r.set(me, He), $r.set(He, me);
150023
- for (var oa = gn; ++Oo < Wi; ) {
150033
+ for (var oa = gn; ++Oo < Gi; ) {
150024
150034
  fi = Dn[Oo];
150025
150035
  var he = me[fi], Fe = He[fi];
150026
150036
  if (Ut)
@@ -152469,11 +152479,11 @@ function cs(e) {
152469
152479
  return e;
152470
152480
  return t;
152471
152481
  }
152472
- var BO = (e) => Array.isArray(e) ? e.filter(Boolean) : [], qi = (e) => e === void 0, Or = (e, t, r) => {
152482
+ var BO = (e) => Array.isArray(e) ? e.filter(Boolean) : [], Ki = (e) => e === void 0, Or = (e, t, r) => {
152473
152483
  if (!t || !ms(e))
152474
152484
  return r;
152475
152485
  const n = BO(t.split(/[,[\].]+?/)).reduce((i, o) => ca(i) ? i : i[o], e);
152476
- return qi(n) || n === e ? qi(e[t]) ? r : e[t] : n;
152486
+ return Ki(n) || n === e ? Ki(e[t]) ? r : e[t] : n;
152477
152487
  }, hu = (e) => typeof e == "boolean", m5 = (e) => /^\w*$/.test(e), Xne = (e) => BO(e.replace(/["|']|\]/g, "").split(/\.|\[/)), Fi = (e, t, r) => {
152478
152488
  let n = -1;
152479
152489
  const i = m5(t) ? [t] : Xne(t), o = i.length, s = o - 1;
@@ -152596,7 +152606,7 @@ function Trt(e) {
152596
152606
  };
152597
152607
  if (d(r, !0), u) {
152598
152608
  const p = cs(Or(i._options.defaultValues, r));
152599
- Fi(i._defaultValues, r, p), qi(Or(i._formValues, r)) && Fi(i._formValues, r, p);
152609
+ Fi(i._defaultValues, r, p), Ki(Or(i._formValues, r)) && Fi(i._formValues, r, p);
152600
152610
  }
152601
152611
  return () => {
152602
152612
  (s ? u && !i._state.action : u) ? i.unregister(r) : d(r, !1);
@@ -152675,7 +152685,7 @@ var Srt = (e, t, r, n, i) => t ? {
152675
152685
  const r = (Math.random() * 16 + e) % 16 | 0;
152676
152686
  return (t == "x" ? r : r & 3 | 8).toString(16);
152677
152687
  });
152678
- }, W2 = (e, t, r = {}) => r.shouldFocus || qi(r.shouldFocus) ? r.focusName || `${e}.${qi(r.focusIndex) ? t : r.focusIndex}.` : "", Ug = (e) => ({
152688
+ }, W2 = (e, t, r = {}) => r.shouldFocus || Ki(r.shouldFocus) ? r.focusName || `${e}.${Ki(r.focusIndex) ? t : r.focusIndex}.` : "", Ug = (e) => ({
152679
152689
  isOnSubmit: !e || e === Hl.onSubmit,
152680
152690
  isOnBlur: e === Hl.onBlur,
152681
152691
  isOnChange: e === Hl.onChange,
@@ -152718,7 +152728,7 @@ var rie = (e) => {
152718
152728
  }
152719
152729
  return e[0].checked && !e[0].disabled ? (
152720
152730
  // @ts-expect-error expected to work in the browser
152721
- e[0].attributes && !qi(e[0].attributes.value) ? qi(e[0].value) || e[0].value === "" ? wV : { value: e[0].value, isValid: !0 } : wV
152731
+ e[0].attributes && !Ki(e[0].attributes.value) ? Ki(e[0].value) || e[0].value === "" ? wV : { value: e[0].value, isValid: !0 } : wV
152722
152732
  ) : _V;
152723
152733
  }
152724
152734
  return _V;
@@ -152748,7 +152758,7 @@ var nA = (e) => ms(e) && !DS(e) ? e : {
152748
152758
  return {};
152749
152759
  const y = s ? s[0] : o, v = (N) => {
152750
152760
  n && y.reportValidity && (y.setCustomValidity(hu(N) ? "" : N || ""), y.reportValidity());
152751
- }, b = {}, S = E5(o), x = kO(o), C = S || x, w = (g || g5(o)) && qi(o.value) && qi(O) || IS(o) && o.value === "" || O === "" || Array.isArray(O) && !O.length, _ = Srt.bind(null, A, r, b), I = (N, D, P, L = Ku.maxLength, F = Ku.minLength) => {
152761
+ }, b = {}, S = E5(o), x = kO(o), C = S || x, w = (g || g5(o)) && Ki(o.value) && Ki(O) || IS(o) && o.value === "" || O === "" || Array.isArray(O) && !O.length, _ = Srt.bind(null, A, r, b), I = (N, D, P, L = Ku.maxLength, F = Ku.minLength) => {
152752
152762
  const W = N ? D : P;
152753
152763
  b[A] = {
152754
152764
  type: N ? L : F,
@@ -152834,7 +152844,7 @@ function z2(e, t, r) {
152834
152844
  ...e.slice(t)
152835
152845
  ];
152836
152846
  }
152837
- var X2 = (e, t, r) => Array.isArray(e) ? (qi(e[r]) && (e[r] = void 0), e.splice(r, 0, e.splice(t, 1)[0]), e) : [], Y2 = (e, t) => [
152847
+ var X2 = (e, t, r) => Array.isArray(e) ? (Ki(e[r]) && (e[r] = void 0), e.splice(r, 0, e.splice(t, 1)[0]), e) : [], Y2 = (e, t) => [
152838
152848
  ...ka(t),
152839
152849
  ...ka(e)
152840
152850
  ];
@@ -152845,19 +152855,19 @@ function xrt(e, t) {
152845
152855
  n.splice(i - r, 1), r++;
152846
152856
  return BO(n).length ? n : [];
152847
152857
  }
152848
- var q2 = (e, t) => qi(t) ? [] : xrt(e, ka(t).sort((r, n) => r - n)), K2 = (e, t, r) => {
152858
+ var q2 = (e, t) => Ki(t) ? [] : xrt(e, ka(t).sort((r, n) => r - n)), K2 = (e, t, r) => {
152849
152859
  [e[t], e[r]] = [e[r], e[t]];
152850
152860
  };
152851
152861
  function brt(e, t) {
152852
152862
  const r = t.slice(0, -1).length;
152853
152863
  let n = 0;
152854
152864
  for (; n < r; )
152855
- e = qi(e) ? n++ : e[t[n++]];
152865
+ e = Ki(e) ? n++ : e[t[n++]];
152856
152866
  return e;
152857
152867
  }
152858
152868
  function Crt(e) {
152859
152869
  for (const t in e)
152860
- if (e.hasOwnProperty(t) && !qi(e[t]))
152870
+ if (e.hasOwnProperty(t) && !Ki(e[t]))
152861
152871
  return !1;
152862
152872
  return !0;
152863
152873
  }
@@ -153020,14 +153030,14 @@ function aie(e, t, r) {
153020
153030
  const n = Array.isArray(e);
153021
153031
  if (ms(e) || n)
153022
153032
  for (const i in e)
153023
- Array.isArray(e[i]) || ms(e[i]) && !sie(e[i]) ? qi(t) || PS(r[i]) ? r[i] = Array.isArray(e[i]) ? NS(e[i], []) : { ...NS(e[i]) } : aie(e[i], ca(t) ? {} : t[i], r[i]) : r[i] = !jp(e[i], t[i]);
153033
+ Array.isArray(e[i]) || ms(e[i]) && !sie(e[i]) ? Ki(t) || PS(r[i]) ? r[i] = Array.isArray(e[i]) ? NS(e[i], []) : { ...NS(e[i]) } : aie(e[i], ca(t) ? {} : t[i], r[i]) : r[i] = !jp(e[i], t[i]);
153024
153034
  return r;
153025
153035
  }
153026
- var dy = (e, t) => aie(e, t, NS(t)), lie = (e, { valueAsNumber: t, valueAsDate: r, setValueAs: n }) => qi(e) ? e : t ? e === "" ? NaN : e && +e : r && xu(e) ? new Date(e) : n ? n(e) : e;
153036
+ var dy = (e, t) => aie(e, t, NS(t)), lie = (e, { valueAsNumber: t, valueAsDate: r, setValueAs: n }) => Ki(e) ? e : t ? e === "" ? NaN : e && +e : r && xu(e) ? new Date(e) : n ? n(e) : e;
153027
153037
  function eI(e) {
153028
153038
  const t = e.ref;
153029
153039
  if (!(e.refs ? e.refs.every((r) => r.disabled) : t.disabled))
153030
- return g5(t) ? t.files : E5(t) ? nie(e.refs).value : oie(t) ? [...t.selectedOptions].map(({ value: r }) => r) : kO(t) ? rie(e.refs).value : lie(qi(t.value) ? e.ref.value : t.value, e);
153040
+ return g5(t) ? t.files : E5(t) ? nie(e.refs).value : oie(t) ? [...t.selectedOptions].map(({ value: r }) => r) : kO(t) ? rie(e.refs).value : lie(Ki(t.value) ? e.ref.value : t.value, e);
153031
153041
  }
153032
153042
  var wrt = (e, t, r, n) => {
153033
153043
  const i = {};
@@ -153041,7 +153051,7 @@ var wrt = (e, t, r, n) => {
153041
153051
  fields: i,
153042
153052
  shouldUseNativeValidation: n
153043
153053
  };
153044
- }, $m = (e) => qi(e) ? e : DS(e) ? e.source : ms(e) ? DS(e.value) ? e.value.source : e.value : e, Rrt = (e) => e.mount && (e.required || e.min || e.max || e.maxLength || e.minLength || e.pattern || e.validate);
153054
+ }, $m = (e) => Ki(e) ? e : DS(e) ? e.source : ms(e) ? DS(e.value) ? e.value.source : e.value : e, Rrt = (e) => e.mount && (e.required || e.min || e.max || e.maxLength || e.minLength || e.pattern || e.validate);
153045
153055
  function PV(e, t, r) {
153046
153056
  const n = Or(e, r);
153047
153057
  if (n || m5(r))
@@ -153162,8 +153172,8 @@ function Nrt(e = {}) {
153162
153172
  }, b = (oe, ne, q, Y) => {
153163
153173
  const ee = Or(n, oe);
153164
153174
  if (ee) {
153165
- const ae = Or(o, oe, qi(q) ? Or(i, oe) : q);
153166
- qi(ae) || Y && Y.defaultChecked || ne ? Fi(o, oe, ne ? ae : eI(ee._f)) : L(oe, ae), s.mount && m();
153175
+ const ae = Or(o, oe, Ki(q) ? Or(i, oe) : q);
153176
+ Ki(ae) || Y && Y.defaultChecked || ne ? Fi(o, oe, ne ? ae : eI(ee._f)) : L(oe, ae), s.mount && m();
153167
153177
  }
153168
153178
  }, S = (oe, ne, q, Y, ee) => {
153169
153179
  let ae = !1, pe = !1;
@@ -153234,7 +153244,7 @@ function Nrt(e = {}) {
153234
153244
  }
153235
153245
  a.unMount = /* @__PURE__ */ new Set();
153236
153246
  }, N = (oe, ne) => (oe && ne && Fi(o, oe, ne), !jp(H(), i)), D = (oe, ne, q) => Jne(oe, a, {
153237
- ...s.mount ? o : qi(ne) ? i : xu(oe) ? { [oe]: ne } : ne
153247
+ ...s.mount ? o : Ki(ne) ? i : xu(oe) ? { [oe]: ne } : ne
153238
153248
  }, q, ne), P = (oe) => BO(Or(s.mount ? o : i, oe, e.shouldUnregister ? Or(i, oe, []) : [])), L = (oe, ne, q = {}) => {
153239
153249
  const Y = Or(n, oe);
153240
153250
  let ee = ne;
@@ -153299,7 +153309,7 @@ function Nrt(e = {}) {
153299
153309
  let q, Y;
153300
153310
  const ee = ka(oe);
153301
153311
  if (t.resolver) {
153302
- const ae = await w(qi(oe) ? oe : ee);
153312
+ const ae = await w(Ki(oe) ? oe : ee);
153303
153313
  q = wa(ae), Y = oe ? !ee.some((pe) => Or(ae, pe)) : q;
153304
153314
  } else oe ? (Y = (await Promise.all(ee.map(async (ae) => {
153305
153315
  const pe = Or(n, ae);
@@ -153314,7 +153324,7 @@ function Nrt(e = {}) {
153314
153324
  const ne = {
153315
153325
  ...s.mount ? o : i
153316
153326
  };
153317
- return qi(oe) ? ne : xu(oe) ? Or(ne, oe) : oe.map((q) => Or(ne, q));
153327
+ return Ki(oe) ? ne : xu(oe) ? Or(ne, oe) : oe.map((q) => Or(ne, q));
153318
153328
  }, V = (oe, ne) => ({
153319
153329
  invalid: !!Or((ne || r).errors, oe),
153320
153330
  isDirty: !!Or((ne || r).dirtyFields, oe),
@@ -153349,7 +153359,7 @@ function Nrt(e = {}) {
153349
153359
  }), !ne.keepIsValid && m();
153350
153360
  }, G = ({ disabled: oe, name: ne, field: q, fields: Y, value: ee }) => {
153351
153361
  if (hu(oe) && s.mount || oe) {
153352
- const ae = oe ? void 0 : qi(ee) ? eI(q ? q._f : Or(Y, ne)._f) : ee;
153362
+ const ae = oe ? void 0 : Ki(ee) ? eI(q ? q._f : Or(Y, ne)._f) : ee;
153353
153363
  Fi(o, ne, ae), S(ne, ae, !1, !1, !0);
153354
153364
  }
153355
153365
  }, $ = (oe, ne = {}) => {
@@ -153384,7 +153394,7 @@ function Nrt(e = {}) {
153384
153394
  ref: (ee) => {
153385
153395
  if (ee) {
153386
153396
  $(oe, ne), q = Or(n, oe);
153387
- const ae = qi(ee.value) && ee.querySelectorAll && ee.querySelectorAll("input,select,textarea")[0] || ee, pe = _rt(ae), Ae = q._f.refs || [];
153397
+ const ae = Ki(ee.value) && ee.querySelectorAll && ee.querySelectorAll("input,select,textarea")[0] || ee, pe = _rt(ae), Ae = q._f.refs || [];
153388
153398
  if (pe ? Ae.find((fe) => fe === ae) : ae === q._f.ref)
153389
153399
  return;
153390
153400
  Fi(n, oe, {
@@ -153442,7 +153452,7 @@ function Nrt(e = {}) {
153442
153452
  }), Y)
153443
153453
  throw Y;
153444
153454
  }, J = (oe, ne = {}) => {
153445
- Or(n, oe) && (qi(ne.defaultValue) ? W(oe, cs(Or(i, oe))) : (W(oe, ne.defaultValue), Fi(i, oe, cs(ne.defaultValue))), ne.keepTouched || Qo(r.touchedFields, oe), ne.keepDirty || (Qo(r.dirtyFields, oe), r.isDirty = ne.defaultValue ? N(oe, cs(Or(i, oe))) : N()), ne.keepError || (Qo(r.errors, oe), u.isValid && m()), d.state.next({ ...r }));
153455
+ Or(n, oe) && (Ki(ne.defaultValue) ? W(oe, cs(Or(i, oe))) : (W(oe, ne.defaultValue), Fi(i, oe, cs(ne.defaultValue))), ne.keepTouched || Qo(r.touchedFields, oe), ne.keepDirty || (Qo(r.dirtyFields, oe), r.isDirty = ne.defaultValue ? N(oe, cs(Or(i, oe))) : N()), ne.keepError || (Qo(r.errors, oe), u.isValid && m()), d.state.next({ ...r }));
153446
153456
  }, se = (oe, ne = {}) => {
153447
153457
  const q = oe ? cs(oe) : i, Y = cs(q), ee = wa(oe), ae = ee ? i : Y;
153448
153458
  if (ne.keepDefaultValues || (i = q), !ne.keepValues) {
@@ -153450,7 +153460,7 @@ function Nrt(e = {}) {
153450
153460
  for (const pe of a.mount)
153451
153461
  Or(r.dirtyFields, pe) ? Fi(ae, pe, Or(o, pe)) : W(pe, Or(ae, pe));
153452
153462
  else {
153453
- if (A5 && qi(oe))
153463
+ if (A5 && Ki(oe))
153454
153464
  for (const pe of a.mount) {
153455
153465
  const Ae = Or(n, pe);
153456
153466
  if (Ae && Ae._f) {
@@ -164390,7 +164400,7 @@ const US = (e) => {
164390
164400
  headers: {},
164391
164401
  query: "",
164392
164402
  variables: {}
164393
- }), b = Pt(!1), S = Pt(null), x = Lr(), [C, w] = ve(!1), { WORKFLOW_URLS: _, ENTITY_ID: I = "" } = eo(), { VORTEX_MAIN_URL: N, TESSERACT_MAIN_URL: D, FRONTEND_URL: P } = _, L = r?.data?.type, F = r?.data?.properties?.activity_name, W = r?.data?.properties?.activity_id, U = r?.data?.properties?.integration_slug, X = (te) => {
164403
+ }), b = Pt(!1), S = Pt(null), x = Lr(), [C, w] = ve(!1), { WORKFLOW_URLS: _, ENTITY_ID: I = "" } = Wi(), { VORTEX_MAIN_URL: N, TESSERACT_MAIN_URL: D, FRONTEND_URL: P } = _, L = r?.data?.type, F = r?.data?.properties?.activity_name, W = r?.data?.properties?.activity_id, U = r?.data?.properties?.integration_slug, X = (te) => {
164394
164404
  if (!te)
164395
164405
  return {};
164396
164406
  if (typeof te == "string")
@@ -168028,7 +168038,7 @@ const US = (e) => {
168028
168038
  actionRef: p,
168029
168039
  MCP_INTEGRATION_FORM: h = !1
168030
168040
  }) => {
168031
- const A = It(), g = Lr(), m = Za(), { setNodes: E, getNode: O, getEdges: y } = Ji(), v = p || Pt(null), b = Pt(null), S = Kt(() => rs(), []), { activities: x, triggers: C, reserved_keywords: w, activity_names: _ } = Jt(
168041
+ const A = It(), g = Lr(), m = Za(), { setNodes: E, getNode: O, getEdges: y } = eo(), v = p || Pt(null), b = Pt(null), S = Kt(() => rs(), []), { activities: x, triggers: C, reserved_keywords: w, activity_names: _ } = Jt(
168032
168042
  (nt) => nt.activities
168033
168043
  ), { canvasWorkflow: I, activityExecutionData: N, viewOnly: D = !1, triggerNodeTest: P } = Jt(
168034
168044
  (nt) => nt.canvas
@@ -168037,10 +168047,10 @@ const US = (e) => {
168037
168047
  C?.data?.data,
168038
168048
  t.data,
168039
168049
  "slug"
168040
- ), { ENTITY_ID: F, WORKFLOW_URLS: W, openAddonModal: U, currentSubscription: X } = eo(), { workflow: M } = Jt((nt) => nt.workflows), H = d || M?.source || "", V = AT(t, H), R = vL({
168050
+ ), { ENTITY_ID: F, WORKFLOW_URLS: W, openAddonModal: U, currentSubscription: X } = Wi(), { workflow: M } = Jt((nt) => nt.workflows), H = d || M?.source || "", V = AT(t, H), R = vL({
168041
168051
  defaultValues: V,
168042
168052
  mode: "onChange"
168043
- }), k = Pt(null), { analytics: B = {} } = eo(), [z, G] = ve(!1), [$, j] = ve([]), [Q, K] = ve(!1), J = Pt(null), se = Pt(0), { data: te } = m.find((nt) => nt.id === t?.id) || {}, { blt_node_states: le } = te || {}, {
168053
+ }), k = Pt(null), { analytics: B = {} } = Wi(), [z, G] = ve(!1), [$, j] = ve([]), [Q, K] = ve(!1), J = Pt(null), se = Pt(0), { data: te } = m.find((nt) => nt.id === t?.id) || {}, { blt_node_states: le } = te || {}, {
168044
168054
  test: Oe = "",
168045
168055
  setup_and_configure: Se = "",
168046
168056
  node: oe = ""
@@ -168713,7 +168723,7 @@ const US = (e) => {
168713
168723
  ]
168714
168724
  }
168715
168725
  ),
168716
- /* @__PURE__ */ f.jsx(tr, { onClick: Z, sx: Ki(A), children: /* @__PURE__ */ f.jsx(Qe, { width: 24, height: 24, src: "ic_close" }) })
168726
+ /* @__PURE__ */ f.jsx(tr, { onClick: Z, sx: Zi(A), children: /* @__PURE__ */ f.jsx(Qe, { width: 24, height: 24, src: "ic_close" }) })
168717
168727
  ] })
168718
168728
  ]
168719
168729
  }
@@ -168790,7 +168800,7 @@ const US = (e) => {
168790
168800
  }
168791
168801
  );
168792
168802
  }, Ult = va((e) => {
168793
- const t = It(), r = Za(), n = tc(), { setNodes: i, setEdges: o } = Ji(), { canvasWorkflow: s } = Jt((E) => E.canvas), a = s?.meta?.isHorizontal ?? !0, { fromX: l, fromY: c, toX: u, toY: d, fromNode: p, sourcePosition: h, targetPosition: A } = e;
168803
+ const t = It(), r = Za(), n = tc(), { setNodes: i, setEdges: o } = eo(), { canvasWorkflow: s } = Jt((E) => E.canvas), a = s?.meta?.isHorizontal ?? !0, { fromX: l, fromY: c, toX: u, toY: d, fromNode: p, sourcePosition: h, targetPosition: A } = e;
168794
168804
  if ([l, c, u, d].some((E) => typeof E != "number" || Number.isNaN(E)))
168795
168805
  return null;
168796
168806
  ke(() => {
@@ -168900,7 +168910,7 @@ const US = (e) => {
168900
168910
  ] }) })
168901
168911
  ] });
168902
168912
  }, Vlt = (e) => {
168903
- const t = It(), { canvasWorkflow: r } = Jt((G) => G.canvas), { ENTITY_ID: n, allowedAccount: i } = eo(), o = jO(n, i), s = r?.meta?.isHorizontal ?? !0, {
168913
+ const t = It(), { canvasWorkflow: r } = Jt((G) => G.canvas), { ENTITY_ID: n, allowedAccount: i } = Wi(), o = jO(n, i), s = r?.meta?.isHorizontal ?? !0, {
168904
168914
  id: a,
168905
168915
  sourceX: l,
168906
168916
  sourceY: c,
@@ -168917,7 +168927,7 @@ const US = (e) => {
168917
168927
  } = e;
168918
168928
  if ([l, c, u, d].some((G) => typeof G != "number" || Number.isNaN(G)) || !p || !h)
168919
168929
  return null;
168920
- const v = tc(), b = Za(), { deleteElements: S } = Ji(), x = Lr(), { viewOnly: C } = Jt((G) => G.canvas), w = v.find((G) => G.id === a), _ = w?.data?.isStraight === !0, I = () => _N({
168930
+ const v = tc(), b = Za(), { deleteElements: S } = eo(), x = Lr(), { viewOnly: C } = Jt((G) => G.canvas), w = v.find((G) => G.id === a), _ = w?.data?.isStraight === !0, I = () => _N({
168921
168931
  sourceX: l,
168922
168932
  sourceY: c,
168923
168933
  sourcePosition: p,
@@ -169039,7 +169049,7 @@ const US = (e) => {
169039
169049
  target: p,
169040
169050
  sourceHandle: h,
169041
169051
  targetHandle: A
169042
- } = e, { deleteElements: g } = Ji(), m = Lr(), { ENTITY_ID: E, allowedAccount: O } = eo(), y = jO(E, O), v = Za(), b = tc(), { viewOnly: S, canvasWorkflow: x, activitiesPopover: C } = Jt((z) => z.canvas), w = x?.meta?.isHorizontal ?? !0, _ = C?.edgeId === r && C?.active;
169052
+ } = e, { deleteElements: g } = eo(), m = Lr(), { ENTITY_ID: E, allowedAccount: O } = Wi(), y = jO(E, O), v = Za(), b = tc(), { viewOnly: S, canvasWorkflow: x, activitiesPopover: C } = Jt((z) => z.canvas), w = x?.meta?.isHorizontal ?? !0, _ = C?.edgeId === r && C?.active;
169043
169053
  if ([n, i, o, s].some((z) => typeof z != "number" || Number.isNaN(z)) || !a || !l)
169044
169054
  return null;
169045
169055
  const [I, N, D] = _N({
@@ -169251,7 +169261,7 @@ const Xlt = Fc(
169251
169261
  );
169252
169262
  };
169253
169263
  function Zlt(e = !1) {
169254
- const t = Lr(), { getNodes: r, getEdges: n } = Ji(), i = r(), o = n(), s = Pt({ x: 0, y: 0 }), { activity_names: a } = Jt((m) => m.activities), { setNodes: l, screenToFlowPosition: c } = Ji(), [u, d] = ve([]), p = ut(
169264
+ const t = Lr(), { getNodes: r, getEdges: n } = eo(), i = r(), o = n(), s = Pt({ x: 0, y: 0 }), { activity_names: a } = Jt((m) => m.activities), { setNodes: l, screenToFlowPosition: c } = eo(), [u, d] = ve([]), p = ut(
169255
169265
  (m = c({ x: s.current.x, y: s.current.y })) => {
169256
169266
  const E = i.filter((v) => v.id === m);
169257
169267
  let O = [...i];
@@ -169392,7 +169402,7 @@ const HO = ({
169392
169402
  p: 0.5,
169393
169403
  width: 28,
169394
169404
  height: 28,
169395
- ...Ki(a)
169405
+ ...Zi(a)
169396
169406
  },
169397
169407
  "data-testid": "node-action-switch-trigger",
169398
169408
  children: /* @__PURE__ */ f.jsx(
@@ -169489,7 +169499,7 @@ const HO = ({
169489
169499
  p: 0.5,
169490
169500
  width: 28,
169491
169501
  height: 28,
169492
- ...Ki(a),
169502
+ ...Zi(a),
169493
169503
  ...F
169494
169504
  },
169495
169505
  "data-testid": "node-action-duplicate",
@@ -169556,7 +169566,7 @@ const HO = ({
169556
169566
  u(), l(!0);
169557
169567
  };
169558
169568
  ke(() => () => u(), []);
169559
- const { setNodes: h } = Ji(), { nodesToFocus: A } = Jt((x) => x.canvas), g = Lr(), m = A.nodes.includes(t), [E, O] = ve(r?.activity_comment?.body || ""), y = A.type;
169569
+ const { setNodes: h } = eo(), { nodesToFocus: A } = Jt((x) => x.canvas), g = Lr(), m = A.nodes.includes(t), [E, O] = ve(r?.activity_comment?.body || ""), y = A.type;
169560
169570
  ke(() => {
169561
169571
  O(r?.activity_comment?.body || "");
169562
169572
  }, [r?.activity_comment?.body]);
@@ -169828,7 +169838,7 @@ const HO = ({
169828
169838
  proIntegration: a = !1,
169829
169839
  pro: l = !1
169830
169840
  }) => {
169831
- const c = Lr(), u = It(), { setNodes: d, getNodes: p } = Ji(), { activitiesPopover: h } = Jt((m) => m.canvas), A = Kt(
169841
+ const c = Lr(), u = It(), { setNodes: d, getNodes: p } = eo(), { activitiesPopover: h } = Jt((m) => m.canvas), A = Kt(
169832
169842
  () => r ? M0(r, "t.resize(h:24,w:24)") : "",
169833
169843
  [r]
169834
169844
  ), g = (m) => {
@@ -169967,7 +169977,7 @@ const HO = ({
169967
169977
  },
169968
169978
  sx: {
169969
169979
  p: 0,
169970
- ...Ki(u)
169980
+ ...Zi(u)
169971
169981
  },
169972
169982
  children: /* @__PURE__ */ f.jsx(Qe, { src: "ic_comment", width: 16, height: 16 })
169973
169983
  }
@@ -170000,7 +170010,7 @@ const HO = ({
170000
170010
  }, ict = re.memo((e) => {
170001
170011
  const t = Za(), r = tc(), n = It(), { canvasWorkflow: i, activityExecutionData: o, viewOnly: s, selectedActivityId: a } = Jt(
170002
170012
  (W) => W.canvas
170003
- ), l = i?.meta?.isHorizontal ?? !0, c = gh(), { setNodes: u } = Ji(), { id: d, data: p, onHandleClick: h, handleDeleteNode: A, selected: g, pro_integration: m, onRunWithPrevious: E } = e, O = t.find((W) => W.id === a), { activities: y, triggers: v } = Jt(UO), b = Array.isArray(y) ? y : [], S = Array.isArray(v) ? v : [], x = _i(b, S, p, "pro"), C = !!x && x !== "", w = C && m === !1, _ = o?.[p.name]?.loading ?? !1;
170013
+ ), l = i?.meta?.isHorizontal ?? !0, c = gh(), { setNodes: u } = eo(), { id: d, data: p, onHandleClick: h, handleDeleteNode: A, selected: g, pro_integration: m, onRunWithPrevious: E } = e, O = t.find((W) => W.id === a), { activities: y, triggers: v } = Jt(UO), b = Array.isArray(y) ? y : [], S = Array.isArray(v) ? v : [], x = _i(b, S, p, "pro"), C = !!x && x !== "", w = C && m === !1, _ = o?.[p.name]?.loading ?? !1;
170004
170014
  let I = Array.isArray(p.properties?.branches) ? p.properties.branches : [];
170005
170015
  (p.type === rt.API || p.type === rt.GRAPHQL) && p.properties?.continue_on_failure === !1 && (I = I.filter((W) => W.ref === "success")), ke(() => {
170006
170016
  c(d);
@@ -170571,7 +170581,7 @@ const HO = ({
170571
170581
  }
170572
170582
  ) });
170573
170583
  }, cct = ({ id: e, data: t, onHandleClick: r }) => {
170574
- const { isTriggerPlaceholder: n } = t, i = It(), o = Za(), s = tc(), { ENTITY_ID: a, allowedAccount: l } = eo(), c = Lr(), { activitiesPopover: u, viewOnly: d, canvasWorkflow: p, selectedActivityId: h } = Jt(
170584
+ const { isTriggerPlaceholder: n } = t, i = It(), o = Za(), s = tc(), { ENTITY_ID: a, allowedAccount: l } = Wi(), c = Lr(), { activitiesPopover: u, viewOnly: d, canvasWorkflow: p, selectedActivityId: h } = Jt(
170575
170585
  (E) => E.canvas
170576
170586
  ), A = jO(a, l), g = p?.meta?.isHorizontal ?? !0, m = (E) => {
170577
170587
  if (d)
@@ -170863,7 +170873,7 @@ const HO = ({
170863
170873
  handleDeleteNode: a,
170864
170874
  currentSubscription: l,
170865
170875
  pro_integration: c
170866
- } = e, u = jn(Wr.VERSION), d = rs(), p = jn(d), h = Lr(), A = It(), { analytics: g } = eo(), m = Za(), E = tc(), { workflow: O } = Jt((B) => B.workflows), { canvasWorkflow: y, activityExecutionData: v, viewOnly: b, showDebugLogs: S, selectedActivityId: x } = Jt(
170876
+ } = e, u = jn(Wr.VERSION), d = rs(), p = jn(d), h = Lr(), A = It(), { analytics: g } = Wi(), m = Za(), E = tc(), { workflow: O } = Jt((B) => B.workflows), { canvasWorkflow: y, activityExecutionData: v, viewOnly: b, showDebugLogs: S, selectedActivityId: x } = Jt(
170867
170877
  (B) => B.canvas
170868
170878
  ), C = m.find((B) => B.id === x), w = y?.meta?.isHorizontal ?? !0, _ = m?.find((B) => B?.type === wt.TRIGGER), { activities: I, triggers: N } = Jt(UO), D = Array.isArray(I) ? I : [], P = Array.isArray(N) ? N : [], L = _i(D, P, r, "pro"), F = !!L && L !== "", W = F && c === !1, [U, X] = ve(!1), M = v?.[r.name]?.loading ?? !1, H = _?.data?.type, R = (Array.isArray(r?.properties?.branches) ? r.properties.branches : []).length + 1, k = Math.max(R * 16, 84);
170869
170879
  return /* @__PURE__ */ f.jsxs(
@@ -171035,7 +171045,7 @@ const HO = ({
171035
171045
  }
171036
171046
  );
171037
171047
  }), fct = (e, t, r, n, i) => {
171038
- const o = It(), s = Za(), a = tc(), l = Lr(), c = jn(), { analytics: u, ENTITY_ID: d, WORKFLOW_URLS: p } = eo(), { activity_names: h } = Jt((_) => _.activities), { selectedPlaceholderId: A } = Jt((_) => _.canvas), g = (_, I) => [..._, I], { captureEvent: m, WORKFLOW_EVENTS: E } = u || {}, O = ut(
171048
+ const o = It(), s = Za(), a = tc(), l = Lr(), c = jn(), { analytics: u, ENTITY_ID: d, WORKFLOW_URLS: p } = Wi(), { activity_names: h } = Jt((_) => _.activities), { selectedPlaceholderId: A } = Jt((_) => _.canvas), g = (_, I) => [..._, I], { captureEvent: m, WORKFLOW_EVENTS: E } = u || {}, O = ut(
171039
171049
  (_) => {
171040
171050
  _.preventDefault(), A && l({
171041
171051
  type: n0,
@@ -171412,7 +171422,7 @@ const HO = ({
171412
171422
  maxHistorySize: e = uI.maxHistorySize,
171413
171423
  enableShortcuts: t = uI.enableShortcuts
171414
171424
  } = uI) => {
171415
- const { getNodes: r, getEdges: n, setNodes: i, setEdges: o } = Ji(), { selectedActivityId: s } = Jt((O) => O.canvas), a = r(), l = n(), [c, u] = ve([]), [d, p] = ve([]), h = ut(() => {
171425
+ const { getNodes: r, getEdges: n, setNodes: i, setEdges: o } = eo(), { selectedActivityId: s } = Jt((O) => O.canvas), a = r(), l = n(), [c, u] = ve([]), [d, p] = ve([]), h = ut(() => {
171416
171426
  u((O) => {
171417
171427
  const y = O[O.length - 1];
171418
171428
  return y && y.nodes === a && y.edges === l ? O : [...O.slice(-e + 1), { nodes: a, edges: l }];
@@ -172116,7 +172126,7 @@ const Zie = (e) => {
172116
172126
  showCanvasOverlay: O,
172117
172127
  setShowCanvasOverlay: y,
172118
172128
  pro_integration: v
172119
- } = e, b = Pt(null), S = Pt(!1), x = Lr(), C = Pt(0), { fitView: w, deleteElements: _, getNodes: I, getEdges: N, getNode: D, screenToFlowPosition: P } = Ji(), L = It(), { analytics: F, openAddonModal: W, allowedAccount: U } = eo(), X = Kt(() => jO(i, U), [i, U]), M = gy("Delete"), H = gy("Backspace"), V = gy(["Meta+a", "Ctrl+a"], { actInsideInputWithModifier: !1 }), { VORTEX_MAIN_URL: R, VORTEX_SYNC_DOMAIN: k, BOLTICAI_MAIN_URL: B } = t, z = L.drawer.rightMenu, {
172129
+ } = e, b = Pt(null), S = Pt(!1), x = Lr(), C = Pt(0), { fitView: w, deleteElements: _, getNodes: I, getEdges: N, getNode: D, screenToFlowPosition: P } = eo(), L = It(), { analytics: F, openAddonModal: W, allowedAccount: U } = Wi(), X = Kt(() => jO(i, U), [i, U]), M = gy("Delete"), H = gy("Backspace"), V = gy(["Meta+a", "Ctrl+a"], { actInsideInputWithModifier: !1 }), { VORTEX_MAIN_URL: R, VORTEX_SYNC_DOMAIN: k, BOLTICAI_MAIN_URL: B } = t, z = L.drawer.rightMenu, {
172120
172130
  canvasWorkflow: G,
172121
172131
  activityExecutionData: $,
172122
172132
  viewOnly: j,
@@ -172215,8 +172225,8 @@ const Zie = (e) => {
172215
172225
  Gt = le;
172216
172226
  const En = String(le.id), hn = d.find((so) => so?.id === En) || null;
172217
172227
  Et = hn?.position ?? { x: 0, y: 0 }, er = d.filter((so) => so?.id !== En), Zt = p.filter((so) => so?.data?.isTempAiEdge !== !0).filter((so) => so?.source !== En && so?.target !== En);
172218
- const Gi = le.originalEdge;
172219
- Gi?.id && !Zt.some((so) => so?.id === Gi.id) && (Zt = [...Zt, Gi]);
172228
+ const Qi = le.originalEdge;
172229
+ Qi?.id && !Zt.some((so) => so?.id === Qi.id) && (Zt = [...Zt, Qi]);
172220
172230
  const ss = er.find((so) => so.id === le.sourceNodeId), Vs = er.find((so) => so.id === le.targetNodeId);
172221
172231
  ss && Vs && !hn?.position && (Et = {
172222
172232
  x: (ss.position.x + Vs.position.x) / 2,
@@ -172541,7 +172551,7 @@ const Zie = (e) => {
172541
172551
  payload: !!Q?.nodeId
172542
172552
  });
172543
172553
  }, [Q?.nodeId]);
172544
- const [In, gr] = ve(!1), [jr, Un] = ve(!1), [Vt, ar] = ve(!1), [Kr, kr] = ve(null), [Dr, zr] = ve(!1), { selectedActivityId: Zr, openDrawer: Yr } = Jt((he) => he.canvas), [Bn, Ln] = ve(null), Qn = Ji(), { undo: Pi, redo: uo, canUndo: mn, canRedo: Lo, takeSnapshot: ie } = pct(), Ze = (() => {
172554
+ const [In, gr] = ve(!1), [jr, Un] = ve(!1), [Vt, ar] = ve(!1), [Kr, kr] = ve(null), [Dr, zr] = ve(!1), { selectedActivityId: Zr, openDrawer: Yr } = Jt((he) => he.canvas), [Bn, Ln] = ve(null), Qn = eo(), { undo: Pi, redo: uo, canUndo: mn, canRedo: Lo, takeSnapshot: ie } = pct(), Ze = (() => {
172545
172555
  const he = localStorage.getItem(`viewport-${ge}`);
172546
172556
  if (he)
172547
172557
  return JSON.parse(he);
@@ -172930,8 +172940,8 @@ const Zie = (e) => {
172930
172940
  return !1;
172931
172941
  } else if (hn.ref && hn.ref !== he)
172932
172942
  return !1;
172933
- const Gi = tt.find((Vs) => Vs.id === hn.id);
172934
- return Gi ? !(Gi.type === wt.PLACEHOLDER && Gi.data?.isActivityPlaceholder) : !1;
172943
+ const Qi = tt.find((Vs) => Vs.id === hn.id);
172944
+ return Qi ? !(Qi.type === wt.PLACEHOLDER && Qi.data?.isActivityPlaceholder) : !1;
172935
172945
  }), Ct = Et.some((hn) => {
172936
172946
  if (hn.source !== Fe || (hn.sourceHandle || "outHandle") !== (he || "outHandle") || hn.type === rn.PLACEHOLDER || hn.target?.startsWith("placeholder_") || tt.some(
172937
172947
  (Xd) => Xd.id === hn.target && Xd.type === wt.PLACEHOLDER && Xd.data?.isActivityPlaceholder
@@ -173214,7 +173224,7 @@ const Zie = (e) => {
173214
173224
  );
173215
173225
  }, Dn = () => {
173216
173226
  zr(!0), gn(q?.data?.data?.[0]?.id, q?.data?.data?.[0]?.status);
173217
- }, Wi = cpe(L), zn = 55, io = 95, Oo = te ?? 340, fi = `-${zn}px`, oo = `calc(100% + ${io}px)`, fo = fi, oa = se ? `calc(${oo} - ${Oo}px)` : oo;
173227
+ }, Gi = cpe(L), zn = 55, io = 95, Oo = te ?? 340, fi = `-${zn}px`, oo = `calc(100% + ${io}px)`, fo = fi, oa = se ? `calc(${oo} - ${Oo}px)` : oo;
173218
173228
  return ke(() => {
173219
173229
  if ((oe || ye) && !q?.data?.data?.length) {
173220
173230
  const he = [Wr.PUBLISHED, Wr.SCHEDULED].includes(xe) && oe?.id || oe?.parent_id;
@@ -173507,7 +173517,7 @@ const Zie = (e) => {
173507
173517
  right: 68,
173508
173518
  bottom: se ? Oe + 16 : 56,
173509
173519
  backgroundColor: L.palette.common.white,
173510
- boxShadow: Wi.primary.outlined,
173520
+ boxShadow: Gi.primary.outlined,
173511
173521
  "&:hover": {
173512
173522
  backgroundColor: L.palette.common.white
173513
173523
  }
@@ -176864,7 +176874,7 @@ const FW = ({ data: e, maxHeight: t = 400 }) => {
176864
176874
  VORTEX_MAIN_URL: s,
176865
176875
  ENTITY_ID: a,
176866
176876
  navigate: l
176867
- } = e, c = Lr(), u = It(), { analytics: d } = eo(), [p, h] = ve({
176877
+ } = e, c = Lr(), u = It(), { analytics: d } = Wi(), [p, h] = ve({
176868
176878
  per_page: 10,
176869
176879
  type: "all"
176870
176880
  }), { executions: A, executionLogs: g, workflow: m } = Jt((Z) => Z.workflows), { activities: E, triggers: O } = Jt((Z) => Z.activities), { testExecutionId: y, showDebugLogs: v, runWithPreviousExecutionId: b, runLogsPanelHeight: S } = Jt((Z) => Z.canvas), [x, C] = ve("Logs"), [w] = ve(!0), [_, I] = ve(0), [N, D] = ve(""), [P, L] = ve("all"), [F, W] = ve(y), [U, X] = ve({
@@ -177193,7 +177203,7 @@ const FW = ({ data: e, maxHeight: t = 400 }) => {
177193
177203
  p: 0.5,
177194
177204
  border: `1px solid ${u.palette.neutral.outlined.border || u.palette.grey[300]}`,
177195
177205
  borderRadius: 1.5,
177196
- ...Ki(u)
177206
+ ...Zi(u)
177197
177207
  },
177198
177208
  onClick: Xe,
177199
177209
  disabled: A.loading,
@@ -177223,7 +177233,7 @@ const FW = ({ data: e, maxHeight: t = 400 }) => {
177223
177233
  p: 0.5,
177224
177234
  border: `1px solid ${u.palette.neutral.outlined.border || u.palette.grey[300]}`,
177225
177235
  borderRadius: 1.5,
177226
- ...Ki(u)
177236
+ ...Zi(u)
177227
177237
  },
177228
177238
  children: /* @__PURE__ */ f.jsx(
177229
177239
  Qe,
@@ -177244,7 +177254,7 @@ const FW = ({ data: e, maxHeight: t = 400 }) => {
177244
177254
  tr,
177245
177255
  {
177246
177256
  onClick: o,
177247
- sx: { p: 0, ...Ki(u) },
177257
+ sx: { p: 0, ...Zi(u) },
177248
177258
  size: "small",
177249
177259
  children: /* @__PURE__ */ f.jsx(
177250
177260
  Qe,
@@ -177435,7 +177445,7 @@ const FW = ({ data: e, maxHeight: t = 400 }) => {
177435
177445
  p: 0.5,
177436
177446
  border: `1px solid ${u.palette.neutral.outlined.border || u.palette.grey[300]}`,
177437
177447
  borderRadius: 1.5,
177438
- ...Ki(u)
177448
+ ...Zi(u)
177439
177449
  },
177440
177450
  onClick: Ie,
177441
177451
  disabled: A.loading,
@@ -177683,7 +177693,7 @@ const FW = ({ data: e, maxHeight: t = 400 }) => {
177683
177693
  p: 0.5,
177684
177694
  border: `1px solid ${u.palette.neutral.outlined.border || u.palette.grey[300]}`,
177685
177695
  borderRadius: 1.5,
177686
- ...Ki(u)
177696
+ ...Zi(u)
177687
177697
  },
177688
177698
  onClick: Ie,
177689
177699
  disabled: A.loading,
@@ -178046,7 +178056,7 @@ const FW = ({ data: e, maxHeight: t = 400 }) => {
178046
178056
  disabled: n = !1,
178047
178057
  ...i
178048
178058
  }) => /* @__PURE__ */ f.jsx(bN, { renderInput: e, options: t, disabled: n || r, ...i }), Wut = jd(Vut), Gut = ({ onClose: e, open: t }) => {
178049
- const { WORKFLOW_URLS: r, ENTITY_ID: n } = eo(), { VORTEX_MAIN_URL: i } = r, o = Lr(), { canvasWorkflow: s, viewOnly: a } = Jt((b) => b.canvas), { workflow: l } = Jt((b) => b.workflows), c = s?.meta?.fallback_workflow_id || "", [u, d] = ve(c), [p, h] = ve([]), [A, g] = ve(!1), E = rs() === Jn.DRAFT ? l?.id : l?.meta?.draft_id, O = Kt(() => Hut(p, u), [p, u]), y = ut(
178059
+ const { WORKFLOW_URLS: r, ENTITY_ID: n } = Wi(), { VORTEX_MAIN_URL: i } = r, o = Lr(), { canvasWorkflow: s, viewOnly: a } = Jt((b) => b.canvas), { workflow: l } = Jt((b) => b.workflows), c = s?.meta?.fallback_workflow_id || "", [u, d] = ve(c), [p, h] = ve([]), [A, g] = ve(!1), E = rs() === Jn.DRAFT ? l?.id : l?.meta?.draft_id, O = Kt(() => Hut(p, u), [p, u]), y = ut(
178050
178060
  async (b) => {
178051
178061
  g(!0);
178052
178062
  try {
@@ -178217,7 +178227,7 @@ const FW = ({ data: e, maxHeight: t = 400 }) => {
178217
178227
  }
178218
178228
  );
178219
178229
  }, Qut = ({ setActiveMenu: e, open: t, onClose: r }) => {
178220
- const n = It(), i = Lr(), [o, s] = ve(""), [a, l] = ve(!1), [c, u] = ve(!1), [d, p] = ve(null), [h, A] = ve(!0), { canvasWorkflow: g } = Jt((U) => U.canvas), { WORKFLOW_URLS: m, ENTITY_ID: E } = eo(), { setNodes: O, setEdges: y, getNodes: v } = Ji(), b = rs(), S = jn(b), x = async (U) => {
178230
+ const n = It(), i = Lr(), [o, s] = ve(""), [a, l] = ve(!1), [c, u] = ve(!1), [d, p] = ve(null), [h, A] = ve(!0), { canvasWorkflow: g } = Jt((U) => U.canvas), { WORKFLOW_URLS: m, ENTITY_ID: E } = Wi(), { setNodes: O, setEdges: y, getNodes: v } = eo(), b = rs(), S = jn(b), x = async (U) => {
178221
178231
  if (!U) return;
178222
178232
  u(!0), i({
178223
178233
  type: kI,
@@ -178985,7 +178995,7 @@ async function jdt(e, t = {}) {
178985
178995
  return (await Bdt(e, t)).toDataURL();
178986
178996
  }
178987
178997
  const WW = 1024 * 2, GW = 768 * 2, $dt = ({ nodes: e, edges: t, open: r, onClose: n }) => {
178988
- const i = Lr(), o = It(), { ENTITY_ID: s, WORKFLOW_URLS: a, analytics: l } = eo(), { captureEvent: c, WORKFLOW_EVENTS: u } = l || {}, { VORTEX_MAIN_URL: d } = a, { canvasWorkflow: p } = Jt((C) => C.canvas), { share: h } = Jt((C) => C.workflows), A = Pt(), g = Kt(() => {
178998
+ const i = Lr(), o = It(), { ENTITY_ID: s, WORKFLOW_URLS: a, analytics: l } = Wi(), { captureEvent: c, WORKFLOW_EVENTS: u } = l || {}, { VORTEX_MAIN_URL: d } = a, { canvasWorkflow: p } = Jt((C) => C.canvas), { share: h } = Jt((C) => C.workflows), A = Pt(), g = Kt(() => {
178989
178999
  const C = hc("nodes_update", e) || [], w = hc("edges_update", null, t) || [];
178990
179000
  return { ...p, nodes: C, edges: w };
178991
179001
  }, [p, e, t]), m = ut(() => {
@@ -179641,7 +179651,7 @@ const WW = 1024 * 2, GW = 768 * 2, $dt = ({ nodes: e, edges: t, open: r, onClose
179641
179651
  left: 16
179642
179652
  },
179643
179653
  menuItemStyles: {
179644
- ...Ki(o)
179654
+ ...Zi(o)
179645
179655
  },
179646
179656
  menuItems: p
179647
179657
  }
@@ -179658,23 +179668,45 @@ const WW = 1024 * 2, GW = 768 * 2, $dt = ({ nodes: e, edges: t, open: r, onClose
179658
179668
  isActiveWorkflow: l,
179659
179669
  currentSubscription: c
179660
179670
  }) => {
179661
- const u = Lr(), d = It(), { canvasWorkflow: p, selectedActivityId: h, publishLock: A } = Jt((P) => P.canvas), g = Array.isArray(c) ? c[0] : c, m = g?.metricData?.creation?.remaining, E = g?.metricData?.execution?.remaining, O = g?.status === "EXPIRED", y = g?.status === "CANCELLED", v = m == null || m <= 0, b = E == null || E <= 0, S = O || y || v || b, x = Kt(() => s?.find((P) => P.type === wt.TRIGGER), [s]), C = Kt(() => x ? Xg(x, s) : !1, [x, s]), w = ut(() => {
179662
- const P = hT(v6(i)), L = hT(
179671
+ const u = Lr(), d = It(), { openAddonModal: p, openUpgradeModal: h } = Wi(), { canvasWorkflow: A, selectedActivityId: g, publishLock: m } = Jt((F) => F.canvas), E = Array.isArray(c) ? c[0] : c, O = E?.metricData?.creation?.remaining, y = E?.metricData?.execution?.remaining, v = E?.status === "EXPIRED", b = E?.status === "CANCELLED", S = O == null || O <= 0, x = y == null || y <= 0, C = v || b || S || x, w = Kt(() => s?.find((F) => F.type === wt.TRIGGER), [s]), _ = Kt(() => w ? Xg(w, s) : !1, [w, s]), I = ut(() => {
179672
+ const F = hT(v6(i)), W = hT(
179663
179673
  v6({
179664
- ...p,
179674
+ ...A,
179665
179675
  nodes: hc("nodes_update", s),
179666
179676
  edges: hc("edges_update", null, a)
179667
179677
  })
179668
179678
  );
179669
- return P === L;
179670
- }, [i, p, s, a]), _ = ut(() => {
179671
- setTimeout(() => {
179672
- const L = ['[data-testid="plans-add-on-button"]', '[data-test-id="plan-upgrade-button"]'].map((F) => document.querySelector(F)).find((F) => F);
179673
- L && L.click();
179674
- }, 100);
179675
- }, []), I = ut(() => {
179676
- if (v || O || y) {
179677
- _();
179679
+ return F === W;
179680
+ }, [i, A, s, a]), N = ut(
179681
+ ({ preferAddon: F = !1 } = {}) => {
179682
+ if (F && typeof p == "function") {
179683
+ p();
179684
+ return;
179685
+ }
179686
+ if (!F && typeof h == "function") {
179687
+ h();
179688
+ return;
179689
+ }
179690
+ setTimeout(() => {
179691
+ const U = (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);
179692
+ if (U) {
179693
+ U.click();
179694
+ return;
179695
+ }
179696
+ u({
179697
+ type: an,
179698
+ payload: {
179699
+ open: !0,
179700
+ 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.",
179701
+ type: "error"
179702
+ }
179703
+ });
179704
+ }, 100);
179705
+ },
179706
+ [u, p, h]
179707
+ ), D = ut(() => {
179708
+ if (S || v || b) {
179709
+ N();
179678
179710
  return;
179679
179711
  }
179680
179712
  if (!l && e !== Jn.DRAFT) {
@@ -179688,7 +179720,7 @@ const WW = 1024 * 2, GW = 768 * 2, $dt = ({ nodes: e, edges: t, open: r, onClose
179688
179720
  });
179689
179721
  return;
179690
179722
  }
179691
- if (!x) {
179723
+ if (!w) {
179692
179724
  u({
179693
179725
  type: an,
179694
179726
  payload: {
@@ -179699,7 +179731,7 @@ const WW = 1024 * 2, GW = 768 * 2, $dt = ({ nodes: e, edges: t, open: r, onClose
179699
179731
  });
179700
179732
  return;
179701
179733
  }
179702
- if (!C) {
179734
+ if (!_) {
179703
179735
  u({
179704
179736
  type: an,
179705
179737
  payload: {
@@ -179712,19 +179744,20 @@ const WW = 1024 * 2, GW = 768 * 2, $dt = ({ nodes: e, edges: t, open: r, onClose
179712
179744
  }
179713
179745
  r(!t);
179714
179746
  }, [
179747
+ S,
179748
+ x,
179715
179749
  v,
179716
- O,
179717
- y,
179750
+ b,
179718
179751
  l,
179719
179752
  e,
179720
- x,
179721
- C,
179753
+ w,
179754
+ _,
179722
179755
  t,
179723
179756
  r,
179724
179757
  u,
179725
- _
179726
- ]), N = o || A || w() || h || !x || !C, D = !C && !(S || v) ? "Workflow not completed" : "";
179727
- return /* @__PURE__ */ f.jsx(ce, { direction: "row", gap: 1, children: St(n) && e === Jn.DRAFT && /* @__PURE__ */ f.jsx(mr, { disableHoverListener: C, arrow: !0, title: D, children: /* @__PURE__ */ f.jsx("span", { children: /* @__PURE__ */ f.jsx(
179758
+ N
179759
+ ]), P = o || m || I() || g || !w || !_, L = !_ && !(C || S) ? "Workflow not completed" : "";
179760
+ return /* @__PURE__ */ f.jsx(ce, { direction: "row", gap: 1, children: St(n) && e === Jn.DRAFT && /* @__PURE__ */ f.jsx(mr, { disableHoverListener: _, arrow: !0, title: L, children: /* @__PURE__ */ f.jsx("span", { children: /* @__PURE__ */ f.jsx(
179728
179761
  fr,
179729
179762
  {
179730
179763
  sx: {
@@ -179743,8 +179776,8 @@ const WW = 1024 * 2, GW = 768 * 2, $dt = ({ nodes: e, edges: t, open: r, onClose
179743
179776
  }
179744
179777
  },
179745
179778
  variant: "contained",
179746
- onClick: I,
179747
- disabled: N,
179779
+ onClick: D,
179780
+ disabled: P,
179748
179781
  size: "medium",
179749
179782
  children: /* @__PURE__ */ f.jsx(Ve, { variant: "smSemiBold", children: "Publish" })
179750
179783
  }
@@ -179941,7 +179974,7 @@ const WW = 1024 * 2, GW = 768 * 2, $dt = ({ nodes: e, edges: t, open: r, onClose
179941
179974
  };
179942
179975
  return /* @__PURE__ */ f.jsx(fr, { sx: { height: 32, ml: 1 }, variant: "contained", color: "primary", onClick: n, children: /* @__PURE__ */ f.jsx(Ve, { variant: "smSemiBold", children: "Edit Workflow" }) });
179943
179976
  }, qdt = ({ open: e, onClose: t, navigate: r }) => {
179944
- const n = It(), i = Lr(), { workflow: o } = Jt((O) => O.workflows), [s, a] = ve(!1), { ENTITY_ID: l, WORKFLOW_URLS: c, analytics: u } = eo(), { VORTEX_MAIN_URL: d } = c, { captureEvent: p, WORKFLOW_EVENTS: h } = u || {}, A = () => {
179977
+ const n = It(), i = Lr(), { workflow: o } = Jt((O) => O.workflows), [s, a] = ve(!1), { ENTITY_ID: l, WORKFLOW_URLS: c, analytics: u } = Wi(), { VORTEX_MAIN_URL: d } = c, { captureEvent: p, WORKFLOW_EVENTS: h } = u || {}, A = () => {
179945
179978
  const O = o?.meta?.draft_id;
179946
179979
  if (!O) return;
179947
179980
  i({ type: pT });
@@ -180039,7 +180072,7 @@ const WW = 1024 * 2, GW = 768 * 2, $dt = ({ nodes: e, edges: t, open: r, onClose
180039
180072
  edges: c,
180040
180073
  currentSubscription: u
180041
180074
  }) => {
180042
- const { VORTEX_MAIN_URL: d, GYRATE_MAIN_URL: p } = n, h = Lr(), A = It(), { analytics: g } = eo(), [m, E] = ve(!1), [O, y] = ve(!1), [v, b] = ve(!1), [S, x] = ve(!1), [C, w] = ve(""), [_, I] = ve(!1), [N, D] = ve(null), [P, L] = ve(!1), [F, W] = ve(!1), [U, X] = ve(!1), [M, H] = ve({
180075
+ const { VORTEX_MAIN_URL: d, GYRATE_MAIN_URL: p } = n, h = Lr(), A = It(), { analytics: g } = Wi(), [m, E] = ve(!1), [O, y] = ve(!1), [v, b] = ve(!1), [S, x] = ve(!1), [C, w] = ve(""), [_, I] = ve(!1), [N, D] = ve(null), [P, L] = ve(!1), [F, W] = ve(!1), [U, X] = ve(!1), [M, H] = ve({
180043
180076
  title: "",
180044
180077
  content: "",
180045
180078
  status: ""
@@ -180265,7 +180298,7 @@ const WW = 1024 * 2, GW = 768 * 2, $dt = ({ nodes: e, edges: t, open: r, onClose
180265
180298
  p: 0,
180266
180299
  opacity: V ? 0.6 : 1
180267
180300
  },
180268
- ...Ki(A)
180301
+ ...Zi(A)
180269
180302
  },
180270
180303
  onClick: fe,
180271
180304
  disabled: V,
@@ -180596,7 +180629,7 @@ const WW = 1024 * 2, GW = 768 * 2, $dt = ({ nodes: e, edges: t, open: r, onClose
180596
180629
  },
180597
180630
  arrow: !0,
180598
180631
  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",
180599
- children: /* @__PURE__ */ f.jsx(Be, { component: "span", children: /* @__PURE__ */ f.jsx(Qe, { src: "ic_info", sx: { ...Ki(i) } }) })
180632
+ children: /* @__PURE__ */ f.jsx(Be, { component: "span", children: /* @__PURE__ */ f.jsx(Qe, { src: "ic_info", sx: { ...Zi(i) } }) })
180600
180633
  }
180601
180634
  )
180602
180635
  ]
@@ -180608,7 +180641,7 @@ const WW = 1024 * 2, GW = 768 * 2, $dt = ({ nodes: e, edges: t, open: r, onClose
180608
180641
  src: "ic_close",
180609
180642
  sx: {
180610
180643
  cursor: "pointer",
180611
- ...Ki(i)
180644
+ ...Zi(i)
180612
180645
  },
180613
180646
  onClick: () => {
180614
180647
  r("");
@@ -180741,7 +180774,7 @@ const WW = 1024 * 2, GW = 768 * 2, $dt = ({ nodes: e, edges: t, open: r, onClose
180741
180774
  src: "ic_close",
180742
180775
  sx: {
180743
180776
  cursor: "pointer",
180744
- ...Ki(i)
180777
+ ...Zi(i)
180745
180778
  },
180746
180779
  onClick: () => {
180747
180780
  n("");
@@ -181064,7 +181097,7 @@ const WW = 1024 * 2, GW = 768 * 2, $dt = ({ nodes: e, edges: t, open: r, onClose
181064
181097
  src: "ic_close",
181065
181098
  sx: {
181066
181099
  cursor: "pointer",
181067
- ...Ki(E)
181100
+ ...Zi(E)
181068
181101
  },
181069
181102
  onClick: () => {
181070
181103
  i("");
@@ -181559,13 +181592,13 @@ const nft = ({ onUpgradeToPro: e }) => {
181559
181592
  setSelectedMenu: u,
181560
181593
  pro_integration: d,
181561
181594
  openUpgradeModal: p
181562
- } = e, h = It(), A = Lr(), g = Ji(), [m, E] = ve({}), { setNodes: O } = Ji(), [y, v] = ve(""), [b, S] = ve(!0), x = jn() || "", C = [
181595
+ } = e, h = It(), A = Lr(), g = eo(), [m, E] = ve({}), { setNodes: O } = eo(), [y, v] = ve(""), [b, S] = ve(!0), x = jn() || "", C = [
181563
181596
  { icon: "ic_all", label: "All" },
181564
181597
  { icon: "ic_apps", label: "Integrations" },
181565
181598
  { icon: "ic_tools", label: "Built in tools" }
181566
181599
  ], [w, _] = ve(0), I = (q) => {
181567
181600
  _(q);
181568
- }, N = Pt(), D = Pt(null), { analytics: P, ENTITY_ID: L = "", WORKFLOW_URLS: F = {} } = eo(), { captureEvent: W, WORKFLOW_EVENTS: U } = P || {}, { getNodes: X, getEdges: M } = Ji(), H = gh(), V = X(), R = M(), { activities: k, triggers: B, activity_names: z } = Jt((q) => q.activities), { selectedPlaceholderId: G, canvasWorkflow: $ } = Jt((q) => q.canvas), [j, Q] = ve([]), K = (q) => {
181601
+ }, N = Pt(), D = Pt(null), { analytics: P, ENTITY_ID: L = "", WORKFLOW_URLS: F = {} } = Wi(), { captureEvent: W, WORKFLOW_EVENTS: U } = P || {}, { getNodes: X, getEdges: M } = eo(), H = gh(), V = X(), R = M(), { activities: k, triggers: B, activity_names: z } = Jt((q) => q.activities), { selectedPlaceholderId: G, canvasWorkflow: $ } = Jt((q) => q.canvas), [j, Q] = ve([]), K = (q) => {
181569
181602
  const Y = q.filter((ae) => ae.active ? w === 0 ? !0 : w === 1 ? _f.includes(ae.type) : !_f.includes(ae.type) : !1);
181570
181603
  if (n === "triggers") {
181571
181604
  const ae = { Triggers: { activities: Y } };
@@ -181932,7 +181965,7 @@ const nft = ({ onUpgradeToPro: e }) => {
181932
181965
  pro_integration: i,
181933
181966
  openUpgradeModal: o
181934
181967
  }) => {
181935
- const s = It(), a = Lr(), { getNodes: l, getEdges: c, setNodes: u, setEdges: d } = Ji(), p = c(), h = l(), [A, g] = re.useState(""), { canvasWorkflow: m, showSideBar: E, selectedPlaceholderId: O } = Jt((X) => X.canvas), { retry_config: y } = m, { VORTEX_MAIN_URL: v, VORTEX_SYNC_DOMAIN: b } = r, S = rs(), x = jn(S), C = jn(Wr.VERSION), { activitiesPopover: w } = Jt((X) => X.canvas), I = new URLSearchParams(window.location.search).get("source")?.toLowerCase(), N = () => St(m) ? !1 : S !== Wr.DRAFT, D = Kt(
181968
+ const s = It(), a = Lr(), { getNodes: l, getEdges: c, setNodes: u, setEdges: d } = eo(), p = c(), h = l(), [A, g] = re.useState(""), { canvasWorkflow: m, showSideBar: E, selectedPlaceholderId: O } = Jt((X) => X.canvas), { retry_config: y } = m, { VORTEX_MAIN_URL: v, VORTEX_SYNC_DOMAIN: b } = r, S = rs(), x = jn(S), C = jn(Wr.VERSION), { activitiesPopover: w } = Jt((X) => X.canvas), I = new URLSearchParams(window.location.search).get("source")?.toLowerCase(), N = () => St(m) ? !1 : S !== Wr.DRAFT, D = Kt(
181936
181969
  () => [
181937
181970
  {
181938
181971
  label: "Add activity",
@@ -182631,6 +182664,7 @@ const nft = ({ onUpgradeToPro: e }) => {
182631
182664
  ENTITY_ID: r,
182632
182665
  analytics: a,
182633
182666
  userData: l,
182667
+ openUpgradeModal: h,
182634
182668
  openAddonModal: A,
182635
182669
  currentSubscription: u,
182636
182670
  allowedAccount: p,
@@ -187066,7 +187100,7 @@ const OG = () => {
187066
187100
  JETBRIDGE_DASHBOARD_ACCOUNT_ID: t.JETBRIDGE_DASHBOARD_ACCOUNT_ID ?? "",
187067
187101
  JETBRIDGE_DASHBOARD_USER_ID: t.JETBRIDGE_DASHBOARD_USER_ID ?? ""
187068
187102
  }), wht = ({ dashboardId: e, workflowId: t, startDate: r, endDate: n }) => {
187069
- const i = It(), { ENTITY_ID: o, userData: s, WORKFLOW_URLS: a } = eo(), { FYND_CLOUD_DOMAIN: l } = a, c = G5(), u = t ?? c ?? "", [d, p] = ve(!1), h = Kt(() => {
187103
+ const i = It(), { ENTITY_ID: o, userData: s, WORKFLOW_URLS: a } = Wi(), { FYND_CLOUD_DOMAIN: l } = a, c = G5(), u = t ?? c ?? "", [d, p] = ve(!1), h = Kt(() => {
187070
187104
  const g = l || "", m = {
187071
187105
  ANALYTICS_AUTH_TOKEN: a?.ANALYTICS_AUTH_TOKEN,
187072
187106
  JETBRIDGE_DASHBOARD_ACCOUNT_ID: a?.JETBRIDGE_DASHBOARD_ACCOUNT_ID,
@@ -187473,7 +187507,7 @@ const OG = () => {
187473
187507
  e.cooldownIds
187474
187508
  ]
187475
187509
  ), yG = (e) => {
187476
- const t = Lr(), { WORKFLOW_URLS: r, ENTITY_ID: n, analytics: i } = eo(), { height: o, workflowId: s, state: a, fetchCounts: l, loadingStats: c } = e, { VORTEX_MAIN_URL: u } = r, d = () => {
187510
+ const t = Lr(), { WORKFLOW_URLS: r, ENTITY_ID: n, analytics: i } = Wi(), { height: o, workflowId: s, state: a, fetchCounts: l, loadingStats: c } = e, { VORTEX_MAIN_URL: u } = r, d = () => {
187477
187511
  e.onRefresh ? e.onRefresh() : (t(
187478
187512
  L0(
187479
187513
  s,
@@ -188994,7 +189028,7 @@ const TG = /* @__PURE__ */ ai(Pht), Nht = (e) => {
188994
189028
  parentExecutionStatus: n,
188995
189029
  currentStatus: i
188996
189030
  }) => {
188997
- const o = It(), { WORKFLOW_URLS: s, ENTITY_ID: a } = eo(), { VORTEX_MAIN_URL: l } = s, [c, u] = ve(null), d = !!c, [p, h] = ve(!1), [A, g] = ve([]), [m, E] = ve(null), O = async () => {
189031
+ const o = It(), { WORKFLOW_URLS: s, ENTITY_ID: a } = Wi(), { VORTEX_MAIN_URL: l } = s, [c, u] = ve(null), d = !!c, [p, h] = ve(!1), [A, g] = ve([]), [m, E] = ve(null), O = async () => {
188998
189032
  if (E(null), !!r) {
188999
189033
  h(!0);
189000
189034
  try {
@@ -189164,7 +189198,7 @@ const TG = /* @__PURE__ */ ai(Pht), Nht = (e) => {
189164
189198
  )
189165
189199
  ] }) });
189166
189200
  }, Kht = (e) => {
189167
- const t = It(), r = Lr(), { WORKFLOW_URLS: n, ENTITY_ID: i, analytics: o } = eo(), { VORTEX_MAIN_URL: s } = n, { executionId: a, parentExecutionId: l, parentExecutionStatus: c } = e, u = G5(), { executionLogs: d } = Jt((ee) => ee.workflows), { activities: p, triggers: h } = Jt((ee) => ee.activities), [A, g] = ve("Data in"), [m, E] = ve("GUI"), [O, y] = ve(null), [v, b] = ve(""), [S, x] = ve([]), [C, w] = ve(!1), [_, I] = ve(!1), [N, D] = ve(!1), [P, L] = ve(!1), { retryExecutions: F } = cae({
189201
+ const t = It(), r = Lr(), { WORKFLOW_URLS: n, ENTITY_ID: i, analytics: o } = Wi(), { VORTEX_MAIN_URL: s } = n, { executionId: a, parentExecutionId: l, parentExecutionStatus: c } = e, u = G5(), { executionLogs: d } = Jt((ee) => ee.workflows), { activities: p, triggers: h } = Jt((ee) => ee.activities), [A, g] = ve("Data in"), [m, E] = ve("GUI"), [O, y] = ve(null), [v, b] = ve(""), [S, x] = ve([]), [C, w] = ve(!1), [_, I] = ve(!1), [N, D] = ve(!1), [P, L] = ve(!1), { retryExecutions: F } = cae({
189168
189202
  workflowId: u ?? void 0,
189169
189203
  VORTEX_MAIN_URL: s,
189170
189204
  ENTITY_ID: i
@@ -189542,7 +189576,7 @@ const TG = /* @__PURE__ */ ai(Pht), Nht = (e) => {
189542
189576
  border: `1px solid ${t.palette.grey[300]}`,
189543
189577
  p: 0.5,
189544
189578
  ":hover": { backgroundColor: "transparent" },
189545
- ...Ki(t)
189579
+ ...Zi(t)
189546
189580
  },
189547
189581
  children: /* @__PURE__ */ f.jsx(Qe, { src: "ic_refresh", width: 16, height: 16 })
189548
189582
  }
@@ -189562,7 +189596,7 @@ const TG = /* @__PURE__ */ ai(Pht), Nht = (e) => {
189562
189596
  p: 0.5,
189563
189597
  opacity: M && !U ? 1 : 0.4,
189564
189598
  ":hover": { backgroundColor: "transparent" },
189565
- ...Ki(t)
189599
+ ...Zi(t)
189566
189600
  },
189567
189601
  children: /* @__PURE__ */ f.jsx(
189568
189602
  Qe,
@@ -189589,7 +189623,7 @@ const TG = /* @__PURE__ */ ai(Pht), Nht = (e) => {
189589
189623
  p: 0.5,
189590
189624
  opacity: H && !U ? 1 : 0.4,
189591
189625
  ":hover": { backgroundColor: "transparent" },
189592
- ...Ki(t)
189626
+ ...Zi(t)
189593
189627
  },
189594
189628
  children: /* @__PURE__ */ f.jsx(
189595
189629
  Qe,
@@ -189741,7 +189775,7 @@ const TG = /* @__PURE__ */ ai(Pht), Nht = (e) => {
189741
189775
  tr,
189742
189776
  {
189743
189777
  onClick: t,
189744
- sx: { cursor: "pointer", p: 0, width: 24, height: 24, ...Ki(n) },
189778
+ sx: { cursor: "pointer", p: 0, width: 24, height: 24, ...Zi(n) },
189745
189779
  "data-testid": "executions-back-button",
189746
189780
  children: /* @__PURE__ */ f.jsx(Qe, { src: "ic_back", width: 24, height: 24, fill: n.palette.neutral.solid.bg })
189747
189781
  }
@@ -190652,7 +190686,7 @@ const TG = /* @__PURE__ */ ai(Pht), Nht = (e) => {
190652
190686
  sx: {
190653
190687
  border: "1px solid",
190654
190688
  borderColor: t.palette.neutral.outlined.border,
190655
- ...Ki(t)
190689
+ ...Zi(t)
190656
190690
  },
190657
190691
  onClick: w,
190658
190692
  "data-testid": "refresh-button",
@@ -192035,7 +192069,7 @@ const TG = /* @__PURE__ */ ai(Pht), Nht = (e) => {
192035
192069
  }
192036
192070
  }, []);
192037
192071
  }, RAt = (e) => {
192038
- const t = It(), r = Lr(), { WORKFLOW_URLS: n, ENTITY_ID: i, analytics: o } = eo(), { VORTEX_MAIN_URL: s } = n, {
192072
+ const t = It(), r = Lr(), { WORKFLOW_URLS: n, ENTITY_ID: i, analytics: o } = Wi(), { VORTEX_MAIN_URL: s } = n, {
192039
192073
  executionId: a = "",
192040
192074
  token: l,
192041
192075
  api: c,