@devtron-labs/devtron-fe-common-lib 1.9.0-patch-1 → 1.9.0-patch-2

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.
@@ -4,16 +4,16 @@ var Fi = (e) => {
4
4
  };
5
5
  var ap = (e, s, n) => s in e ? np(e, s, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[s] = n;
6
6
  var me = (e, s, n) => ap(e, typeof s != "symbol" ? s + "" : s, n), Vi = (e, s, n) => s.has(e) || Fi("Cannot " + n);
7
- var Ps = (e, s, n) => (Vi(e, s, "read from private field"), n ? n.call(e) : s.get(e)), fa = (e, s, n) => s.has(e) ? Fi("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), ha = (e, s, n, a) => (Vi(e, s, "write to private field"), a ? a.call(e, n) : s.set(e, n), n);
8
- import { j as t, i as fe, n as rp, Q as Fr, k as op, D as ka, d as Gl, h as ip, A as cp, R as lp, s as dp, c as up, S as Gi, a as mp, b as pp, y as _p, l as Ua, e as fp, f as hp, g as gp, m as xp, o as Hi, p as Ep, q as Yi, r as Np, t as Cp, u as bp, v as Tp, T as Ki, w as Ko, x as Sp, z as Wi, B as Hl, C as Yl, E as Wo, F as vp, V as Ap, G as Ip, H as yp, I as Kl, J as Rp, K as jp, L as Wl, M as zi, N as Op, O as Lp, P as qi, U as wp, W as Dp, X as Fn, Y as Pp, Z as Xi, _ as $e, $ as Mp, a0 as kp, a1 as Ji, a2 as Up, a3 as Bp, a4 as Vr, a5 as Zi, a6 as $p, a7 as Fp, a8 as Vp, a9 as Gp, aa as Hp, ab as Yp, ac as Kp, ad as Wp, ae as zl, af as ql, ag as Xl, ah as zp, ai as qp, aj as Xp, ak as Jp, al as Us } from "./@vendor-CSolG4o7.js";
9
- import Ce, { useState as R, cloneElement as Ba, useRef as Y, useEffect as k, Component as fr, Children as Qi, createElement as zo, useMemo as te, useCallback as ze, createContext as Mt, useContext as ls, Fragment as Ys, memo as ht, useReducer as Zp, createRef as hs } from "react";
7
+ var Ds = (e, s, n) => (Vi(e, s, "read from private field"), n ? n.call(e) : s.get(e)), fa = (e, s, n) => s.has(e) ? Fi("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), ha = (e, s, n, a) => (Vi(e, s, "write to private field"), a ? a.call(e, n) : s.set(e, n), n);
8
+ import { j as t, i as fe, n as rp, Q as Fr, k as op, D as ka, d as Gl, h as ip, A as cp, R as lp, s as dp, c as up, S as Gi, a as mp, b as pp, y as _p, l as Ua, e as fp, f as hp, g as gp, m as xp, o as Hi, p as Ep, q as Yi, r as Np, t as Cp, u as bp, v as Tp, T as Ki, w as Ko, x as Sp, z as Wi, B as Hl, C as Yl, E as Wo, F as vp, V as Ap, G as Ip, H as yp, I as Kl, J as Rp, K as jp, L as Wl, M as zi, N as Op, O as Lp, P as qi, U as wp, W as Dp, X as Fn, Y as Pp, Z as Xi, _ as $e, $ as Mp, a0 as kp, a1 as Ji, a2 as Up, a3 as Bp, a4 as Vr, a5 as Zi, a6 as $p, a7 as Fp, a8 as Vp, a9 as Gp, aa as Hp, ab as Yp, ac as Kp, ad as Wp, ae as zl, af as ql, ag as Xl, ah as zp, ai as qp, aj as Xp, ak as Jp, al as ks } from "./@vendor-CSolG4o7.js";
9
+ import Ce, { useState as R, cloneElement as Ba, useRef as Y, useEffect as k, Component as fr, Children as Qi, createElement as zo, useMemo as te, useCallback as ze, createContext as Mt, useContext as ls, Fragment as Hs, memo as ht, useReducer as Zp, createRef as hs } from "react";
10
10
  import { ReactComponent as Zn } from "./assets/ic-warning.ecf7ff97.svg";
11
11
  import { ReactComponent as Qp } from "./assets/ic-cpu.8be677ee.svg";
12
12
  import { ReactComponent as e_ } from "./assets/ic-memory.c4159f96.svg";
13
13
  import { ReactComponent as qo } from "./assets/ic-timer.b62145ec.svg";
14
14
  import { ReactComponent as t_ } from "./assets/ic-spray-can.955302fc.svg";
15
15
  import { ReactComponent as hr } from "./assets/ic-tag.1613fc59.svg";
16
- import { Link as Os, useLocation as Ls, useHistory as qs, NavLink as _t, useParams as Tt, useRouteMatch as Jt, generatePath as Vs, Switch as Jl, Route as $s, Redirect as s_, Prompt as n_ } from "react-router-dom";
16
+ import { Link as Os, useLocation as Ls, useHistory as zs, NavLink as _t, useParams as Tt, useRouteMatch as Jt, generatePath as Fs, Switch as Jl, Route as Bs, Redirect as s_, Prompt as n_ } from "react-router-dom";
17
17
  import { ReactComponent as a_ } from "./assets/ic-delete-interactive.304dd293.svg";
18
18
  import * as r_ from "yaml";
19
19
  import Dt, { parse as o_, YAMLParseError as i_ } from "yaml";
@@ -72,7 +72,7 @@ import { ReactComponent as R_ } from "./assets/ic-visibility-off.d91d3844.svg";
72
72
  import { ReactComponent as j_ } from "./assets/ic-expand-all.d1d223f2.svg";
73
73
  import { ReactComponent as O_ } from "./assets/ic-collapse-all.56740920.svg";
74
74
  import { ReactComponent as is } from "./assets/ic-caret-down.1666c029.svg";
75
- import { ReactComponent as ws } from "./assets/ic-info-filled.f870ac11.svg";
75
+ import { ReactComponent as qs } from "./assets/ic-info-filled.f870ac11.svg";
76
76
  import { ReactComponent as gn } from "./assets/ic-help.39c58c34.svg";
77
77
  import { ReactComponent as ud } from "./assets/ic-arrow-out.6aea09d0.svg";
78
78
  import { ReactComponent as md } from "./assets/ic-arrow-forward.a2b8ab45.svg";
@@ -202,7 +202,7 @@ import { ReactComponent as Nh } from "./assets/ic-helm.49cb43a3.svg";
202
202
  import { ReactComponent as Ch } from "./assets/ic-help-outline.4b30e33c.svg";
203
203
  import { ReactComponent as bh } from "./assets/ic-hibernate.988d2323.svg";
204
204
  import { ReactComponent as Th } from "./assets/ic-in-progress.73f9ca1e.svg";
205
- import { ReactComponent as Sh } from "./assets/ic-info-filled.96f15070.svg";
205
+ import { ReactComponent as Sh } from "./assets/ic-info-filled.9277eb13.svg";
206
206
  import { ReactComponent as vh } from "./assets/ic-info-outline.d29630b4.svg";
207
207
  import { ReactComponent as Ah } from "./assets/ic-job-color.bb826301.svg";
208
208
  import { ReactComponent as Ih } from "./assets/ic-k8s-job.d3310821.svg";
@@ -514,7 +514,7 @@ const Ln = {
514
514
  Security: "SECURITY",
515
515
  Changes: "CHANGES"
516
516
  };
517
- var Bt = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(Bt || {}), kd = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(kd || {}), bg = /* @__PURE__ */ ((e) => (e.configMap = "configuration/config-map", e.configSecret = "configuration/config-secret", e.deploymentTemplate = "configuration/deployment-template", e.deploymentTrigger = "approval/deployment", e))(bg || {}), Tg = /* @__PURE__ */ ((e) => (e[e.init = 0] = "init", e[e.requested = 1] = "requested", e[e.approved = 2] = "approved", e[e.consumed = 3] = "consumed", e))(Tg || {}), Un = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(Un || {}), Sg = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(Sg || {}), vg = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(vg || {}), Eo = /* @__PURE__ */ ((e) => (e.ROLLBACK = "rollback", e.CD_MATERIALS = "cd-materials", e.IMAGE_PROMOTION = "image-promotion", e))(Eo || {}), Ag = /* @__PURE__ */ ((e) => (e.PENDING_APPROVAL = "PENDING_APPROVAL", e.PROMOTION_APPROVAL_PENDING_NODE = "PROMOTION_APPROVAL_PENDING_NODE", e.CI = "CI", e.ENVIRONMENT = "ENVIRONMENT", e.WEBHOOK = "WEBHOOK", e.LINKED_CI = "LINKED-CI", e.CI_JOB = "CI-JOB", e.LINKED_CD = "LINKED-CD", e))(Ag || {}), Ud = /* @__PURE__ */ ((e) => (e.RESOURCE = "ELIGIBLE_RESOURCES", e.ALL = "ALL_RESOURCES", e))(Ud || {}), Ig = /* @__PURE__ */ ((e) => (e.MANDATORY_TAG = "mandatory-tags", e.MANDATORY_PLUGIN = "mandatory-plugins", e.SECURITY_SCAN = "security-scan", e))(Ig || {}), an = /* @__PURE__ */ ((e) => (e.HELM = "helm", e.GITOPS = "argo_cd", e.MANIFEST_DOWNLOAD = "manifest_download", e.MANIFEST_PUSH = "manifest_push", e.FLUX = "flux", e))(an || {}), yg = /* @__PURE__ */ ((e) => (e[e.PASS = 1] = "PASS", e[e.FAIL = 0] = "FAIL", e))(yg || {}), Gs = /* @__PURE__ */ ((e) => (e.CI_PIPELINE = "CI_PIPELINE", e.CD_PIPELINE = "CD_PIPELINE", e.WEBHOOK = "WEBHOOK", e.LINKED_CD = "LINKED_CD", e))(Gs || {}), Es = /* @__PURE__ */ ((e) => (e.GIT = "GIT", e.CI = "CI", e.WEBHOOK = "WEBHOOK", e.PRE_CD = "PRECD", e.CD = "CD", e.POST_CD = "POSTCD", e))(Es || {}), Hn = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(Hn || {}), No = /* @__PURE__ */ ((e) => (e.SEQUENTIAL = "SEQUENTIAL", e.PARALLEL = "PARALLEL", e))(No || {}), Rg = /* @__PURE__ */ ((e) => (e.MANAGER = "manager", e.ADMIN = "admin", e.TRIGGER = "trigger", e.VIEW = "view", e.UPDATE = "update", e.EDIT = "edit", e.APPROVER = "approver", e))(Rg || {});
517
+ var Bt = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(Bt || {}), kd = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(kd || {}), bg = /* @__PURE__ */ ((e) => (e.configMap = "configuration/config-map", e.configSecret = "configuration/config-secret", e.deploymentTemplate = "configuration/deployment-template", e.deploymentTrigger = "approval/deployment", e))(bg || {}), Tg = /* @__PURE__ */ ((e) => (e[e.init = 0] = "init", e[e.requested = 1] = "requested", e[e.approved = 2] = "approved", e[e.consumed = 3] = "consumed", e))(Tg || {}), Un = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(Un || {}), Sg = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(Sg || {}), vg = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(vg || {}), Eo = /* @__PURE__ */ ((e) => (e.ROLLBACK = "rollback", e.CD_MATERIALS = "cd-materials", e.IMAGE_PROMOTION = "image-promotion", e))(Eo || {}), Ag = /* @__PURE__ */ ((e) => (e.PENDING_APPROVAL = "PENDING_APPROVAL", e.PROMOTION_APPROVAL_PENDING_NODE = "PROMOTION_APPROVAL_PENDING_NODE", e.CI = "CI", e.ENVIRONMENT = "ENVIRONMENT", e.WEBHOOK = "WEBHOOK", e.LINKED_CI = "LINKED-CI", e.CI_JOB = "CI-JOB", e.LINKED_CD = "LINKED-CD", e))(Ag || {}), Ud = /* @__PURE__ */ ((e) => (e.RESOURCE = "ELIGIBLE_RESOURCES", e.ALL = "ALL_RESOURCES", e))(Ud || {}), Ig = /* @__PURE__ */ ((e) => (e.MANDATORY_TAG = "mandatory-tags", e.MANDATORY_PLUGIN = "mandatory-plugins", e.SECURITY_SCAN = "security-scan", e))(Ig || {}), an = /* @__PURE__ */ ((e) => (e.HELM = "helm", e.GITOPS = "argo_cd", e.MANIFEST_DOWNLOAD = "manifest_download", e.MANIFEST_PUSH = "manifest_push", e.FLUX = "flux", e))(an || {}), yg = /* @__PURE__ */ ((e) => (e[e.PASS = 1] = "PASS", e[e.FAIL = 0] = "FAIL", e))(yg || {}), Vs = /* @__PURE__ */ ((e) => (e.CI_PIPELINE = "CI_PIPELINE", e.CD_PIPELINE = "CD_PIPELINE", e.WEBHOOK = "WEBHOOK", e.LINKED_CD = "LINKED_CD", e))(Vs || {}), Es = /* @__PURE__ */ ((e) => (e.GIT = "GIT", e.CI = "CI", e.WEBHOOK = "WEBHOOK", e.PRE_CD = "PRECD", e.CD = "CD", e.POST_CD = "POSTCD", e))(Es || {}), Hn = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(Hn || {}), No = /* @__PURE__ */ ((e) => (e.SEQUENTIAL = "SEQUENTIAL", e.PARALLEL = "PARALLEL", e))(No || {}), Rg = /* @__PURE__ */ ((e) => (e.MANAGER = "manager", e.ADMIN = "admin", e.TRIGGER = "trigger", e.VIEW = "view", e.UPDATE = "update", e.EDIT = "edit", e.APPROVER = "approver", e))(Rg || {});
518
518
  const ic = {
519
519
  100: "Continue",
520
520
  101: "Switching Protocols",
@@ -703,7 +703,7 @@ const YO = [
703
703
  /* YAML */
704
704
  }
705
705
  ];
706
- var $g = /* @__PURE__ */ ((e) => (e.KEY = "key", e.VALUE = "value", e))($g || {}), Fg = /* @__PURE__ */ ((e) => (e.DEVTRON_APPS = "devtron-app", e.HELM_APPS = "helm-app", e.JOBS = "", e))(Fg || {}), Vg = /* @__PURE__ */ ((e) => (e.CHART_GROUP = "chart-group", e.DIRECT = "apps", e.JOB = "jobs", e.DOCKER = "docker", e.GIT = "git", e.CLUSTER = "cluster", e.NOTIFICATION = "notification", e))(Vg || {}), Ks = /* @__PURE__ */ ((e) => (e.STARTING = "Starting", e.RUNNING = "Running", e.PROGRESSING = "Progressing", e.WAITING_TO_START = "WaitingToStart", e.TIMED_OUT = "TimedOut", e.CANCELLED = "CANCELLED", e))(Ks || {}), Ct = /* @__PURE__ */ ((e) => (e.EXTERNAL_CI = "EXTERNAL-CI", e.CI = "CI", e.LINKED_CI = "LINKED-CI", e.JOB_CI = "JOB-CI", e.LINKED_CD = "LINKED_CD", e))(Ct || {});
706
+ var $g = /* @__PURE__ */ ((e) => (e.KEY = "key", e.VALUE = "value", e))($g || {}), Fg = /* @__PURE__ */ ((e) => (e.DEVTRON_APPS = "devtron-app", e.HELM_APPS = "helm-app", e.JOBS = "", e))(Fg || {}), Vg = /* @__PURE__ */ ((e) => (e.CHART_GROUP = "chart-group", e.DIRECT = "apps", e.JOB = "jobs", e.DOCKER = "docker", e.GIT = "git", e.CLUSTER = "cluster", e.NOTIFICATION = "notification", e))(Vg || {}), Ys = /* @__PURE__ */ ((e) => (e.STARTING = "Starting", e.RUNNING = "Running", e.PROGRESSING = "Progressing", e.WAITING_TO_START = "WaitingToStart", e.TIMED_OUT = "TimedOut", e.CANCELLED = "CANCELLED", e))(Ys || {}), Ct = /* @__PURE__ */ ((e) => (e.EXTERNAL_CI = "EXTERNAL-CI", e.CI = "CI", e.LINKED_CI = "LINKED-CI", e.JOB_CI = "JOB-CI", e.LINKED_CD = "LINKED_CD", e))(Ct || {});
707
707
  const Gg = {
708
708
  Auto: "AUTOMATIC",
709
709
  Manual: "MANUAL"
@@ -1039,7 +1039,126 @@ const zO = Object.values(
1039
1039
  }, QO = -1, dc = "devtron-base-main-identifier", tx = "devtron.ai/", sx = "You have unsaved changes. Are you sure you want to leave?", eL = "Please don't wander off! Reloading or going back might disrupt the ongoing operation.", tL = {
1040
1040
  DELETE_ENVIRONMENT_SUBTITLE: "Are you sure you want to delete this environment?",
1041
1041
  DELETE_CLUSTER_SUBTITLES: "Are you sure you want to delete this cluster?"
1042
- }, Me = ({ pageLoader: e, size: s, theme: n, styles: a, fillColor: r }) => {
1042
+ }, nx = {
1043
+ Control: "Ctrl",
1044
+ Shift: "⇧",
1045
+ Meta: Ha ? "⌘" : "Win",
1046
+ Alt: Ha ? "⌥" : "Alt",
1047
+ F: "F",
1048
+ E: "E",
1049
+ R: "R",
1050
+ K: "K",
1051
+ Escape: "Esc",
1052
+ Enter: "↩"
1053
+ }, ax = ({ text: e, combo: s }) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 px-8 py-4 flex-wrap", children: [
1054
+ /* @__PURE__ */ t.jsx("span", { className: "lh-18 fs-12 fw-4 text__white", children: e }),
1055
+ !!s?.length && /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__gap-4 dc__align-items-center flex-wrap", children: s.map((n) => /* @__PURE__ */ t.jsx("span", { className: "shortcut-keys__chip dc__capitalize lh-16 fs-11 fw-5 flex", children: nx[n] }, n)) })
1056
+ ] }), ie = ({
1057
+ shortcutKeyCombo: e,
1058
+ alwaysShowTippyOnHover: s,
1059
+ // NOTE: if alwaysShowTippyOnHover or shortcutKeyCombo are being passed by user don't apply truncation logic at all
1060
+ showOnTruncate: n = s === void 0 && e === void 0,
1061
+ wordBreak: a = !0,
1062
+ children: r,
1063
+ ...o
1064
+ }) => {
1065
+ const [i, c] = R(!1), l = (m) => {
1066
+ const { currentTarget: p } = m, _ = p.scrollWidth > p.clientWidth || p.scrollHeight > p.clientHeight;
1067
+ _ && !i ? c(!0) : !_ && i && c(!1);
1068
+ };
1069
+ return n && i || !!e && (s === void 0 || s) || s ? /* @__PURE__ */ t.jsx(
1070
+ fe,
1071
+ {
1072
+ arrow: !1,
1073
+ placement: "top",
1074
+ maxWidth: "",
1075
+ ...o,
1076
+ ...e ? { content: /* @__PURE__ */ t.jsx(ax, { ...e }) } : {},
1077
+ className: `${e ? "shortcut-keys__tippy" : "default-tt"} ${a ? "dc__word-break" : ""} dc__mxw-200 ${o.className ?? ""}`,
1078
+ children: Ba(r, { ...r.props, onMouseEnter: l })
1079
+ }
1080
+ ) : Ba(r, { ...r.props, onMouseEnter: l });
1081
+ }, sL = {
1082
+ INVALID_INPUT: "Valid input is required for all mandatory fields."
1083
+ }, rx = (e) => (s) => /* @__PURE__ */ t.jsx(ie, { ...e, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: s }) }), ox = ({ name: e, iconMap: s, size: n = 16, tooltipProps: a, color: r, strokeWidth: o }) => {
1084
+ const i = s[e];
1085
+ if (!i)
1086
+ throw new Error(`Icon with name "${e}" does not exist.`);
1087
+ return /* @__PURE__ */ t.jsx(mt, { condition: !!a?.content, wrap: rx(a), children: /* @__PURE__ */ t.jsx(
1088
+ i,
1089
+ {
1090
+ className: `icon-dim-${n} ${r ? "icon-component" : ""} dc__no-shrink`,
1091
+ style: r ? { "--iconColor": `var(--${r})` } : {},
1092
+ strokeWidth: o
1093
+ }
1094
+ ) });
1095
+ }, ix = {
1096
+ "ic-aborted": Vf,
1097
+ "ic-app-group": Gf,
1098
+ "ic-arrow-right": Hf,
1099
+ "ic-azure": Yf,
1100
+ "ic-bitbucket": yd,
1101
+ "ic-browser": Kf,
1102
+ "ic-build-color": Wf,
1103
+ "ic-cancelled": zf,
1104
+ "ic-cd": qf,
1105
+ "ic-ci-linked": Xf,
1106
+ "ic-ci-webhook": Jf,
1107
+ "ic-circle-loader": Zf,
1108
+ "ic-clock": Qf,
1109
+ "ic-close-small": eh,
1110
+ "ic-code": th,
1111
+ "ic-container": sh,
1112
+ "ic-crown": nh,
1113
+ "ic-cube": ah,
1114
+ "ic-dockerhub": rh,
1115
+ "ic-ecr": oh,
1116
+ "ic-env": ih,
1117
+ "ic-error": ch,
1118
+ "ic-failure": lh,
1119
+ "ic-gear": dh,
1120
+ "ic-git": uh,
1121
+ "ic-github": mh,
1122
+ "ic-gitlab": Rd,
1123
+ "ic-google-artifact-registry": ph,
1124
+ "ic-google-container-registry": _h,
1125
+ "ic-google": fh,
1126
+ "ic-grid-view": hh,
1127
+ "ic-heart-green": gh,
1128
+ "ic-heart-red-animated": xh,
1129
+ "ic-heart-red": Eh,
1130
+ "ic-helm": Nh,
1131
+ "ic-help-outline": Ch,
1132
+ "ic-hibernate": bh,
1133
+ "ic-in-progress": Th,
1134
+ "ic-info-filled": Sh,
1135
+ "ic-info-outline": vh,
1136
+ "ic-job-color": Ah,
1137
+ "ic-k8s-job": Ih,
1138
+ "ic-ldap": yh,
1139
+ "ic-login-devtron-logo": Rh,
1140
+ "ic-logout": jh,
1141
+ "ic-medium-paintbucket": nd,
1142
+ "ic-microsoft": Oh,
1143
+ "ic-missing": Lh,
1144
+ "ic-monitoring": wh,
1145
+ "ic-node-script": Dh,
1146
+ "ic-oidc": Ph,
1147
+ "ic-open-box": Mh,
1148
+ "ic-open-in-new": Id,
1149
+ "ic-openshift": kh,
1150
+ "ic-out-of-sync": Uh,
1151
+ "ic-paper-plane-color": Bh,
1152
+ "ic-quay": $h,
1153
+ "ic-shield-check": Fh,
1154
+ "ic-stack": Vh,
1155
+ "ic-success": Gh,
1156
+ "ic-suspended": Hh,
1157
+ "ic-timeout-two-dash": Yh,
1158
+ "ic-unknown": Kh,
1159
+ "ic-user-key": Wh,
1160
+ "ic-warning": zh
1161
+ }, qe = (e) => /* @__PURE__ */ t.jsx(ox, { ...e, iconMap: ix }), Ue = ({ pageLoader: e, size: s, theme: n, styles: a, fillColor: r }) => {
1043
1162
  const o = s ? `${s}px` : e ? "48px" : "20px";
1044
1163
  return /* @__PURE__ */ t.jsx("div", { className: `loader ${n || "default"}-background`, style: a, "data-testid": "progressing", children: /* @__PURE__ */ t.jsx("div", { style: { width: o, height: o }, children: /* @__PURE__ */ t.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", className: "loader__svg", children: /* @__PURE__ */ t.jsxs("g", { fill: "none", fillRule: "evenodd", strokeLinecap: "round", children: [
1045
1164
  /* @__PURE__ */ t.jsx(
@@ -1063,7 +1182,7 @@ const zO = Object.values(
1063
1182
  }
1064
1183
  )
1065
1184
  ] }) }) }) });
1066
- }, sL = ({
1185
+ }, nL = ({
1067
1186
  loadingText: e,
1068
1187
  size: s = 24,
1069
1188
  fullHeight: n = !1,
@@ -1077,62 +1196,21 @@ const zO = Object.values(
1077
1196
  style: a,
1078
1197
  "data-testid": "details-progressing",
1079
1198
  children: [
1080
- /* @__PURE__ */ t.jsx("span", { style: { width: `${s}px`, height: `${s}px` }, children: /* @__PURE__ */ t.jsx(Me, { size: s, fillColor: r }) }),
1199
+ /* @__PURE__ */ t.jsx("span", { style: { width: `${s}px`, height: `${s}px` }, children: /* @__PURE__ */ t.jsx(Ue, { size: s, fillColor: r }) }),
1081
1200
  e && /* @__PURE__ */ t.jsx("span", { className: "mt-10", children: e }),
1082
1201
  o
1083
1202
  ]
1084
1203
  }
1085
- ), nx = {
1086
- Control: "Ctrl",
1087
- Shift: "⇧",
1088
- Meta: Ha ? "⌘" : "Win",
1089
- Alt: Ha ? "⌥" : "Alt",
1090
- F: "F",
1091
- E: "E",
1092
- R: "R",
1093
- K: "K",
1094
- Escape: "Esc",
1095
- Enter: "↩"
1096
- }, ax = ({ text: e, combo: s }) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 px-8 py-4 flex-wrap", children: [
1097
- /* @__PURE__ */ t.jsx("span", { className: "lh-18 fs-12 fw-4 text__white", children: e }),
1098
- !!s?.length && /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__gap-4 dc__align-items-center flex-wrap", children: s.map((n) => /* @__PURE__ */ t.jsx("span", { className: "shortcut-keys__chip dc__capitalize lh-16 fs-11 fw-5 flex", children: nx[n] }, n)) })
1099
- ] }), ie = ({
1100
- shortcutKeyCombo: e,
1101
- alwaysShowTippyOnHover: s,
1102
- // NOTE: if alwaysShowTippyOnHover or shortcutKeyCombo are being passed by user don't apply truncation logic at all
1103
- showOnTruncate: n = s === void 0 && e === void 0,
1104
- wordBreak: a = !0,
1105
- children: r,
1106
- ...o
1107
- }) => {
1108
- const [i, c] = R(!1), l = (m) => {
1109
- const { currentTarget: p } = m, _ = p.scrollWidth > p.clientWidth || p.scrollHeight > p.clientHeight;
1110
- _ && !i ? c(!0) : !_ && i && c(!1);
1111
- };
1112
- return n && i || !!e && (s === void 0 || s) || s ? /* @__PURE__ */ t.jsx(
1113
- fe,
1114
- {
1115
- arrow: !1,
1116
- placement: "top",
1117
- maxWidth: "",
1118
- ...o,
1119
- ...e ? { content: /* @__PURE__ */ t.jsx(ax, { ...e }) } : {},
1120
- className: `${e ? "shortcut-keys__tippy" : "default-tt"} ${a ? "dc__word-break" : ""} dc__mxw-200 ${o.className ?? ""}`,
1121
- children: Ba(r, { ...r.props, onMouseEnter: l })
1122
- }
1123
- ) : Ba(r, { ...r.props, onMouseEnter: l });
1124
- }, nL = {
1125
- INVALID_INPUT: "Valid input is required for all mandatory fields."
1126
- };
1204
+ );
1127
1205
  var he = /* @__PURE__ */ ((e) => (e.primary = "primary", e.secondary = "secondary", e.borderLess = "border-less", e.text = "text", e))(he || {}), be = /* @__PURE__ */ ((e) => (e.default = "default", e.negative = "negative", e.negativeGrey = "negative-grey", e.positive = "positive", e.warning = "warning", e.neutral = "neutral", e))(be || {}), Kn = /* @__PURE__ */ ((e) => (e.button = "button", e.link = "link", e))(Kn || {});
1128
- const rx = {
1206
+ const cx = {
1129
1207
  [P.xxs]: `${gs[P.xxs]} px-9 fw-6 dc__gap-6 mw-48`,
1130
1208
  [P.xs]: `${gs[P.xs]} px-9 fw-6 dc__gap-6 mw-48`,
1131
1209
  [P.small]: `${gs[P.small]} px-9 fw-6 dc__gap-8 mw-48`,
1132
1210
  [P.medium]: `${gs[P.medium]} px-11 fw-6 dc__gap-8 mw-48`,
1133
1211
  [P.large]: `${gs[P.large]} px-13 fw-6 dc__gap-8 mw-64`,
1134
1212
  [P.xl]: `${gs[P.xl]} px-15 fw-6 dc__gap-12 mw-64`
1135
- }, ox = {
1213
+ }, lx = {
1136
1214
  [P.xxs]: "p-1",
1137
1215
  [P.xs]: "p-3",
1138
1216
  [P.small]: "p-5",
@@ -1148,14 +1226,14 @@ const Yd = {
1148
1226
  [P.medium]: 16,
1149
1227
  [P.large]: 20,
1150
1228
  [P.xl]: 24
1151
- }, ix = ({ size: e, icon: s }) => `icon-dim-${s ? Yd[e] : Gd[e]}`, cx = ({ size: e, icon: s }) => s ? Yd[e] : Gd[e], lx = ({
1229
+ }, dx = ({ size: e, icon: s }) => `icon-dim-${s ? Yd[e] : Gd[e]}`, ux = ({ size: e, icon: s }) => s ? Yd[e] : Gd[e], mx = ({
1152
1230
  size: e,
1153
1231
  variant: s,
1154
1232
  style: n,
1155
1233
  isLoading: a,
1156
1234
  icon: r,
1157
1235
  isAutoTriggerActive: o
1158
- }) => `button button__${s}--${n} ${r ? ox[e] : rx[e]} ${o ? "button--auto-click" : ""} ${a ? "button--loading" : ""}`, dx = ({
1236
+ }) => `button button__${s}--${n} ${r ? lx[e] : cx[e]} ${o ? "button--auto-click" : ""} ${a ? "button--loading" : ""}`, px = ({
1159
1237
  component: e = Kn.button,
1160
1238
  linkProps: s,
1161
1239
  buttonProps: n,
@@ -1200,7 +1278,7 @@ const Yd = {
1200
1278
  triggerAutoClickTimestamp: h,
1201
1279
  ...g
1202
1280
  }) => {
1203
- const [f, N] = R(!1), C = Y(), A = Y(null), S = c || l, y = `dc__no-shrink flex dc__fill-available-space ${ix({
1281
+ const [f, N] = R(!1), C = Y(), A = Y(null), S = c || l, y = `dc__no-shrink flex dc__fill-available-space ${dx({
1204
1282
  size: a,
1205
1283
  icon: m
1206
1284
  })}`;
@@ -1222,11 +1300,11 @@ const Yd = {
1222
1300
  ...u
1223
1301
  };
1224
1302
  return /* @__PURE__ */ t.jsx(ie, { ...v(), children: /* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsxs(
1225
- dx,
1303
+ px,
1226
1304
  {
1227
1305
  ...g,
1228
1306
  disabled: S,
1229
- className: `br-4 flex cursor dc__tab-focus dc__position-rel dc__capitalize ${x ? "dc__opacity-hover--child" : ""} ${lx({ size: a, variant: n, style: r, isLoading: l, icon: m, isAutoTriggerActive: f })} ${S ? "dc__disabled" : ""} ${E ? "w-100" : ""}`,
1307
+ className: `br-4 flex cursor dc__tab-focus dc__position-rel dc__capitalize ${x ? "dc__opacity-hover--child" : ""} ${mx({ size: a, variant: n, style: r, isLoading: l, icon: m, isAutoTriggerActive: f })} ${S ? "dc__disabled" : ""} ${E ? "w-100" : ""}`,
1230
1308
  "data-testid": e,
1231
1309
  "aria-label": p || (l ? s : void 0),
1232
1310
  elementRef: A,
@@ -1238,9 +1316,9 @@ const Yd = {
1238
1316
  i && /* @__PURE__ */ t.jsx("span", { className: y, children: i })
1239
1317
  ] }),
1240
1318
  l && /* @__PURE__ */ t.jsx(
1241
- Me,
1319
+ Ue,
1242
1320
  {
1243
- size: cx({
1321
+ size: ux({
1244
1322
  size: a,
1245
1323
  icon: m
1246
1324
  })
@@ -1260,7 +1338,7 @@ const Yd = {
1260
1338
  useInfoIcon: c = !1,
1261
1339
  progressingProps: l
1262
1340
  }) => {
1263
- const d = () => l ? /* @__PURE__ */ t.jsx(Me, { ...l }) : c ? /* @__PURE__ */ t.jsx(Xo, { className: "icon-dim-24" }) : /* @__PURE__ */ t.jsx(ds, { className: "icon-dim-24 alert-icon-r5-imp" }), u = (m) => m ? typeof m == "string" ? /* @__PURE__ */ t.jsx("p", { className: "m-0 dc__truncate--clamp-6", children: m }) : m : null;
1341
+ const d = () => l ? /* @__PURE__ */ t.jsx(qe, { name: "ic-circle-loader", ...l }) : c ? /* @__PURE__ */ t.jsx(Xo, { className: "icon-dim-24" }) : /* @__PURE__ */ t.jsx(ds, { className: "icon-dim-24 alert-icon-r5-imp" }), u = (m) => m ? typeof m == "string" ? /* @__PURE__ */ t.jsx("p", { className: "m-0 dc__truncate--clamp-6", children: m }) : m : null;
1264
1342
  return /* @__PURE__ */ t.jsxs("div", { className: `flex column dc__gap-8 p-16 ${s ? "dc__border br-4" : ""} ${i || ""}`, children: [
1265
1343
  d(),
1266
1344
  /* @__PURE__ */ t.jsxs("div", { className: "flex column dc__gap-4 dc__align-center", children: [
@@ -1295,13 +1373,13 @@ const Yd = {
1295
1373
  genericSectionErrorProps: c,
1296
1374
  errorScreenManagerProps: l,
1297
1375
  children: d
1298
- }) => r ? /* @__PURE__ */ t.jsx(DI, {}) : e ? n ? /* @__PURE__ */ t.jsx(t.Fragment, { children: n }) : /* @__PURE__ */ t.jsx(Me, { ...s }) : a ? c ? /* @__PURE__ */ t.jsx(Js, { ...c }) : l ? /* @__PURE__ */ t.jsx(Lr, { ...l }) : a?.code === 404 ? /* @__PURE__ */ t.jsx(
1299
- Ze,
1376
+ }) => r ? /* @__PURE__ */ t.jsx(DI, {}) : e ? n ? /* @__PURE__ */ t.jsx(t.Fragment, { children: n }) : /* @__PURE__ */ t.jsx(Ue, { ...s }) : a ? c ? /* @__PURE__ */ t.jsx(Js, { ...c }) : l ? /* @__PURE__ */ t.jsx(Lr, { ...l }) : a?.code === 404 ? /* @__PURE__ */ t.jsx(
1377
+ Qe,
1300
1378
  {
1301
1379
  title: o?.title ?? uc.title,
1302
1380
  subTitle: o?.subTitle ?? uc.subTitle
1303
1381
  }
1304
- ) : /* @__PURE__ */ t.jsx(Jn, { ...i }) : /* @__PURE__ */ t.jsx(t.Fragment, { children: d }), ux = (e = {}) => ({
1382
+ ) : /* @__PURE__ */ t.jsx(Jn, { ...i }) : /* @__PURE__ */ t.jsx(t.Fragment, { children: d }), _x = (e = {}) => ({
1305
1383
  container: (s, n) => ({
1306
1384
  ...s,
1307
1385
  ...n.isDisabled && {
@@ -1430,9 +1508,9 @@ const Yd = {
1430
1508
  paddingLeft: 0
1431
1509
  }),
1432
1510
  ...e
1433
- }), mx = (e, s) => e ? "var(--B100)" : s ? "var(--bg-secondary)" : "var(--bg-primary)", px = (e = {}) => (s, n) => ({
1511
+ }), fx = (e, s) => e ? "var(--B100)" : s ? "var(--bg-secondary)" : "var(--bg-primary)", hx = (e = {}) => (s, n) => ({
1434
1512
  ...s,
1435
- backgroundColor: mx(n.isSelected, n.isFocused),
1513
+ backgroundColor: fx(n.isSelected, n.isFocused),
1436
1514
  color: n.isSelected ? "var(--B500)" : "var(--N900)",
1437
1515
  textOverflow: "ellipsis",
1438
1516
  fontWeight: "500",
@@ -1442,10 +1520,10 @@ const Yd = {
1442
1520
  cursor: "pointer",
1443
1521
  fontSize: "13px",
1444
1522
  ...e
1445
- }), _x = () => /* @__PURE__ */ t.jsx(Me, {}), fx = (e) => {
1523
+ }), gx = () => /* @__PURE__ */ t.jsx(Ue, {}), xx = (e) => {
1446
1524
  const { data: s } = e;
1447
1525
  return s.label ? /* @__PURE__ */ t.jsx(Ve.GroupHeading, { ...e, children: /* @__PURE__ */ t.jsx("div", { className: "flex dc__no-text-transform flex-justify dc__truncate-text h-100", children: /* @__PURE__ */ t.jsx("span", { className: "dc__truncate-text", children: s.label }) }) }) : null;
1448
- }, hx = ux(), aL = ({
1526
+ }, Ex = _x(), aL = ({
1449
1527
  handleApplyFilter: e,
1450
1528
  ...s
1451
1529
  }) => {
@@ -1580,7 +1658,7 @@ const Yd = {
1580
1658
  ...e,
1581
1659
  backgroundColor: "var(--bg-primary)"
1582
1660
  })
1583
- }, gx = ({
1661
+ }, Nx = ({
1584
1662
  locator: e,
1585
1663
  label: s,
1586
1664
  isSelected: n,
@@ -1607,7 +1685,7 @@ const Yd = {
1607
1685
  }
1608
1686
  );
1609
1687
  };
1610
- var xx = /* @__PURE__ */ ((e) => (e.PUBLISHED_ONLY = "PublishedOnly", e.DRAFT_ONLY = "DraftOnly", e.PUBLISHED_WITH_DRAFT = "PublishedWithDraft", e.PREVIOUS_DEPLOYMENTS = "PreviousDeployments", e.DEFAULT_VERSION = "DefaultVersion", e))(xx || {}), wn = /* @__PURE__ */ ((e) => (e[e.Init = 1] = "Init", e[e.Discarded = 2] = "Discarded", e[e.Published = 3] = "Published", e[e.AwaitApproval = 4] = "AwaitApproval", e))(wn || {}), Ex = /* @__PURE__ */ ((e) => (e[e.Add = 1] = "Add", e[e.Update = 2] = "Update", e[e.Delete = 3] = "Delete", e))(Ex || {}), Le = /* @__PURE__ */ ((e) => (e.Internal = "", e.KubernetesConfigMap = "KubernetesConfigMap", e.KubernetesSecret = "KubernetesSecret", e.AWSSecretsManager = "AWSSecretsManager", e.AWSSystemManager = "AWSSystemManager", e.HashiCorpVault = "HashiCorpVault", e.ESO_GoogleSecretsManager = "ESO_GoogleSecretsManager", e.ESO_AWSSecretsManager = "ESO_AWSSecretsManager", e.ESO_AzureSecretsManager = "ESO_AzureSecretsManager", e.ESO_HashiCorpVault = "ESO_HashiCorpVault", e))(Le || {}), Vt = /* @__PURE__ */ ((e) => (e.ConfigMap = "ConfigMap", e.Secret = "Secret", e.DeploymentTemplate = "Deployment Template", e.PipelineStrategy = "Pipeline Strategy", e))(Vt || {}), vo = /* @__PURE__ */ ((e) => (e[e.DefaultVersions = 1] = "DefaultVersions", e[e.PublishedOnEnvironments = 2] = "PublishedOnEnvironments", e[e.DeployedOnSelfEnvironment = 3] = "DeployedOnSelfEnvironment", e[e.DeployedOnOtherEnvironment = 4] = "DeployedOnOtherEnvironment", e))(vo || {}), rt = /* @__PURE__ */ ((e) => (e.ConfigMap = "configmap", e.Secret = "secrets", e.DeploymentTemplate = "deployment-template", e.Manifest = "manifest", e.PipelineStrategy = "pipeline-strategy", e))(rt || {}), Is = /* @__PURE__ */ ((e) => (e[e.ConfigMap = 1] = "ConfigMap", e[e.Secret = 2] = "Secret", e))(Is || {}), Sr = /* @__PURE__ */ ((e) => (e.BASE = "", e.INHERITED = "INHERITING", e.OVERRIDDEN = "OVERRIDDEN", e.ENV = "ENV", e.UNPUBLISHED = "UNPUBLISHED", e))(Sr || {}), Wd = /* @__PURE__ */ ((e) => (e.DATA = "data", e.SAMPLE = "sample", e))(Wd || {});
1688
+ var Cx = /* @__PURE__ */ ((e) => (e.PUBLISHED_ONLY = "PublishedOnly", e.DRAFT_ONLY = "DraftOnly", e.PUBLISHED_WITH_DRAFT = "PublishedWithDraft", e.PREVIOUS_DEPLOYMENTS = "PreviousDeployments", e.DEFAULT_VERSION = "DefaultVersion", e))(Cx || {}), wn = /* @__PURE__ */ ((e) => (e[e.Init = 1] = "Init", e[e.Discarded = 2] = "Discarded", e[e.Published = 3] = "Published", e[e.AwaitApproval = 4] = "AwaitApproval", e))(wn || {}), bx = /* @__PURE__ */ ((e) => (e[e.Add = 1] = "Add", e[e.Update = 2] = "Update", e[e.Delete = 3] = "Delete", e))(bx || {}), Le = /* @__PURE__ */ ((e) => (e.Internal = "", e.KubernetesConfigMap = "KubernetesConfigMap", e.KubernetesSecret = "KubernetesSecret", e.AWSSecretsManager = "AWSSecretsManager", e.AWSSystemManager = "AWSSystemManager", e.HashiCorpVault = "HashiCorpVault", e.ESO_GoogleSecretsManager = "ESO_GoogleSecretsManager", e.ESO_AWSSecretsManager = "ESO_AWSSecretsManager", e.ESO_AzureSecretsManager = "ESO_AzureSecretsManager", e.ESO_HashiCorpVault = "ESO_HashiCorpVault", e))(Le || {}), Vt = /* @__PURE__ */ ((e) => (e.ConfigMap = "ConfigMap", e.Secret = "Secret", e.DeploymentTemplate = "Deployment Template", e.PipelineStrategy = "Pipeline Strategy", e))(Vt || {}), vo = /* @__PURE__ */ ((e) => (e[e.DefaultVersions = 1] = "DefaultVersions", e[e.PublishedOnEnvironments = 2] = "PublishedOnEnvironments", e[e.DeployedOnSelfEnvironment = 3] = "DeployedOnSelfEnvironment", e[e.DeployedOnOtherEnvironment = 4] = "DeployedOnOtherEnvironment", e))(vo || {}), rt = /* @__PURE__ */ ((e) => (e.ConfigMap = "configmap", e.Secret = "secrets", e.DeploymentTemplate = "deployment-template", e.Manifest = "manifest", e.PipelineStrategy = "pipeline-strategy", e))(rt || {}), Is = /* @__PURE__ */ ((e) => (e[e.ConfigMap = 1] = "ConfigMap", e[e.Secret = 2] = "Secret", e))(Is || {}), Sr = /* @__PURE__ */ ((e) => (e.BASE = "", e.INHERITED = "INHERITING", e.OVERRIDDEN = "OVERRIDDEN", e.ENV = "ENV", e.UNPUBLISHED = "UNPUBLISHED", e))(Sr || {}), Wd = /* @__PURE__ */ ((e) => (e.DATA = "data", e.SAMPLE = "sample", e))(Wd || {});
1611
1689
  const di = (e) => {
1612
1690
  const s = Y(null), [n, a] = R(!1), r = e.theme === ea.white, o = (N) => {
1613
1691
  N.keyCode === 27 && c(N);
@@ -1771,7 +1849,7 @@ const ys = {
1771
1849
  MIN: 0,
1772
1850
  DECIMAL_PLACES: 2,
1773
1851
  MAX_LABEL_VALUE_LENGTH: 63
1774
- }, vr = "global", Je = {
1852
+ }, vr = "global", Ze = {
1775
1853
  HEADING: "Build Infra Configuration",
1776
1854
  EDIT_SUBMIT: "Save changes",
1777
1855
  SAVE_SUBMIT: "Save",
@@ -1803,7 +1881,7 @@ const ys = {
1803
1881
  alias: {
1804
1882
  "global-config": null,
1805
1883
  "build-infra": {
1806
- component: /* @__PURE__ */ t.jsx("h2", { className: "m-0 cn-9 fs-16 fw-6 lh-32", children: Je.HEADING }),
1884
+ component: /* @__PURE__ */ t.jsx("h2", { className: "m-0 cn-9 fs-16 fw-6 lh-32", children: Ze.HEADING }),
1807
1885
  linked: !1
1808
1886
  }
1809
1887
  }
@@ -1879,10 +1957,10 @@ const ys = {
1879
1957
  ...$t,
1880
1958
  ...Wn
1881
1959
  }).map((e) => [e, null])
1882
- ), Nx = [$t.NAME], mc = {
1960
+ ), Tx = [$t.NAME], mc = {
1883
1961
  SUBMIT_BUTTON: "build-infra-submit-button",
1884
1962
  CANCEL_BUTTON: "build-infra-cancel-button"
1885
- }, rs = "runner", Cx = Xd.ALPHA1, pc = {
1963
+ }, rs = "runner", Sx = Xd.ALPHA1, pc = {
1886
1964
  [U.BUILD_TIMEOUT]: !0,
1887
1965
  [U.CPU_LIMIT]: !0,
1888
1966
  [U.CPU_REQUEST]: !0,
@@ -1904,7 +1982,7 @@ const ys = {
1904
1982
  [Te.TOLERANCE]: [U.TOLERANCE],
1905
1983
  [Te.CONFIG_MAP]: [U.CONFIG_MAP],
1906
1984
  [Te.SECRET]: [U.SECRET]
1907
- }, bx = {
1985
+ }, vx = {
1908
1986
  [U.CPU_LIMIT]: {
1909
1987
  keyToPersist: "request",
1910
1988
  keyToPersistConfigType: U.CPU_REQUEST
@@ -1921,7 +1999,7 @@ const ys = {
1921
1999
  keyToPersist: "limit",
1922
2000
  keyToPersistConfigType: U.MEMORY_LIMIT
1923
2001
  }
1924
- }, Tx = qd.NO_SCHEDULE, Sx = bs.EQUALS, vx = {
2002
+ }, Ax = qd.NO_SCHEDULE, Ix = bs.EQUALS, yx = {
1925
2003
  [U.BUILD_TIMEOUT]: !0,
1926
2004
  [U.CONFIG_MAP]: !0,
1927
2005
  [U.SECRET]: !0
@@ -1931,13 +2009,13 @@ const ys = {
1931
2009
  }, Zd = {
1932
2010
  [U.CONFIG_MAP]: Is.ConfigMap,
1933
2011
  [U.SECRET]: Is.Secret
1934
- }, qe = {
2012
+ }, Xe = {
1935
2013
  [Is.ConfigMap]: U.CONFIG_MAP,
1936
2014
  [Is.Secret]: U.SECRET
1937
2015
  }, dL = {
1938
2016
  [Is.ConfigMap]: Te.CONFIG_MAP,
1939
2017
  [Is.Secret]: Te.SECRET
1940
- }, Ax = !0, uL = {
2018
+ }, Rx = !0, uL = {
1941
2019
  activate_cm: !0,
1942
2020
  activate_cs: !0,
1943
2021
  de_activate_cm: !0,
@@ -1956,9 +2034,9 @@ const ys = {
1956
2034
  /* @__PURE__ */ t.jsx(
1957
2035
  En,
1958
2036
  {
1959
- infoText: a ?? Je.EDIT_DEFAULT_TOOLTIP,
2037
+ infoText: a ?? Ze.EDIT_DEFAULT_TOOLTIP,
1960
2038
  additionalContent: r,
1961
- heading: i || Je.HEADING,
2039
+ heading: i || Ze.HEADING,
1962
2040
  documentationLink: pn.GLOBAL_CONFIG_BUILD_INFRA,
1963
2041
  documentationLinkText: "View Documentation",
1964
2042
  iconClassName: "icon-dim-20 fcn-6"
@@ -1967,7 +2045,7 @@ const ys = {
1967
2045
  ] }) }),
1968
2046
  n
1969
2047
  ] }), pL = ({ disabled: e, handleCancel: s, editProfile: n, loading: a }) => {
1970
- const r = e ? Je.SUBMIT_BUTTON_TIPPY.INVALID_INPUT : Je.SUBMIT_BUTTON_TIPPY.REQUEST_IN_PROGRESS, o = () => n ? Je.EDIT_SUBMIT : Je.SAVE_SUBMIT, i = (c) => /* @__PURE__ */ t.jsx(fe, { content: r, placement: "top", className: "default-tt", arrow: !1, children: c });
2048
+ const r = e ? Ze.SUBMIT_BUTTON_TIPPY.INVALID_INPUT : Ze.SUBMIT_BUTTON_TIPPY.REQUEST_IN_PROGRESS, o = () => n ? Ze.EDIT_SUBMIT : Ze.SAVE_SUBMIT, i = (c) => /* @__PURE__ */ t.jsx(fe, { content: r, placement: "top", className: "default-tt", arrow: !1, children: c });
1971
2049
  return /* @__PURE__ */ t.jsxs("div", { className: "flex pl pr pb pt h-64 dc__gap-12 dc__border-top dc__content-start", children: [
1972
2050
  /* @__PURE__ */ t.jsx(mt, { condition: e || a, wrap: i, children: /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__align-items-center", children: /* @__PURE__ */ t.jsx(
1973
2051
  "button",
@@ -1976,7 +2054,7 @@ const ys = {
1976
2054
  className: "cta submit h-32 flex",
1977
2055
  disabled: e || a,
1978
2056
  "data-testid": mc.SUBMIT_BUTTON,
1979
- children: a ? /* @__PURE__ */ t.jsx(Me, { size: 16 }) : o()
2057
+ children: a ? /* @__PURE__ */ t.jsx(Ue, { size: 16 }) : o()
1980
2058
  }
1981
2059
  ) }) }),
1982
2060
  s && /* @__PURE__ */ t.jsx(
@@ -1987,7 +2065,7 @@ const ys = {
1987
2065
  disabled: a,
1988
2066
  "data-testid": mc.CANCEL_BUTTON,
1989
2067
  onClick: s,
1990
- children: Je.EDIT_CANCEL
2068
+ children: Ze.EDIT_CANCEL
1991
2069
  }
1992
2070
  )
1993
2071
  ] });
@@ -2001,7 +2079,7 @@ const hc = {
2001
2079
  [P.small]: { width: "12px", height: "12px" },
2002
2080
  [P.medium]: { width: "16px", height: "16px" },
2003
2081
  [P.large]: { width: "16px", height: "16px" }
2004
- }, Ix = {
2082
+ }, jx = {
2005
2083
  [P.small]: "auto",
2006
2084
  [P.medium]: "auto",
2007
2085
  [P.large]: "36px"
@@ -2046,7 +2124,7 @@ const hc = {
2046
2124
  default:
2047
2125
  return null;
2048
2126
  }
2049
- }, yx = (e) => e.isSelected && !e.selectProps.isMulti ? "var(--B100)" : e.isFocused ? "var(--bg-hover)" : "var(--transparent)", Rx = ({
2127
+ }, Ox = (e) => e.isSelected && !e.selectProps.isMulti ? "var(--B100)" : e.isFocused ? "var(--bg-hover)" : "var(--transparent)", Lx = ({
2050
2128
  error: e,
2051
2129
  size: s,
2052
2130
  menuSize: n,
@@ -2082,7 +2160,7 @@ const hc = {
2082
2160
  }),
2083
2161
  control: (c, l) => ({
2084
2162
  ...c,
2085
- minHeight: Ix[s],
2163
+ minHeight: jx[s],
2086
2164
  minWidth: "56px",
2087
2165
  boxShadow: "none",
2088
2166
  backgroundColor: "var(--bg-secondary)",
@@ -2107,7 +2185,7 @@ const hc = {
2107
2185
  option: (c, l) => ({
2108
2186
  ...c,
2109
2187
  color: "var(--N900)",
2110
- backgroundColor: yx(l),
2188
+ backgroundColor: Ox(l),
2111
2189
  padding: "6px 8px",
2112
2190
  cursor: "pointer",
2113
2191
  fontSize: "13px",
@@ -2268,13 +2346,13 @@ const hc = {
2268
2346
  lineHeight: "20px",
2269
2347
  ...Ec(a)?.singleValue(c, l) || {}
2270
2348
  })
2271
- }), jx = (e, s, n) => {
2349
+ }), wx = (e, s, n) => {
2272
2350
  const a = s.reduce((c, l) => (c[n(l)] = !0, c), {}), r = e.map((c) => n(c));
2273
2351
  return r.every((c) => a[c]) ? dt.CHECKED : r.some((c) => a[c]) ? dt.INTERMEDIATE : null;
2274
2352
  }, _n = (e, s, n = { label: "", value: "" }, a = null) => Array.isArray(e) ? e.flatMap(
2275
2353
  (o) => "options" in o ? o.options : [o]
2276
2354
  ).find((o) => (a ? a(o) : o.value) === s) ?? n : n;
2277
- class Ds extends fr {
2355
+ class ws extends fr {
2278
2356
  render() {
2279
2357
  const s = `${this.props.rootClassName ? this.props.rootClassName : ""}`;
2280
2358
  return /* @__PURE__ */ t.jsxs("label", { className: `dc__position-rel flex left cursor ${s}`, onClick: this.props?.onClick, children: [
@@ -2298,17 +2376,17 @@ class Ds extends fr {
2298
2376
  ] });
2299
2377
  }
2300
2378
  }
2301
- const Ox = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyCombo" in e ? e : {
2379
+ const Dx = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyCombo" in e ? e : {
2302
2380
  // TODO: using some typing somersaults here, clean it up later
2303
2381
  alwaysShowTippyOnHover: !!e?.content,
2304
2382
  ...e
2305
2383
  } : {
2306
2384
  alwaysShowTippyOnHover: !1,
2307
2385
  content: null
2308
- }, Lx = (e) => {
2386
+ }, Px = (e) => {
2309
2387
  const { isDisabled: s } = e;
2310
2388
  return /* @__PURE__ */ t.jsx(Ve.DropdownIndicator, { ...e, children: /* @__PURE__ */ t.jsx(is, { className: s ? "scn-3" : "scn-6" }) });
2311
- }, wx = (e) => /* @__PURE__ */ t.jsx(Ve.ClearIndicator, { ...e, children: /* @__PURE__ */ t.jsx(nt, { className: "icon-use-fill-n6" }) }), Dx = (e) => {
2389
+ }, Mx = (e) => /* @__PURE__ */ t.jsx(Ve.ClearIndicator, { ...e, children: /* @__PURE__ */ t.jsx(nt, { className: "icon-use-fill-n6" }) }), kx = (e) => {
2312
2390
  const {
2313
2391
  children: s,
2314
2392
  getValue: n,
@@ -2319,13 +2397,13 @@ const Ox = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
2319
2397
  c && /* @__PURE__ */ t.jsx("div", { className: "dc__no-shrink icon-dim-20 flex dc__fill-available-space", children: c }),
2320
2398
  s
2321
2399
  ] });
2322
- }, Px = (e) => {
2400
+ }, Ux = (e) => {
2323
2401
  const {
2324
2402
  isHidden: s,
2325
2403
  selectProps: { shouldRenderTextArea: n }
2326
2404
  } = e;
2327
2405
  return /* @__PURE__ */ t.jsx(Ve.Input, { ...e, isTextArea: n, isHidden: !n && s });
2328
- }, Mx = ({
2406
+ }, Bx = ({
2329
2407
  showSelectedOptionsCount: e,
2330
2408
  customSelectedOptionsCount: s,
2331
2409
  ...n
@@ -2345,7 +2423,7 @@ const Ox = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
2345
2423
  ] }) : c }) }),
2346
2424
  e && l > 0 && /* @__PURE__ */ t.jsx("div", { className: "bcb-50 dc__border eb-2 dc__border-radius-4-imp pl-5 pr-5 cb-5 fs-12 fw-6 lh-18 dc__truncate dc__no-shrink", children: l })
2347
2425
  ] });
2348
- }, kx = () => /* @__PURE__ */ t.jsx(Me, {}), Ux = ({
2426
+ }, $x = () => /* @__PURE__ */ t.jsx(Ue, {}), Fx = ({
2349
2427
  disableDescriptionEllipsis: e,
2350
2428
  ...s
2351
2429
  }) => {
@@ -2356,12 +2434,12 @@ const Ox = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
2356
2434
  selectOption: o,
2357
2435
  isDisabled: i,
2358
2436
  isSelected: c
2359
- } = s, { description: l, startIcon: d, endIcon: u, tooltipProps: m } = a ?? {}, p = !!l, _ = "__isNew__" in a && a.__isNew__, E = (x) => {
2360
- x.preventDefault(), x.stopPropagation(), o(a);
2361
- };
2362
- return /* @__PURE__ */ t.jsx(Ve.Option, { ...s, children: /* @__PURE__ */ t.jsx(ie, { ...Ox(m), children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8", children: [
2437
+ } = s, { description: l, startIcon: d, endIcon: u, tooltipProps: m } = a ?? {}, p = !!l, _ = "__isNew__" in a && a.__isNew__, E = (h) => {
2438
+ h.preventDefault(), h.stopPropagation(), o(a);
2439
+ }, x = "dc__no-shrink icon-dim-16 flex dc__fill-available-space";
2440
+ return /* @__PURE__ */ t.jsx(Ve.Option, { ...s, children: /* @__PURE__ */ t.jsx(ie, { ...Dx(m), children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8", children: [
2363
2441
  r && !_ && /* @__PURE__ */ t.jsx(
2364
- Ds,
2442
+ ws,
2365
2443
  {
2366
2444
  onChange: ut,
2367
2445
  onClick: E,
@@ -2372,7 +2450,7 @@ const Ox = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
2372
2450
  }
2373
2451
  ),
2374
2452
  /* @__PURE__ */ t.jsxs("div", { className: `flex left w-100 ${p ? "top" : ""} dc__gap-8`, children: [
2375
- d && /* @__PURE__ */ t.jsx("div", { className: "dc__no-shrink icon-dim-16 flex dc__fill-available-space", children: d }),
2453
+ d && /* @__PURE__ */ t.jsx("div", { className: `${x} mt-2`, children: d }),
2376
2454
  /* @__PURE__ */ t.jsxs("div", { className: "flex-grow-1", children: [
2377
2455
  /* @__PURE__ */ t.jsx(ie, { content: n, placement: "right", children: /* @__PURE__ */ t.jsx(
2378
2456
  "h4",
@@ -2389,10 +2467,10 @@ const Ox = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
2389
2467
  }
2390
2468
  ) : /* @__PURE__ */ t.jsx("div", { className: "fs-12 lh-18", children: l }))
2391
2469
  ] }),
2392
- u && /* @__PURE__ */ t.jsx("div", { className: "dc__no-shrink icon-dim-16 flex dc__fill-available-space", children: u })
2470
+ u && /* @__PURE__ */ t.jsx("div", { className: x, children: u })
2393
2471
  ] })
2394
2472
  ] }) }) });
2395
- }, Bx = (e) => {
2473
+ }, Vx = (e) => {
2396
2474
  const {
2397
2475
  children: s,
2398
2476
  selectProps: {
@@ -2410,7 +2488,7 @@ const Ox = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
2410
2488
  ] }) })),
2411
2489
  !r && a && /* @__PURE__ */ t.jsx("div", { className: "dc__position-sticky dc__bottom-0 dc__bottom-radius-4 bg__menu--primary dc__zi-2", children: a() })
2412
2490
  ] });
2413
- }, $x = ({
2491
+ }, Gx = ({
2414
2492
  getIsOptionValid: e,
2415
2493
  ...s
2416
2494
  }) => {
@@ -2425,7 +2503,7 @@ const Ox = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
2425
2503
  ),
2426
2504
  /* @__PURE__ */ t.jsx(Ve.MultiValueLabel, { ...s })
2427
2505
  ] });
2428
- }, Fx = (e) => /* @__PURE__ */ t.jsx(Ve.MultiValueRemove, { ...e, children: /* @__PURE__ */ t.jsx("span", { className: "flex dc__no-shrink", children: /* @__PURE__ */ t.jsx(nt, { className: "icon-dim-12 icon-use-fill-n6" }) }) }), Vx = ({
2506
+ }, Hx = (e) => /* @__PURE__ */ t.jsx(Ve.MultiValueRemove, { ...e, children: /* @__PURE__ */ t.jsx("span", { className: "flex dc__no-shrink", children: /* @__PURE__ */ t.jsx(nt, { className: "icon-dim-12 icon-use-fill-n6" }) }) }), Yx = ({
2429
2507
  isGroupHeadingSelectable: e,
2430
2508
  ...s
2431
2509
  }) => {
@@ -2434,7 +2512,7 @@ const Ox = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
2434
2512
  return null;
2435
2513
  if (!e || !a.isMulti)
2436
2514
  return /* @__PURE__ */ t.jsx(Ve.GroupHeading, { ...s });
2437
- const r = a.value ?? [], o = n.options ?? [], i = jx(o, r, a.getOptionValue), c = () => {
2515
+ const r = a.value ?? [], o = n.options ?? [], i = wx(o, r, a.getOptionValue), c = () => {
2438
2516
  const d = o.reduce((m, p) => (m[a.getOptionValue(p)] = !0, m), {}), u = r.filter(
2439
2517
  (m) => !d[a.getOptionValue(m)]
2440
2518
  );
@@ -2454,7 +2532,7 @@ const Ox = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
2454
2532
  };
2455
2533
  return /* @__PURE__ */ t.jsx(Ve.GroupHeading, { ...s, onClick: c, children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8", children: [
2456
2534
  e && /* @__PURE__ */ t.jsx(
2457
- Ds,
2535
+ ws,
2458
2536
  {
2459
2537
  onChange: ut,
2460
2538
  onClick: l,
@@ -2465,7 +2543,7 @@ const Ox = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
2465
2543
  ),
2466
2544
  /* @__PURE__ */ t.jsx("div", { className: "dc__truncate", children: s.data.label })
2467
2545
  ] }) });
2468
- }, Qd = (e) => `${e}-error-msg`, eu = (e) => `${e}-label`, Gx = (e) => `${e}-helper-text`, ui = ({
2546
+ }, Qd = (e) => `${e}-error-msg`, eu = (e) => `${e}-label`, Kx = (e) => `${e}-helper-text`, ui = ({
2469
2547
  inputId: e,
2470
2548
  label: s,
2471
2549
  ariaLabel: n,
@@ -2475,7 +2553,7 @@ const Ox = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
2475
2553
  }) => ({
2476
2554
  "aria-required": a,
2477
2555
  ...o ? {
2478
- "aria-describedby": Gx(e)
2556
+ "aria-describedby": Kx(e)
2479
2557
  } : {},
2480
2558
  ...r ? {
2481
2559
  "aria-errormessage": Qd(e),
@@ -2486,7 +2564,7 @@ const Ox = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
2486
2564
  } : {
2487
2565
  "aria-label": n
2488
2566
  }
2489
- }), Hx = ({
2567
+ }), Wx = ({
2490
2568
  label: e,
2491
2569
  inputId: s,
2492
2570
  required: n,
@@ -2521,86 +2599,8 @@ const Ox = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
2521
2599
  ] }),
2522
2600
  !c && o && /* @__PURE__ */ t.jsx(En, { placement: "bottom-start", iconClass: "fcv-5", ...o })
2523
2601
  ] });
2524
- }, Yx = (e) => (s) => /* @__PURE__ */ t.jsx(ie, { ...e, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: s }) }), Kx = ({ name: e, iconMap: s, size: n = 16, tooltipProps: a, color: r, strokeWidth: o }) => {
2525
- const i = s[e];
2526
- if (!i)
2527
- throw new Error(`Icon with name "${e}" does not exist.`);
2528
- return /* @__PURE__ */ t.jsx(mt, { condition: !!a?.content, wrap: Yx(a), children: /* @__PURE__ */ t.jsx(
2529
- i,
2530
- {
2531
- className: `icon-dim-${n} ${r ? "icon-component" : ""} dc__no-shrink`,
2532
- style: r ? { "--iconColor": `var(--${r})` } : {},
2533
- strokeWidth: o
2534
- }
2535
- ) });
2536
- }, Wx = {
2537
- "ic-aborted": Vf,
2538
- "ic-app-group": Gf,
2539
- "ic-arrow-right": Hf,
2540
- "ic-azure": Yf,
2541
- "ic-bitbucket": yd,
2542
- "ic-browser": Kf,
2543
- "ic-build-color": Wf,
2544
- "ic-cancelled": zf,
2545
- "ic-cd": qf,
2546
- "ic-ci-linked": Xf,
2547
- "ic-ci-webhook": Jf,
2548
- "ic-circle-loader": Zf,
2549
- "ic-clock": Qf,
2550
- "ic-close-small": eh,
2551
- "ic-code": th,
2552
- "ic-container": sh,
2553
- "ic-crown": nh,
2554
- "ic-cube": ah,
2555
- "ic-dockerhub": rh,
2556
- "ic-ecr": oh,
2557
- "ic-env": ih,
2558
- "ic-error": ch,
2559
- "ic-failure": lh,
2560
- "ic-gear": dh,
2561
- "ic-git": uh,
2562
- "ic-github": mh,
2563
- "ic-gitlab": Rd,
2564
- "ic-google-artifact-registry": ph,
2565
- "ic-google-container-registry": _h,
2566
- "ic-google": fh,
2567
- "ic-grid-view": hh,
2568
- "ic-heart-green": gh,
2569
- "ic-heart-red-animated": xh,
2570
- "ic-heart-red": Eh,
2571
- "ic-helm": Nh,
2572
- "ic-help-outline": Ch,
2573
- "ic-hibernate": bh,
2574
- "ic-in-progress": Th,
2575
- "ic-info-filled": Sh,
2576
- "ic-info-outline": vh,
2577
- "ic-job-color": Ah,
2578
- "ic-k8s-job": Ih,
2579
- "ic-ldap": yh,
2580
- "ic-login-devtron-logo": Rh,
2581
- "ic-logout": jh,
2582
- "ic-medium-paintbucket": nd,
2583
- "ic-microsoft": Oh,
2584
- "ic-missing": Lh,
2585
- "ic-monitoring": wh,
2586
- "ic-node-script": Dh,
2587
- "ic-oidc": Ph,
2588
- "ic-open-box": Mh,
2589
- "ic-open-in-new": Id,
2590
- "ic-openshift": kh,
2591
- "ic-out-of-sync": Uh,
2592
- "ic-paper-plane-color": Bh,
2593
- "ic-quay": $h,
2594
- "ic-shield-check": Fh,
2595
- "ic-stack": Vh,
2596
- "ic-success": Gh,
2597
- "ic-suspended": Hh,
2598
- "ic-timeout-two-dash": Yh,
2599
- "ic-unknown": Kh,
2600
- "ic-user-key": Wh,
2601
- "ic-warning": zh
2602
- }, st = (e) => /* @__PURE__ */ t.jsx(Kx, { ...e, iconMap: Wx }), Kr = ({ id: e, text: s, icon: n, textClass: a }) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-4 fs-11 lh-16 fw-4", id: e, children: [
2603
- /* @__PURE__ */ t.jsx(st, { name: n, size: 16, color: null }),
2602
+ }, Kr = ({ id: e, text: s, icon: n, textClass: a }) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-4 fs-11 lh-16 fw-4", id: e, children: [
2603
+ /* @__PURE__ */ t.jsx(qe, { name: n, size: 16, color: null }),
2604
2604
  /* @__PURE__ */ t.jsx("span", { className: `dc__ellipsis-right__2nd-line ${a}`, children: s })
2605
2605
  ] }), zx = ({ error: e, helperText: s, warningText: n, inputId: a }) => /* @__PURE__ */ t.jsxs("div", { className: "flex left column dc__gap-4", children: [
2606
2606
  !!e && /* @__PURE__ */ t.jsx(Kr, { text: e, icon: "ic-error", textClass: "cr-5", id: Qd(a) }),
@@ -2623,7 +2623,7 @@ const Ox = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
2623
2623
  return /* @__PURE__ */ t.jsxs("div", { className: `flex left column top dc__gap-4 ${s ? "w-100" : ""}`, children: [
2624
2624
  /* @__PURE__ */ t.jsxs("div", { className: `flex left top dc__gap-6 ${m ? "" : "column"} w-100`, children: [
2625
2625
  n && /* @__PURE__ */ t.jsx("div", { className: `${p} flex left`, children: /* @__PURE__ */ t.jsx(
2626
- Hx,
2626
+ Wx,
2627
2627
  {
2628
2628
  inputId: a,
2629
2629
  label: n,
@@ -2707,7 +2707,7 @@ const Ox = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
2707
2707
  getIsOptionValid: je = () => !0,
2708
2708
  customDisplayText: xt = null
2709
2709
  } = x, jt = oe && !xt, _a = h && jt ? P.large : i, Br = !h && o, W = !N && C, Ae = te(
2710
- () => Rx({
2710
+ () => Lx({
2711
2711
  error: e,
2712
2712
  size: _a,
2713
2713
  menuSize: d,
@@ -2727,7 +2727,7 @@ const Ox = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
2727
2727
  ) && !_n(Ee, ms, null, K);
2728
2728
  }, Ge = ze(
2729
2729
  (we) => /* @__PURE__ */ t.jsx(
2730
- Mx,
2730
+ Bx,
2731
2731
  {
2732
2732
  ...we,
2733
2733
  showSelectedOptionsCount: l,
@@ -2735,11 +2735,11 @@ const Ox = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
2735
2735
  }
2736
2736
  ),
2737
2737
  [l, I]
2738
- ), et = ze(
2739
- (we) => /* @__PURE__ */ t.jsx(Ux, { ...we, disableDescriptionEllipsis: E }),
2738
+ ), tt = ze(
2739
+ (we) => /* @__PURE__ */ t.jsx(Fx, { ...we, disableDescriptionEllipsis: E }),
2740
2740
  [E]
2741
- ), Ot = (we) => /* @__PURE__ */ t.jsx($x, { ...we, getIsOptionValid: je }), $r = ze(
2742
- (we) => /* @__PURE__ */ t.jsx(Vx, { ...we, isGroupHeadingSelectable: se }),
2741
+ ), Ot = (we) => /* @__PURE__ */ t.jsx(Gx, { ...we, getIsOptionValid: je }), $r = ze(
2742
+ (we) => /* @__PURE__ */ t.jsx(Yx, { ...we, isGroupHeadingSelectable: se }),
2743
2743
  [se]
2744
2744
  ), qm = () => u ? /* @__PURE__ */ t.jsx(Js, { reload: m }) : j ? /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: "No options" }) : null, Xm = (we) => /* @__PURE__ */ t.jsx(fe, { content: c, placement: "top", className: "default-tt", arrow: !1, children: we }), Jm = (we) => {
2745
2745
  const ms = we?.trim();
@@ -2805,18 +2805,18 @@ const Ox = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
2805
2805
  ref: A,
2806
2806
  components: {
2807
2807
  IndicatorSeparator: null,
2808
- LoadingIndicator: kx,
2809
- DropdownIndicator: Lx,
2810
- Control: Dx,
2811
- Option: et,
2812
- MenuList: Bx,
2813
- ClearIndicator: wx,
2808
+ LoadingIndicator: $x,
2809
+ DropdownIndicator: Px,
2810
+ Control: kx,
2811
+ Option: tt,
2812
+ MenuList: Vx,
2813
+ ClearIndicator: Mx,
2814
2814
  ValueContainer: Ge,
2815
2815
  MultiValueLabel: Ot,
2816
- MultiValueRemove: Fx,
2816
+ MultiValueRemove: Hx,
2817
2817
  GroupHeading: $r,
2818
2818
  NoOptionsMessage: qm,
2819
- Input: Px,
2819
+ Input: Ux,
2820
2820
  ...B && {
2821
2821
  Menu: () => null,
2822
2822
  DropdownIndicator: () => null
@@ -3131,16 +3131,16 @@ const su = (e) => ({
3131
3131
  let i;
3132
3132
  switch (e) {
3133
3133
  case Eo.ROLLBACK:
3134
- i = Xe(
3134
+ i = Je(
3135
3135
  `${G.CD_MATERIAL_GET}/${s}/material/rollback`,
3136
3136
  o
3137
3137
  );
3138
3138
  break;
3139
3139
  case Eo.IMAGE_PROMOTION:
3140
- i = Xe(G.APP_ARTIFACT_PROMOTE_MATERIAL, r);
3140
+ i = Je(G.APP_ARTIFACT_PROMOTE_MATERIAL, r);
3141
3141
  break;
3142
3142
  default:
3143
- i = Xe(`${G.CD_MATERIAL_GET}/${s}/material`, {
3143
+ i = Je(`${G.CD_MATERIAL_GET}/${s}/material`, {
3144
3144
  ...o,
3145
3145
  stage: mu[n]
3146
3146
  });
@@ -3205,7 +3205,7 @@ const fE = (e, s) => {
3205
3205
  }) => {
3206
3206
  try {
3207
3207
  const { result: a } = await ue(
3208
- Xe(G.PLUGIN_GLOBAL_VARIABLES, { appId: e }),
3208
+ Je(G.PLUGIN_GLOBAL_VARIABLES, { appId: e }),
3209
3209
  {
3210
3210
  abortControllerRef: n
3211
3211
  }
@@ -3277,7 +3277,7 @@ const Sc = () => ({
3277
3277
  localStorageKey: n,
3278
3278
  redirectionMethod: a = "replace"
3279
3279
  } = {}) => {
3280
- const r = Ls(), o = qs(), i = Y(!1), l = (() => {
3280
+ const r = Ls(), o = zs(), i = Y(!1), l = (() => {
3281
3281
  const b = new URLSearchParams(r.search);
3282
3282
  if (!i.current && n)
3283
3283
  if (r.search)
@@ -3290,7 +3290,7 @@ const Sc = () => ({
3290
3290
  const O = localStorage.getItem(n);
3291
3291
  if (O)
3292
3292
  try {
3293
- const T = Xe("", JSON.parse(O)), j = new URLSearchParams(T.split("?")[1] ?? "");
3293
+ const T = Je("", JSON.parse(O)), j = new URLSearchParams(T.split("?")[1] ?? "");
3294
3294
  return o.replace({ search: j.toString() }), j;
3295
3295
  } catch {
3296
3296
  localStorage.removeItem(n);
@@ -3670,9 +3670,9 @@ const Sc = () => ({
3670
3670
  return /* @__PURE__ */ t.jsx(
3671
3671
  Ii,
3672
3672
  {
3673
- label: Je.DESCRIPTION_LABEL,
3673
+ label: Ze.DESCRIPTION_LABEL,
3674
3674
  name: "build-infra-profile-description",
3675
- placeholder: Je.DESCRIPTION_PLACEHOLDER,
3675
+ placeholder: Ze.DESCRIPTION_PLACEHOLDER,
3676
3676
  value: n,
3677
3677
  onChange: r,
3678
3678
  error: a
@@ -3698,8 +3698,8 @@ const Sc = () => ({
3698
3698
  Dr,
3699
3699
  {
3700
3700
  name: "profile-name",
3701
- label: Je.PROFILE_LABEL,
3702
- placeholder: Je.PROFILE_PLACEHOLDER,
3701
+ label: Ze.PROFILE_LABEL,
3702
+ placeholder: Ze.PROFILE_PLACEHOLDER,
3703
3703
  value: n,
3704
3704
  onChange: r,
3705
3705
  error: a,
@@ -3714,7 +3714,7 @@ const Sc = () => ({
3714
3714
  e,
3715
3715
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__content-space w-100", children: [
3716
3716
  /* @__PURE__ */ t.jsx("span", { className: "m-0 pt-0 pb-0 pl-4 pr-4 fs-13 lh-20 fw-4 cn-9 dc__ellipsis-right dc__word-break-all flex-grow-1", children: r }),
3717
- /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 dc__no-shrink", children: Je.INHERITING_HEADING_DESCRIPTION })
3717
+ /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 dc__no-shrink", children: Ze.INHERITING_HEADING_DESCRIPTION })
3718
3718
  ] })
3719
3719
  ] });
3720
3720
  }, CL = ({
@@ -3783,8 +3783,8 @@ const Sc = () => ({
3783
3783
  l.locator
3784
3784
  )) })
3785
3785
  ] })
3786
- ] }) : /* @__PURE__ */ t.jsx(Me, { pageLoader: !0 });
3787
- }, tt = {
3786
+ ] }) : /* @__PURE__ */ t.jsx(Ue, { pageLoader: !0 });
3787
+ }, st = {
3788
3788
  PROVIDE_A_NUMBER: "Please provide a number",
3789
3789
  LOWERCASE_ALPHANUMERIC: "Only lowercase alphanumeric characters, -, _ or . allowed",
3790
3790
  CAN_NOT_START_END_WITH_SEPARATORS: "Cannot start/end with -, _ or .",
@@ -3822,44 +3822,44 @@ const Sc = () => ({
3822
3822
  isValid: !0
3823
3823
  } : {
3824
3824
  isValid: !1,
3825
- message: tt.CAN_NOT_START_END_WITH_SEPARATORS
3825
+ message: st.CAN_NOT_START_END_WITH_SEPARATORS
3826
3826
  } : {
3827
3827
  isValid: !1,
3828
- message: tt.LOWERCASE_ALPHANUMERIC
3828
+ message: st.LOWERCASE_ALPHANUMERIC
3829
3829
  } : {
3830
3830
  isValid: !1,
3831
- message: tt.getMinMaxCharMessage(3, 50)
3831
+ message: st.getMinMaxCharMessage(3, 50)
3832
3832
  }, RE = (e) => e?.length > jc ? {
3833
3833
  isValid: !1,
3834
- message: tt.getMaxCharMessage(jc)
3834
+ message: st.getMaxCharMessage(jc)
3835
3835
  } : {
3836
3836
  isValid: !0
3837
3837
  }, cu = (e, s, n) => e?.length < n ? {
3838
3838
  isValid: !1,
3839
- message: tt.getMinCharMessage(n)
3839
+ message: st.getMinCharMessage(n)
3840
3840
  } : e?.length > s ? {
3841
3841
  isValid: !1,
3842
- message: tt.getMaxCharMessage(s)
3842
+ message: st.getMaxCharMessage(s)
3843
3843
  } : {
3844
3844
  isValid: !0
3845
3845
  }, Lc = (e) => {
3846
3846
  if (!e)
3847
3847
  return {
3848
3848
  isValid: !1,
3849
- message: tt.PROVIDE_A_NUMBER
3849
+ message: st.PROVIDE_A_NUMBER
3850
3850
  };
3851
3851
  if (!/^\d+(\.\d+)?$/.test(e.toString()))
3852
3852
  return {
3853
3853
  isValid: !1,
3854
- message: tt.VALID_POSITIVE_NUMBER
3854
+ message: st.VALID_POSITIVE_NUMBER
3855
3855
  };
3856
3856
  const s = Number(e);
3857
3857
  return s > Number.MAX_SAFE_INTEGER ? {
3858
3858
  isValid: !1,
3859
- message: tt.MAX_SAFE_INTEGER
3859
+ message: st.MAX_SAFE_INTEGER
3860
3860
  } : s <= 0 ? {
3861
3861
  isValid: !1,
3862
- message: tt.VALID_POSITIVE_NUMBER
3862
+ message: st.VALID_POSITIVE_NUMBER
3863
3863
  } : {
3864
3864
  isValid: !0
3865
3865
  };
@@ -3867,20 +3867,20 @@ const Sc = () => ({
3867
3867
  if (!e)
3868
3868
  return {
3869
3869
  isValid: !1,
3870
- message: tt.PROVIDE_A_NUMBER
3870
+ message: st.PROVIDE_A_NUMBER
3871
3871
  };
3872
3872
  if (!/^\d+$/.test(e.toString()))
3873
3873
  return {
3874
3874
  isValid: !1,
3875
- message: tt.VALID_POSITIVE_INTEGER
3875
+ message: st.VALID_POSITIVE_INTEGER
3876
3876
  };
3877
3877
  const s = Number(e);
3878
3878
  return s > Number.MAX_SAFE_INTEGER ? {
3879
3879
  isValid: !1,
3880
- message: tt.MAX_SAFE_INTEGER
3880
+ message: st.MAX_SAFE_INTEGER
3881
3881
  } : s <= 0 ? {
3882
3882
  isValid: !1,
3883
- message: tt.VALID_POSITIVE_INTEGER
3883
+ message: st.VALID_POSITIVE_INTEGER
3884
3884
  } : {
3885
3885
  isValid: !0
3886
3886
  };
@@ -3937,14 +3937,14 @@ const Sc = () => ({
3937
3937
  };
3938
3938
  }, SL = (e) => e ? e.length > 128 ? {
3939
3939
  isValid: !1,
3940
- message: tt.getMaxCharMessage(128)
3940
+ message: st.getMaxCharMessage(128)
3941
3941
  } : /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/.test(
3942
3942
  e
3943
3943
  ) ? {
3944
3944
  isValid: !0
3945
3945
  } : {
3946
3946
  isValid: !1,
3947
- message: tt.INVALID_SEMANTIC_VERSION
3947
+ message: st.INVALID_SEMANTIC_VERSION
3948
3948
  } : {
3949
3949
  isValid: !1,
3950
3950
  message: "Please provide a version"
@@ -3979,12 +3979,12 @@ const AL = (e, s = !1) => {
3979
3979
  if ((/* @__PURE__ */ new Date()).getTime() > e.getTime())
3980
3980
  return {
3981
3981
  isValid: !1,
3982
- message: tt.DATE_BEFORE_CURRENT_TIME
3982
+ message: st.DATE_BEFORE_CURRENT_TIME
3983
3983
  };
3984
3984
  } else
3985
3985
  return {
3986
3986
  isValid: !1,
3987
- message: tt.INVALID_DATE
3987
+ message: st.INVALID_DATE
3988
3988
  };
3989
3989
  return {
3990
3990
  isValid: !0
@@ -4078,20 +4078,20 @@ const AL = (e, s = !1) => {
4078
4078
  const u = String(e.value).split(".")[1]?.length ?? 0, m = String(s.value).split(".")[1]?.length ?? 0;
4079
4079
  if (u > ys.DECIMAL_PLACES)
4080
4080
  return c.request = {
4081
- message: Je.VALIDATE_REQUEST_LIMIT.REQUEST_DECIMAL_PLACES,
4081
+ message: Ze.VALIDATE_REQUEST_LIMIT.REQUEST_DECIMAL_PLACES,
4082
4082
  isValid: !1
4083
4083
  }, c;
4084
4084
  if (m > ys.DECIMAL_PLACES)
4085
4085
  return c.limit = {
4086
- message: Je.VALIDATE_REQUEST_LIMIT.LIMIT_DECIMAL_PLACES,
4086
+ message: Ze.VALIDATE_REQUEST_LIMIT.LIMIT_DECIMAL_PLACES,
4087
4087
  isValid: !1
4088
4088
  }, c;
4089
4089
  const p = i / o, _ = r / a;
4090
4090
  return p * _ <= Number.MAX_SAFE_INTEGER ? (p * _ < 1 && (c.request = {
4091
- message: Je.VALIDATE_REQUEST_LIMIT.REQUEST_LESS_THAN_LIMIT,
4091
+ message: Ze.VALIDATE_REQUEST_LIMIT.REQUEST_LESS_THAN_LIMIT,
4092
4092
  isValid: !1
4093
4093
  }), c) : (c.request = {
4094
- message: Je.VALIDATE_REQUEST_LIMIT.CAN_NOT_COMPUTE,
4094
+ message: Ze.VALIDATE_REQUEST_LIMIT.CAN_NOT_COMPUTE,
4095
4095
  isValid: !1
4096
4096
  }, c);
4097
4097
  }, Pc = ({
@@ -4106,7 +4106,7 @@ const AL = (e, s = !1) => {
4106
4106
  }, l || (delete r[U.NODE_SELECTOR][n], Object.keys(r[U.NODE_SELECTOR]).length === 0 && (r[U.NODE_SELECTOR] = null));
4107
4107
  }, PE = (e) => {
4108
4108
  const s = structuredClone(Jd);
4109
- return e && Nx.forEach((n) => {
4109
+ return e && Tx.forEach((n) => {
4110
4110
  s[n] = "";
4111
4111
  }), s;
4112
4112
  }, jL = ({
@@ -4167,7 +4167,7 @@ const AL = (e, s = !1) => {
4167
4167
  value: v,
4168
4168
  unit: b
4169
4169
  };
4170
- const { keyToPersist: O, keyToPersistConfigType: T } = bx[f], { request: j, limit: w } = DE({
4170
+ const { keyToPersist: O, keyToPersistConfigType: T } = vx[f], { request: j, limit: w } = DE({
4171
4171
  request: {
4172
4172
  value: v,
4173
4173
  unit: b
@@ -4232,10 +4232,10 @@ const AL = (e, s = !1) => {
4232
4232
  case "activate_cs":
4233
4233
  case "de_activate_cm":
4234
4234
  case "de_activate_cs": {
4235
- const { id: v, componentType: b } = N, O = qe[b], T = y[O].value, j = T.findIndex((L) => L.id === v);
4235
+ const { id: v, componentType: b } = N, O = Xe[b], T = y[O].value, j = T.findIndex((L) => L.id === v);
4236
4236
  if (j === -1 || !T[j].canOverride) {
4237
4237
  const L = "Unable to customize this CM/CS";
4238
- Ue.showToast({
4238
+ ke.showToast({
4239
4239
  variant: Se.error,
4240
4240
  description: L
4241
4241
  }), Ma(new Error(L));
@@ -4247,7 +4247,7 @@ const AL = (e, s = !1) => {
4247
4247
  T[j].useFormProps = B?.useFormProps, T[j].initialResponse = B?.initialResponse;
4248
4248
  } else
4249
4249
  T[j].useFormProps = T[j].defaultValue, T[j].initialResponse = T[j].defaultValueInitialResponse;
4250
- A[qe[b]] && (delete A[qe[b]][v], Object.keys(A[qe[b]]).length === 0 && (A[qe[b]] = null));
4250
+ A[Xe[b]] && (delete A[Xe[b]][v], Object.keys(A[Xe[b]]).length === 0 && (A[Xe[b]] = null));
4251
4251
  break;
4252
4252
  }
4253
4253
  case Et.ADD_TARGET_PLATFORM: {
@@ -4266,7 +4266,7 @@ const AL = (e, s = !1) => {
4266
4266
  }
4267
4267
  case Et.REMOVE_TARGET_PLATFORM: {
4268
4268
  if (!C.configurations[S]) {
4269
- Ue.showToast({
4269
+ ke.showToast({
4270
4270
  variant: Se.error,
4271
4271
  description: "Platform does not exist"
4272
4272
  }), Ma(new Error("Platform does not exist"));
@@ -4282,7 +4282,7 @@ const AL = (e, s = !1) => {
4282
4282
  if (v === b)
4283
4283
  return;
4284
4284
  if (!T) {
4285
- Ue.showToast({
4285
+ ke.showToast({
4286
4286
  variant: Se.error,
4287
4287
  description: "Original platform does not exist"
4288
4288
  });
@@ -4325,7 +4325,7 @@ const AL = (e, s = !1) => {
4325
4325
  if (y[U.NODE_SELECTOR].key !== U.NODE_SELECTOR)
4326
4326
  break;
4327
4327
  const b = {
4328
- id: Ws(),
4328
+ id: Ks(),
4329
4329
  key: "",
4330
4330
  value: ""
4331
4331
  };
@@ -4376,10 +4376,10 @@ const AL = (e, s = !1) => {
4376
4376
  if (y[U.TOLERANCE].key !== U.TOLERANCE)
4377
4377
  break;
4378
4378
  const b = {
4379
- id: Ws(),
4379
+ id: Ks(),
4380
4380
  key: "",
4381
- effect: Tx,
4382
- operator: Sx,
4381
+ effect: Ax,
4382
+ operator: Ix,
4383
4383
  value: ""
4384
4384
  };
4385
4385
  y[U.TOLERANCE].value.unshift(b);
@@ -4432,22 +4432,22 @@ const AL = (e, s = !1) => {
4432
4432
  break;
4433
4433
  }
4434
4434
  case Et.SYNC_CM_CS_ITEM: {
4435
- const { id: v, value: b, hasError: O, componentType: T } = N, j = y[qe[T]].value.findIndex((L) => L.id === v);
4435
+ const { id: v, value: b, hasError: O, componentType: T } = N, j = y[Xe[T]].value.findIndex((L) => L.id === v);
4436
4436
  if (j === -1) {
4437
- Ue.showToast({
4437
+ ke.showToast({
4438
4438
  variant: Se.error,
4439
4439
  description: "ConfigMap does not exist"
4440
4440
  }), Ma(new Error("ConfigMap does not exist"));
4441
4441
  return;
4442
4442
  }
4443
- y[qe[T]].value[j].useFormProps = b, A[qe[T]] || (A[qe[T]] = {}), O ? A[qe[T]][v] = !0 : A[qe[T]][v] && delete A[qe[T]][v], Object.keys(
4444
- A[qe[T]]
4445
- ).length === 0 && (A[qe[T]] = null);
4443
+ y[Xe[T]].value[j].useFormProps = b, A[Xe[T]] || (A[Xe[T]] = {}), O ? A[Xe[T]][v] = !0 : A[Xe[T]][v] && delete A[Xe[T]][v], Object.keys(
4444
+ A[Xe[T]]
4445
+ ).length === 0 && (A[Xe[T]] = null);
4446
4446
  break;
4447
4447
  }
4448
4448
  case Et.DELETE_CM_CS_ITEM: {
4449
- const { id: v, componentType: b } = N, O = y[qe[b]].value.filter((T) => T.id !== v);
4450
- y[qe[b]].value = O, A[qe[b]] && (delete A[qe[b]][v], Object.keys(A[qe[b]]).length === 0 && (A[qe[b]] = null));
4449
+ const { id: v, componentType: b } = N, O = y[Xe[b]].value.filter((T) => T.id !== v);
4450
+ y[Xe[b]].value = O, A[Xe[b]] && (delete A[Xe[b]][v], Object.keys(A[Xe[b]]).length === 0 && (A[Xe[b]] = null));
4451
4451
  break;
4452
4452
  }
4453
4453
  }
@@ -4458,9 +4458,9 @@ const AL = (e, s = !1) => {
4458
4458
  if (f?.preventDefault(), Object.keys(m).filter(
4459
4459
  (C) => m[C] !== null && m[C] !== void 0
4460
4460
  ).length > 0) {
4461
- Ue.showToast({
4461
+ ke.showToast({
4462
4462
  variant: Se.error,
4463
- description: Je.INVALID_FORM_MESSAGE
4463
+ description: Ze.INVALID_FORM_MESSAGE
4464
4464
  });
4465
4465
  return;
4466
4466
  }
@@ -4470,9 +4470,9 @@ const AL = (e, s = !1) => {
4470
4470
  name: e,
4471
4471
  profileInput: d,
4472
4472
  canConfigureUseK8sDriver: a
4473
- }), E(!1), Ue.showToast({
4473
+ }), E(!1), ke.showToast({
4474
4474
  variant: Se.success,
4475
- description: Je.getSubmitSuccessMessage(d.name, s)
4475
+ description: Ze.getSubmitSuccessMessage(d.name, s)
4476
4476
  }), n ? n() : l();
4477
4477
  } catch (C) {
4478
4478
  Be(C), E(!1);
@@ -4492,7 +4492,7 @@ const AL = (e, s = !1) => {
4492
4492
  try {
4493
4493
  const a = { name: e }, {
4494
4494
  result: { configurationUnits: r, defaultConfigurations: o, profile: i }
4495
- } = await ue(Xe(fi(), a));
4495
+ } = await ue(Je(fi(), a));
4496
4496
  return YE({
4497
4497
  configurationUnits: r,
4498
4498
  defaultConfigurations: o,
@@ -4512,7 +4512,7 @@ const AL = (e, s = !1) => {
4512
4512
  if (a) {
4513
4513
  const i = { name: e };
4514
4514
  return await oi(
4515
- Xe(fi(), i),
4515
+ Je(fi(), i),
4516
4516
  r
4517
4517
  );
4518
4518
  }
@@ -4525,7 +4525,7 @@ const AL = (e, s = !1) => {
4525
4525
  value: (e.value || []).map((n) => ({
4526
4526
  key: n?.key,
4527
4527
  value: n?.value || "",
4528
- id: s ? Ws() : null
4528
+ id: s ? Ks() : null
4529
4529
  })).filter((n) => n.key)
4530
4530
  };
4531
4531
  case U.TOLERANCE:
@@ -4535,7 +4535,7 @@ const AL = (e, s = !1) => {
4535
4535
  const { key: a, effect: r, operator: o, value: i } = n || {}, c = {
4536
4536
  key: a,
4537
4537
  effect: r,
4538
- id: s ? Ws() : null
4538
+ id: s ? Ks() : null
4539
4539
  };
4540
4540
  return o === bs.EQUALS ? {
4541
4541
  ...c,
@@ -4566,7 +4566,7 @@ const AL = (e, s = !1) => {
4566
4566
  default:
4567
4567
  return null;
4568
4568
  }
4569
- }, $E = (e) => e ? e === Ka.KUBERNETES : Ax, FE = ({
4569
+ }, $E = (e) => e ? e === Ka.KUBERNETES : Rx, FE = ({
4570
4570
  fromCreateView: e,
4571
4571
  profile: s,
4572
4572
  canConfigureUseK8sDriver: n
@@ -4603,7 +4603,7 @@ const AL = (e, s = !1) => {
4603
4603
  defaultValue: structuredClone(r),
4604
4604
  initialResponse: structuredClone(a),
4605
4605
  defaultValueInitialResponse: structuredClone(a),
4606
- id: Ws(),
4606
+ id: Ks(),
4607
4607
  isOverridden: !0,
4608
4608
  canOverride: !s
4609
4609
  };
@@ -4778,7 +4778,7 @@ const AL = (e, s = !1) => {
4778
4778
  }, {});
4779
4779
  return Object.entries(a).forEach(([o, i]) => {
4780
4780
  o !== rs && (a[o] = i.filter(
4781
- (c) => !vx[c.key]
4781
+ (c) => !yx[c.key]
4782
4782
  ));
4783
4783
  }), s && !e.useK8sDriver && Object.keys(a).forEach((o) => {
4784
4784
  o !== rs && delete a[o];
@@ -4791,7 +4791,7 @@ const AL = (e, s = !1) => {
4791
4791
  buildxDriverType: KE(e.useK8sDriver)
4792
4792
  }
4793
4793
  };
4794
- }, fi = () => `${G.INFRA_CONFIG_PROFILE}/${Cx}`, wL = (e, s) => s ? `activate_${e}` : `de_activate_${e}`;
4794
+ }, fi = () => `${G.INFRA_CONFIG_PROFILE}/${Sx}`, wL = (e, s) => s ? `activate_${e}` : `de_activate_${e}`;
4795
4795
  var zE = /* @__PURE__ */ ((e) => (e.email = "email_id", e.lastLogin = "last_login", e))(zE || {}), qE = /* @__PURE__ */ ((e) => (e.active = "active", e.inactive = "inactive", e))(qE || {}), XE = /* @__PURE__ */ ((e) => (e.active = "active", e.inactive = "inactive", e.temporary = "temporaryAccess", e))(XE || {}), JE = /* @__PURE__ */ ((e) => (e.includeDeleted = "includeDeleted", e.excludeDelete = "excludeDelete", e.onlyDeleted = "onlyDeleted", e))(JE || {});
4796
4796
  const ZE = ({
4797
4797
  id: e,
@@ -5226,7 +5226,7 @@ const VL = (e, s) => gt(G.K8S_RESOURCE_LIST, e, {
5226
5226
  ] })
5227
5227
  ] }),
5228
5228
  rN.map(({ key: c, infoText: l, label: d }) => /* @__PURE__ */ t.jsx(
5229
- Ds,
5229
+ ws,
5230
5230
  {
5231
5231
  value: dt.CHECKED,
5232
5232
  isChecked: a[c],
@@ -5250,7 +5250,7 @@ const VL = (e, s) => gt(G.K8S_RESOURCE_LIST, e, {
5250
5250
  };
5251
5251
  return /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-12 w-100", children: [
5252
5252
  /* @__PURE__ */ t.jsx(
5253
- Ds,
5253
+ ws,
5254
5254
  {
5255
5255
  value: dt.CHECKED,
5256
5256
  isChecked: a,
@@ -5315,11 +5315,11 @@ const mN = {
5315
5315
  /* @__PURE__ */ t.jsx("span", { className: "fw-6", children: o ? "Enabled" : "Not enabled" })
5316
5316
  ] })
5317
5317
  ] }) : s ? /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-16 dc_max-width__max-content", children: [
5318
- /* @__PURE__ */ t.jsx(Me, { "data-testid": "app-metrics-checkbox-loading" }),
5318
+ /* @__PURE__ */ t.jsx(Ue, { "data-testid": "app-metrics-checkbox-loading" }),
5319
5319
  /* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 lh-20 dc__no-shrink", children: "Application metrics" })
5320
5320
  ] }) : /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center", children: [
5321
5321
  /* @__PURE__ */ t.jsx(SA, { parsingError: c, restoreLastSavedYAML: l, children: /* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx(
5322
- Ds,
5322
+ ws,
5323
5323
  {
5324
5324
  rootClassName: `mb-0 dc__align-items-center ${n.isAppMetricsSupported ? "" : "dc__disabled"}`,
5325
5325
  isChecked: o,
@@ -5405,7 +5405,7 @@ const xN = (e) => {
5405
5405
  i.append("file", e[0]);
5406
5406
  try {
5407
5407
  const { result: c } = await gt(
5408
- Xe(`${G.CD_CONFIG}/${s}/${n}/${G.FILE_UPLOAD}`, {
5408
+ Je(`${G.CD_CONFIG}/${s}/${n}/${G.FILE_UPLOAD}`, {
5409
5409
  allowedExtensions: a,
5410
5410
  maxUploadSize: r
5411
5411
  }),
@@ -5450,7 +5450,7 @@ const xN = (e) => {
5450
5450
  c.append("file", e[0]);
5451
5451
  try {
5452
5452
  const { result: l } = await gt(
5453
- Xe(`${G.CI_CONFIG_GET}/${s}/${n}/${G.FILE_UPLOAD}`, {
5453
+ Je(`${G.CI_CONFIG_GET}/${s}/${n}/${G.FILE_UPLOAD}`, {
5454
5454
  envId: a,
5455
5455
  allowedExtensions: r,
5456
5456
  maxUploadSize: o
@@ -5801,7 +5801,7 @@ const AN = (e, s = !1) => s ? btoa(e) : atob(e), jo = (e, s = !1) => Object.keys
5801
5801
  }, {}), gu = (e, s) => {
5802
5802
  const n = xi(s), r = e === Gt.WEBHOOK || n?.webhookdata?.id !== 0 ? n.webhookdata : {}, o = Pe(r.data.date, "YYYY-MM-DDTHH:mm:ssZ");
5803
5803
  return o.isValid() ? o.format(yt.TWELVE_HOURS_FORMAT) : r.data.date;
5804
- }, Ws = (e) => rp(e), Nw = (e, s = "") => ({ pathname: n }) => e === n || s || sx, Ar = (e) => {
5804
+ }, Ks = (e) => rp(e), Nw = (e, s = "") => ({ pathname: n }) => e === n || s || sx, Ar = (e) => {
5805
5805
  if (!e?.length)
5806
5806
  return [];
5807
5807
  const s = e.filter(({ name: r }) => !!r).sort(({ name: r }, { name: o }) => at(r, o)), n = [], a = {};
@@ -5886,13 +5886,13 @@ const AN = (e, s = !1) => s ? btoa(e) : atob(e), jo = (e, s = !1) => Object.keys
5886
5886
  }, kN = ({
5887
5887
  params: e,
5888
5888
  signal: s
5889
- }) => ue(Xe(G.CONFIG_DATA, e), { signal: s }), UN = async (e) => {
5889
+ }) => ue(Je(G.CONFIG_DATA, e), { signal: s }), UN = async (e) => {
5890
5890
  const s = {
5891
5891
  comparisonItems: e.filter((r) => !!r).map((r, o) => ({ index: o, ...r }))
5892
5892
  }, n = Array(e.length).fill(null), {
5893
5893
  result: { comparisonItemResponse: a }
5894
5894
  } = await ue(
5895
- Xe(G.CONFIG_COMPARE_SECRET, {
5895
+ Je(G.CONFIG_COMPARE_SECRET, {
5896
5896
  compareConfig: JSON.stringify(s)
5897
5897
  })
5898
5898
  );
@@ -5904,11 +5904,11 @@ var At = /* @__PURE__ */ ((e) => (e.light = "light", e.dark = "dark", e))(At ||
5904
5904
  const os = {
5905
5905
  ...At,
5906
5906
  auto: "auto"
5907
- }, Eu = "userPreferences", Cw = ({ baseUrl: e, kind: s, version: n, suffix: a, queryParams: r }) => Xe(`${e}/${s}/${n}${a ? `/${a}` : ""}`, r), bw = ({ kind: e, version: s, queryParams: n, suffix: a }) => Xe(`global/policy/${e}/${s}${a ? `/${a}` : ""}`, n), BN = (e) => gt(G.CD_CONFIG, e), Tw = () => ue(G.ENVIRONMENT_DATA), Sw = async () => {
5907
+ }, Eu = "userPreferences", Cw = ({ baseUrl: e, kind: s, version: n, suffix: a, queryParams: r }) => Je(`${e}/${s}/${n}${a ? `/${a}` : ""}`, r), bw = ({ kind: e, version: s, queryParams: n, suffix: a }) => Je(`global/policy/${e}/${s}${a ? `/${a}` : ""}`, n), BN = (e) => gt(G.CD_CONFIG, e), Tw = () => ue(G.ENVIRONMENT_DATA), Sw = async () => {
5908
5908
  const e = {
5909
5909
  key: Eu
5910
5910
  }, { result: s } = await ue(
5911
- Xe(`${G.ATTRIBUTES_USER}/${G.GET}`, e)
5911
+ Je(`${G.ATTRIBUTES_USER}/${G.GET}`, e)
5912
5912
  );
5913
5913
  if (!s?.value)
5914
5914
  return null;
@@ -5958,7 +5958,7 @@ const $N = {
5958
5958
  ) })
5959
5959
  }, FN = {
5960
5960
  [Se.info]: {
5961
- icon: /* @__PURE__ */ t.jsx(ws, {}),
5961
+ icon: /* @__PURE__ */ t.jsx(qs, {}),
5962
5962
  type: "info",
5963
5963
  title: "Information",
5964
5964
  progressBarBg: "var(--B500)"
@@ -6007,7 +6007,7 @@ const $N = {
6007
6007
  )
6008
6008
  ] });
6009
6009
  var ln;
6010
- const Fs = class Fs {
6010
+ const $s = class $s {
6011
6011
  constructor() {
6012
6012
  /**
6013
6013
  * Handler for showing the toast
@@ -6048,13 +6048,13 @@ const Fs = class Fs {
6048
6048
  me(this, "isToastActive", Fr.isActive);
6049
6049
  }
6050
6050
  static get instance() {
6051
- return Ps(Fs, ln) || ha(Fs, ln, new Fs()), Ps(Fs, ln);
6051
+ return Ds($s, ln) || ha($s, ln, new $s()), Ds($s, ln);
6052
6052
  }
6053
6053
  };
6054
6054
  ln = new WeakMap(), // eslint-disable-next-line no-use-before-define
6055
- fa(Fs, ln);
6056
- let Oo = Fs;
6057
- const Aw = () => /* @__PURE__ */ t.jsx(op, { ...$N }), Ue = Oo.instance;
6055
+ fa($s, ln);
6056
+ let Oo = $s;
6057
+ const Aw = () => /* @__PURE__ */ t.jsx(op, { ...$N }), ke = Oo.instance;
6058
6058
  var it = /* @__PURE__ */ ((e) => (e.CLEAR_ALL_SELECTIONS = "CLEAR_ALL_SELECTIONS", e.CLEAR_IDENTIFIERS = "CLEAR_IDENTIFIERS", e.SELECT_ALL_ACROSS_PAGES = "SELECT_ALL_ACROSS_PAGES", e.SELECT_ALL_ON_PAGE = "SELECT_ALL_ON_PAGE", e.SELECT_IDENTIFIER = "SELECT_IDENTIFIER", e.CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION = "CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION", e.CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES = "CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES", e))(it || {}), Nu = /* @__PURE__ */ ((e) => (e.OPEN = "OPEN", e.CLOSED = "CLOSED", e))(Nu || {});
6059
6059
  const GN = "bulk-selection-pop-up-menu", Jr = {
6060
6060
  [it.SELECT_ALL_ON_PAGE]: "All on this page",
@@ -6100,7 +6100,7 @@ const GN = "bulk-selection-pop-up-menu", Jr = {
6100
6100
  r({});
6101
6101
  break;
6102
6102
  case it.CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION: {
6103
- Ue.showToast({
6103
+ ke.showToast({
6104
6104
  variant: Se.info,
6105
6105
  description: $c
6106
6106
  }), d(o, f);
@@ -6124,7 +6124,7 @@ const GN = "bulk-selection-pop-up-menu", Jr = {
6124
6124
  });
6125
6125
  break;
6126
6126
  case it.SELECT_ALL_ON_PAGE: {
6127
- a[Tn] && Ue.showToast({
6127
+ a[Tn] && ke.showToast({
6128
6128
  variant: Se.info,
6129
6129
  description: $c
6130
6130
  }), u(o);
@@ -6208,7 +6208,7 @@ const GN = "bulk-selection-pop-up-menu", Jr = {
6208
6208
  disabled: s,
6209
6209
  children: [
6210
6210
  /* @__PURE__ */ t.jsx(
6211
- Ds,
6211
+ ws,
6212
6212
  {
6213
6213
  isChecked: r,
6214
6214
  onChange: ut,
@@ -6222,7 +6222,7 @@ const GN = "bulk-selection-pop-up-menu", Jr = {
6222
6222
  }
6223
6223
  ),
6224
6224
  /* @__PURE__ */ t.jsx(ct.Body, { rootClassName: "dc__top-22 w-150 dc__right-0 pt-4 pb-4 pl-0 pr-0 bg__primary flex column dc__content-start dc__align-start dc__position-abs bg__primary dc__border dc__border-radius-4-imp", children: l.map((d) => /* @__PURE__ */ t.jsx(
6225
- gx,
6225
+ Nx,
6226
6226
  {
6227
6227
  locator: d.locator,
6228
6228
  label: d.label,
@@ -6247,7 +6247,7 @@ const GN = "bulk-selection-pop-up-menu", Jr = {
6247
6247
  [We.ARTIFACT_REGISTRY]: "ic-google-artifact-registry",
6248
6248
  [We.GCR]: "ic-google-container-registry",
6249
6249
  [We.OTHER]: "ic-container"
6250
- }, ts = ({ registryType: e, size: s = 20 }) => /* @__PURE__ */ t.jsx(st, { name: WN[e] || "ic-container", size: s, color: null }), Rw = {
6250
+ }, ts = ({ registryType: e, size: s = 20 }) => /* @__PURE__ */ t.jsx(qe, { name: WN[e] || "ic-container", size: s, color: null }), Rw = {
6251
6251
  ecr: {
6252
6252
  value: "ecr",
6253
6253
  label: "ECR",
@@ -6498,7 +6498,7 @@ const GN = "bulk-selection-pop-up-menu", Jr = {
6498
6498
  return { Icon: /* @__PURE__ */ t.jsx(p_, { className: "icon-dim-16" }), stateClassName: "bcr-1 er-2" };
6499
6499
  case Ns.DEPLOYING:
6500
6500
  return {
6501
- Icon: /* @__PURE__ */ t.jsx(st, { name: "ic-circle-loader", color: "O500" }),
6501
+ Icon: /* @__PURE__ */ t.jsx(qe, { name: "ic-circle-loader", color: "O500" }),
6502
6502
  stateClassName: "bcy-1 ey-2"
6503
6503
  };
6504
6504
  default:
@@ -6632,7 +6632,7 @@ const GN = "bulk-selection-pop-up-menu", Jr = {
6632
6632
  installedAppId: n,
6633
6633
  artifactId: a,
6634
6634
  installedAppVersionHistoryId: r
6635
- }, i = Xe(G.SCAN_RESULT, o);
6635
+ }, i = Je(G.SCAN_RESULT, o);
6636
6636
  return await ue(i);
6637
6637
  }, sC = {
6638
6638
  color: "var(--N300)",
@@ -6866,7 +6866,16 @@ const nC = {
6866
6866
  return (
6867
6867
  // Added for type consistency
6868
6868
  // eslint-disable-next-line react/jsx-no-useless-fragment
6869
- /* @__PURE__ */ t.jsx(t.Fragment, { children: n || !n && typeof s == "string" ? /* @__PURE__ */ t.jsx("img", { alt: "", ...e, src: n || s, onError: r }) : s })
6869
+ /* @__PURE__ */ t.jsx(t.Fragment, { children: n || !n && typeof s == "string" ? /* @__PURE__ */ t.jsx(
6870
+ "img",
6871
+ {
6872
+ loading: "lazy",
6873
+ alt: "",
6874
+ ...e,
6875
+ src: n || s,
6876
+ onError: r
6877
+ }
6878
+ ) : s })
6870
6879
  );
6871
6880
  }, Ti = ({
6872
6881
  scanToolName: e,
@@ -6884,7 +6893,9 @@ const nC = {
6884
6893
  imageProps: {
6885
6894
  src: s,
6886
6895
  className: "icon-dim-20-imp",
6887
- alt: "scan-tool"
6896
+ alt: "scan-tool",
6897
+ height: 20,
6898
+ width: 20
6888
6899
  },
6889
6900
  fallbackImage: /* @__PURE__ */ t.jsx(Rf, { className: "icon-dim-20-imp dc__no-shrink" })
6890
6901
  }
@@ -7592,7 +7603,7 @@ const nC = {
7592
7603
  return /* @__PURE__ */ t.jsx(si, { className: "icon-dim-16 ic-error-cross-red dc__no-shrink" });
7593
7604
  case "Progressing":
7594
7605
  return /* @__PURE__ */ t.jsx(
7595
- Me,
7606
+ Ue,
7596
7607
  {
7597
7608
  fillColor: "var(--Y500)",
7598
7609
  styles: {
@@ -8016,7 +8027,7 @@ const nC = {
8016
8027
  ] }), h = () => {
8017
8028
  const f = BC(c, l.category, l.subCategory, _);
8018
8029
  if (f)
8019
- return /* @__PURE__ */ t.jsx(Ze, { ...f, imageType: Xs.Large });
8030
+ return /* @__PURE__ */ t.jsx(Qe, { ...f, imageType: Xs.Large });
8020
8031
  const { headers: N, rows: C, defaultSortIndex: A, hasExpandableRows: S } = _ || kC(c, l.category, l.subCategory, u, o), { entities: y, lastScanTimeString: I, scanToolName: v, scanToolUrl: b } = _ || UC(c, l.category, l.subCategory);
8021
8032
  return /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col p-20 dc__gap-16", children: [
8022
8033
  y?.length ? /* @__PURE__ */ t.jsx(
@@ -8041,7 +8052,7 @@ const nC = {
8041
8052
  `${l.category}${l.subCategory}${p}`
8042
8053
  )
8043
8054
  ] });
8044
- }, g = () => n ? /* @__PURE__ */ t.jsx("div", { className: "h-100 w-100 flex", children: /* @__PURE__ */ t.jsx(Me, { size: 24, pageLoader: !0 }) }) : a ? /* @__PURE__ */ t.jsx("div", { className: "h-100 w-100 flex", children: /* @__PURE__ */ t.jsx(Lr, { code: a.code }) }) : (
8055
+ }, g = () => n ? /* @__PURE__ */ t.jsx("div", { className: "h-100 w-100 flex", children: /* @__PURE__ */ t.jsx(Ue, { size: 24, pageLoader: !0 }) }) : a ? /* @__PURE__ */ t.jsx("div", { className: "h-100 w-100 flex", children: /* @__PURE__ */ t.jsx(Lr, { code: a.code }) }) : (
8045
8056
  /* NOTE: the height is restricted to (viewport - header) height since we need overflow-scroll */
8046
8057
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox", style: { height: "calc(100vh - 49px)" }, children: [
8047
8058
  e && /* @__PURE__ */ t.jsx(e, { modalState: l, setModalState: d, scanResult: r }),
@@ -8180,7 +8191,7 @@ const nC = {
8180
8191
  const [n, a] = R(!1), [r, o] = R(Lo), { imageScan: i, codeScan: c, kubernetesManifest: l } = e, d = FC(e);
8181
8192
  if (!Ru(d))
8182
8193
  return /* @__PURE__ */ t.jsx(
8183
- Ze,
8194
+ Qe,
8184
8195
  {
8185
8196
  SvgImage: ed,
8186
8197
  title: Ye.CI_DEATILS_NO_VULNERABILITY_FOUND.TITLE,
@@ -8277,7 +8288,7 @@ const nC = {
8277
8288
  if (k(() => {
8278
8289
  u && o(u.result.imageScan?.vulnerability?.list?.[0].list?.length);
8279
8290
  }, [u]), d)
8280
- return /* @__PURE__ */ t.jsx("div", { className: "security-tab-empty bcn-1", children: /* @__PURE__ */ t.jsx(Me, {}) });
8291
+ return /* @__PURE__ */ t.jsx("div", { className: "security-tab-empty bcn-1", children: /* @__PURE__ */ t.jsx(Ue, {}) });
8281
8292
  if (m)
8282
8293
  return /* @__PURE__ */ t.jsxs("div", { className: "security-tab-empty", children: [
8283
8294
  /* @__PURE__ */ t.jsx("p", { className: "security-tab-empty__title", children: "Failed to fetch vulnerabilities" }),
@@ -8782,7 +8793,7 @@ const nC = {
8782
8793
  }
8783
8794
  );
8784
8795
  }, Bu = "dc__unset-button-styles dc__content-space px-12 py-8 fs-13 fw-4 lh-20 cursor w-100 flex left br-4", JC = ({ className: e, userFirstLetter: s, setShowLogOutCard: n, showLogOutCard: a }) => {
8785
- const r = qs(), { viewIsPipelineRBACConfiguredNode: o } = ua(), i = () => {
8796
+ const r = zs(), { viewIsPipelineRBACConfiguredNode: o } = ua(), i = () => {
8786
8797
  document.cookie = "argocd.token=; expires=Thu, 01-Jan-1970 00:00:01 GMT;path=/", r.push("/login");
8787
8798
  }, c = () => {
8788
8799
  n(!a);
@@ -8814,7 +8825,7 @@ const nC = {
8814
8825
  type: "button",
8815
8826
  children: [
8816
8827
  "Logout",
8817
- /* @__PURE__ */ t.jsx(st, { name: "ic-logout", color: "R500" })
8828
+ /* @__PURE__ */ t.jsx(qe, { name: "ic-logout", color: "R500" })
8818
8829
  ]
8819
8830
  }
8820
8831
  )
@@ -8947,7 +8958,7 @@ const tb = (e) => gt(`${G.ATTRIBUTES_USER}/${G.UPDATE}`, e), sb = ({ className:
8947
8958
  m(g);
8948
8959
  }, x = () => /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
8949
8960
  " ",
8950
- d.map((h, g) => /* @__PURE__ */ t.jsxs(Ys, { children: [
8961
+ d.map((h, g) => /* @__PURE__ */ t.jsxs(Hs, { children: [
8951
8962
  /* @__PURE__ */ t.jsxs(
8952
8963
  "a",
8953
8964
  {
@@ -9074,7 +9085,7 @@ const tb = (e) => gt(`${G.ATTRIBUTES_USER}/${G.UPDATE}`, e), sb = ({ className:
9074
9085
  referrerPolicy: "no-referrer"
9075
9086
  }
9076
9087
  ) : /* @__PURE__ */ t.jsx("div", { className: "flex h-100", children: /* @__PURE__ */ t.jsx(
9077
- Ze,
9088
+ Qe,
9078
9089
  {
9079
9090
  title: "Nothing to show",
9080
9091
  subTitle: "An iframe appears here in a parallel universe"
@@ -9300,7 +9311,7 @@ const tb = (e) => gt(`${G.ATTRIBUTES_USER}/${G.UPDATE}`, e), sb = ({ className:
9300
9311
  }
9301
9312
  );
9302
9313
  }, qw = ({ headerName: e }) => {
9303
- const s = Tt(), n = qs(), a = Ls(), { serverMode: r } = ua(), [o, i] = R(!1), c = () => {
9314
+ const s = Tt(), n = zs(), a = Ls(), { serverMode: r } = ua(), [o, i] = R(!1), c = () => {
9304
9315
  i((_) => !_);
9305
9316
  }, l = () => {
9306
9317
  n.push(Oe.CHARTS_DISCOVER);
@@ -9414,7 +9425,7 @@ class Ri extends fr {
9414
9425
  disabled: !!this.props.disabled,
9415
9426
  className: `${this.props.rootClassName}`,
9416
9427
  onClick: this.clickHandler,
9417
- children: this.props.isLoading ? /* @__PURE__ */ t.jsx(Me, {}) : this.props.children
9428
+ children: this.props.isLoading ? /* @__PURE__ */ t.jsx(Ue, {}) : this.props.children
9418
9429
  }
9419
9430
  );
9420
9431
  }
@@ -9515,12 +9526,12 @@ const Xw = ({
9515
9526
  placeholder: a,
9516
9527
  components: {
9517
9528
  IndicatorSeparator: null,
9518
- LoadingIndicator: _x,
9529
+ LoadingIndicator: gx,
9519
9530
  NoOptionsMessage: E,
9520
- GroupHeading: fx,
9531
+ GroupHeading: xx,
9521
9532
  ClearIndicator: hb
9522
9533
  },
9523
- styles: o ?? hx,
9534
+ styles: o ?? Ex,
9524
9535
  backspaceRemovesValue: !1,
9525
9536
  autoFocus: c
9526
9537
  }
@@ -9764,7 +9775,7 @@ const _b = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
9764
9775
  style: { background: e.isFocused ? "var(--N100)" : "transparent" },
9765
9776
  children: [
9766
9777
  /* @__PURE__ */ t.jsx(
9767
- Ds,
9778
+ ws,
9768
9779
  {
9769
9780
  isChecked: e.isSelected || !1,
9770
9781
  onChange: i,
@@ -9906,8 +9917,8 @@ const _b = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
9906
9917
  ERROR: "error",
9907
9918
  CANCELLED: "cancelled",
9908
9919
  UNABLE_TO_FETCH: "unabletofetch",
9909
- TIMED_OUT: Ks.TIMED_OUT.toLowerCase(),
9910
- WAITING_TO_START: Ks.WAITING_TO_START.toLowerCase()
9920
+ TIMED_OUT: Ys.TIMED_OUT.toLowerCase(),
9921
+ WAITING_TO_START: Ys.WAITING_TO_START.toLowerCase()
9911
9922
  }, Ta = {
9912
9923
  MESSAGE: "message",
9913
9924
  START_OF_STREAM: "START_OF_STREAM",
@@ -9927,8 +9938,8 @@ const _b = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
9927
9938
  progressing: "var(--O500)",
9928
9939
  initiating: "var(--O500)",
9929
9940
  starting: "var(--O500)",
9930
- [Ks.WAITING_TO_START.toLowerCase()]: "var(--O500)",
9931
- [Ks.TIMED_OUT.toLowerCase()]: "var(--R500)",
9941
+ [Ys.WAITING_TO_START.toLowerCase()]: "var(--O500)",
9942
+ [Ys.TIMED_OUT.toLowerCase()]: "var(--R500)",
9932
9943
  succeeded: "var(--G500)",
9933
9944
  running: "var(--O500)",
9934
9945
  failed: "var(--R500)",
@@ -10066,7 +10077,7 @@ const Ob = (e, s) => {
10066
10077
  default:
10067
10078
  return e;
10068
10079
  }
10069
- }, Db = (e) => e === Ks.WAITING_TO_START ? "Waiting to start" : e, Pb = (e) => /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__align-items-center dc__gap-6", children: e }), Mb = ({
10080
+ }, Db = (e) => e === Ys.WAITING_TO_START ? "Waiting to start" : e, Pb = (e) => /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__align-items-center dc__gap-6", children: e }), Mb = ({
10070
10081
  status: e,
10071
10082
  hideIcon: s = !1,
10072
10083
  hideMessage: n = !1,
@@ -10078,7 +10089,7 @@ const Ob = (e, s) => {
10078
10089
  const c = (e || "").toLowerCase().replace(/ /g, "-"), l = i || e || "", d = () => {
10079
10090
  const m = Ob(c, r), p = Lb(c);
10080
10091
  return m ? /* @__PURE__ */ t.jsx(
10081
- st,
10092
+ qe,
10082
10093
  {
10083
10094
  name: m,
10084
10095
  size: a,
@@ -10112,7 +10123,7 @@ const Ob = (e, s) => {
10112
10123
  const r = s ? Db(e) : e, o = n ? vn.NOT_AVAILABLE : r ?? "", i = o.toLowerCase().replace(/ /g, "-") === vn.NOT_DEPLOYED || o.toLowerCase() === vn.NOT_DEPLOYED_NO_SPACE, c = s ? vn.JOB_VIEW_NOT_DEPLOYED_MESSAGE : vn.NOT_DEPLOYED_MESSAGE, l = i ? c : o;
10113
10124
  return o ? /* @__PURE__ */ t.jsx(Mb, { status: o, message: l, ...a }) : /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-6", children: [
10114
10125
  /* @__PURE__ */ t.jsx(
10115
- st,
10126
+ qe,
10116
10127
  {
10117
10128
  name: "ic-info-outline",
10118
10129
  size: a.iconSize,
@@ -10193,7 +10204,7 @@ const Ob = (e, s) => {
10193
10204
  case "unreachable":
10194
10205
  return /* @__PURE__ */ t.jsx(nt, { className: "icon-dim-20" });
10195
10206
  case "loading":
10196
- return /* @__PURE__ */ t.jsx(st, { name: "ic-circle-loader", color: "O500", size: 20 });
10207
+ return /* @__PURE__ */ t.jsx(qe, { name: "ic-circle-loader", color: "O500", size: 20 });
10197
10208
  case "disconnect":
10198
10209
  return /* @__PURE__ */ t.jsx(ef, { className: "icon-dim-20" });
10199
10210
  case "time_out":
@@ -10252,11 +10263,11 @@ const Ob = (e, s) => {
10252
10263
  [Re.NOT_STARTED]: St.INPROGRESS,
10253
10264
  [Re.RUNNING]: St.INPROGRESS
10254
10265
  };
10255
- return s[e] ? /* @__PURE__ */ t.jsx(Oi, { status: s[e], iconSize: 20, hideMessage: !0, hideIconTooltip: !0 }) : /* @__PURE__ */ t.jsx(st, { name: "ic-help-outline", size: 20, color: "N500" });
10266
+ return s[e] ? /* @__PURE__ */ t.jsx(Oi, { status: s[e], iconSize: 20, hideMessage: !0, hideIconTooltip: !0 }) : /* @__PURE__ */ t.jsx(qe, { name: "ic-help-outline", size: 20, color: "N500" });
10256
10267
  }, Fb = (e) => {
10257
10268
  const s = Li(e);
10258
- return s ? s.finishedOn ? !rr[s.currentStatus] && rr[s.workerDetails.status] ? /* @__PURE__ */ t.jsx(st, { name: "ic-warning", size: 20, color: null }) : Vu(s.workerDetails.status) : /* @__PURE__ */ t.jsx(st, { name: "ic-in-progress", size: 20, color: null }) : /* @__PURE__ */ t.jsx(st, { name: "ic-help-outline", size: 20, color: "N500" });
10259
- }, Vb = (e = jr, s = bb) => `/resource-browser/${e}/${s}/pod/k8sEmptyGroup`, Gu = (e) => e ? e.toLowerCase() === "cancelled" ? "Aborted" : e === Ks.WAITING_TO_START ? "Waiting to start" : e : null, Or = (e) => Ts(e) ? Pe(e, "YYYY-MM-DDTHH:mm:ssZ").format(yt.TWELVE_HOURS_FORMAT) : "", Gb = (e) => (e || []).reduce(
10269
+ return s ? s.finishedOn ? !rr[s.currentStatus] && rr[s.workerDetails.status] ? /* @__PURE__ */ t.jsx(qe, { name: "ic-warning", size: 20, color: null }) : Vu(s.workerDetails.status) : /* @__PURE__ */ t.jsx(qe, { name: "ic-in-progress", size: 20, color: null }) : /* @__PURE__ */ t.jsx(qe, { name: "ic-help-outline", size: 20, color: "N500" });
10270
+ }, Vb = (e = jr, s = bb) => `/resource-browser/${e}/${s}/pod/k8sEmptyGroup`, Gu = (e) => e ? e.toLowerCase() === "cancelled" ? "Aborted" : e === Ys.WAITING_TO_START ? "Waiting to start" : e : null, Or = (e) => Ts(e) ? Pe(e, "YYYY-MM-DDTHH:mm:ssZ").format(yt.TWELVE_HOURS_FORMAT) : "", Gb = (e) => (e || []).reduce(
10260
10271
  (s, n) => {
10261
10272
  const a = n.health?.status?.toLowerCase() ?? "";
10262
10273
  switch (n.hasDrift && (s.driftedNodeCount += 1), a) {
@@ -10527,7 +10538,7 @@ const Ob = (e, s) => {
10527
10538
  }
10528
10539
  ) : null;
10529
10540
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
10530
- /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center", children: rr[s] ? /* @__PURE__ */ t.jsx(st, { size: 20, name: "ic-warning", color: null }) : /* @__PURE__ */ t.jsx(B_, { className: "icon-dim-20 dc__no-shrink scn-7" }) }),
10541
+ /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center", children: rr[s] ? /* @__PURE__ */ t.jsx(qe, { size: 20, name: "ic-warning", color: null }) : /* @__PURE__ */ t.jsx(B_, { className: "icon-dim-20 dc__no-shrink scn-7" }) }),
10531
10542
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col", children: [
10532
10543
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8", children: [
10533
10544
  /* @__PURE__ */ t.jsxs("div", { className: `flexbox cn-9 ${l}`, children: [
@@ -10661,7 +10672,7 @@ const Ob = (e, s) => {
10661
10672
  envId: A,
10662
10673
  [I]: e
10663
10674
  };
10664
- return `${Vs(g, B)}/${C}`;
10675
+ return `${Fs(g, B)}/${C}`;
10665
10676
  }, T = () => {
10666
10677
  b?.current && b.current.scrollIntoView({ behavior: "smooth" });
10667
10678
  };
@@ -10763,8 +10774,8 @@ const Ob = (e, s) => {
10763
10774
  renderRunSource: l,
10764
10775
  resourceId: d
10765
10776
  }) => {
10766
- const { pipelineId: u, appId: m, envId: p } = Tt(), { push: _ } = qs(), { path: E } = Jt(), x = (S) => {
10767
- e === De.CI ? (r({ offset: 0, size: 20 }), _(Vs(E, { appId: m, pipelineId: S.value }))) : e === De.GROUP_CI ? (r({ offset: 0, size: 20 }), _(Vs(E, { envId: p, pipelineId: S.pipelineId }))) : e === De.GROUP_CD ? (r({ offset: 0, size: 20 }), _(Vs(E, { envId: p, appId: S.value, pipelineId: S.pipelineId }))) : (r({ offset: 0, size: 20 }), _(Vs(E, { appId: m, envId: S.value, pipelineId: S.pipelineId })));
10777
+ const { pipelineId: u, appId: m, envId: p } = Tt(), { push: _ } = zs(), { path: E } = Jt(), x = (S) => {
10778
+ e === De.CI ? (r({ offset: 0, size: 20 }), _(Fs(E, { appId: m, pipelineId: S.value }))) : e === De.GROUP_CI ? (r({ offset: 0, size: 20 }), _(Fs(E, { envId: p, pipelineId: S.pipelineId }))) : e === De.GROUP_CD ? (r({ offset: 0, size: 20 }), _(Fs(E, { envId: p, appId: S.value, pipelineId: S.pipelineId }))) : (r({ offset: 0, size: 20 }), _(Fs(E, { appId: m, envId: S.value, pipelineId: S.pipelineId })));
10768
10779
  }, h = () => {
10769
10780
  vs.event({
10770
10781
  category: "pagination",
@@ -10774,9 +10785,9 @@ const Ob = (e, s) => {
10774
10785
  }), r({ offset: n.size, size: 20 });
10775
10786
  }, g = () => e === De.CI || e === De.GROUP_CI ? u : e === De.GROUP_CD ? m : p, f = s?.find((S) => S.value === g()) ?? null;
10776
10787
  s?.sort((S, y) => S.label > y.label ? 1 : -1);
10777
- const N = s?.filter((S) => !S.deploymentAppDeleteRequest), C = () => e === De.GROUP_CI || e === De.GROUP_CD ? eo.APPLICATION : e === De.CI ? eo.PIPELINE : eo.ENVIRONMENT, A = (S) => (S.selectProps.styles.option = px(), /* @__PURE__ */ t.jsx(Ve.Option, { ...S, children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc dc__gap-4", children: [
10788
+ const N = s?.filter((S) => !S.deploymentAppDeleteRequest), C = () => e === De.GROUP_CI || e === De.GROUP_CD ? eo.APPLICATION : e === De.CI ? eo.PIPELINE : eo.ENVIRONMENT, A = (S) => (S.selectProps.styles.option = hx(), /* @__PURE__ */ t.jsx(Ve.Option, { ...S, children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc dc__gap-4", children: [
10778
10789
  (e === De.CI || e === De.GROUP_CI) && /* @__PURE__ */ t.jsx(
10779
- st,
10790
+ qe,
10780
10791
  {
10781
10792
  name: S.data.pipelineType?.toLowerCase() === "ci_job" ? "ic-job-color" : "ic-build-color",
10782
10793
  size: 20,
@@ -10948,7 +10959,7 @@ const Ob = (e, s) => {
10948
10959
  try {
10949
10960
  const l = await sT(a);
10950
10961
  if (l.status === rc.OK) {
10951
- r && Ue.showToast({
10962
+ r && ke.showToast({
10952
10963
  variant: Se.info,
10953
10964
  title: "Preparing file for download",
10954
10965
  description: "File will be downloaded when it is available."
@@ -10956,7 +10967,7 @@ const Ob = (e, s) => {
10956
10967
  const d = await l.blob(), u = URL.createObjectURL(d), m = document.createElement("a");
10957
10968
  m.href = u, m.download = o || yN(l.headers) || "file.tgz", document.body.appendChild(m), m.click(), setTimeout(() => {
10958
10969
  URL.revokeObjectURL(u), document.body.removeChild(m);
10959
- }, 0), i && Ue.showToast({
10970
+ }, 0), i && ke.showToast({
10960
10971
  variant: Se.success,
10961
10972
  description: c
10962
10973
  });
@@ -11095,7 +11106,7 @@ const Ob = (e, s) => {
11095
11106
  getErrorsFromFormData: _
11096
11107
  };
11097
11108
  }, aT = () => /* @__PURE__ */ t.jsx(
11098
- Ze,
11109
+ Qe,
11099
11110
  {
11100
11111
  SvgImage: pd,
11101
11112
  title: Ye.CI_PROGRESS_VIEW.TITLE,
@@ -11196,7 +11207,7 @@ const Ob = (e, s) => {
11196
11207
  if (!a && !i) {
11197
11208
  if (C === ye.FAILED || C === ye.CANCELLED || C === ye.ERROR || C === ye.TIMED_OUT)
11198
11209
  return /* @__PURE__ */ t.jsx(
11199
- Ze,
11210
+ Qe,
11200
11211
  {
11201
11212
  title: c ? Ye.ARTIFACTS_EMPTY_STATE_TEXTS.FailedToFetchArtifacts : Ye.ARTIFACTS_EMPTY_STATE_TEXTS.NoArtifactsGenerated,
11202
11213
  subTitle: c ? Ye.ARTIFACTS_EMPTY_STATE_TEXTS.FailedToFetchArtifactsError : Ye.ARTIFACTS_EMPTY_STATE_TEXTS.NoArtifactsError
@@ -11204,7 +11215,7 @@ const Ob = (e, s) => {
11204
11215
  );
11205
11216
  if (C === ye.SUCCEEDED)
11206
11217
  return /* @__PURE__ */ t.jsx(
11207
- Ze,
11218
+ Qe,
11208
11219
  {
11209
11220
  title: Ye.ARTIFACTS_EMPTY_STATE_TEXTS.NoArtifactsFound,
11210
11221
  subTitle: Ye.ARTIFACTS_EMPTY_STATE_TEXTS.NoArtifactsFoundError,
@@ -11384,7 +11395,7 @@ const dD = (e, s, n) => ue(`app/history/deployed-configuration/${e}/${s}/${n}`),
11384
11395
  n
11385
11396
  ), r.values = a, r;
11386
11397
  }, mD = (e, s, n, a) => {
11387
- const r = Xe(
11398
+ const r = Je(
11388
11399
  `${G.RESOURCE_HISTORY_DEPLOYMENT}/${G.CONFIG_CD_PIPELINE}/${li.v1}`,
11389
11400
  {
11390
11401
  baseConfigurationId: n,
@@ -11401,7 +11412,7 @@ const dD = (e, s, n) => ue(`app/history/deployed-configuration/${e}/${s}/${n}`),
11401
11412
  releaseId: a,
11402
11413
  showCurrentReleaseDeployments: r = !1
11403
11414
  }) => {
11404
- const o = Xe(
11415
+ const o = Je(
11405
11416
  `${G.RESOURCE_HISTORY_DEPLOYMENT}/${lt.cdPipeline}/${li.v1}`,
11406
11417
  {
11407
11418
  filterCriteria: kb({ appId: e, envId: s, releaseId: a, showCurrentReleaseDeployments: r }),
@@ -11508,7 +11519,7 @@ const dD = (e, s, n) => ue(`app/history/deployed-configuration/${e}/${s}/${n}`),
11508
11519
  ] })
11509
11520
  ] });
11510
11521
  }, Xu = (e) => /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center flex-align-center dc__height-inherit", children: /* @__PURE__ */ t.jsxs("div", { children: [
11511
- /* @__PURE__ */ t.jsx("div", { className: "text-center", children: /* @__PURE__ */ t.jsx(ws, { className: "icon-dim-20" }) }),
11522
+ /* @__PURE__ */ t.jsx("div", { className: "text-center", children: /* @__PURE__ */ t.jsx(qs, { className: "icon-dim-20" }) }),
11512
11523
  /* @__PURE__ */ t.jsx("div", { className: "text-center text__white fs-14 fw-6", children: "Logs not available" }),
11513
11524
  /* @__PURE__ */ t.jsx("div", { className: "text-center text__white fs-13 fw-4", children: e || "Blob storage was not configured at pipeline run." })
11514
11525
  ] }) }), hT = () => /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
@@ -11820,7 +11831,7 @@ const dD = (e, s, n) => ue(`app/history/deployed-configuration/${e}/${s}/${n}`),
11820
11831
  )
11821
11832
  ] }, `logs-${F}`)
11822
11833
  )),
11823
- j && /* @__PURE__ */ t.jsx("div", { className: "flex left event-source-status", children: /* @__PURE__ */ t.jsx(Me, {}) })
11834
+ j && /* @__PURE__ */ t.jsx("div", { className: "flex left event-source-status", children: /* @__PURE__ */ t.jsx(Ue, {}) })
11824
11835
  ] });
11825
11836
  return /* @__PURE__ */ t.jsx("div", { className: `flexbox-col flex-grow-1 ${Nn(At.dark)}`, children: e.podStatus !== to.PENDING && u && (!s || !e.blobStorageEnabled) ? gT(s) : Ie() });
11826
11837
  }, NT = ({
@@ -11849,7 +11860,7 @@ const dD = (e, s, n) => ue(`app/history/deployed-configuration/${e}/${s}/${n}`),
11849
11860
  }
11850
11861
  ) : null;
11851
11862
  return /* @__PURE__ */ t.jsx("div", { className: "dc__position-rel", style: { backgroundColor: "var(--bg-tertiary)" }, children: /* @__PURE__ */ t.jsx(
11852
- Ze,
11863
+ Qe,
11853
11864
  {
11854
11865
  image: e || _d,
11855
11866
  classname: "fs-16",
@@ -11915,17 +11926,7 @@ const dD = (e, s, n) => ue(`app/history/deployed-configuration/${e}/${s}/${n}`),
11915
11926
  disabled: !1,
11916
11927
  onChange: u,
11917
11928
  children: [
11918
- /* @__PURE__ */ t.jsx(
11919
- It.Radio,
11920
- {
11921
- value: i.status,
11922
- tippyPlacement: "top",
11923
- tippyContent: i.status,
11924
- tippyClass: "w-100 dc__first-letter-capitalize",
11925
- children: /* @__PURE__ */ t.jsx("span", { className: "dc__first-letter-capitalize", children: `${i.status} (${i.count})` })
11926
- },
11927
- i.status
11928
- ),
11929
+ /* @__PURE__ */ t.jsx(It.Radio, { value: i.status, children: /* @__PURE__ */ t.jsx("span", { className: "dc__first-letter-capitalize", children: `${i.status} (${i.count})` }) }, i.status),
11929
11930
  d.map(({ status: p, count: _ }) => /* @__PURE__ */ t.jsxs(
11930
11931
  It.Radio,
11931
11932
  {
@@ -12136,7 +12137,7 @@ const vT = (e, s) => {
12136
12137
  showConfigDriftInfo: n = !1,
12137
12138
  onClose: a
12138
12139
  }) => {
12139
- const r = qs(), o = Ju.getAppDetails(), [i, c] = R(So), [l, d] = R([]), { appId: u, environmentId: m } = o, p = () => {
12140
+ const r = zs(), o = Ju.getAppDetails(), [i, c] = R(So), [l, d] = R([]), { appId: u, environmentId: m } = o, p = () => {
12140
12141
  a(), r.push(`${Oe.APP}/${u}${Oe.DETAILS}/${m}/${Oe.APP_DETAILS_K8}/${Oe.CONFIG_DRIFT}`);
12141
12142
  }, _ = te(
12142
12143
  () => vN(o.resourceTree?.nodes || [], o.resourceTree?.podMetadata || []),
@@ -12224,7 +12225,7 @@ const vT = (e, s) => {
12224
12225
  },
12225
12226
  `${h.kind}/${h.name}`
12226
12227
  )) : /* @__PURE__ */ t.jsx("div", { className: "flex dc__height-inherit mh-300", children: /* @__PURE__ */ t.jsxs("div", { className: "dc__align-center", children: [
12227
- /* @__PURE__ */ t.jsx(ws, { className: "icon-dim-20" }),
12228
+ /* @__PURE__ */ t.jsx(qs, { className: "icon-dim-20" }),
12228
12229
  /* @__PURE__ */ t.jsx("div", { children: "Checking resources status" })
12229
12230
  ] }) }) }),
12230
12231
  s && /* @__PURE__ */ t.jsxs("div", { className: "dc__position-fixed bg__primary flexbox dc__content-space dc__border-top p-16 fs-13 fw-6 footer", children: [
@@ -12245,7 +12246,7 @@ const vT = (e, s) => {
12245
12246
  ] })
12246
12247
  ] })
12247
12248
  ] });
12248
- }, Ms = ({
12249
+ }, Ps = ({
12249
12250
  type: e,
12250
12251
  hideVerticalConnector: s,
12251
12252
  deploymentDetailedData: n
@@ -12483,7 +12484,7 @@ const IT = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
12483
12484
  "data-testid": "deployment-history-steps-status",
12484
12485
  children: [
12485
12486
  /* @__PURE__ */ t.jsx(
12486
- Ms,
12487
+ Ps,
12487
12488
  {
12488
12489
  type: z.DEPLOYMENT_INITIATED,
12489
12490
  deploymentDetailedData: e
@@ -12491,7 +12492,7 @@ const IT = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
12491
12492
  ),
12492
12493
  s && e.deploymentStatusBreakdown[z.HELM_PACKAGE_GENERATED] ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
12493
12494
  /* @__PURE__ */ t.jsx(
12494
- Ms,
12495
+ Ps,
12495
12496
  {
12496
12497
  type: z.HELM_PACKAGE_GENERATED,
12497
12498
  hideVerticalConnector: !r,
@@ -12499,7 +12500,7 @@ const IT = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
12499
12500
  }
12500
12501
  ),
12501
12502
  r && /* @__PURE__ */ t.jsx(
12502
- Ms,
12503
+ Ps,
12503
12504
  {
12504
12505
  type: z.HELM_MANIFEST_PUSHED_TO_HELM_REPO,
12505
12506
  hideVerticalConnector: !0,
@@ -12516,7 +12517,7 @@ const IT = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
12516
12517
  }
12517
12518
  ),
12518
12519
  /* @__PURE__ */ t.jsx(
12519
- Ms,
12520
+ Ps,
12520
12521
  {
12521
12522
  type: z.GIT_COMMIT,
12522
12523
  deploymentDetailedData: e
@@ -12531,7 +12532,7 @@ const IT = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
12531
12532
  }
12532
12533
  ),
12533
12534
  /* @__PURE__ */ t.jsx(
12534
- Ms,
12535
+ Ps,
12535
12536
  {
12536
12537
  type: z.ARGOCD_SYNC,
12537
12538
  deploymentDetailedData: e
@@ -12546,14 +12547,14 @@ const IT = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
12546
12547
  }
12547
12548
  ),
12548
12549
  /* @__PURE__ */ t.jsx(
12549
- Ms,
12550
+ Ps,
12550
12551
  {
12551
12552
  type: z.KUBECTL_APPLY,
12552
12553
  deploymentDetailedData: e
12553
12554
  }
12554
12555
  ),
12555
12556
  /* @__PURE__ */ t.jsx(
12556
- Ms,
12557
+ Ps,
12557
12558
  {
12558
12559
  type: z.APP_HEALTH,
12559
12560
  hideVerticalConnector: !0,
@@ -12578,7 +12579,7 @@ const jT = ({
12578
12579
  processVirtualEnvironmentDeploymentData: c,
12579
12580
  renderDeploymentApprovalInfo: l
12580
12581
  }) => {
12581
- const d = qs(), { url: u } = Jt(), { appId: m, envId: p, triggerId: _ } = Tt(), [E, x] = R(
12582
+ const d = zs(), { url: u } = Jt(), { appId: m, envId: p, triggerId: _ } = Tt(), [E, x] = R(
12582
12583
  e?.toUpperCase() !== z.ABORTED
12583
12584
  ), h = Y(i), g = h.current && c ? c() : Bc(), [f, N] = R(g), C = () => {
12584
12585
  va && clearTimeout(va);
@@ -12639,12 +12640,12 @@ const jT = ({
12639
12640
  )
12640
12641
  ] });
12641
12642
  return e?.toUpperCase() === z.ABORTED || f.deploymentStatus === ge.SUPERSEDED ? /* @__PURE__ */ t.jsx("div", { className: "flexbox deployment-aborted", "data-testid": "deployment-history-steps-failed-message", children: /* @__PURE__ */ t.jsx(
12642
- Ze,
12643
+ Qe,
12643
12644
  {
12644
12645
  title: Ye.DEPLOYMENT_DETAILS_SETPS_FAILED.TITLE,
12645
12646
  subTitle: Ye.DEPLOYMENT_DETAILS_SETPS_FAILED.SUBTITLE
12646
12647
  }
12647
- ) }) : E ? /* @__PURE__ */ t.jsx(Me, { pageLoader: !0 }) : I();
12648
+ ) }) : E ? /* @__PURE__ */ t.jsx(Ue, { pageLoader: !0 }) : I();
12648
12649
  }, Di = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t.jsx(Nd, { children: e && /* @__PURE__ */ t.jsx(
12649
12650
  mn.div,
12650
12651
  {
@@ -12719,7 +12720,7 @@ const jT = ({
12719
12720
  l
12720
12721
  );
12721
12722
  };
12722
- return /* @__PURE__ */ t.jsx("div", { className: "mw-none bg__primary", children: e.map(({ id: c, header: l, headerIconConfig: d, items: u, noItemsText: m, isExpanded: p }) => /* @__PURE__ */ t.jsxs(Ys, { children: [
12723
+ return /* @__PURE__ */ t.jsx("div", { className: "mw-none bg__primary", children: e.map(({ id: c, header: l, headerIconConfig: d, items: u, noItemsText: m, isExpanded: p }) => /* @__PURE__ */ t.jsxs(Hs, { children: [
12723
12724
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-4 py-6 px-8 br-4 dc__hover-n50", children: [
12724
12725
  /* @__PURE__ */ t.jsxs(
12725
12726
  "button",
@@ -12887,7 +12888,7 @@ const Zu = {
12887
12888
  !!c?.tabs.length && g(),
12888
12889
  /* @__PURE__ */ t.jsx("div", { className: "mw-none p-8 flex-grow-1 dc__overflow-auto", children: N() })
12889
12890
  ] });
12890
- }, Ze = ({
12891
+ }, Qe = ({
12891
12892
  title: e,
12892
12893
  image: s,
12893
12894
  subTitle: n,
@@ -12960,8 +12961,8 @@ const Zu = {
12960
12961
  ]
12961
12962
  }
12962
12963
  );
12963
- }, ks = ({ code: e, image: s, title: n, subTitle: a, imageType: r, heightToDeduct: o, redirectURL: i, reload: c }) => {
12964
- const { push: l } = qs(), d = () => {
12964
+ }, Ms = ({ code: e, image: s, title: n, subTitle: a, imageType: r, heightToDeduct: o, redirectURL: i, reload: c }) => {
12965
+ const { push: l } = zs(), d = () => {
12965
12966
  l(i || `/${G.APP_LIST}`);
12966
12967
  }, u = (x) => {
12967
12968
  switch (x) {
@@ -12994,7 +12995,7 @@ const Zu = {
12994
12995
  isButtonAvailable: _
12995
12996
  } = u(e), E = () => /* @__PURE__ */ t.jsx("button", { type: "button", className: "flex cta h-36", onClick: m, "data-testid": "empty-screen-take-me-home", children: p });
12996
12997
  return /* @__PURE__ */ t.jsx(
12997
- Ze,
12998
+ Qe,
12998
12999
  {
12999
13000
  image: s,
13000
13001
  title: n,
@@ -13017,7 +13018,7 @@ const Zu = {
13017
13018
  switch (e) {
13018
13019
  case He.BAD_REQUEST:
13019
13020
  return /* @__PURE__ */ t.jsx(
13020
- ks,
13021
+ Ms,
13021
13022
  {
13022
13023
  code: He.BAD_REQUEST,
13023
13024
  title: Ke.BAD_REQUEST,
@@ -13030,7 +13031,7 @@ const Zu = {
13030
13031
  );
13031
13032
  case He.UNAUTHORIZED:
13032
13033
  return /* @__PURE__ */ t.jsx(
13033
- ks,
13034
+ Ms,
13034
13035
  {
13035
13036
  code: He.UNAUTHORIZED,
13036
13037
  title: Ke.UNAUTHORIZED,
@@ -13042,7 +13043,7 @@ const Zu = {
13042
13043
  );
13043
13044
  case He.PERMISSION_DENIED:
13044
13045
  return /* @__PURE__ */ t.jsx(
13045
- ks,
13046
+ Ms,
13046
13047
  {
13047
13048
  code: He.PERMISSION_DENIED,
13048
13049
  title: Ke.FORBIDDEN,
@@ -13054,7 +13055,7 @@ const Zu = {
13054
13055
  );
13055
13056
  case He.NOT_FOUND:
13056
13057
  return /* @__PURE__ */ t.jsx(
13057
- ks,
13058
+ Ms,
13058
13059
  {
13059
13060
  code: He.NOT_FOUND,
13060
13061
  title: Ke.PAGE_NOT_FOUND,
@@ -13067,7 +13068,7 @@ const Zu = {
13067
13068
  );
13068
13069
  case He.INTERNAL_SERVER_ERROR:
13069
13070
  return /* @__PURE__ */ t.jsx(
13070
- ks,
13071
+ Ms,
13071
13072
  {
13072
13073
  code: He.INTERNAL_SERVER_ERROR,
13073
13074
  title: Ke.INTERNAL_SERVER_ERROR,
@@ -13080,7 +13081,7 @@ const Zu = {
13080
13081
  );
13081
13082
  case He.BAD_GATEWAY:
13082
13083
  return /* @__PURE__ */ t.jsx(
13083
- ks,
13084
+ Ms,
13084
13085
  {
13085
13086
  code: He.BAD_GATEWAY,
13086
13087
  title: Ke.BAD_GATEWAY,
@@ -13093,7 +13094,7 @@ const Zu = {
13093
13094
  );
13094
13095
  case He.SERVICE_TEMPORARY_UNAVAILABLE:
13095
13096
  return /* @__PURE__ */ t.jsx(
13096
- ks,
13097
+ Ms,
13097
13098
  {
13098
13099
  code: He.SERVICE_TEMPORARY_UNAVAILABLE,
13099
13100
  title: Ke.SERVICE_TEMPORARY_UNAVAILABLE,
@@ -13765,12 +13766,12 @@ const Zu = {
13765
13766
  }, [i]);
13766
13767
  const E = (N) => N.map((C, A) => {
13767
13768
  if (C.type === "string")
13768
- return /* @__PURE__ */ t.jsxs(Ys, { children: [
13769
+ return /* @__PURE__ */ t.jsxs(Hs, { children: [
13769
13770
  typeof C.text == "string" ? /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-9 fs-13 lh-20 fw-6", children: C.text }) : C.text,
13770
13771
  !r?.hideDivider && A !== N.length - 1 && /* @__PURE__ */ t.jsx("span", { className: "cn-9 fs-13 lh-20", children: "/" })
13771
13772
  ] }, C.id);
13772
13773
  const { selectPickerProps: S } = C;
13773
- return /* @__PURE__ */ t.jsxs(Ys, { children: [
13774
+ return /* @__PURE__ */ t.jsxs(Hs, { children: [
13774
13775
  /* @__PURE__ */ t.jsx("div", { className: "dc__mxw-300", children: /* @__PURE__ */ t.jsx(
13775
13776
  Xt,
13776
13777
  {
@@ -13865,7 +13866,7 @@ const Zu = {
13865
13866
  },
13866
13867
  `${N}-${S}`
13867
13868
  );
13868
- }), f = () => e ? /* @__PURE__ */ t.jsx(Me, { fullHeight: !0, pageLoader: !0 }) : s?.error ? /* @__PURE__ */ t.jsx(
13869
+ }), f = () => e ? /* @__PURE__ */ t.jsx(Ue, { fullHeight: !0, pageLoader: !0 }) : s?.error ? /* @__PURE__ */ t.jsx(
13869
13870
  Lr,
13870
13871
  {
13871
13872
  code: s.code,
@@ -14136,7 +14137,7 @@ const Zu = {
14136
14137
  scrollIntoViewId: `${E}${x ? `-${x}` : ""}`,
14137
14138
  navHelpText: Q(),
14138
14139
  isNavHelpTextShowingError: u,
14139
- goBackURL: Vs(p.split("/:resourceType")[0], { ..._ }),
14140
+ goBackURL: Fs(p.split("/:resourceType")[0], { ..._ }),
14140
14141
  selectorsConfig: q,
14141
14142
  sortingConfig: Ie,
14142
14143
  scopeVariablesConfig: H
@@ -14180,7 +14181,7 @@ const Zu = {
14180
14181
  return q.status !== "fulfilled" || !q.value || q.value.forEach((de, Ie) => {
14181
14182
  Q[Ie].status !== "fulfilled" || !Q[Ie].value || Q[Ie].value.result.isAppAdmin || (Q[Ie].value.result.secretsData = de.secretsData);
14182
14183
  }), Q;
14183
- }, [E, f]), b = (X, q) => `${Vs(l, { ...d })}/${X}${q ? `/${q}` : ""}${m}`, O = te(() => {
14184
+ }, [E, f]), b = (X, q) => `${Fs(l, { ...d })}/${X}${q ? `/${q}` : ""}${m}`, O = te(() => {
14184
14185
  if (!y && I) {
14185
14186
  const X = h && I[1].status === "fulfilled" ? I[1].value.result : {
14186
14187
  configMapData: null,
@@ -14216,13 +14217,13 @@ const Zu = {
14216
14217
  reload: v
14217
14218
  };
14218
14219
  return I && fl(I[0]) ? /* @__PURE__ */ t.jsx("div", { className: "flex bg__primary h-100", children: /* @__PURE__ */ t.jsx(
14219
- Ze,
14220
+ Qe,
14220
14221
  {
14221
14222
  title: "Data not available",
14222
14223
  subTitle: "Configurations used for this deployment execution is not available"
14223
14224
  }
14224
14225
  ) }) : /* @__PURE__ */ t.jsxs(Jl, { children: [
14225
- /* @__PURE__ */ t.jsx($s, { path: `${l}/:resourceType(${Object.values(rt).join("|")})/:resourceName?`, children: /* @__PURE__ */ t.jsx(
14226
+ /* @__PURE__ */ t.jsx(Bs, { path: `${l}/:resourceType(${Object.values(rt).join("|")})/:resourceName?`, children: /* @__PURE__ */ t.jsx(
14226
14227
  QT,
14227
14228
  {
14228
14229
  ...O,
@@ -14242,7 +14243,7 @@ const Zu = {
14242
14243
  isCompareDeploymentConfigNotAvailable: w
14243
14244
  }
14244
14245
  ) }),
14245
- /* @__PURE__ */ t.jsx($s, { children: T && !y ? /* @__PURE__ */ t.jsx(Lr, { code: V.code, reload: V.reload }) : /* @__PURE__ */ t.jsx("div", { className: "p-16 flexbox-col dc__gap-16 bg__primary h-100", children: B ? /* @__PURE__ */ t.jsx(Me, { fullHeight: !0, size: 48 }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
14246
+ /* @__PURE__ */ t.jsx(Bs, { children: T && !y ? /* @__PURE__ */ t.jsx(Lr, { code: V.code, reload: V.reload }) : /* @__PURE__ */ t.jsx("div", { className: "p-16 flexbox-col dc__gap-16 bg__primary h-100", children: B ? /* @__PURE__ */ t.jsx(Ue, { fullHeight: !0, size: 48 }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
14246
14247
  /* @__PURE__ */ t.jsx("h3", { className: "fs-13 lh-20 fw-6 cn-9 m-0", children: L ? "Configurations used for this deployment trigger" : "Showing configuration change with respect to previous deployment" }),
14247
14248
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-16 dc__mxw-800", children: [
14248
14249
  /* @__PURE__ */ t.jsx("div", { className: "flexbox-col dc__gap-12", children: Object.keys(j).map(
@@ -14795,7 +14796,7 @@ function Zs() {
14795
14796
  throw new Error("cannot be rendered outside the component");
14796
14797
  return e;
14797
14798
  }
14798
- const uS = 100, Qe = Ce.memo(
14799
+ const uS = 100, et = Ce.memo(
14799
14800
  ({
14800
14801
  value: e,
14801
14802
  mode: s = Fe.JSON,
@@ -15074,7 +15075,7 @@ const uS = 100, Qe = Ce.memo(
15074
15075
  e.text,
15075
15076
  e.children
15076
15077
  ] }), xS = (e) => /* @__PURE__ */ t.jsxs("div", { className: `code-editor__information ${e.className || ""}`, children: [
15077
- /* @__PURE__ */ t.jsx(ws, { className: "code-editor__information-info-icon" }),
15078
+ /* @__PURE__ */ t.jsx(qs, { className: "code-editor__information-info-icon" }),
15078
15079
  e.text,
15079
15080
  e.children
15080
15081
  ] }), ES = () => {
@@ -15091,7 +15092,7 @@ const uS = 100, Qe = Ce.memo(
15091
15092
  ] });
15092
15093
  }, CS = ({ className: e = "", style: s = {}, customLoader: n }) => {
15093
15094
  const { height: a } = Zs();
15094
- return n || /* @__PURE__ */ t.jsx("div", { className: `code-editor code-editor--placeholder disabled ${e}`, style: { ...s }, children: /* @__PURE__ */ t.jsx("div", { className: "flex", style: { height: a || "100%" }, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(Me, { pageLoader: !0 }) }) }) });
15095
+ return n || /* @__PURE__ */ t.jsx("div", { className: `code-editor code-editor--placeholder disabled ${e}`, style: { ...s }, children: /* @__PURE__ */ t.jsx("div", { className: "flex", style: { height: a || "100%" }, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(Ue, { pageLoader: !0 }) }) }) });
15095
15096
  }, bS = ({
15096
15097
  children: e,
15097
15098
  flexExpand: s,
@@ -15105,15 +15106,15 @@ const uS = 100, Qe = Ce.memo(
15105
15106
  children: e
15106
15107
  }
15107
15108
  );
15108
- Qe.LanguageChanger = _S;
15109
- Qe.ThemeChanger = pS;
15110
- Qe.ValidationError = fS;
15111
- Qe.Clipboard = ES;
15112
- Qe.Header = mS;
15113
- Qe.Warning = hS;
15114
- Qe.ErrorBar = gS;
15115
- Qe.Information = xS;
15116
- Qe.Container = bS;
15109
+ et.LanguageChanger = _S;
15110
+ et.ThemeChanger = pS;
15111
+ et.ValidationError = fS;
15112
+ et.Clipboard = ES;
15113
+ et.Header = mS;
15114
+ et.Warning = hS;
15115
+ et.ErrorBar = gS;
15116
+ et.Information = xS;
15117
+ et.Container = bS;
15117
15118
  const TS = () => (e) => {
15118
15119
  const s = [], n = e.state.doc.toString();
15119
15120
  try {
@@ -15263,7 +15264,7 @@ const TS = () => (e) => {
15263
15264
  }, jS = () => {
15264
15265
  const e = document.createElement("button");
15265
15266
  return bd(
15266
- /* @__PURE__ */ t.jsx(ie, { content: "Revert this chunk", alwaysShowTippyOnHover: !0, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(st, { name: "ic-arrow-right", color: "N600", size: 20 }) }) }),
15267
+ /* @__PURE__ */ t.jsx(ie, { content: "Revert this chunk", alwaysShowTippyOnHover: !0, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(qe, { name: "ic-arrow-right", color: "N600", size: 20 }) }) }),
15267
15268
  e
15268
15269
  ), e;
15269
15270
  }, Nl = (e, s = !1) => {
@@ -15865,7 +15866,7 @@ const TS = () => (e) => {
15865
15866
  {
15866
15867
  className: `code-editor__information fs-12 fw-4 lh-16 cn-9 py-8 px-16 bcb-1 dc__border-bottom dc__height-auto ${e || ""}`,
15867
15868
  children: [
15868
- /* @__PURE__ */ t.jsx(ws, { className: "code-editor__status-info-icon" }),
15869
+ /* @__PURE__ */ t.jsx(qs, { className: "code-editor__status-info-icon" }),
15869
15870
  n,
15870
15871
  s
15871
15872
  ]
@@ -16075,7 +16076,7 @@ const TS = () => (e) => {
16075
16076
  }, 100);
16076
16077
  }, [C, N, I]);
16077
16078
  const { codeEditorClassName: ce, codeEditorHeight: le, codeEditorParentClassName: pe } = AS(r);
16078
- return n ? a || /* @__PURE__ */ t.jsx("div", { className: "flex mh-250", style: { height: le }, children: /* @__PURE__ */ t.jsx(Me, { pageLoader: !0 }) }) : A ? /* @__PURE__ */ t.jsxs("div", { className: `flexbox w-100 ${X} ${pe}`, children: [
16079
+ return n ? a || /* @__PURE__ */ t.jsx("div", { className: "flex mh-250", style: { height: le }, children: /* @__PURE__ */ t.jsx(Ue, { pageLoader: !0 }) }) : A ? /* @__PURE__ */ t.jsxs("div", { className: `flexbox w-100 ${X} ${pe}`, children: [
16079
16080
  /* @__PURE__ */ t.jsx(
16080
16081
  "div",
16081
16082
  {
@@ -16178,7 +16179,7 @@ const TS = () => (e) => {
16178
16179
  F(h);
16179
16180
  }, [h]), k(
16180
16181
  () => {
16181
- Q(Ws());
16182
+ Q(Ks());
16182
16183
  },
16183
16184
  // Include any props that modify codemirror-merge extensions directly, as a workaround for the unresolved bug.
16184
16185
  [E, l, v, b, o, r]
@@ -16284,10 +16285,10 @@ const Zt = () => window._env_.FEATURE_CODE_MIRROR_ENABLE, bt = ({
16284
16285
  codeMirrorProps: s,
16285
16286
  children: n,
16286
16287
  ...a
16287
- }) => Zt() ? /* @__PURE__ */ t.jsx(Rt, { ...s, ...a, children: n }) : /* @__PURE__ */ t.jsx(Qe, { ...e, ...a, children: n }), lv = () => Zt() ? null : /* @__PURE__ */ t.jsx(Qe.LanguageChanger, {}), dv = () => Zt() ? null : /* @__PURE__ */ t.jsx(Qe.ThemeChanger, {}), uv = () => Zt() ? null : /* @__PURE__ */ t.jsx(Qe.ValidationError, {}), mv = () => Zt() ? /* @__PURE__ */ t.jsx(Rt.Clipboard, {}) : /* @__PURE__ */ t.jsx(Qe.Clipboard, {}), pv = (e) => Zt() ? /* @__PURE__ */ t.jsx(Rt.Header, { ...e }) : /* @__PURE__ */ t.jsx(Qe.Header, { ...e }), _v = (e) => Zt() ? /* @__PURE__ */ t.jsx(Rt.Warning, { ...e }) : /* @__PURE__ */ t.jsx(Qe.Warning, { ...e }), fv = (e) => Zt() ? /* @__PURE__ */ t.jsx(Rt.ErrorBar, { ...e }) : /* @__PURE__ */ t.jsx(Qe.ErrorBar, { ...e }), hv = (e) => Zt() ? /* @__PURE__ */ t.jsx(Rt.Information, { ...e }) : /* @__PURE__ */ t.jsx(Qe.Information, { ...e }), gv = ({
16288
+ }) => Zt() ? /* @__PURE__ */ t.jsx(Rt, { ...s, ...a, children: n }) : /* @__PURE__ */ t.jsx(et, { ...e, ...a, children: n }), lv = () => Zt() ? null : /* @__PURE__ */ t.jsx(et.LanguageChanger, {}), dv = () => Zt() ? null : /* @__PURE__ */ t.jsx(et.ThemeChanger, {}), uv = () => Zt() ? null : /* @__PURE__ */ t.jsx(et.ValidationError, {}), mv = () => Zt() ? /* @__PURE__ */ t.jsx(Rt.Clipboard, {}) : /* @__PURE__ */ t.jsx(et.Clipboard, {}), pv = (e) => Zt() ? /* @__PURE__ */ t.jsx(Rt.Header, { ...e }) : /* @__PURE__ */ t.jsx(et.Header, { ...e }), _v = (e) => Zt() ? /* @__PURE__ */ t.jsx(Rt.Warning, { ...e }) : /* @__PURE__ */ t.jsx(et.Warning, { ...e }), fv = (e) => Zt() ? /* @__PURE__ */ t.jsx(Rt.ErrorBar, { ...e }) : /* @__PURE__ */ t.jsx(et.ErrorBar, { ...e }), hv = (e) => Zt() ? /* @__PURE__ */ t.jsx(Rt.Information, { ...e }) : /* @__PURE__ */ t.jsx(et.Information, { ...e }), gv = ({
16288
16289
  overflowHidden: e,
16289
16290
  ...s
16290
- }) => Zt() ? /* @__PURE__ */ t.jsx(Rt.Container, { ...s }) : /* @__PURE__ */ t.jsx(Qe.Container, { overflowHidden: e, ...s });
16291
+ }) => Zt() ? /* @__PURE__ */ t.jsx(Rt.Container, { ...s }) : /* @__PURE__ */ t.jsx(et.Container, { overflowHidden: e, ...s });
16291
16292
  bt.LanguageChanger = lv;
16292
16293
  bt.ThemeChanger = dv;
16293
16294
  bt.ValidationError = uv;
@@ -16347,7 +16348,7 @@ const xv = ({
16347
16348
  ] });
16348
16349
  return /* @__PURE__ */ t.jsxs("div", { className: "deployment-history-diff-view", children: [
16349
16350
  !n && /* @__PURE__ */ t.jsxs("div", { className: "bcb-1 eb-2 pt-8 pb-8 br-4 flexbox pl-4 cn-9 fs-13 mt-16 mb-16 mr-20 ml-20", children: [
16350
- /* @__PURE__ */ t.jsx(ws, { className: "mr-8 ml-14 icon-dim-20" }),
16351
+ /* @__PURE__ */ t.jsx(qs, { className: "mr-8 ml-14 icon-dim-20" }),
16351
16352
  /* @__PURE__ */ t.jsxs("span", { className: "lh-20", children: [
16352
16353
  vt[o.replace("-", "_").toUpperCase()]?.DISPLAY_NAME,
16353
16354
  i ? ` “${i}”` : "",
@@ -16421,7 +16422,7 @@ const xv = ({
16421
16422
  className: "git-commit-info-generic__header px-16 py-12 dc__box-shadow fs-12 fw-6 dc__gap-4",
16422
16423
  style: r,
16423
16424
  children: [
16424
- /* @__PURE__ */ t.jsx(st, { name: Ev(s), size: 20, color: null }),
16425
+ /* @__PURE__ */ t.jsx(qe, { name: Ev(s), size: 20, color: null }),
16425
16426
  /* @__PURE__ */ t.jsxs("div", { className: "flex left left dc__gap-4 fs-13", children: [
16426
16427
  /* @__PURE__ */ t.jsx(
16427
16428
  "div",
@@ -16700,7 +16701,7 @@ const xv = ({
16700
16701
  const { isSuperAdmin: f } = nu();
16701
16702
  if (!s?.length || !Object.keys(e ?? {}).length)
16702
16703
  return /* @__PURE__ */ t.jsx(
16703
- Ze,
16704
+ Qe,
16704
16705
  {
16705
16706
  title: Ye.DATA_NOT_AVAILABLE,
16706
16707
  subTitle: Ye.DEVTRON_APP_DEPLOYMENT_HISTORY_SOURCE_CODE.SUBTITLE
@@ -17055,10 +17056,10 @@ const Sv = (e) => {
17055
17056
  setProps: a
17056
17057
  };
17057
17058
  }, []), /* @__PURE__ */ t.jsx(ou, { ignoreTags: ["button"], children: /* @__PURE__ */ t.jsx(Nd, { children: !!e && /* @__PURE__ */ t.jsx(jv, { ...n }) }) });
17058
- }, zs = (e) => {
17059
+ }, Ws = (e) => {
17059
17060
  const { setModalKey: s, settersRef: n } = Cm();
17060
17061
  return k(() => {
17061
- const a = Ws();
17062
+ const a = Ks();
17062
17063
  return s(a), () => {
17063
17064
  s((r) => r === a ? "" : r);
17064
17065
  };
@@ -17066,7 +17067,7 @@ const Sv = (e) => {
17066
17067
  n.current.setProps(e);
17067
17068
  }, [e]), null;
17068
17069
  }, Ov = ({ title: e, component: s, subtitle: n, closeConfirmationModal: a }) => /* @__PURE__ */ t.jsx(
17069
- zs,
17070
+ Ws,
17070
17071
  {
17071
17072
  variant: Yt.info,
17072
17073
  title: `Cannot delete ${s} '${e}'`,
@@ -17093,7 +17094,7 @@ const Sv = (e) => {
17093
17094
  /* @__PURE__ */ t.jsx("p", { className: "m-0", children: "Do you want to force delete?" })
17094
17095
  ] });
17095
17096
  return /* @__PURE__ */ t.jsx(
17096
- zs,
17097
+ Ws,
17097
17098
  {
17098
17099
  variant: Yt.delete,
17099
17100
  title: e,
@@ -17131,7 +17132,7 @@ const Sv = (e) => {
17131
17132
  const [E, x] = R(!1), [h, g] = R(!1), [f, N] = R(u), [C, A] = R(o), S = async (T) => {
17132
17133
  T && Ne(T), A(!0);
17133
17134
  try {
17134
- await i(), Ue.showToast({
17135
+ await i(), ke.showToast({
17135
17136
  variant: Se.success,
17136
17137
  description: p || "Successfully deleted"
17137
17138
  }), A(!1), l();
@@ -17157,7 +17158,7 @@ const Sv = (e) => {
17157
17158
  closeConfirmationModal: I
17158
17159
  }
17159
17160
  ), O = () => /* @__PURE__ */ t.jsx(
17160
- zs,
17161
+ Ws,
17161
17162
  {
17162
17163
  variant: Yt.delete,
17163
17164
  title: `Delete ${n} '${e}'`,
@@ -17215,7 +17216,7 @@ const Sv = (e) => {
17215
17216
  async function _() {
17216
17217
  r(!0);
17217
17218
  try {
17218
- await p(c.status), Ue.showToast({
17219
+ await p(c.status), ke.showToast({
17219
17220
  variant: Se.success,
17220
17221
  description: "Build Aborted"
17221
17222
  }), l({
@@ -17262,7 +17263,7 @@ const Sv = (e) => {
17262
17263
  ] })
17263
17264
  ] }),
17264
17265
  o && /* @__PURE__ */ t.jsx(
17265
- zs,
17266
+ Ws,
17266
17267
  {
17267
17268
  variant: Yt.warning,
17268
17269
  title: s === De.CD ? `Abort ${e.toLowerCase()}-deployment?` : "Abort build?",
@@ -17283,7 +17284,7 @@ const Sv = (e) => {
17283
17284
  }
17284
17285
  ),
17285
17286
  c.status && /* @__PURE__ */ t.jsxs(
17286
- zs,
17287
+ Ws,
17287
17288
  {
17288
17289
  variant: Yt.warning,
17289
17290
  title: "Could not abort build!",
@@ -17362,7 +17363,7 @@ const Sv = (e) => {
17362
17363
  /* @__PURE__ */ t.jsx(t.Fragment, { children: o && /* @__PURE__ */ t.jsx(Mi, { imagePath: o, placement: "top" }) })
17363
17364
  ) : Object.keys(r ?? {}).length > 0 && a?.map((p) => {
17364
17365
  const _ = r[p.id];
17365
- return _ ? /* @__PURE__ */ t.jsxs(Ys, { children: [
17366
+ return _ ? /* @__PURE__ */ t.jsxs(Hs, { children: [
17366
17367
  p.type !== "WEBHOOK" && _.Commit && /* @__PURE__ */ t.jsx(
17367
17368
  Bo,
17368
17369
  {
@@ -17382,9 +17383,9 @@ const Sv = (e) => {
17382
17383
  }),
17383
17384
  !m.includes("source-code") && /* @__PURE__ */ t.jsx(Os, { to: `${u}/source-code`, className: "anchor fs-13", "data-testid": "commit-details-link", children: "Commit details" })
17384
17385
  ] }) });
17385
- }, Bs = () => /* @__PURE__ */ t.jsx("div", { className: "flex flex-grow-1", children: /* @__PURE__ */ t.jsx("div", { className: "dc__border-left--n3 h-100" }) }), Sl = () => /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
17386
- /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(st, { size: 20, name: "ic-success", color: null }) }),
17387
- Bs()
17386
+ }, Us = () => /* @__PURE__ */ t.jsx("div", { className: "flex flex-grow-1", children: /* @__PURE__ */ t.jsx("div", { className: "dc__border-left--n3 h-100" }) }), Sl = () => /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
17387
+ /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(qe, { size: 20, name: "ic-success", color: null }) }),
17388
+ Us()
17388
17389
  ] }), Pv = ht(
17389
17390
  ({ status: e }) => /* @__PURE__ */ t.jsx("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t.jsx(
17390
17391
  "circle",
@@ -17449,17 +17450,17 @@ const Sv = (e) => {
17449
17450
  ] }),
17450
17451
  !!x && !!h && /* @__PURE__ */ t.jsxs("div", { className: "display-grid trigger-details__grid", children: [
17451
17452
  /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center", children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-4", children: [
17452
- Bs(),
17453
+ Us(),
17453
17454
  h(x, !0),
17454
- Bs()
17455
+ Us()
17455
17456
  ] }) }),
17456
17457
  h(x)
17457
17458
  ] }),
17458
17459
  _ && /* @__PURE__ */ t.jsxs("div", { className: "display-grid trigger-details__grid", children: [
17459
17460
  /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center", children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-4", children: [
17460
- Bs(),
17461
+ Us(),
17461
17462
  /* @__PURE__ */ t.jsx(U_, { className: "icon-dim-20 dc__no-shrink scn-9" }),
17462
- Bs()
17463
+ Us()
17463
17464
  ] }) }),
17464
17465
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8 py-8", children: [
17465
17466
  /* @__PURE__ */ t.jsx("span", { className: "cn-9 fs-13 fw-6 lh-20", children: "Env" }),
@@ -17469,7 +17470,7 @@ const Sv = (e) => {
17469
17470
  ] }),
17470
17471
  !!C?.executionStartedOn && /* @__PURE__ */ t.jsxs("div", { className: "display-grid trigger-details__grid", children: [
17471
17472
  /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center", children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-4", children: [
17472
- Bs(),
17473
+ Us(),
17473
17474
  Sl()
17474
17475
  ] }) }),
17475
17476
  /* @__PURE__ */ t.jsxs("div", { className: "w-100 pr-20 flexbox dc__gap-8 py-8", children: [
@@ -17479,7 +17480,7 @@ const Sv = (e) => {
17479
17480
  ] }),
17480
17481
  /* @__PURE__ */ t.jsxs("div", { className: "display-grid trigger-details__grid", children: [
17481
17482
  /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center", children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-4", children: [
17482
- Bs(),
17483
+ Us(),
17483
17484
  /* @__PURE__ */ t.jsx(
17484
17485
  Mv,
17485
17486
  {
@@ -17548,8 +17549,8 @@ const Sv = (e) => {
17548
17549
  appName: `${e.helmPackageName}.tgz`,
17549
17550
  workflowId: e.id
17550
17551
  }, L = `app/cd-pipeline/workflow/download/${b}/${j}/${O}/${T}`;
17551
- return /* @__PURE__ */ t.jsx("div", { className: "trigger-outputs-container flexbox-col flex-grow-1 h-100", children: s ? /* @__PURE__ */ t.jsx(Me, { pageLoader: !0 }) : /* @__PURE__ */ t.jsxs(Jl, { children: [
17552
- e.stage !== "DEPLOY" ? !e.IsVirtualEnvironment && /* @__PURE__ */ t.jsxs($s, { path: `${v}/logs`, children: [
17552
+ return /* @__PURE__ */ t.jsx("div", { className: "trigger-outputs-container flexbox-col flex-grow-1 h-100", children: s ? /* @__PURE__ */ t.jsx(Ue, { pageLoader: !0 }) : /* @__PURE__ */ t.jsxs(Jl, { children: [
17553
+ e.stage !== "DEPLOY" ? !e.IsVirtualEnvironment && /* @__PURE__ */ t.jsxs(Bs, { path: `${v}/logs`, children: [
17553
17554
  /* @__PURE__ */ t.jsx(
17554
17555
  ET,
17555
17556
  {
@@ -17567,7 +17568,7 @@ const Sv = (e) => {
17567
17568
  scrollToBottom: C
17568
17569
  }
17569
17570
  )
17570
- ] }) : /* @__PURE__ */ t.jsx($s, { path: `${v}/deployment-steps`, children: /* @__PURE__ */ t.jsx(
17571
+ ] }) : /* @__PURE__ */ t.jsx(Bs, { path: `${v}/deployment-steps`, children: /* @__PURE__ */ t.jsx(
17571
17572
  jT,
17572
17573
  {
17573
17574
  deploymentStatus: e.status,
@@ -17580,7 +17581,7 @@ const Sv = (e) => {
17580
17581
  renderDeploymentApprovalInfo: h
17581
17582
  }
17582
17583
  ) }),
17583
- /* @__PURE__ */ t.jsx($s, { path: `${v}/source-code`, children: /* @__PURE__ */ t.jsx(
17584
+ /* @__PURE__ */ t.jsx(Bs, { path: `${v}/source-code`, children: /* @__PURE__ */ t.jsx(
17584
17585
  Tv,
17585
17586
  {
17586
17587
  gitTriggers: e.gitTriggers,
@@ -17603,7 +17604,7 @@ const Sv = (e) => {
17603
17604
  targetPlatforms: I
17604
17605
  }
17605
17606
  ) }),
17606
- e.stage === "DEPLOY" && /* @__PURE__ */ t.jsx($s, { path: `${v}${Oe.DEPLOYMENT_HISTORY_CONFIGURATIONS}`, children: /* @__PURE__ */ t.jsx(
17607
+ e.stage === "DEPLOY" && /* @__PURE__ */ t.jsx(Bs, { path: `${v}${Oe.DEPLOYMENT_HISTORY_CONFIGURATIONS}`, children: /* @__PURE__ */ t.jsx(
17607
17608
  eS,
17608
17609
  {
17609
17610
  appName: S,
@@ -17616,7 +17617,7 @@ const Sv = (e) => {
17616
17617
  renderRunSource: E
17617
17618
  }
17618
17619
  ) }),
17619
- (e.stage !== "DEPLOY" || e.IsVirtualEnvironment) && /* @__PURE__ */ t.jsx($s, { path: `${v}/artifacts`, children: e.IsVirtualEnvironment && f ? f({
17620
+ (e.stage !== "DEPLOY" || e.IsVirtualEnvironment) && /* @__PURE__ */ t.jsx(Bs, { path: `${v}/artifacts`, children: e.IsVirtualEnvironment && f ? f({
17620
17621
  status: e.status,
17621
17622
  title: e.helmPackageName,
17622
17623
  params: { ...w, appId: Number(b), envId: Number(j) }
@@ -17726,8 +17727,8 @@ const Sv = (e) => {
17726
17727
  X(+v, F, Ie);
17727
17728
  }, [Q, de, Ie]);
17728
17729
  const H = te(() => !T || _b.has(T.podStatus?.toLowerCase() || T.status?.toLowerCase()) ? null : fb.has(T.status?.toLowerCase() || T.podStatus?.toLowerCase()) ? 1e4 : 3e4, [T]);
17729
- return km(B, H), !q && j && !T || !v || q && (Q || j) && !T ? /* @__PURE__ */ t.jsx(Me, { pageLoader: !0 }) : L?.code === 404 ? /* @__PURE__ */ t.jsx(
17730
- Ze,
17730
+ return km(B, H), !q && j && !T || !v || q && (Q || j) && !T ? /* @__PURE__ */ t.jsx(Ue, { pageLoader: !0 }) : L?.code === 404 ? /* @__PURE__ */ t.jsx(
17731
+ Qe,
17731
17732
  {
17732
17733
  title: Ye.TRIGGER_NOT_FOUND.TITLE,
17733
17734
  subTitle: Ye.TRIGGER_NOT_FOUND.SUBTITLE
@@ -17953,7 +17954,7 @@ const Sv = (e) => {
17953
17954
  MONTH: "Select month",
17954
17955
  DEFAULT_TIME: "12:00 AM",
17955
17956
  DEFAULT_MONTHLY_DATE: "Day 1"
17956
- }, Hs = {
17957
+ }, Gs = {
17957
17958
  DATE: "date_picker",
17958
17959
  MONTH: "month_picker",
17959
17960
  TIME: "time_picker"
@@ -18079,11 +18080,11 @@ const Sv = (e) => {
18079
18080
  }, SD = ({
18080
18081
  selectedMonthlyDate: e,
18081
18082
  onChange: s,
18082
- dataTestId: n = Hs.MONTH
18083
+ dataTestId: n = Gs.MONTH
18083
18084
  }) => /* @__PURE__ */ t.jsx("div", { className: "dc__no-shrink", children: /* @__PURE__ */ t.jsx(
18084
18085
  Xt,
18085
18086
  {
18086
- inputId: Hs.MONTH,
18087
+ inputId: Gs.MONTH,
18087
18088
  placeholder: "Day 1",
18088
18089
  options: Yv,
18089
18090
  isSearchable: !1,
@@ -18100,7 +18101,7 @@ const Sv = (e) => {
18100
18101
  }) => /* @__PURE__ */ t.jsx(
18101
18102
  Xt,
18102
18103
  {
18103
- inputId: Hs.TIME,
18104
+ inputId: Gs.TIME,
18104
18105
  placeholder: "12:00 AM",
18105
18106
  options: Pa,
18106
18107
  isSearchable: !1,
@@ -18109,7 +18110,7 @@ const Sv = (e) => {
18109
18110
  value: r,
18110
18111
  icon: /* @__PURE__ */ t.jsx(Zo, { className: "icon-dim-20 fcn-6" }),
18111
18112
  onChange: s,
18112
- "data-testid": Hs.TIME,
18113
+ "data-testid": Gs.TIME,
18113
18114
  size: P.large,
18114
18115
  error: a
18115
18116
  }
@@ -18124,8 +18125,8 @@ const Sv = (e) => {
18124
18125
  hideTimeSelect: c = !1,
18125
18126
  readOnly: l = !1,
18126
18127
  isTodayBlocked: d = !1,
18127
- dataTestIdForTime: u = Hs.TIME,
18128
- dataTestidForDate: m = Hs.DATE,
18128
+ dataTestIdForTime: u = Gs.TIME,
18129
+ dataTestidForDate: m = Gs.DATE,
18129
18130
  openDirection: p = "down",
18130
18131
  error: _ = ""
18131
18132
  }) => {
@@ -18167,7 +18168,7 @@ const Sv = (e) => {
18167
18168
  !c && /* @__PURE__ */ t.jsx("div", { className: "dc__no-shrink", children: /* @__PURE__ */ t.jsx(
18168
18169
  Xt,
18169
18170
  {
18170
- inputId: Hs.TIME,
18171
+ inputId: Gs.TIME,
18171
18172
  placeholder: Gv.DEFAULT_TIME,
18172
18173
  options: Pa,
18173
18174
  icon: /* @__PURE__ */ t.jsx(Zo, { className: "icon-dim-20 fcn-6" }),
@@ -18334,7 +18335,7 @@ const Sv = (e) => {
18334
18335
  }
18335
18336
  )
18336
18337
  ] }) : /* @__PURE__ */ t.jsx(
18337
- Ze,
18338
+ Qe,
18338
18339
  {
18339
18340
  title: "Data not available",
18340
18341
  subTitle: "The data you are looking for is not available",
@@ -18531,7 +18532,7 @@ const RD = {
18531
18532
  appId: n,
18532
18533
  size: 20,
18533
18534
  tag: s
18534
- }, { result: i } = await ue(Xe(G.PLUGIN_GLOBAL_LIST_V2, o), {
18535
+ }, { result: i } = await ue(Je(G.PLUGIN_GLOBAL_LIST_V2, o), {
18535
18536
  signal: r
18536
18537
  }), c = Sm(i?.parentPlugins);
18537
18538
  return {
@@ -18546,7 +18547,7 @@ const RD = {
18546
18547
  try {
18547
18548
  const s = {
18548
18549
  appId: e
18549
- }, { result: n } = await ue(Xe(G.PLUGIN_GLOBAL_LIST_TAGS, s));
18550
+ }, { result: n } = await ue(Je(G.PLUGIN_GLOBAL_LIST_TAGS, s));
18550
18551
  if (!n?.tagNames)
18551
18552
  return [];
18552
18553
  const a = new Set(n.tagNames);
@@ -18555,7 +18556,7 @@ const RD = {
18555
18556
  throw Be(s), s;
18556
18557
  }
18557
18558
  }, OD = async (e) => {
18558
- const s = await ue(Xe(G.PLUGIN_LIST_MIN, e));
18559
+ const s = await ue(Je(G.PLUGIN_LIST_MIN, e));
18559
18560
  return {
18560
18561
  ...s,
18561
18562
  result: (s?.result ?? []).sort((n, a) => at(n.name, a.name))
@@ -18628,7 +18629,7 @@ const RD = {
18628
18629
  onKeyDown: E,
18629
18630
  children: [
18630
18631
  e && /* @__PURE__ */ t.jsx("div", { className: `dc__no-shrink icon-dim-40 p-8 ${r ? "" : "dc__visible-hover--child"}`, children: /* @__PURE__ */ t.jsx(
18631
- Ds,
18632
+ ws,
18632
18633
  {
18633
18634
  isChecked: r,
18634
18635
  onChange: E,
@@ -18751,7 +18752,7 @@ const RD = {
18751
18752
  )),
18752
18753
  _ && /* @__PURE__ */ t.jsx(Am, {}),
18753
18754
  n > s.length && !_ && /* @__PURE__ */ t.jsx(zu, { callback: g, hasError: x })
18754
- ] }) : o || r.length ? /* @__PURE__ */ t.jsx($I, { handleClearFilters: d, imageType: Xs.Large }) : /* @__PURE__ */ t.jsx(Ze, { title: "No plugins found", subTitle: "We are unable to locate any plugin in our system" });
18755
+ ] }) : o || r.length ? /* @__PURE__ */ t.jsx($I, { handleClearFilters: d, imageType: Xs.Large }) : /* @__PURE__ */ t.jsx(Qe, { title: "No plugins found", subTitle: "We are unable to locate any plugin in our system" });
18755
18756
  }, LD = ({
18756
18757
  availableTags: e,
18757
18758
  handleUpdateAvailableTags: s,
@@ -19129,7 +19130,7 @@ const RD = {
19129
19130
  {
19130
19131
  className: `key-value-table w-100 bcn-1 dc__bottom-radius-4 ${l ? "two-columns" : "three-columns"}`,
19131
19132
  children: N.map((D) => /* @__PURE__ */ t.jsxs("div", { className: "key-value-table__row", children: [
19132
- x.map(({ key: M }) => /* @__PURE__ */ t.jsx(Ys, { children: /* @__PURE__ */ t.jsx(mt, { wrap: mA, condition: l, children: /* @__PURE__ */ t.jsx(
19133
+ x.map(({ key: M }) => /* @__PURE__ */ t.jsx(Hs, { children: /* @__PURE__ */ t.jsx(mt, { wrap: mA, condition: l, children: /* @__PURE__ */ t.jsx(
19133
19134
  "div",
19134
19135
  {
19135
19136
  className: `key-value-table__cell bg__primary flexbox dc__align-items-center dc__gap-4 dc__position-rel ${l || D.data[M].disabled ? "cursor-not-allowed no-hover" : ""} ${d && !V(D.data[M].value, M, D.id) ? "key-value-table__cell--error no-hover" : ""}`,
@@ -19355,14 +19356,14 @@ const RD = {
19355
19356
  x(""), n(lu(b, !1).message);
19356
19357
  }, S = async () => {
19357
19358
  if (!a) {
19358
- x(Al), Ue.showToast({
19359
+ x(Al), ke.showToast({
19359
19360
  variant: Se.error,
19360
19361
  description: Al
19361
19362
  });
19362
19363
  return;
19363
19364
  }
19364
19365
  if (s) {
19365
- Ue.showToast({
19366
+ ke.showToast({
19366
19367
  variant: Se.error,
19367
19368
  description: s
19368
19369
  });
@@ -20179,7 +20180,7 @@ const wA = (e) => {
20179
20180
  gridTemplateColumns: x
20180
20181
  },
20181
20182
  children: e.map((T) => /* @__PURE__ */ t.jsxs("div", { className: "dynamic-data-table__row", children: [
20182
- s.map(({ key: j }, w) => /* @__PURE__ */ t.jsx(Ys, { children: O(T, j, w) }, j)),
20183
+ s.map(({ key: j }, w) => /* @__PURE__ */ t.jsx(Hs, { children: O(T, j, w) }, j)),
20183
20184
  !a && !n && /* @__PURE__ */ t.jsx("div", { className: "dynamic-data-table__row-delete-btn bg__primary", children: /* @__PURE__ */ t.jsx(
20184
20185
  re,
20185
20186
  {
@@ -20756,7 +20757,7 @@ const wA = (e) => {
20756
20757
  fallbackMergeStrategy: o,
20757
20758
  displayKeys: l
20758
20759
  });
20759
- return r ? /* @__PURE__ */ t.jsx(Me, { fullHeight: !0, pageLoader: !0 }) : /* @__PURE__ */ t.jsxs(
20760
+ return r ? /* @__PURE__ */ t.jsx(Ue, { fullHeight: !0, pageLoader: !0 }) : /* @__PURE__ */ t.jsxs(
20760
20761
  "div",
20761
20762
  {
20762
20763
  className: c || `bg__primary flexbox-col dc__gap-12 dc__overflow-auto ${i ? "" : "p-16"}`,
@@ -21157,7 +21158,7 @@ const wA = (e) => {
21157
21158
  },
21158
21159
  N.variableName
21159
21160
  )) : /* @__PURE__ */ t.jsx(
21160
- Ze,
21161
+ Qe,
21161
21162
  {
21162
21163
  title: "No matching variable found",
21163
21164
  isButtonAvailable: !0,
@@ -21167,8 +21168,8 @@ const wA = (e) => {
21167
21168
  }
21168
21169
  ) }),
21169
21170
  /* @__PURE__ */ t.jsx(Rl, {})
21170
- ] }), f = () => s ? /* @__PURE__ */ t.jsx("div", { className: "flexbox-col dc__align-self-stretch dc__overflow-auto bg__primary flex-grow-1 h-250", children: /* @__PURE__ */ t.jsx(Me, { pageLoader: !0, size: 32 }) }) : n?.length === 0 ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
21171
- /* @__PURE__ */ t.jsx("div", { className: "flexbox-col dc__align-self-stretch dc__overflow-auto flex-grow-1 h-250", children: /* @__PURE__ */ t.jsx(Ze, { title: "No variables found", image: xd }) }),
21171
+ ] }), f = () => s ? /* @__PURE__ */ t.jsx("div", { className: "flexbox-col dc__align-self-stretch dc__overflow-auto bg__primary flex-grow-1 h-250", children: /* @__PURE__ */ t.jsx(Ue, { pageLoader: !0, size: 32 }) }) : n?.length === 0 ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
21172
+ /* @__PURE__ */ t.jsx("div", { className: "flexbox-col dc__align-self-stretch dc__overflow-auto flex-grow-1 h-250", children: /* @__PURE__ */ t.jsx(Qe, { title: "No variables found", image: xd }) }),
21172
21173
  /* @__PURE__ */ t.jsx(Rl, {})
21173
21174
  ] }) : p ? g() : /* @__PURE__ */ t.jsx(Jn, { reload: a, className: "bg__primary pb-16" });
21174
21175
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
@@ -21387,7 +21388,7 @@ class Ll {
21387
21388
  fa(this, dn, !1);
21388
21389
  fa(this, un, !1);
21389
21390
  me(this, "updateStatus", (s, n) => {
21390
- n.status === "Completed" && !Ps(this, un) && ha(this, un, !0), n.status === "Failed" && !Ps(this, dn) && ha(this, dn, !0), n.status === "Failed" && n.retryOperation && this.retryOperationsSet.has(s) && (this.retryOperations.push(n.retryOperation), this.retryOperationsSet.add(s)), n.status !== "Progressing" && (this.barChartEntities[n.status] ? this.barChartEntities[n.status] += 1 : this.barChartEntities[n.status] = 1), this.barChartEntities.Pending = this.size - (this.barChartEntities.Failed ?? 0) - (this.barChartEntities.Completed ?? 0), this.barChartEntities.Pending <= 0 && delete this.barChartEntities.Pending;
21391
+ n.status === "Completed" && !Ds(this, un) && ha(this, un, !0), n.status === "Failed" && !Ds(this, dn) && ha(this, dn, !0), n.status === "Failed" && n.retryOperation && this.retryOperationsSet.has(s) && (this.retryOperations.push(n.retryOperation), this.retryOperationsSet.add(s)), n.status !== "Progressing" && (this.barChartEntities[n.status] ? this.barChartEntities[n.status] += 1 : this.barChartEntities[n.status] = 1), this.barChartEntities.Pending = this.size - (this.barChartEntities.Failed ?? 0) - (this.barChartEntities.Completed ?? 0), this.barChartEntities.Pending <= 0 && delete this.barChartEntities.Pending;
21391
21392
  });
21392
21393
  me(this, "addResult", (s) => {
21393
21394
  const n = structuredClone(s), a = this.results.length, r = { ...n, id: a };
@@ -21408,8 +21409,8 @@ class Ll {
21408
21409
  this.map.set(s, r), this.results[s] = r, n.status === "Failed" && n.retryOperation && this.retryOperations.push(n.retryOperation), this.updateStatus(s, r);
21409
21410
  });
21410
21411
  me(this, "getRetryOperations", () => this.retryOperations);
21411
- me(this, "hasAnyOperationFailed", () => Ps(this, dn));
21412
- me(this, "getHasAnyOperationSucceeded", () => Ps(this, un));
21412
+ me(this, "hasAnyOperationFailed", () => Ds(this, dn));
21413
+ me(this, "getHasAnyOperationSucceeded", () => Ds(this, un));
21413
21414
  this.size = s, this.barChartEntities.Pending = s;
21414
21415
  }
21415
21416
  }
@@ -21666,7 +21667,7 @@ const mI = ({
21666
21667
  }), v();
21667
21668
  }
21668
21669
  });
21669
- await lI(b, !0), Ue.showToast({
21670
+ await lI(b, !0), ke.showToast({
21670
21671
  variant: Se.info,
21671
21672
  description: "Action completed"
21672
21673
  }), r && g();
@@ -21684,7 +21685,7 @@ const mI = ({
21684
21685
  }, A = () => {
21685
21686
  x.current.abort();
21686
21687
  }, S = () => /* @__PURE__ */ t.jsx(
21687
- zs,
21688
+ Ws,
21688
21689
  {
21689
21690
  ...c,
21690
21691
  handleClose: g,
@@ -21761,7 +21762,7 @@ const mI = ({
21761
21762
  DEFAULT: "Build Container Image",
21762
21763
  RECIEVE: "Receive Container Image",
21763
21764
  JOB: "Create job pipeline"
21764
- }, ke = {
21765
+ }, Me = {
21765
21766
  SOURCE_CODE: {
21766
21767
  title: "Build and Deploy from Source Code",
21767
21768
  subtitle: "Build container image from a Git repo and deploy to an environment.",
@@ -21784,7 +21785,7 @@ const mI = ({
21784
21785
  image: Pf,
21785
21786
  alt: "External-CI",
21786
21787
  dataTestId: "deploy-image-external-service-link",
21787
- type: Gs.WEBHOOK
21788
+ type: Vs.WEBHOOK
21788
21789
  },
21789
21790
  JOB: {
21790
21791
  title: "Create a Job",
@@ -21807,7 +21808,7 @@ const mI = ({
21807
21808
  appWorkflowId: e.appWorkflowId,
21808
21809
  environmentId: -1,
21809
21810
  id: 0,
21810
- parentPipelineType: Gs.WEBHOOK,
21811
+ parentPipelineType: Vs.WEBHOOK,
21811
21812
  switchFromCiPipelineId: e.switchFromCiPipelineId
21812
21813
  }
21813
21814
  ]
@@ -21833,7 +21834,7 @@ const mI = ({
21833
21834
  if (o && i) {
21834
21835
  const N = i.find((S) => +S.id === o?.appWorkflowId);
21835
21836
  if (!N) {
21836
- x(), Ue.showToast({
21837
+ x(), ke.showToast({
21837
21838
  variant: Se.error,
21838
21839
  description: wl.WORKFLOW_NOT_AVAILABLE
21839
21840
  });
@@ -21866,7 +21867,7 @@ const mI = ({
21866
21867
  const h = () => {
21867
21868
  if (o && i.find((A) => +A.id === o.appWorkflowId).nodes.some((A) => A.type === Es.CD)) {
21868
21869
  E(!0), BN(hI(o)).then((A) => {
21869
- A.result && (Ue.showToast({
21870
+ A.result && (ke.showToast({
21870
21871
  variant: Se.success,
21871
21872
  description: wl.SUCCESS_CHANGE_TO_WEBHOOK
21872
21873
  }), c(), x());
@@ -21881,7 +21882,7 @@ const mI = ({
21881
21882
  return;
21882
21883
  N.stopPropagation();
21883
21884
  const { pipelineType: C } = N.currentTarget.dataset;
21884
- if (C === Gs.WEBHOOK) {
21885
+ if (C === Vs.WEBHOOK) {
21885
21886
  h();
21886
21887
  return;
21887
21888
  }
@@ -21923,12 +21924,12 @@ const mI = ({
21923
21924
  /* @__PURE__ */ t.jsx(
21924
21925
  Rn,
21925
21926
  {
21926
- title: ke.SOURCE_CODE.title,
21927
- subtitle: ke.SOURCE_CODE.subtitle,
21928
- image: ke.SOURCE_CODE.image,
21929
- alt: ke.SOURCE_CODE.alt,
21930
- dataTestId: ke.SOURCE_CODE.dataTestId,
21931
- type: ke.SOURCE_CODE.type,
21927
+ title: Me.SOURCE_CODE.title,
21928
+ subtitle: Me.SOURCE_CODE.subtitle,
21929
+ image: Me.SOURCE_CODE.image,
21930
+ alt: Me.SOURCE_CODE.alt,
21931
+ dataTestId: Me.SOURCE_CODE.dataTestId,
21932
+ type: Me.SOURCE_CODE.type,
21932
21933
  handleCardAction: g,
21933
21934
  disableInfo: f(Ct.CI)
21934
21935
  }
@@ -21936,12 +21937,12 @@ const mI = ({
21936
21937
  /* @__PURE__ */ t.jsx(
21937
21938
  Rn,
21938
21939
  {
21939
- title: ke.LINKED_PIPELINE.title,
21940
- subtitle: ke.LINKED_PIPELINE.subtitle,
21941
- image: ke.LINKED_PIPELINE.image,
21942
- alt: ke.LINKED_PIPELINE.alt,
21943
- dataTestId: ke.LINKED_PIPELINE.dataTestId,
21944
- type: ke.LINKED_PIPELINE.type,
21940
+ title: Me.LINKED_PIPELINE.title,
21941
+ subtitle: Me.LINKED_PIPELINE.subtitle,
21942
+ image: Me.LINKED_PIPELINE.image,
21943
+ alt: Me.LINKED_PIPELINE.alt,
21944
+ dataTestId: Me.LINKED_PIPELINE.dataTestId,
21945
+ type: Me.LINKED_PIPELINE.type,
21945
21946
  handleCardAction: g,
21946
21947
  disableInfo: f(Ct.LINKED_CI),
21947
21948
  isDisabled: u
@@ -21953,12 +21954,12 @@ const mI = ({
21953
21954
  /* @__PURE__ */ t.jsx(
21954
21955
  Rn,
21955
21956
  {
21956
- title: ke.EXTERNAL_SERVICE.title,
21957
- subtitle: ke.EXTERNAL_SERVICE.subtitle,
21958
- image: ke.EXTERNAL_SERVICE.image,
21959
- alt: ke.EXTERNAL_SERVICE.alt,
21960
- dataTestId: ke.EXTERNAL_SERVICE.dataTestId,
21961
- type: ke.EXTERNAL_SERVICE.type,
21957
+ title: Me.EXTERNAL_SERVICE.title,
21958
+ subtitle: Me.EXTERNAL_SERVICE.subtitle,
21959
+ image: Me.EXTERNAL_SERVICE.image,
21960
+ alt: Me.EXTERNAL_SERVICE.alt,
21961
+ dataTestId: Me.EXTERNAL_SERVICE.dataTestId,
21962
+ type: Me.EXTERNAL_SERVICE.type,
21962
21963
  handleCardAction: g,
21963
21964
  disableInfo: f(Es.WEBHOOK),
21964
21965
  isDisabled: u
@@ -21983,12 +21984,12 @@ const mI = ({
21983
21984
  /* @__PURE__ */ t.jsx(
21984
21985
  Rn,
21985
21986
  {
21986
- title: ke.JOB.title,
21987
- subtitle: ke.JOB.subtitle,
21988
- image: ke.JOB.image,
21989
- alt: ke.JOB.alt,
21990
- dataTestId: ke.JOB.dataTestId,
21991
- type: ke.JOB.type,
21987
+ title: Me.JOB.title,
21988
+ subtitle: Me.JOB.subtitle,
21989
+ image: Me.JOB.image,
21990
+ alt: Me.JOB.alt,
21991
+ dataTestId: Me.JOB.dataTestId,
21992
+ type: Me.JOB.type,
21992
21993
  handleCardAction: g,
21993
21994
  disableInfo: f(Ct.JOB_CI),
21994
21995
  isDisabled: u
@@ -22047,7 +22048,7 @@ const mI = ({
22047
22048
  /* @__PURE__ */ t.jsx(xn, { className: "icon-dim-20 dc__no-shrink" }),
22048
22049
  /* @__PURE__ */ t.jsx("span", { className: "cn-9 fs-13 fw-4 lh-20", children: "Unsaved changes" })
22049
22050
  ] }), zD = ({ handleClose: e, handleProceed: s }) => /* @__PURE__ */ t.jsx(
22050
- zs,
22051
+ Ws,
22051
22052
  {
22052
22053
  handleClose: e,
22053
22054
  variant: Yt.warning,
@@ -22072,18 +22073,20 @@ const mI = ({
22072
22073
  [pt.BITBUCKET]: "ic-bitbucket",
22073
22074
  [pt.GITEA]: "ic-git",
22074
22075
  [pt.AZURE]: "ic-azure"
22075
- }, qD = ({ gitProvider: e, size: s = 20 }) => /* @__PURE__ */ t.jsx(st, { name: gI[e] || "ic-git", size: s, color: null }), xI = {
22076
+ }, qD = ({ gitProvider: e, size: s = 20 }) => /* @__PURE__ */ t.jsx(qe, { name: gI[e] || "ic-git", size: s, color: null }), xI = {
22076
22077
  error: "bcr-1 er-2",
22077
22078
  help: "bcv-1 ev-2",
22078
22079
  information: "bcb-1 eb-2",
22079
22080
  success: "bcg-1 eg-2",
22080
- warning: "bcy-1 ey-2"
22081
+ warning: "bcy-1 ey-2",
22082
+ neutral: "bcn-1 en-2"
22081
22083
  }, EI = {
22082
22084
  error: /* @__PURE__ */ t.jsx(Nr, {}),
22083
22085
  help: /* @__PURE__ */ t.jsx(gn, { className: "fcv-5" }),
22084
- information: /* @__PURE__ */ t.jsx(ws, {}),
22086
+ information: /* @__PURE__ */ t.jsx(qe, { name: "ic-info-filled", color: "B500" }),
22085
22087
  success: /* @__PURE__ */ t.jsx(ai, {}),
22086
- warning: /* @__PURE__ */ t.jsx(xn, {})
22088
+ warning: /* @__PURE__ */ t.jsx(xn, {}),
22089
+ neutral: /* @__PURE__ */ t.jsx(qe, { name: "ic-info-filled", color: null })
22087
22090
  }, NI = {
22088
22091
  [P.large]: "px-12",
22089
22092
  [P.medium]: "px-8"
@@ -22144,21 +22147,21 @@ const mI = ({
22144
22147
  [fs.microsoft]: "ic-microsoft",
22145
22148
  [fs.oidc]: "ic-oidc",
22146
22149
  [fs.openshift]: "ic-openshift"
22147
- }, JD = ({ provider: e, size: s = 20 }) => /* @__PURE__ */ t.jsx(st, { name: bI[e], size: s, color: null });
22150
+ }, JD = ({ provider: e, size: s = 20 }) => /* @__PURE__ */ t.jsx(qe, { name: bI[e], size: s, color: null });
22148
22151
  function Be(e, s = !0, n = !1) {
22149
22152
  e instanceof Pt && Array.isArray(e.errors) ? e.errors.map(({ userMessage: a, internalMessage: r }) => {
22150
22153
  const o = a?.toLowerCase();
22151
- e.code === 403 && (o === Ke.UNAUTHORIZED.toLowerCase() || o === Ke.FORBIDDEN.toLowerCase()) ? n || Ue.showToast({
22154
+ e.code === 403 && (o === Ke.UNAUTHORIZED.toLowerCase() || o === Ke.FORBIDDEN.toLowerCase()) ? n || ke.showToast({
22152
22155
  variant: Se.notAuthorized,
22153
22156
  description: pg.SUBTITLE
22154
- }) : Ue.showToast({
22157
+ }) : ke.showToast({
22155
22158
  variant: Se.error,
22156
22159
  description: a || r
22157
22160
  });
22158
- }) : (e.code !== 403 && e.code !== 408 && !qt(e) && ql(e), s && (e.message ? Ue.showToast({
22161
+ }) : (e.code !== 403 && e.code !== 408 && !qt(e) && ql(e), s && (e.message ? ke.showToast({
22159
22162
  variant: Se.error,
22160
22163
  description: e.message
22161
- }) : Ue.showToast({
22164
+ }) : ke.showToast({
22162
22165
  variant: Se.error,
22163
22166
  description: "Some Error Occurred"
22164
22167
  })));
@@ -22320,7 +22323,7 @@ function wm(e) {
22320
22323
  window.isSecureContext && navigator.clipboard ? navigator.clipboard.writeText(e).then(() => {
22321
22324
  s();
22322
22325
  }).catch(() => {
22323
- Ue.showToast({
22326
+ ke.showToast({
22324
22327
  variant: Se.error,
22325
22328
  description: "Failed to copy to clipboard"
22326
22329
  }), n();
@@ -22376,7 +22379,7 @@ function Kt(e, s = [], n = !0, a = { resetOnChange: !0 }) {
22376
22379
  };
22377
22380
  return [r.loading, r.result, r.error, l, d, r.dependencies];
22378
22381
  }
22379
- const aP = (e, s) => e ? mr(e, !0) : s ? "" : "Not deployed", Xe = (e, s = {}) => {
22382
+ const aP = (e, s) => e ? mr(e, !0) : s ? "" : "Not deployed", Je = (e, s = {}) => {
22380
22383
  const n = new URLSearchParams();
22381
22384
  Object.keys(s).forEach((r) => {
22382
22385
  Ld.includes(s[r]) || (Array.isArray(s[r]) ? s[r].forEach((o) => {
@@ -22627,7 +22630,7 @@ function Jn({ reload: e, className: s = "", heightToDeduct: n = 0 }) {
22627
22630
  );
22628
22631
  }
22629
22632
  const DI = ({ subtitle: e, title: s }) => /* @__PURE__ */ t.jsx(
22630
- Ze,
22633
+ Qe,
22631
22634
  {
22632
22635
  image: go,
22633
22636
  title: s ?? Ke.NOT_AUTHORIZED,
@@ -22886,7 +22889,7 @@ class yP extends fr {
22886
22889
  }
22887
22890
  class RP extends fr {
22888
22891
  render() {
22889
- return /* @__PURE__ */ t.jsx(Ho.Consumer, { children: (s) => /* @__PURE__ */ t.jsx("button", { type: "submit", className: "cta dc__align-right", tabIndex: this.props.tabIndex, children: s.isLoading ? /* @__PURE__ */ t.jsx(Me, {}) : this.props.children }) });
22892
+ return /* @__PURE__ */ t.jsx(Ho.Consumer, { children: (s) => /* @__PURE__ */ t.jsx("button", { type: "submit", className: "cta dc__align-right", tabIndex: this.props.tabIndex, children: s.isLoading ? /* @__PURE__ */ t.jsx(Ue, {}) : this.props.children }) });
22890
22893
  }
22891
22894
  }
22892
22895
  const $i = ({
@@ -22985,7 +22988,7 @@ const $i = ({
22985
22988
  }
22986
22989
  );
22987
22990
  return /* @__PURE__ */ t.jsx(
22988
- Ze,
22991
+ Qe,
22989
22992
  {
22990
22993
  image: mf,
22991
22994
  title: "No results",
@@ -23182,28 +23185,28 @@ const Wm = ({
23182
23185
  ...Ae[W],
23183
23186
  deleted: !Ae[W].deleted
23184
23187
  };
23185
- const _e = Ae[W], Ge = [...L], et = Ge.findIndex((Ot) => Ot.tagName === _e.tagName);
23186
- et !== -1 ? Ge.splice(et, 1) : Ge.push(_e), b(Ae), B(Ge);
23188
+ const _e = Ae[W], Ge = [...L], tt = Ge.findIndex((Ot) => Ot.tagName === _e.tagName);
23189
+ tt !== -1 ? Ge.splice(tt, 1) : Ge.push(_e), b(Ae), B(Ge);
23187
23190
  }, oe = (W) => {
23188
23191
  const Ae = v[W], _e = j.filter((Ot) => Ot.tagName !== Ae.tagName);
23189
23192
  w(_e);
23190
23193
  const Ge = [...v];
23191
23194
  Ge.splice(W, 1), b(Ge);
23192
- const et = g.filter((Ot) => Ot.toLowerCase() !== Ae.tagName.toLowerCase());
23193
- if (f(et), Ae.id !== 0) {
23195
+ const tt = g.filter((Ot) => Ot.toLowerCase() !== Ae.tagName.toLowerCase());
23196
+ if (f(tt), Ae.id !== 0) {
23194
23197
  const Ot = [...V, Ae];
23195
23198
  X(Ot);
23196
23199
  }
23197
23200
  }, ve = (W) => {
23198
23201
  W.forEach(({ userMessage: Ae }) => {
23199
- const _e = j.map((et) => Ae?.appReleaseTags?.includes(et.tagName) ? {
23200
- ...et,
23202
+ const _e = j.map((tt) => Ae?.appReleaseTags?.includes(tt.tagName) ? {
23203
+ ...tt,
23201
23204
  duplicateTag: !0
23202
- } : et);
23205
+ } : tt);
23203
23206
  w(_e);
23204
- const Ge = v.map((et) => {
23205
- const Ot = _e.find(($r) => $r.tagName === et.tagName);
23206
- return Ot ? { ...et, duplicateTag: Ot.duplicateTag } : et;
23207
+ const Ge = v.map((tt) => {
23208
+ const Ot = _e.find(($r) => $r.tagName === tt.tagName);
23209
+ return Ot ? { ...tt, duplicateTag: Ot.duplicateTag } : tt;
23207
23210
  });
23208
23211
  b(Ge);
23209
23212
  });
@@ -23220,16 +23223,16 @@ const Wm = ({
23220
23223
  hardDeleteTags: V
23221
23224
  };
23222
23225
  F(!0), iE(Ae, e ?? 0, s).then((_e) => {
23223
- const Ge = _e.result?.imageReleaseTags?.map((et) => ({
23224
- id: et.id,
23225
- tagName: et.tagName,
23226
- deleted: et.deleted,
23226
+ const Ge = _e.result?.imageReleaseTags?.map((tt) => ({
23227
+ id: tt.id,
23228
+ tagName: tt.tagName,
23229
+ deleted: tt.deleted,
23227
23230
  appId: 0,
23228
23231
  artifactId: 0
23229
23232
  }));
23230
23233
  i && i(_e.result?.appReleaseTags), l && l(_e.result?.tagsEditable), E(Ge), h(_e.result?.imageComment?.comment), b(Ge), C(_e.result?.imageComment?.comment), w([]), B([]), X([]), le(), I(!1), T(""), r && r(s, Ge, _e.result?.imageComment);
23231
23234
  }).catch((_e) => {
23232
- _e.errors?.[0]?.userMessage?.appReleaseTags?.length ? (Ue.showToast({
23235
+ _e.errors?.[0]?.userMessage?.appReleaseTags?.length ? (ke.showToast({
23233
23236
  variant: Se.error,
23234
23237
  description: _e.errors?.[0]?.internalMessage
23235
23238
  }), ve(_e.errors)) : Be(_e);
@@ -23325,7 +23328,7 @@ const Wm = ({
23325
23328
  W.id
23326
23329
  )) }),
23327
23330
  y && /* @__PURE__ */ t.jsxs("div", { className: "cn-7 mb-8 flex left", children: [
23328
- /* @__PURE__ */ t.jsx(ws, { className: "icon-dim-16 mr-2" }),
23331
+ /* @__PURE__ */ t.jsx(qs, { className: "icon-dim-16 mr-2" }),
23329
23332
  "Tags cannot be edited/removed later"
23330
23333
  ] }),
23331
23334
  /* @__PURE__ */ t.jsx("div", { className: "mt-12", children: /* @__PURE__ */ t.jsx(
@@ -23362,7 +23365,7 @@ const Wm = ({
23362
23365
  Ne(W), Br();
23363
23366
  },
23364
23367
  disabled: H,
23365
- children: H ? /* @__PURE__ */ t.jsx(Me, {}) : "Save"
23368
+ children: H ? /* @__PURE__ */ t.jsx(Ue, {}) : "Save"
23366
23369
  }
23367
23370
  )
23368
23371
  ] })
@@ -23670,7 +23673,7 @@ function wP({
23670
23673
  }
23671
23674
  ) : null;
23672
23675
  }
23673
- const qI = ({ startNode: e }) => e.type === Es.WEBHOOK ? Gs.WEBHOOK : e.type === Es.CI ? Gs.CI_PIPELINE : Gs.CD_PIPELINE, DP = ({
23676
+ const qI = ({ startNode: e }) => e.type === Es.WEBHOOK ? Vs.WEBHOOK : e.type === Es.CI ? Vs.CI_PIPELINE : Vs.CD_PIPELINE, DP = ({
23674
23677
  position: e,
23675
23678
  handleCDSelect: s,
23676
23679
  startNode: n,
@@ -23909,7 +23912,7 @@ const Fl = 5, XI = [
23909
23912
  )
23910
23913
  ] })
23911
23914
  ] });
23912
- }, jn = new Us.Renderer(), Vl = ({
23915
+ }, jn = new ks.Renderer(), Vl = ({
23913
23916
  setExpandableIcon: e,
23914
23917
  markdown: s,
23915
23918
  className: n,
@@ -23926,17 +23929,17 @@ const Fl = 5, XI = [
23926
23929
  }, [i]);
23927
23930
  const d = (m) => `
23928
23931
  <tr>
23929
- ${m.map((p) => `<td align="${p.align}">${Us(p.text)}</td>`).join("")}
23932
+ ${m.map((p) => `<td align="${p.align}">${ks(p.text)}</td>`).join("")}
23930
23933
  </tr>
23931
23934
  `;
23932
23935
  jn.listitem = ({ text: m, task: p, checked: _ }) => p ? `<li style="list-style: none">
23933
23936
  <input disabled type="checkbox" ${_ ? "checked" : ""} class="dc__vertical-align-middle" style="margin: 0 0.2em 0.25em -1.4em">
23934
- ${Us(m)}
23935
- </li>` : `<li>${Us(m)}</li>`, jn.image = ({ href: m, title: p, text: _ }) => `<img src="${m}" alt="${_}" title="${p}" class="max-w-100">`, jn.table = ({ header: m, rows: p }) => `
23937
+ ${ks(m)}
23938
+ </li>` : `<li>${ks(m)}</li>`, jn.image = ({ href: m, title: p, text: _ }) => `<img src="${m}" alt="${_}" title="${p}" class="max-w-100">`, jn.table = ({ header: m, rows: p }) => `
23936
23939
  <div class="table-container">
23937
23940
  <table>
23938
23941
  <thead>
23939
- <tr>${m.map((_) => `<th align="${_.align}">${Us(_.text)}</th>`).join("")}</tr>
23942
+ <tr>${m.map((_) => `<th align="${_.align}">${ks(_.text)}</th>`).join("")}</tr>
23940
23943
  </thead>
23941
23944
  <tbody>
23942
23945
  ${p.map((_) => d(_)).join("")}
@@ -23952,13 +23955,13 @@ const Fl = 5, XI = [
23952
23955
  ${m}
23953
23956
  </h${p}>
23954
23957
  </a>`;
23955
- }, Us.setOptions({
23958
+ }, ks.setOptions({
23956
23959
  renderer: jn,
23957
23960
  gfm: !0,
23958
23961
  ...a && { breaks: !0 }
23959
23962
  });
23960
23963
  const u = () => ({
23961
- __html: As.sanitize(Us(i), { USE_PROFILES: { html: !0 } })
23964
+ __html: As.sanitize(ks(i), { USE_PROFILES: { html: !0 } })
23962
23965
  });
23963
23966
  return /* @__PURE__ */ t.jsx(
23964
23967
  "article",
@@ -24019,7 +24022,7 @@ const kt = {
24019
24022
  }, [e]);
24020
24023
  const f = Pe(n), N = f.isValid() ? f.format(yt.TWELVE_HOURS_FORMAT) : n, C = (I) => {
24021
24024
  let v = !0;
24022
- return I.length === 0 && (Ue.showToast({
24025
+ return I.length === 0 && (ke.showToast({
24023
24026
  variant: Se.error,
24024
24027
  description: ny
24025
24028
  }), v = !1), v;
@@ -24310,7 +24313,7 @@ export {
24310
24313
  WI as D,
24311
24314
  Lr as E,
24312
24315
  mg as F,
24313
- Ze as G,
24316
+ Qe as G,
24314
24317
  Ga as H,
24315
24318
  $i as I,
24316
24319
  pg as J,
@@ -24351,7 +24354,7 @@ export {
24351
24354
  Ig as aF,
24352
24355
  an as aG,
24353
24356
  yg as aH,
24354
- Gs as aI,
24357
+ Vs as aI,
24355
24358
  Es as aJ,
24356
24359
  Hn as aK,
24357
24360
  No as aL,
@@ -24417,8 +24420,8 @@ export {
24417
24420
  NP as bG,
24418
24421
  CP as bH,
24419
24422
  bP as bI,
24420
- Me as bJ,
24421
- sL as bK,
24423
+ Ue as bJ,
24424
+ nL as bK,
24422
24425
  $m as bL,
24423
24426
  nm as bM,
24424
24427
  Cn as bN,
@@ -24441,7 +24444,7 @@ export {
24441
24444
  wm as bd,
24442
24445
  Kt as be,
24443
24446
  aP as bf,
24444
- Xe as bg,
24447
+ Je as bg,
24445
24448
  Ma as bh,
24446
24449
  rP as bi,
24447
24450
  Bl as bj,
@@ -24516,7 +24519,7 @@ export {
24516
24519
  Tc as cn,
24517
24520
  fE as co,
24518
24521
  NL as cp,
24519
- Ds as cq,
24522
+ ws as cq,
24520
24523
  Ym as cr,
24521
24524
  Tu as cs,
24522
24525
  Ow as ct,
@@ -24526,11 +24529,11 @@ export {
24526
24529
  Zx as cx,
24527
24530
  Qx as cy,
24528
24531
  eE as cz,
24529
- hx as d,
24532
+ Ex as d,
24530
24533
  uL as d$,
24531
24534
  qn as d0,
24532
24535
  cS as d1,
24533
- nL as d2,
24536
+ sL as d2,
24534
24537
  zm as d3,
24535
24538
  BP as d4,
24536
24539
  mL as d5,
@@ -24542,29 +24545,29 @@ export {
24542
24545
  Xd as dB,
24543
24546
  ys as dC,
24544
24547
  vr as dD,
24545
- Je as dE,
24548
+ Ze as dE,
24546
24549
  iL as dF,
24547
24550
  Yr as dG,
24548
24551
  cL as dH,
24549
24552
  yo as dI,
24550
24553
  lL as dJ,
24551
24554
  Jd as dK,
24552
- Nx as dL,
24555
+ Tx as dL,
24553
24556
  mc as dM,
24554
24557
  rs as dN,
24555
- Cx as dO,
24558
+ Sx as dO,
24556
24559
  pc as dP,
24557
24560
  _c as dQ,
24558
24561
  fc as dR,
24559
- bx as dS,
24560
- Tx as dT,
24561
- Sx as dU,
24562
- vx as dV,
24562
+ vx as dS,
24563
+ Ax as dT,
24564
+ Ix as dU,
24565
+ yx as dV,
24563
24566
  sa as dW,
24564
24567
  Zd as dX,
24565
- qe as dY,
24568
+ Xe as dY,
24566
24569
  dL as dZ,
24567
- Ax as d_,
24570
+ Rx as d_,
24568
24571
  bE as da,
24569
24572
  jL as db,
24570
24573
  ME as dc,
@@ -24591,7 +24594,7 @@ export {
24591
24594
  Ao as dy,
24592
24595
  Io as dz,
24593
24596
  $n as e,
24594
- fx as e$,
24597
+ xx as e$,
24595
24598
  JE as e0,
24596
24599
  kc as e1,
24597
24600
  zE as e2,
@@ -24626,9 +24629,9 @@ export {
24626
24629
  lw as eV,
24627
24630
  dw as eW,
24628
24631
  Kd as eX,
24629
- ux as eY,
24630
- px as eZ,
24631
- _x as e_,
24632
+ _x as eY,
24633
+ hx as eZ,
24634
+ gx as e_,
24632
24635
  Dn as ea,
24633
24636
  qL as eb,
24634
24637
  XL as ec,
@@ -24746,7 +24749,7 @@ export {
24746
24749
  Fv as gL,
24747
24750
  Vv as gM,
24748
24751
  Gv as gN,
24749
- Hs as gO,
24752
+ Gs as gO,
24750
24753
  CD as gP,
24751
24754
  Bo as gQ,
24752
24755
  Mi as gR,
@@ -24821,7 +24824,7 @@ export {
24821
24824
  ym as hV,
24822
24825
  MD as hW,
24823
24826
  kD as hX,
24824
- zs as hY,
24827
+ Ws as hY,
24825
24828
  xD as hZ,
24826
24829
  ED as h_,
24827
24830
  _n as ha,
@@ -24865,8 +24868,8 @@ export {
24865
24868
  bu as iA,
24866
24869
  WD as iB,
24867
24870
  zD as iC,
24868
- Wx as iD,
24869
- st as iE,
24871
+ ix as iD,
24872
+ qe as iE,
24870
24873
  wb as iF,
24871
24874
  Mb as iG,
24872
24875
  $u as iH,
@@ -24882,7 +24885,7 @@ export {
24882
24885
  Zt as iR,
24883
24886
  JD as iS,
24884
24887
  Rv as iT,
24885
- tt as iU,
24888
+ st as iU,
24886
24889
  Ro as iV,
24887
24890
  _i as iW,
24888
24891
  IE as iX,
@@ -24933,7 +24936,7 @@ export {
24933
24936
  jN as jF,
24934
24937
  xi as jG,
24935
24938
  gu as jH,
24936
- Ws as jI,
24939
+ Ks as jI,
24937
24940
  Nw as jJ,
24938
24941
  Ar as jK,
24939
24942
  ON as jL,
@@ -24989,7 +24992,7 @@ export {
24989
24992
  $g as k6,
24990
24993
  Fg as k7,
24991
24994
  Vg as k8,
24992
- Ks as k9,
24995
+ Ys as k9,
24993
24996
  as as kA,
24994
24997
  Ra as kB,
24995
24998
  To as kC,
@@ -25051,9 +25054,9 @@ export {
25051
25054
  sx as l4,
25052
25055
  eL as l5,
25053
25056
  tL as l6,
25054
- xx as l7,
25057
+ Cx as l7,
25055
25058
  wn as l8,
25056
- Ex as l9,
25059
+ bx as l9,
25057
25060
  Ju as lA,
25058
25061
  Xb as lB,
25059
25062
  cD as lC,
@@ -25077,7 +25080,7 @@ export {
25077
25080
  Tw as lo,
25078
25081
  Sw as lp,
25079
25082
  vw as lq,
25080
- Ue as lr,
25083
+ ke as lr,
25081
25084
  Aw as ls,
25082
25085
  Se as lt,
25083
25086
  xu as lu,