@devtron-labs/devtron-fe-common-lib 1.22.6 → 1.22.8

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,15 +4,15 @@ var Cl = (e) => {
4
4
  };
5
5
  var eh = (e, s, n) => s in e ? Qf(e, s, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[s] = n;
6
6
  var ue = (e, s, n) => eh(e, typeof s != "symbol" ? s + "" : s, n), Nl = (e, s, n) => s.has(e) || Cl("Cannot " + n);
7
- var tn = (e, s, n) => (Nl(e, s, "read from private field"), n ? n.call(e) : s.get(e)), nr = (e, s, n) => s.has(e) ? Cl("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), ar = (e, s, n, a) => (Nl(e, s, "write to private field"), a ? a.call(e, n) : s.set(e, n), n);
8
- import { j as t, i as ye, Q as rr, k as th, F as sh, d as nm, n as nh, c as ah, f as am, D as Br, t as qe, g as rh, a as oh, E as Ea, S as _c, b as rm, r as om, s as ih, o as ch, e as bl, h as lh, l as dh, y as uh, m as Gr, p as mh, q as ph, u as Tl, v as Sl, w as _h, x as fh, z as hh, A as gh, B as xh, C as Eh, G as Ch, H as im, T as vl, I as fc, J as Nh, K as Al, L as bh, M as Th, N as cm, O as Rl, P as Sh, R as vh, U as Ah, V as Rh, W as Il, X as Ih, Y as yh, Z as Oh, _ as yl, $ as jh, a0 as Ol, a1 as jl, a2 as wh, a3 as Lh, a4 as Dh, a5 as Ph, a6 as Mh, a7 as kh, a8 as $h, a9 as zo, aa as Uh, ab as Fh, ac as Bh, ad as Gh, ae as Vh, af as lm, ag as dm, ah as Hh, ai as Yh, aj as Wh, ak as Kh, al as zh, am as qh, an as Xh, ao as Jh, ap as Zh, aq as Qh, ar as eg, as as um, at as tg, au as sg, av as ng, aw as ag, ax as rg, ay as og, az as ig, aA as wl, aB as Ll, aC as cg, aD as lg, aE as dg, aF as ug, aG as mg, aH as pg, aI as _g, aJ as fg, aK as mm, aL as pm, aM as hg, aN as gg, aO as xg, aP as Eg, aQ as Cg, aR as Ng, aS as bg, aT as Tg, aU as Sg, aV as vg, aW as Ag, aX as an } from "./@vendor-BsABdDGm.js";
9
- import Ke, { createContext as Bt, useContext as ms, useMemo as J, useState as w, useEffect as M, forwardRef as xo, createElement as hc, Children as bi, useRef as B, useCallback as He, useLayoutEffect as gc, createRef as Vr, cloneElement as Ca, Fragment as us, memo as At, Component as xc } from "react";
7
+ var tn = (e, s, n) => (Nl(e, s, "read from private field"), n ? n.call(e) : s.get(e)), ar = (e, s, n) => s.has(e) ? Cl("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), rr = (e, s, n, a) => (Nl(e, s, "write to private field"), a ? a.call(e, n) : s.set(e, n), n);
8
+ import { j as t, i as ye, Q as or, k as th, F as sh, d as nm, n as nh, c as ah, f as am, D as Br, t as qe, g as rh, a as oh, E as Ca, S as _c, b as rm, r as om, s as ih, o as ch, e as bl, h as lh, l as dh, y as uh, m as Gr, p as mh, q as ph, u as Tl, v as Sl, w as _h, x as fh, z as hh, A as gh, B as xh, C as Eh, G as Ch, H as im, T as vl, I as fc, J as Nh, K as Al, L as bh, M as Th, N as cm, O as Rl, P as Sh, R as vh, U as Ah, V as Rh, W as Il, X as Ih, Y as yh, Z as Oh, _ as yl, $ as jh, a0 as Ol, a1 as jl, a2 as wh, a3 as Lh, a4 as Dh, a5 as Ph, a6 as Mh, a7 as kh, a8 as $h, a9 as zo, aa as Uh, ab as Fh, ac as Bh, ad as Gh, ae as Vh, af as lm, ag as dm, ah as Hh, ai as Yh, aj as Wh, ak as Kh, al as zh, am as qh, an as Xh, ao as Jh, ap as Zh, aq as Qh, ar as eg, as as um, at as tg, au as sg, av as ng, aw as ag, ax as rg, ay as og, az as ig, aA as wl, aB as Ll, aC as cg, aD as lg, aE as dg, aF as ug, aG as mg, aH as pg, aI as _g, aJ as fg, aK as mm, aL as pm, aM as hg, aN as gg, aO as xg, aP as Eg, aQ as Cg, aR as Ng, aS as bg, aT as Tg, aU as Sg, aV as vg, aW as Ag, aX as an } from "./@vendor-BsABdDGm.js";
9
+ import Ke, { createContext as Bt, useContext as ms, useMemo as J, useState as w, useEffect as M, forwardRef as xo, createElement as hc, Children as bi, useRef as B, useCallback as He, useLayoutEffect as gc, createRef as Vr, cloneElement as Na, Fragment as us, memo as At, Component as xc } from "react";
10
10
  import { ReactComponent as Rg } from "./assets/ic-info-filled-override.99e8094a.svg";
11
11
  import * as Ig from "yaml";
12
12
  import ss, { parse as _m, YAMLParseError as yg } from "yaml";
13
13
  import { ReactComponent as Ec } from "./assets/ic-info-outline.29f1089c.svg";
14
14
  import { ReactComponent as Og } from "./assets/ic-var-initial.afdaa854.svg";
15
- import { Link as qt, useLocation as os, useHistory as Gn, useParams as Rt, generatePath as Fs, useRouteMatch as Rs, NavLink as Is, Switch as fm, Route as cn, Redirect as jg, Prompt as wg } from "react-router-dom";
15
+ import { Link as qt, useLocation as os, useHistory as Gn, useParams as Rt, generatePath as Fs, useRouteMatch as As, NavLink as Rs, Switch as fm, Route as cn, Redirect as jg, Prompt as wg } from "react-router-dom";
16
16
  import { ReactComponent as Lg } from "./assets/ic-delete-interactive.304dd293.svg";
17
17
  import { ReactComponent as Eo } from "./assets/ic-warning.ecf7ff97.svg";
18
18
  import { ReactComponent as Dg } from "./assets/ic-spray-can.955302fc.svg";
@@ -20,30 +20,30 @@ import { ReactComponent as Co } from "./assets/ic-tag.1613fc59.svg";
20
20
  import { ReactComponent as hm } from "./assets/ic-timer.b62145ec.svg";
21
21
  import { ReactComponent as gm } from "./assets/ic-cpu.3024be12.svg";
22
22
  import { ReactComponent as xm } from "./assets/ic-memory.c3264de1.svg";
23
- import bs from "react-ga4";
23
+ import Ns from "react-ga4";
24
24
  import { h as de } from "./@moment-CGWt8tF2.js";
25
25
  import Pg from "./assets/DeployAudio.566e45df.mp3";
26
- import { m as Be, A as _n, a as Na, u as ba, b as Us, c as Dl, d as Mg } from "./@framer-motion-LZK2bgCK.js";
26
+ import { m as Be, A as _n, a as ba, u as Ta, b as Us, c as Dl, d as Mg } from "./@framer-motion-LZK2bgCK.js";
27
27
  import Cc, { components as Je } from "react-select";
28
28
  import { ReactComponent as kg } from "./assets/ic-arrow-backward.d951202a.svg";
29
29
  import { ReactComponent as Em } from "./assets/ic-docker.48906f4d.svg";
30
- import { ReactComponent as Ta } from "./assets/ic-calendar.1d9c66d2.svg";
30
+ import { ReactComponent as Sa } from "./assets/ic-calendar.1d9c66d2.svg";
31
31
  import { ReactComponent as Ti } from "./assets/ic-person.d066bc6d.svg";
32
32
  import { ReactComponent as Cm } from "./assets/ic-branch.8db43d66.svg";
33
33
  import { ReactComponent as Nm } from "./assets/ic-arrow-forward.a2b8ab45.svg";
34
34
  import $g, { ReactComponent as bm } from "./assets/ic-mechanical-operation.04a318d6.svg";
35
35
  import Tm from "./assets/app-not-deployed.622dc6ba.svg";
36
- import { BehaviorSubject as No, noop as or } from "rxjs";
37
- import Ug, { ReactComponent as Ts } from "./assets/ic-chevron-down.fc70d7a7.svg";
36
+ import { BehaviorSubject as No, noop as ir } from "rxjs";
37
+ import Ug, { ReactComponent as bs } from "./assets/ic-chevron-down.fc70d7a7.svg";
38
38
  import { ReactComponent as Fg } from "./assets/ic-exit-fullscreen.1ae582d1.svg";
39
39
  import { ReactComponent as Bg } from "./assets/ic-fullscreen.b05e5087.svg";
40
40
  import un from "dompurify";
41
- import { ReactComponent as Ss } from "./assets/ic-caret-down.1666c029.svg";
41
+ import { ReactComponent as Ts } from "./assets/ic-caret-down.1666c029.svg";
42
42
  import { ReactComponent as Gg } from "./assets/ic-collapse-all.56740920.svg";
43
43
  import { ReactComponent as Vg } from "./assets/ic-expand-all.d1d223f2.svg";
44
44
  import { ReactComponent as Sm } from "./assets/ic-arrow-out.6aea09d0.svg";
45
- import { ReactComponent as ka } from "./assets/ic-help.39c58c34.svg";
46
- import { ReactComponent as $a } from "./assets/ic-info-filled.f870ac11.svg";
45
+ import { ReactComponent as $a } from "./assets/ic-help.39c58c34.svg";
46
+ import { ReactComponent as Ua } from "./assets/ic-info-filled.f870ac11.svg";
47
47
  import { ReactComponent as Nc } from "./assets/ic-stack.a6a11fe3.svg";
48
48
  import { ReactComponent as vm } from "./assets/ic-aborted.d400d0e8.svg";
49
49
  import { ReactComponent as Hg } from "./assets/ic-arrow-right.eda141d3.svg";
@@ -60,9 +60,9 @@ import { ReactComponent as Xg } from "./assets/ic-diff-file-updated.a8293158.svg
60
60
  import { ReactComponent as Im } from "./assets/ic-arrow-up-down.945ee496.svg";
61
61
  import { ReactComponent as bc } from "./assets/ic-sort-arrow-down.5cf54d08.svg";
62
62
  import { ReactComponent as ym } from "./assets/ic-error.9d61b25b.svg";
63
- import { ReactComponent as Sa } from "./assets/ic-info-outlined.f4fa3224.svg";
63
+ import { ReactComponent as va } from "./assets/ic-info-outlined.f4fa3224.svg";
64
64
  import { ReactComponent as vi } from "./assets/ic-expand.ab992205.svg";
65
- import { ReactComponent as Ua } from "./assets/ic-check.27c51fa1.svg";
65
+ import { ReactComponent as Fa } from "./assets/ic-check.27c51fa1.svg";
66
66
  import { ReactComponent as Jg } from "./assets/ic-check-circle-dots.296c8a3b.svg";
67
67
  import { ReactComponent as Zg } from "./assets/ic-edit-file.aea811d8.svg";
68
68
  import bo from "./assets/no-artifact.fd2d84d9.webp";
@@ -95,7 +95,7 @@ import { r as Hr, C as Pm, a as mx } from "./@react-dates-CbpfVsC0.js";
95
95
  import { ReactComponent as Ac } from "./assets/ic-clock.c21a2d14.svg";
96
96
  import px from "./assets/ic-calender-blank.963e3423.svg";
97
97
  import _x, { ReactComponent as Xs } from "./assets/ic-cross.01e03666.svg";
98
- import { ReactComponent as fa } from "./assets/inject-tag.28e72db6.svg";
98
+ import { ReactComponent as ha } from "./assets/inject-tag.28e72db6.svg";
99
99
  import { ReactComponent as So } from "./assets/ic-pencil.c75a6acc.svg";
100
100
  import { ReactComponent as Mm } from "./assets/ic-filter.8f403d6f.svg";
101
101
  import { ReactComponent as km } from "./assets/ic-filter-applied.9fc48d0f.svg";
@@ -485,12 +485,12 @@ import { ReactComponent as t0 } from "./assets/ic-medium-clean-brush.f683d4d6.sv
485
485
  import { ReactComponent as s0 } from "./assets/ic-medium-pause.7449078a.svg";
486
486
  import { ReactComponent as n0 } from "./assets/ic-medium-play.f7a8ddb7.svg";
487
487
  import { ReactComponent as a0 } from "./assets/ic-locked.dab69058.svg";
488
- var Fa = /* @__PURE__ */ ((e) => (e.black = "black", e.white = "white", e))(Fa || {}), bt = /* @__PURE__ */ ((e) => (e.CHECKED = "CHECKED", e.INTERMEDIATE = "INTERMEDIATE", e.BULK_CHECKED = "BULK_CHECKED", e))(bt || {}), Js = /* @__PURE__ */ ((e) => (e.Large = "large", e.Medium = "medium", e.SMALL = "small", e))(Js || {});
489
- const ca = {
488
+ var Ba = /* @__PURE__ */ ((e) => (e.black = "black", e.white = "white", e))(Ba || {}), bt = /* @__PURE__ */ ((e) => (e.CHECKED = "CHECKED", e.INTERMEDIATE = "INTERMEDIATE", e.BULK_CHECKED = "BULK_CHECKED", e))(bt || {}), Js = /* @__PURE__ */ ((e) => (e.Large = "large", e.Medium = "medium", e.SMALL = "small", e))(Js || {});
489
+ const la = {
490
490
  Security: "SECURITY",
491
491
  Changes: "CHANGES"
492
492
  };
493
- var Ot = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(Ot || {}), Jm = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(Jm || {}), r0 = /* @__PURE__ */ ((e) => (e.configMap = "configuration/config-map", e.configSecret = "configuration/config-secret", e.deploymentTemplate = "configuration/deployment-template", e.deploymentTrigger = "approval/deployment", e))(r0 || {}), Zm = /* @__PURE__ */ ((e) => (e[e.init = 0] = "init", e[e.requested = 1] = "requested", e[e.approved = 2] = "approved", e[e.consumed = 3] = "consumed", e))(Zm || {}), ha = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(ha || {}), o0 = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(o0 || {}), i0 = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(i0 || {}), yi = /* @__PURE__ */ ((e) => (e.ROLLBACK = "rollback", e.CD_MATERIALS = "cd-materials", e.IMAGE_PROMOTION = "image-promotion", e))(yi || {}), c0 = /* @__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))(c0 || {}), Qm = /* @__PURE__ */ ((e) => (e.RESOURCE = "ELIGIBLE_RESOURCES", e.ALL = "ALL_RESOURCES", e))(Qm || {}), l0 = /* @__PURE__ */ ((e) => (e.MANDATORY_TAG = "mandatory-tags", e.MANDATORY_PLUGIN = "mandatory-plugins", e.SECURITY_SCAN = "security-scan", e))(l0 || {}), Tt = /* @__PURE__ */ ((e) => (e.HELM = "helm", e.ARGO = "argo_cd", e.MANIFEST_DOWNLOAD = "manifest_download", e.MANIFEST_PUSH = "manifest_push", e.FLUX = "flux_cd", e))(Tt || {}), d0 = /* @__PURE__ */ ((e) => (e[e.PASS = 1] = "PASS", e[e.FAIL = 0] = "FAIL", e))(d0 || {}), yn = /* @__PURE__ */ ((e) => (e.CI_PIPELINE = "CI_PIPELINE", e.CD_PIPELINE = "CD_PIPELINE", e.WEBHOOK = "WEBHOOK", e.LINKED_CD = "LINKED_CD", e))(yn || {}), Vs = /* @__PURE__ */ ((e) => (e.GIT = "GIT", e.CI = "CI", e.WEBHOOK = "WEBHOOK", e.PRE_CD = "PRECD", e.CD = "CD", e.POST_CD = "POSTCD", e))(Vs || {}), va = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(va || {}), Oi = /* @__PURE__ */ ((e) => (e.SEQUENTIAL = "SEQUENTIAL", e.PARALLEL = "PARALLEL", e))(Oi || {}), u0 = /* @__PURE__ */ ((e) => (e.MANAGER = "manager", e.ADMIN = "admin", e.TRIGGER = "trigger", e.VIEW = "view", e.UPDATE = "update", e.EDIT = "edit", e.APPROVER = "approver", e))(u0 || {}), ep = /* @__PURE__ */ ((e) => (e.HELM = "helm", e.ARGO_CD = "argocd", e.FLUX_CD = "fluxcd", e))(ep || {});
493
+ var Ot = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(Ot || {}), Jm = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(Jm || {}), r0 = /* @__PURE__ */ ((e) => (e.configMap = "configuration/config-map", e.configSecret = "configuration/config-secret", e.deploymentTemplate = "configuration/deployment-template", e.deploymentTrigger = "approval/deployment", e))(r0 || {}), Zm = /* @__PURE__ */ ((e) => (e[e.init = 0] = "init", e[e.requested = 1] = "requested", e[e.approved = 2] = "approved", e[e.consumed = 3] = "consumed", e))(Zm || {}), ga = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(ga || {}), o0 = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(o0 || {}), i0 = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(i0 || {}), yi = /* @__PURE__ */ ((e) => (e.ROLLBACK = "rollback", e.CD_MATERIALS = "cd-materials", e.IMAGE_PROMOTION = "image-promotion", e))(yi || {}), c0 = /* @__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))(c0 || {}), Qm = /* @__PURE__ */ ((e) => (e.RESOURCE = "ELIGIBLE_RESOURCES", e.ALL = "ALL_RESOURCES", e))(Qm || {}), l0 = /* @__PURE__ */ ((e) => (e.MANDATORY_TAG = "mandatory-tags", e.MANDATORY_PLUGIN = "mandatory-plugins", e.SECURITY_SCAN = "security-scan", e))(l0 || {}), Tt = /* @__PURE__ */ ((e) => (e.HELM = "helm", e.ARGO = "argo_cd", e.MANIFEST_DOWNLOAD = "manifest_download", e.MANIFEST_PUSH = "manifest_push", e.FLUX = "flux_cd", e))(Tt || {}), d0 = /* @__PURE__ */ ((e) => (e[e.PASS = 1] = "PASS", e[e.FAIL = 0] = "FAIL", e))(d0 || {}), yn = /* @__PURE__ */ ((e) => (e.CI_PIPELINE = "CI_PIPELINE", e.CD_PIPELINE = "CD_PIPELINE", e.WEBHOOK = "WEBHOOK", e.LINKED_CD = "LINKED_CD", e))(yn || {}), Vs = /* @__PURE__ */ ((e) => (e.GIT = "GIT", e.CI = "CI", e.WEBHOOK = "WEBHOOK", e.PRE_CD = "PRECD", e.CD = "CD", e.POST_CD = "POSTCD", e))(Vs || {}), Aa = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(Aa || {}), Oi = /* @__PURE__ */ ((e) => (e.SEQUENTIAL = "SEQUENTIAL", e.PARALLEL = "PARALLEL", e))(Oi || {}), u0 = /* @__PURE__ */ ((e) => (e.MANAGER = "manager", e.ADMIN = "admin", e.TRIGGER = "trigger", e.VIEW = "view", e.UPDATE = "update", e.EDIT = "edit", e.APPROVER = "approver", e))(u0 || {}), ep = /* @__PURE__ */ ((e) => (e.HELM = "helm", e.ARGO_CD = "argocd", e.FLUX_CD = "fluxcd", e))(ep || {});
494
494
  const m0 = ({ tooltipContent: e }) => e ? /* @__PURE__ */ t.jsxs("div", { className: "dc__white-space-pre-wrap", children: [
495
495
  /* @__PURE__ */ t.jsx("p", { className: "m-0 fs-12 fw-6 lh-18", children: "Click to add" }),
496
496
  e
@@ -503,7 +503,7 @@ function V6({
503
503
  handleAddCD: r,
504
504
  tooltipContent: o
505
505
  }) {
506
- const i = e === va.RIGHT ? n : a, c = () => {
506
+ const i = e === Aa.RIGHT ? n : a, c = () => {
507
507
  r(e);
508
508
  };
509
509
  return s?.includes(e) ? /* @__PURE__ */ t.jsx(
@@ -516,7 +516,7 @@ function V6({
516
516
  children: /* @__PURE__ */ t.jsxs(
517
517
  "svg",
518
518
  {
519
- x: i.x + (e === va.RIGHT ? -25 : i.width + 5),
519
+ x: i.x + (e === Aa.RIGHT ? -25 : i.width + 5),
520
520
  y: i.y + i.height / 2 - 10,
521
521
  width: "20",
522
522
  height: "20",
@@ -556,7 +556,7 @@ const p0 = ({ startNode: e }) => e.type === Vs.WEBHOOK ? yn.WEBHOOK : e.type ===
556
556
  }) => {
557
557
  if (!s)
558
558
  return;
559
- const l = p0({ startNode: n }), d = c && e === va.RIGHT ? Oi.PARALLEL : Oi.SEQUENTIAL, u = !c && e === va.RIGHT ? a.id : null;
559
+ const l = p0({ startNode: n }), d = c && e === Aa.RIGHT ? Oi.PARALLEL : Oi.SEQUENTIAL, u = !c && e === Aa.RIGHT ? a.id : null;
560
560
  s(r, o, l, n.id, i, u, d);
561
561
  }, Y6 = {
562
562
  AWS: "ic-aws",
@@ -579,8 +579,8 @@ const p0 = ({ startNode: e }) => e.type === Vs.WEBHOOK ? yn.WEBHOOK : e.type ===
579
579
  DigitalOcean: "DigitalOcean",
580
580
  Unknown: "N/A"
581
581
  };
582
- var la = /* @__PURE__ */ ((e) => (e.CLUSTERS = "clusters", e.ENVIRONMENTS = "environments", e.PROJECTS = "projects", e.APPLICATIONS = "applications", e))(la || {}), Sr = /* @__PURE__ */ ((e) => (e.ITEM_NAME = "itemName", e.VIEW = "view", e.DETAIL = "detail", e))(Sr || {}), tp = /* @__PURE__ */ ((e) => (e.VOLUME_SNAPSHOT = "volume-snapshot", e.STORAGE = "storage", e))(tp || {}), sp = /* @__PURE__ */ ((e) => (e.Backups = "backups", e.Schedules = "schedules", e))(sp || {});
583
- const $l = 6e4, Yr = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator", Ba = "https://docs.devtron.ai", K6 = "https://devtron.ai/", _0 = "/devtron/v2.0", Ao = "https://discord.devtron.ai/", f0 = "https://json-schema.org/draft/2020-12/schema", z6 = "https://license.devtron.ai/dashboard", h0 = "https://chatgpt.com/g/g-6826efa4362c8191b23e7bfa0ac036db-devtron-expert", Wt = {
582
+ var da = /* @__PURE__ */ ((e) => (e.CLUSTERS = "clusters", e.ENVIRONMENTS = "environments", e.PROJECTS = "projects", e.APPLICATIONS = "applications", e))(da || {}), Sr = /* @__PURE__ */ ((e) => (e.ITEM_NAME = "itemName", e.VIEW = "view", e.DETAIL = "detail", e))(Sr || {}), tp = /* @__PURE__ */ ((e) => (e.VOLUME_SNAPSHOT = "volume-snapshot", e.STORAGE = "storage", e))(tp || {}), sp = /* @__PURE__ */ ((e) => (e.Backups = "backups", e.Schedules = "schedules", e))(sp || {});
583
+ const $l = 6e4, Yr = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator", Ga = "https://docs.devtron.ai", K6 = "https://devtron.ai/", _0 = "/devtron/v2.0", Ao = "https://discord.devtron.ai/", f0 = "https://json-schema.org/draft/2020-12/schema", z6 = "https://license.devtron.ai/dashboard", h0 = "https://chatgpt.com/g/g-6826efa4362c8191b23e7bfa0ac036db-devtron-expert", Wt = {
584
584
  STRING: /^[a-zA-Z0-9_]+$/,
585
585
  DECIMAL_NUMBERS: /^-?\d*\.?\d*$/,
586
586
  POSITIVE_DECIMAL_NUMBERS: /^\d*\.?\d*$/,
@@ -601,7 +601,7 @@ const $l = 6e4, Yr = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator", Ba = "htt
601
601
  ALPHANUMERIC_WITH_SPECIAL_CHAR_AND_SLASH: /^[A-Za-z0-9._/-]+$/,
602
602
  // allow alphanumeric,(.) ,(-),(_),(/)
603
603
  EMAIL: /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
604
- }, hs = "/application-management", qo = `${hs}/templates/devtron-app`, Nn = `${hs}/configurations`, ws = "/infrastructure-management", g0 = "/software-release-management", Ls = "/cost-visibility", sn = "/security-center", Ul = "/automation-and-enablement", Sn = "/data-protection-management", Fl = `${Sn}/backup-and-schedule/:view(${Object.values(sp).join("|")})`, ir = "/global-configuration", be = {
604
+ }, ks = "/application-management", qo = `${ks}/templates/devtron-app`, Nn = `${ks}/configurations`, js = "/infrastructure-management", g0 = "/software-release-management", ws = "/cost-visibility", sn = "/security-center", Ul = "/automation-and-enablement", Sn = "/data-protection-management", Fl = `${Sn}/backup-and-schedule/:view(${Object.values(sp).join("|")})`, ta = "/global-configuration", be = {
605
605
  LOGIN: "/login",
606
606
  LOGIN_SSO: "/login/sso",
607
607
  APP_LIST: "list",
@@ -626,17 +626,16 @@ const $l = 6e4, Yr = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator", Ba = "htt
626
626
  APP_CONFIG: "edit",
627
627
  LICENSE_AUTH: "/license-auth",
628
628
  // APPLICATION MANAGEMENT
629
- APPLICATION_MANAGEMENT: hs,
630
- APPLICATION_MANAGEMENT_OVERVIEW: `${hs}/overview`,
631
- APPLICATION_MANAGEMENT_APP: `${hs}/devtron-app`,
632
- APPLICATION_MANAGEMENT_APP_LIST: `${hs}/devtron-app/list`,
633
- APPLICATION_MANAGEMENT_CREATE_DEVTRON_APP: `${hs}/devtron-app/list/create-app`,
634
- APPLICATION_MANAGEMENT_APPLICATION_GROUP: `${hs}/application-group`,
629
+ APPLICATION_MANAGEMENT: ks,
630
+ APPLICATION_MANAGEMENT_OVERVIEW: `${ks}/overview`,
631
+ APPLICATION_MANAGEMENT_APP: `${ks}/devtron-app`,
632
+ APPLICATION_MANAGEMENT_APP_LIST: `${ks}/devtron-app/list`,
633
+ APPLICATION_MANAGEMENT_CREATE_DEVTRON_APP: `${ks}/devtron-app/list/create-app`,
634
+ APPLICATION_MANAGEMENT_APPLICATION_GROUP: `${ks}/application-group`,
635
635
  APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP: qo,
636
636
  APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP_CREATE: `${qo}/create`,
637
637
  // NOTE: using appId since we are re-using AppConfig component
638
638
  APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP_DETAIL: `${qo}/detail/:appId`,
639
- APPLICATION_MANAGEMENT_PROJECTS: `${hs}/projects`,
640
639
  APPLICATION_MANAGEMENT_CONFIGURATIONS: Nn,
641
640
  APPLICATION_MANAGEMENT_CONFIGURATIONS_DEPLOYMENT_CHARTS: `${Nn}/deployment-charts`,
642
641
  APPLICATION_MANAGEMENT_CONFIGURATIONS_SCOPED_VARIABLES: `${Nn}/scoped-variables`,
@@ -644,26 +643,26 @@ const $l = 6e4, Yr = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator", Ba = "htt
644
643
  APPLICATION_MANAGEMENT_CONFIGURATIONS_BUILD_INFRA_PROFILES: `${Nn}/build-infra/profiles`,
645
644
  APPLICATION_MANAGEMENT_CONFIGURATIONS_NOTIFICATIONS: `${Nn}/notifications`,
646
645
  // INFRASTRUCTURE MANAGEMENT
647
- INFRASTRUCTURE_MANAGEMENT: ws,
648
- INFRASTRUCTURE_MANAGEMENT_OVERVIEW: `${ws}/overview`,
649
- INFRASTRUCTURE_MANAGEMENT_APP_LIST: `${ws}/apps/:appType(${Object.values(ep).join("|")})`,
650
- INFRASTRUCTURE_MANAGEMENT_APP: `${ws}/apps`,
651
- INFRASTRUCTURE_MANAGEMENT_CHART_STORE: `${ws}/chart-store`,
652
- INFRASTRUCTURE_MANAGEMENT_CHART_STORE_DISCOVER: `${ws}/chart-store/discover`,
653
- INFRASTRUCTURE_MANAGEMENT_RESOURCE_BROWSER: `${ws}/resource-browser`,
654
- INFRASTRUCTURE_MANAGEMENT_RESOURCE_WATCHER: `${ws}/resource-watcher`,
646
+ INFRASTRUCTURE_MANAGEMENT: js,
647
+ INFRASTRUCTURE_MANAGEMENT_OVERVIEW: `${js}/overview`,
648
+ INFRASTRUCTURE_MANAGEMENT_APP_LIST: `${js}/apps/:appType(${Object.values(ep).join("|")})`,
649
+ INFRASTRUCTURE_MANAGEMENT_APP: `${js}/apps`,
650
+ INFRASTRUCTURE_MANAGEMENT_CHART_STORE: `${js}/chart-store`,
651
+ INFRASTRUCTURE_MANAGEMENT_CHART_STORE_DISCOVER: `${js}/chart-store/discover`,
652
+ INFRASTRUCTURE_MANAGEMENT_RESOURCE_BROWSER: `${js}/resource-browser`,
653
+ INFRASTRUCTURE_MANAGEMENT_RESOURCE_WATCHER: `${js}/resource-watcher`,
655
654
  // SOFTWARE RELEASE MANAGEMENT
656
655
  SOFTWARE_RELEASE_MANAGEMENT: g0,
657
656
  // COST VISIBILITY
658
- COST_VISIBILITY: Ls,
659
- COST_VISIBILITY_OVERVIEW: `${Ls}/overview`,
660
- COST_BREAKDOWN_ROUTE: `${Ls}/breakdown/:breakdownViewType`,
661
- COST_BREAKDOWN_CLUSTERS: `${Ls}/breakdown/${la.CLUSTERS}`,
662
- COST_BREAKDOWN_ENVIRONMENTS: `${Ls}/breakdown/${la.ENVIRONMENTS}`,
663
- COST_BREAKDOWN_PROJECTS: `${Ls}/breakdown/${la.PROJECTS}`,
664
- COST_BREAKDOWN_APPLICATIONS: `${Ls}/breakdown/${la.APPLICATIONS}`,
657
+ COST_VISIBILITY: ws,
658
+ COST_VISIBILITY_OVERVIEW: `${ws}/overview`,
659
+ COST_BREAKDOWN_ROUTE: `${ws}/breakdown/:breakdownViewType`,
660
+ COST_BREAKDOWN_CLUSTERS: `${ws}/breakdown/${da.CLUSTERS}`,
661
+ COST_BREAKDOWN_ENVIRONMENTS: `${ws}/breakdown/${da.ENVIRONMENTS}`,
662
+ COST_BREAKDOWN_PROJECTS: `${ws}/breakdown/${da.PROJECTS}`,
663
+ COST_BREAKDOWN_APPLICATIONS: `${ws}/breakdown/${da.APPLICATIONS}`,
665
664
  COST_BREAKDOWN_DETAIL: `:${Sr.ITEM_NAME}/:${Sr.VIEW}/:${Sr.DETAIL}?`,
666
- COST_CONFIGURATIONS: `${Ls}/configurations`,
665
+ COST_CONFIGURATIONS: `${ws}/configurations`,
667
666
  // SECURITY CENTER
668
667
  SECURITY_CENTER: sn,
669
668
  SECURITY_CENTER_OVERVIEW: `${sn}/overview`,
@@ -685,10 +684,11 @@ const $l = 6e4, Yr = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator", Ba = "htt
685
684
  DATA_PROTECTION_BACKUP_LOCATIONS: `${Sn}/backup-locations/:type(${Object.values(tp).join("|")})`,
686
685
  BACKUP_LOCATION_DETAILS: "/:locationId",
687
686
  // GLOBAL CONFIGURATION
688
- GLOBAL_CONFIG: ir,
689
- GLOBAL_CONFIG_DOCKER: `${ir}/docker`,
690
- GLOBAL_CONFIG_EDIT_CLUSTER: `${ir}/cluster-env/edit/:clusterId`,
691
- PERMISSION_GROUPS: `${ir}/auth/groups`,
687
+ GLOBAL_CONFIG: ta,
688
+ GLOBAL_CONFIG_DOCKER: `${ta}/docker`,
689
+ GLOBAL_CONFIG_EDIT_CLUSTER: `${ta}/cluster-env/edit/:clusterId`,
690
+ GLOBAL_CONFIG_PROJECTS: `${ta}/projects`,
691
+ PERMISSION_GROUPS: `${ta}/auth/groups`,
692
692
  EXTERNAL_APPS: "ea"
693
693
  }, Y = {
694
694
  APP: "app",
@@ -760,7 +760,7 @@ const $l = 6e4, Yr = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator", Ba = "htt
760
760
  APP_METADATA: "app-metadata",
761
761
  RESOURCE_CONFLICTS_LIST: "app/:appId/cd-pipeline/:pipelineId/history/:wfrId/helm-ownership-conflicts"
762
762
  };
763
- var gs = /* @__PURE__ */ ((e) => (e.KEY = "key", e.VALUE = "value", e))(gs || {});
763
+ var hs = /* @__PURE__ */ ((e) => (e.KEY = "key", e.VALUE = "value", e))(hs || {});
764
764
  const q6 = {
765
765
  key: "",
766
766
  value: "",
@@ -839,7 +839,7 @@ const cr = {
839
839
  const [s, n] = e.split(":"), a = parseInt(s, 10), r = parseInt(n, 10);
840
840
  return a === 12 && r === 0 ? cr.NOON : a === 0 && r === 0 ? cr.MIDNIGHT : a >= 12 ? cr.PM : cr.AM;
841
841
  };
842
- var Aa = /* @__PURE__ */ ((e) => (e.inputChange = "input-change", e.selectOption = "select-option", e.deselectOption = "deselect-option", e.removeValue = "remove-value", e.inputBlur = "input-blur", e))(Aa || {});
842
+ var Ra = /* @__PURE__ */ ((e) => (e.inputChange = "input-change", e.selectOption = "select-option", e.deselectOption = "deselect-option", e.removeValue = "remove-value", e.inputBlur = "input-blur", e))(Ra || {});
843
843
  const Vn = "0001-01-01T00:00:00Z", np = [void 0, null, "", NaN], Vt = {
844
844
  OK: 200,
845
845
  NO_CONTENT: 204,
@@ -896,7 +896,7 @@ const r5 = (e) => JSON.stringify(JSON.parse(e ?? "{}"), null, 2), ip = Symbol(
896
896
  `The element at this index remains unchanged from the original object.
897
897
  This symbol is used by @buildObjectFromPath & later consumed by @recursivelyRemoveSymbolFromArraysInObject`
898
898
  );
899
- var ks = /* @__PURE__ */ ((e) => (e.google = "google", e.github = "github", e.gitlab = "gitlab", e.microsoft = "microsoft", e.ldap = "ldap", e.oidc = "oidc", e.openshift = "openshift", e))(ks || {});
899
+ var Ms = /* @__PURE__ */ ((e) => (e.google = "google", e.github = "github", e.gitlab = "gitlab", e.microsoft = "microsoft", e.ldap = "ldap", e.oidc = "oidc", e.openshift = "openshift", e))(Ms || {});
900
900
  const Gl = {
901
901
  value: "latest",
902
902
  label: "latest"
@@ -929,12 +929,12 @@ const I0 = async (e, s) => {
929
929
  } catch {
930
930
  }
931
931
  }, wi = ({ category: e, action: s }) => {
932
- window._env_.GA_ENABLED && bs?.event && bs.event({
932
+ window._env_.GA_ENABLED && Ns?.event && Ns.event({
933
933
  category: e,
934
934
  action: s
935
935
  });
936
936
  };
937
- var cp = /* @__PURE__ */ ((e) => (e.GET_LICENSE_CLICKED = "getLicenseClicked", e))(cp || {}), Ic = /* @__PURE__ */ ((e) => (e.OSS_KUBECTL = "oss_kubectl", e.OSS_HELM = "oss_helm", e.ENTERPRISE = "enterprise", e))(Ic || {}), y0 = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(y0 || {}), fe = /* @__PURE__ */ ((e) => (e.Service = "Service", e.Alertmanager = "Alertmanager", e.PodSecurity = "PodSecurityPolicy", e.ConfigMap = "ConfigMap", e.ServiceAccount = "ServiceAccount", e.ClusterRoleBinding = "ClusterRoleBinding", e.RoleBinding = "RoleBinding", e.ClusterRole = "ClusterRole", e.Role = "Role", e.Prometheus = "Prometheus", e.ServiceMonitor = "ServiceMonitor", e.Deployment = "Deployment", e.MutatingWebhookConfiguration = "MutatingWebhookConfiguration", e.DaemonSet = "DaemonSet", e.Secret = "Secret", e.ValidatingWebhookConfiguration = "ValidatingWebhookConfiguration", e.Pod = "Pod", e.Ingress = "Ingress", e.ReplicaSet = "ReplicaSet", e.Endpoints = "Endpoints", e.Cluster = "ClusterRoleBinding", e.PodSecurityPolicy = "PodSecurityPolicy", e.CronJob = "CronJob", e.Job = "Job", e.ReplicationController = "ReplicationController", e.StatefulSet = "StatefulSet", e.Rollout = "Rollout", e.PersistentVolumeClaim = "PersistentVolumeClaim", e.PersistentVolume = "PersistentVolume", e.Containers = "Containers", e.InitContainers = "InitContainers", e.EndpointSlice = "EndpointSlice", e.NetworkPolicy = "NetworkPolicy", e.StorageClass = "StorageClass", e.VolumeSnapshot = "VolumeSnapshot", e.VolumeSnapshotContent = "VolumeSnapshotContent", e.VolumeSnapshotClass = "VolumeSnapshotClass", e.PodDisruptionBudget = "PodDisruptionBudget", e.Event = "Event", e.Namespace = "Namespace", e.Node = "Node", e.Overview = "Overview", e.MonitoringDashboard = "MonitoringDashboard", e.UpgradeCluster = "UpgradeCluster", e.ResourceRecommender = "ResourceRecommender", e))(fe || {}), xt = /* @__PURE__ */ ((e) => (e.DEVTRON_APP = "devtron_app", e.DEVTRON_HELM_CHART = "devtron_helm_chart", e.EXTERNAL_HELM_CHART = "external_helm_chart", e.EXTERNAL_ARGO_APP = "external_argo_app", e.EXTERNAL_FLUX_APP = "external_flux_app", e))(xt || {}), We = /* @__PURE__ */ ((e) => (e.GIT = "git", e.GITHUB = "github", e.GITLAB = "gitlab", e.BITBUCKET = "bitbucket", e.DOCKER = "docker", e.DOCKER_HUB = "docker-hub", e.ACR = "acr", e.QUAY = "quay", e.ECR = "ecr", e.ARTIFACT_REGISTRY = "artifact-registry", e.GCR = "gcr", e.OTHER = "other", e))(We || {}), yc = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(yc || {}), es = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(es || {}), O0 = /* @__PURE__ */ ((e) => (e.HEALTHY = "healthy", e.NONE = "none", e.UNKNOWN = "unknown", e.UPGRADING = "upgrading", e.UPGRADE_FAILED = "upgradeFailed", e.INSTALLED = "installed", e.INSTALLING = "installing", e.INSTALL_FAILED = "installFailed", e.NOT_INSTALLED = "notInstalled", e.TIMEOUT = "timeout", e))(O0 || {}), j0 = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))(j0 || {}), lp = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(lp || {}), it = /* @__PURE__ */ ((e) => (e.devtronApplication = "application/devtron-application", e.helmChart = "application/helm-application", e.job = "job", e.cluster = "cluster", e.release = "release", e.releaseTrack = "release-track", e.releaseChannel = "release-channel", e.tenant = "tenant", e.installation = "installation", e.infrastructureInstallation = "installations", e.environment = "environment", e.cdPipeline = "cd-pipeline", e.ciPipeline = "ci-pipeline", e.project = "project", e))(it || {}), Oc = /* @__PURE__ */ ((e) => (e.v1 = "v1", e.alpha1 = "alpha1", e))(Oc || {}), w0 = /* @__PURE__ */ ((e) => (e.lockConfiguration = "lock-configuration", e.imagePromotion = "image-promotion", e.plugins = "plugin", e.approval = "approval", e))(w0 || {}), Ra = /* @__PURE__ */ ((e) => (e.PULL_REQUEST = "Pull Request", e.TAG_CREATION = "Tag Creation", e))(Ra || {}), Zt = /* @__PURE__ */ ((e) => (e.Workloads = "Workloads", e.Networking = "Networking", e["Config & Storage"] = "Config & Storage", e.RBAC = "RBAC", e.Administration = "Administration", e["Custom Resource"] = "Custom Resource", e["Other Resources"] = "Other Resources", e.Events = "Events", e.Namespaces = "Namespaces", e.Nodes = "Nodes", e))(Zt || {}), L0 = /* @__PURE__ */ ((e) => (e.SSH = "SSH", e.PASSWORD = "PASSWORD", e.SSH_AND_PASSWORD = "PAT_AND_SSH", e))(L0 || {}), D0 = /* @__PURE__ */ ((e) => (e.UPSTREAM = "upstream", e.DOWNSTREAM = "downstream", e.LEVEL = "level", e))(D0 || {}), vr = /* @__PURE__ */ ((e) => (e.FULFILLED = "fulfilled", e.REJECTED = "rejected", e))(vr || {}), P0 = /* @__PURE__ */ ((e) => (e.HTTP = "http:", e.HTTPS = "https:", e.SSH = "ssh:", e.SMTP = "smtp:", e.S3 = "s3:", e))(P0 || {}), dp = /* @__PURE__ */ ((e) => (e.GUI = "GUI", e.YAML = "YAML", e))(dp || {});
937
+ var cp = /* @__PURE__ */ ((e) => (e.GET_LICENSE_CLICKED = "getLicenseClicked", e))(cp || {}), Ic = /* @__PURE__ */ ((e) => (e.OSS_KUBECTL = "oss_kubectl", e.OSS_HELM = "oss_helm", e.ENTERPRISE = "enterprise", e))(Ic || {}), y0 = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(y0 || {}), fe = /* @__PURE__ */ ((e) => (e.Service = "Service", e.Alertmanager = "Alertmanager", e.PodSecurity = "PodSecurityPolicy", e.ConfigMap = "ConfigMap", e.ServiceAccount = "ServiceAccount", e.ClusterRoleBinding = "ClusterRoleBinding", e.RoleBinding = "RoleBinding", e.ClusterRole = "ClusterRole", e.Role = "Role", e.Prometheus = "Prometheus", e.ServiceMonitor = "ServiceMonitor", e.Deployment = "Deployment", e.MutatingWebhookConfiguration = "MutatingWebhookConfiguration", e.DaemonSet = "DaemonSet", e.Secret = "Secret", e.ValidatingWebhookConfiguration = "ValidatingWebhookConfiguration", e.Pod = "Pod", e.Ingress = "Ingress", e.ReplicaSet = "ReplicaSet", e.Endpoints = "Endpoints", e.Cluster = "ClusterRoleBinding", e.PodSecurityPolicy = "PodSecurityPolicy", e.CronJob = "CronJob", e.Job = "Job", e.ReplicationController = "ReplicationController", e.StatefulSet = "StatefulSet", e.Rollout = "Rollout", e.PersistentVolumeClaim = "PersistentVolumeClaim", e.PersistentVolume = "PersistentVolume", e.Containers = "Containers", e.InitContainers = "InitContainers", e.EndpointSlice = "EndpointSlice", e.NetworkPolicy = "NetworkPolicy", e.StorageClass = "StorageClass", e.VolumeSnapshot = "VolumeSnapshot", e.VolumeSnapshotContent = "VolumeSnapshotContent", e.VolumeSnapshotClass = "VolumeSnapshotClass", e.PodDisruptionBudget = "PodDisruptionBudget", e.Event = "Event", e.Namespace = "Namespace", e.Node = "Node", e.Overview = "Overview", e.MonitoringDashboard = "MonitoringDashboard", e.UpgradeCluster = "UpgradeCluster", e.ResourceRecommender = "ResourceRecommender", e))(fe || {}), xt = /* @__PURE__ */ ((e) => (e.DEVTRON_APP = "devtron_app", e.DEVTRON_HELM_CHART = "devtron_helm_chart", e.EXTERNAL_HELM_CHART = "external_helm_chart", e.EXTERNAL_ARGO_APP = "external_argo_app", e.EXTERNAL_FLUX_APP = "external_flux_app", e))(xt || {}), We = /* @__PURE__ */ ((e) => (e.GIT = "git", e.GITHUB = "github", e.GITLAB = "gitlab", e.BITBUCKET = "bitbucket", e.DOCKER = "docker", e.DOCKER_HUB = "docker-hub", e.ACR = "acr", e.QUAY = "quay", e.ECR = "ecr", e.ARTIFACT_REGISTRY = "artifact-registry", e.GCR = "gcr", e.OTHER = "other", e))(We || {}), yc = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(yc || {}), es = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(es || {}), O0 = /* @__PURE__ */ ((e) => (e.HEALTHY = "healthy", e.NONE = "none", e.UNKNOWN = "unknown", e.UPGRADING = "upgrading", e.UPGRADE_FAILED = "upgradeFailed", e.INSTALLED = "installed", e.INSTALLING = "installing", e.INSTALL_FAILED = "installFailed", e.NOT_INSTALLED = "notInstalled", e.TIMEOUT = "timeout", e))(O0 || {}), j0 = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))(j0 || {}), lp = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(lp || {}), it = /* @__PURE__ */ ((e) => (e.devtronApplication = "application/devtron-application", e.helmChart = "application/helm-application", e.job = "job", e.cluster = "cluster", e.release = "release", e.releaseTrack = "release-track", e.releaseChannel = "release-channel", e.tenant = "tenant", e.installation = "installation", e.infrastructureInstallation = "installations", e.environment = "environment", e.cdPipeline = "cd-pipeline", e.ciPipeline = "ci-pipeline", e.project = "project", e))(it || {}), Oc = /* @__PURE__ */ ((e) => (e.v1 = "v1", e.alpha1 = "alpha1", e))(Oc || {}), w0 = /* @__PURE__ */ ((e) => (e.lockConfiguration = "lock-configuration", e.imagePromotion = "image-promotion", e.plugins = "plugin", e.approval = "approval", e))(w0 || {}), Ia = /* @__PURE__ */ ((e) => (e.PULL_REQUEST = "Pull Request", e.TAG_CREATION = "Tag Creation", e))(Ia || {}), Zt = /* @__PURE__ */ ((e) => (e.Workloads = "Workloads", e.Networking = "Networking", e["Config & Storage"] = "Config & Storage", e.RBAC = "RBAC", e.Administration = "Administration", e["Custom Resource"] = "Custom Resource", e["Other Resources"] = "Other Resources", e.Events = "Events", e.Namespaces = "Namespaces", e.Nodes = "Nodes", e))(Zt || {}), L0 = /* @__PURE__ */ ((e) => (e.SSH = "SSH", e.PASSWORD = "PASSWORD", e.SSH_AND_PASSWORD = "PAT_AND_SSH", e))(L0 || {}), D0 = /* @__PURE__ */ ((e) => (e.UPSTREAM = "upstream", e.DOWNSTREAM = "downstream", e.LEVEL = "level", e))(D0 || {}), vr = /* @__PURE__ */ ((e) => (e.FULFILLED = "fulfilled", e.REJECTED = "rejected", e))(vr || {}), P0 = /* @__PURE__ */ ((e) => (e.HTTP = "http:", e.HTTPS = "https:", e.SSH = "ssh:", e.SMTP = "smtp:", e.S3 = "s3:", e))(P0 || {}), dp = /* @__PURE__ */ ((e) => (e.GUI = "GUI", e.YAML = "YAML", e))(dp || {});
938
938
  const i5 = [
939
939
  {
940
940
  label: "GUI",
@@ -952,7 +952,7 @@ const U0 = {
952
952
  Auto: "AUTOMATIC",
953
953
  Manual: "MANUAL"
954
954
  };
955
- var F0 = /* @__PURE__ */ ((e) => (e.ABOUT = "about", e.LICENSE = "license", e.UPDATE = "update", e))(F0 || {}), jc = /* @__PURE__ */ ((e) => (e.FingerPrintMisMatch = "11001", e.LicenseExpired = "11002", e.TamperedCertificate = "11003", e.NoPublicKey = "11004", e.InstallationModeMismatch = "11005", e.LicKeyMismatch = "11006", e.NoCertFound = "11007", e.LicKeyNotFound = "11008", e.ClusterLimitExceeded = "11011", e))(jc || {}), up = /* @__PURE__ */ ((e) => (e.LICENSE_STATUS = "X-License-Status", e))(up || {}), B0 = /* @__PURE__ */ ((e) => (e.EKS_AUTO_CLUSTER = "eksAutoCluster", e.EKS_MANUAL_CLUSTER = "eksManualCluster", e))(B0 || {}), G0 = /* @__PURE__ */ ((e) => (e.USERNAME_PASSWORD = "username_password", e.ANONYMOUS = "anonymous", e))(G0 || {}), X = /* @__PURE__ */ ((e) => (e.DEPLOYMENT_INITIATED = "DEPLOYMENT_INITIATED", e.GIT_COMMIT = "GIT_COMMIT", e.GIT_COMMIT_FAILED = "GIT_COMMIT_FAILED", e.ARGOCD_SYNC = "ARGOCD_SYNC", e.ARGOCD_SYNC_FAILED = "ARGOCD_SYNC_FAILED", e.KUBECTL_APPLY = "KUBECTL_APPLY", e.KUBECTL_APPLY_STARTED = "KUBECTL_APPLY_STARTED", e.KUBECTL_APPLY_SYNCED = "KUBECTL_APPLY_SYNCED", e.HEALTHY = "HEALTHY", e.APP_HEALTH = "APP_HEALTH", e.DEPLOYMENT_FAILED = "FAILED", e.FETCH_TIMED_OUT = "TIMED_OUT", e.UNABLE_TO_FETCH_STATUS = "UNABLE_TO_FETCH_STATUS", e.DEGRADED = "DEGRADED", e.DEPLOYMENT_SUPERSEDED = "DEPLOYMENT_SUPERSEDED", e.ABORTED = "ABORTED", e.INPROGRESS = "INPROGRESS", e.HELM_PACKAGE_GENERATED = "HELM_PACKAGE_GENERATED", e.HELM_PACKAGE_GENERATION_FAILED = "HELM_PACKAGE_GENERATION_FAILED", e.HELM_MANIFEST_PUSHED_TO_HELM_REPO = "HELM_MANIFEST_PUSHED_TO_HELM_REPO", e.HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED = "HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED", e))(X || {}), vn = /* @__PURE__ */ ((e) => (e.PRE_SYNC = "PreSync", e.SYNC = "Sync", e.POST_SYNC = "PostSync", e.SKIP = "Skip", e.SYNC_FAIL = "SyncFail", e))(vn || {}), Ar = /* @__PURE__ */ ((e) => (e.Direct = "DIRECT", e.Proxy = "PROXY", e.SSHTunnel = "SSH", e))(Ar || {}), da = /* @__PURE__ */ ((e) => (e.BASIC = "BASIC", e.ANONYMOUS = "ANONYMOUS", e.IAM = "IAM", e))(da || {});
955
+ var F0 = /* @__PURE__ */ ((e) => (e.ABOUT = "about", e.LICENSE = "license", e.UPDATE = "update", e))(F0 || {}), jc = /* @__PURE__ */ ((e) => (e.FingerPrintMisMatch = "11001", e.LicenseExpired = "11002", e.TamperedCertificate = "11003", e.NoPublicKey = "11004", e.InstallationModeMismatch = "11005", e.LicKeyMismatch = "11006", e.NoCertFound = "11007", e.LicKeyNotFound = "11008", e.ClusterLimitExceeded = "11011", e))(jc || {}), up = /* @__PURE__ */ ((e) => (e.LICENSE_STATUS = "X-License-Status", e))(up || {}), B0 = /* @__PURE__ */ ((e) => (e.EKS_AUTO_CLUSTER = "eksAutoCluster", e.EKS_MANUAL_CLUSTER = "eksManualCluster", e))(B0 || {}), G0 = /* @__PURE__ */ ((e) => (e.USERNAME_PASSWORD = "username_password", e.ANONYMOUS = "anonymous", e))(G0 || {}), X = /* @__PURE__ */ ((e) => (e.DEPLOYMENT_INITIATED = "DEPLOYMENT_INITIATED", e.GIT_COMMIT = "GIT_COMMIT", e.GIT_COMMIT_FAILED = "GIT_COMMIT_FAILED", e.ARGOCD_SYNC = "ARGOCD_SYNC", e.ARGOCD_SYNC_FAILED = "ARGOCD_SYNC_FAILED", e.KUBECTL_APPLY = "KUBECTL_APPLY", e.KUBECTL_APPLY_STARTED = "KUBECTL_APPLY_STARTED", e.KUBECTL_APPLY_SYNCED = "KUBECTL_APPLY_SYNCED", e.HEALTHY = "HEALTHY", e.APP_HEALTH = "APP_HEALTH", e.DEPLOYMENT_FAILED = "FAILED", e.FETCH_TIMED_OUT = "TIMED_OUT", e.UNABLE_TO_FETCH_STATUS = "UNABLE_TO_FETCH_STATUS", e.DEGRADED = "DEGRADED", e.DEPLOYMENT_SUPERSEDED = "DEPLOYMENT_SUPERSEDED", e.ABORTED = "ABORTED", e.INPROGRESS = "INPROGRESS", e.HELM_PACKAGE_GENERATED = "HELM_PACKAGE_GENERATED", e.HELM_PACKAGE_GENERATION_FAILED = "HELM_PACKAGE_GENERATION_FAILED", e.HELM_MANIFEST_PUSHED_TO_HELM_REPO = "HELM_MANIFEST_PUSHED_TO_HELM_REPO", e.HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED = "HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED", e))(X || {}), vn = /* @__PURE__ */ ((e) => (e.PRE_SYNC = "PreSync", e.SYNC = "Sync", e.POST_SYNC = "PostSync", e.SKIP = "Skip", e.SYNC_FAIL = "SyncFail", e))(vn || {}), Ar = /* @__PURE__ */ ((e) => (e.Direct = "DIRECT", e.Proxy = "PROXY", e.SSHTunnel = "SSH", e))(Ar || {}), ua = /* @__PURE__ */ ((e) => (e.BASIC = "BASIC", e.ANONYMOUS = "ANONYMOUS", e.IAM = "IAM", e))(ua || {});
956
956
  const mp = (e, s, n, a, r) => {
957
957
  const o = e.lastIndex;
958
958
  Promise.resolve(s[o]()).then((i) => {
@@ -1381,7 +1381,7 @@ const Hs = {
1381
1381
  "gtag" in window && window.gtag && typeof window.gtag == "function" && (window.gtag("set", "user_properties", {
1382
1382
  appTheme: e,
1383
1383
  themePreference: s
1384
- }), bs.send("pageview")), bs.event({
1384
+ }), Ns.send("pageview")), Ns.event({
1385
1385
  category: "application-theme",
1386
1386
  action: `theme-changed-to-${n}`
1387
1387
  });
@@ -1518,7 +1518,7 @@ const Hs = {
1518
1518
  appId: a
1519
1519
  }) => {
1520
1520
  const r = n ? yo({
1521
- type: Ga.CONFIG_DATA,
1521
+ type: Va.CONFIG_DATA,
1522
1522
  queryParams: {
1523
1523
  id: a,
1524
1524
  ...e
@@ -1539,10 +1539,10 @@ const Hs = {
1539
1539
  n[r.index] = r;
1540
1540
  }), n;
1541
1541
  };
1542
- var bv = /* @__PURE__ */ ((e) => (e.PUBLISHED_ONLY = "PublishedOnly", e.DRAFT_ONLY = "DraftOnly", e.PUBLISHED_WITH_DRAFT = "PublishedWithDraft", e.PREVIOUS_DEPLOYMENTS = "PreviousDeployments", e.DEFAULT_VERSION = "DefaultVersion", e))(bv || {}), ua = /* @__PURE__ */ ((e) => (e[e.Init = 1] = "Init", e[e.Discarded = 2] = "Discarded", e[e.Published = 3] = "Published", e[e.AwaitApproval = 4] = "AwaitApproval", e))(ua || {}), Tv = /* @__PURE__ */ ((e) => (e[e.Add = 1] = "Add", e[e.Update = 2] = "Update", e[e.Delete = 3] = "Delete", e))(Tv || {}), Ge = /* @__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))(Ge || {}), ns = /* @__PURE__ */ ((e) => (e.ConfigMap = "ConfigMap", e.Secret = "Secret", e.DeploymentTemplate = "Deployment Template", e.PipelineStrategy = "Pipeline Strategy", e))(ns || {}), $i = /* @__PURE__ */ ((e) => (e[e.DefaultVersions = 1] = "DefaultVersions", e[e.PublishedOnEnvironments = 2] = "PublishedOnEnvironments", e[e.DeployedOnSelfEnvironment = 3] = "DeployedOnSelfEnvironment", e[e.DeployedOnOtherEnvironment = 4] = "DeployedOnOtherEnvironment", e))($i || {}), pt = /* @__PURE__ */ ((e) => (e.ConfigMap = "configmap", e.Secret = "secrets", e.DeploymentTemplate = "deployment-template", e.Manifest = "manifest", e.PipelineStrategy = "pipeline-strategy", e))(pt || {}), Ks = /* @__PURE__ */ ((e) => (e[e.ConfigMap = 1] = "ConfigMap", e[e.Secret = 2] = "Secret", e))(Ks || {}), Io = /* @__PURE__ */ ((e) => (e.BASE = "", e.INHERITED = "INHERITING", e.OVERRIDDEN = "OVERRIDDEN", e.ENV = "ENV", e.UNPUBLISHED = "UNPUBLISHED", e))(Io || {}), vp = /* @__PURE__ */ ((e) => (e.DATA = "data", e.SAMPLE = "sample", e))(vp || {});
1542
+ var bv = /* @__PURE__ */ ((e) => (e.PUBLISHED_ONLY = "PublishedOnly", e.DRAFT_ONLY = "DraftOnly", e.PUBLISHED_WITH_DRAFT = "PublishedWithDraft", e.PREVIOUS_DEPLOYMENTS = "PreviousDeployments", e.DEFAULT_VERSION = "DefaultVersion", e))(bv || {}), ma = /* @__PURE__ */ ((e) => (e[e.Init = 1] = "Init", e[e.Discarded = 2] = "Discarded", e[e.Published = 3] = "Published", e[e.AwaitApproval = 4] = "AwaitApproval", e))(ma || {}), Tv = /* @__PURE__ */ ((e) => (e[e.Add = 1] = "Add", e[e.Update = 2] = "Update", e[e.Delete = 3] = "Delete", e))(Tv || {}), Ge = /* @__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))(Ge || {}), ns = /* @__PURE__ */ ((e) => (e.ConfigMap = "ConfigMap", e.Secret = "Secret", e.DeploymentTemplate = "Deployment Template", e.PipelineStrategy = "Pipeline Strategy", e))(ns || {}), $i = /* @__PURE__ */ ((e) => (e[e.DefaultVersions = 1] = "DefaultVersions", e[e.PublishedOnEnvironments = 2] = "PublishedOnEnvironments", e[e.DeployedOnSelfEnvironment = 3] = "DeployedOnSelfEnvironment", e[e.DeployedOnOtherEnvironment = 4] = "DeployedOnOtherEnvironment", e))($i || {}), pt = /* @__PURE__ */ ((e) => (e.ConfigMap = "configmap", e.Secret = "secrets", e.DeploymentTemplate = "deployment-template", e.Manifest = "manifest", e.PipelineStrategy = "pipeline-strategy", e))(pt || {}), Ks = /* @__PURE__ */ ((e) => (e[e.ConfigMap = 1] = "ConfigMap", e[e.Secret = 2] = "Secret", e))(Ks || {}), Io = /* @__PURE__ */ ((e) => (e.BASE = "", e.INHERITED = "INHERITING", e.OVERRIDDEN = "OVERRIDDEN", e.ENV = "ENV", e.UNPUBLISHED = "UNPUBLISHED", e))(Io || {}), vp = /* @__PURE__ */ ((e) => (e.DATA = "data", e.SAMPLE = "sample", e))(vp || {});
1543
1543
  const Sv = ({ baseUrl: e, kind: s, version: n, suffix: a, queryParams: r }) => Ue(`${e}/${s}/${n}${a ? `/${a}` : ""}`, r), D5 = ({ kind: e, version: s, queryParams: n, suffix: a }) => Ue(`global/policy/${e}/${s}${a ? `/${a}` : ""}`, n), vv = (e, { isTemplateView: s }) => {
1544
1544
  const n = s ? yo({
1545
- type: Ga.CD_PIPELINE,
1545
+ type: Va.CD_PIPELINE,
1546
1546
  queryParams: {
1547
1547
  id: e.appId
1548
1548
  }
@@ -1591,7 +1591,7 @@ const Rv = {
1591
1591
  ) })
1592
1592
  }, Iv = {
1593
1593
  [ve.info]: {
1594
- icon: /* @__PURE__ */ t.jsx($a, {}),
1594
+ icon: /* @__PURE__ */ t.jsx(Ua, {}),
1595
1595
  type: "info",
1596
1596
  title: "Information",
1597
1597
  progressBarBg: "var(--B500)"
@@ -1667,7 +1667,7 @@ const ln = class ln {
1667
1667
  shortcuts: l
1668
1668
  }, d = {}) => {
1669
1669
  if (s === ve.shortcut)
1670
- return rr(/* @__PURE__ */ t.jsx(Ov, { text: c, shortcuts: l }), {
1670
+ return or(/* @__PURE__ */ t.jsx(Ov, { text: c, shortcuts: l }), {
1671
1671
  position: "top-center",
1672
1672
  containerId: "devtron-shortcut-toast",
1673
1673
  className: "shortcut-toast",
@@ -1677,7 +1677,7 @@ const ln = class ln {
1677
1677
  closeOnClick: !0
1678
1678
  });
1679
1679
  const { icon: u, type: m, title: p, progressBarBg: _ } = Iv[s];
1680
- return rr(
1680
+ return or(
1681
1681
  /* @__PURE__ */ t.jsx(yv, { title: a || p, description: r, buttonProps: o }),
1682
1682
  {
1683
1683
  ...d,
@@ -1696,18 +1696,18 @@ const ln = class ln {
1696
1696
  /**
1697
1697
  * Handler for dismissing an existing toast
1698
1698
  */
1699
- ue(this, "dismissToast", rr.dismiss);
1699
+ ue(this, "dismissToast", or.dismiss);
1700
1700
  /**
1701
1701
  * Handler for checking if the toast is active
1702
1702
  */
1703
- ue(this, "isToastActive", rr.isActive);
1703
+ ue(this, "isToastActive", or.isActive);
1704
1704
  }
1705
1705
  static get instance() {
1706
- return tn(ln, Pn) || ar(ln, Pn, new ln()), tn(ln, Pn);
1706
+ return tn(ln, Pn) || rr(ln, Pn, new ln()), tn(ln, Pn);
1707
1707
  }
1708
1708
  };
1709
1709
  Pn = new WeakMap(), // eslint-disable-next-line no-use-before-define
1710
- nr(ln, Pn);
1710
+ ar(ln, Pn);
1711
1711
  let Ui = ln;
1712
1712
  const k5 = () => /* @__PURE__ */ t.jsx(th, { ...Rv }), $e = Ui.instance, jv = (e) => {
1713
1713
  const s = (e?.ciMaterials ?? []).map((n, a) => ({
@@ -1719,10 +1719,10 @@ const k5 = () => /* @__PURE__ */ t.jsx(th, { ...Rv }), $e = Ui.instance, jv = (e
1719
1719
  value: n.value || "",
1720
1720
  active: n.active || !1,
1721
1721
  history: n.history.map((r, o) => ({
1722
- commitURL: n.url ? Ya(n.url, r.Commit) : "",
1722
+ commitURL: n.url ? Wa(n.url, r.Commit) : "",
1723
1723
  commit: r.Commit || "",
1724
1724
  author: r.Author || "",
1725
- date: Ma(r.Date, !1),
1725
+ date: ka(r.Date, !1),
1726
1726
  message: r.Message || "",
1727
1727
  changes: r.Changes || [],
1728
1728
  showChanges: o === 0,
@@ -1736,7 +1736,7 @@ const k5 = () => /* @__PURE__ */ t.jsx(th, { ...Rv }), $e = Ui.instance, jv = (e
1736
1736
  ciPipelineId: e?.ciPipelineId,
1737
1737
  materials: s,
1738
1738
  triggeredByEmail: e?.triggeredByEmail || "",
1739
- lastDeployedTime: Ma(e.lastDeployedTime, !1),
1739
+ lastDeployedTime: ka(e.lastDeployedTime, !1),
1740
1740
  environmentName: e?.environmentName || "",
1741
1741
  environmentId: e?.environmentId || 0,
1742
1742
  appId: e?.appId,
@@ -1749,7 +1749,7 @@ const k5 = () => /* @__PURE__ */ t.jsx(th, { ...Rv }), $e = Ui.instance, jv = (e
1749
1749
  targetPlatforms: jo(e?.targetPlatforms)
1750
1750
  };
1751
1751
  }, wv = (e) => e === Ge.AWSSecretsManager || e === Ge.AWSSystemManager || e === Ge.HashiCorpVault, Ap = (e) => e === Ge.ESO_GoogleSecretsManager || e === Ge.ESO_AzureSecretsManager || e === Ge.ESO_AWSSecretsManager || e === Ge.ESO_HashiCorpVault;
1752
- var An = /* @__PURE__ */ ((e) => (e.VALUES = "values", e.INHERITED = "inherited", e.DRY_RUN = "dryRun", e))(An || {}), Lv = /* @__PURE__ */ ((e) => (e.PUBLISHED = "published", e.COMPARE = "compare", e.EDIT_DRAFT = "editDraft", e))(Lv || {}), Pc = /* @__PURE__ */ ((e) => (e.PATCH = "patch", e.REPLACE = "replace", e))(Pc || {}), Dv = /* @__PURE__ */ ((e) => (e.DISCARD_DRAFT = "discardDraft", e.EDIT_HISTORY = "editHistory", e))(Dv || {}), Ga = /* @__PURE__ */ ((e) => (e.GIT_MATERIAL = "git-material", e.CI_BUILD_CONFIG = "ci-build-config", e.STAGE_STATUS = "stage-status", e.CD_DEPLOY_CONFIG = "cd-deploy-config", e.CD_ENV_LIST = "cd-env-list", e.CONFIG_DEPLOYMENT_TEMPLATE = "config/deployment-template", e.CONFIG_DEPLOYMENT_TEMPLATE_ENV = "config/deployment-template/env", e.CONFIG_DATA = "config-data", e.CONFIG_CM = "config/config-map", e.CONFIG_CS = "config/secret", e.WORKFLOW = "workflow", e.WORKFLOW_LIST = "workflow/list", e.OVERVIEW = "overview", e.README = "readme", e.CD_PIPELINE_LIST = "cd-pipeline/list", e.EXTERNAL_CI_LIST = "external-ci/list", e.EXTERNAL_CI = "external-ci", e.CI_PIPELINE = "ci-pipeline", e.CD_PIPELINE = "cd-pipeline", e.CONFIG_STRATEGY = "config/strategy", e.CHART_REF = "chartRef", e.PIPELINE_SUGGEST_CI = "pipeline/suggest/ci", e.PIPELINE_SUGGEST_CD = "pipeline/suggest/cd", e))(Ga || {});
1752
+ var An = /* @__PURE__ */ ((e) => (e.VALUES = "values", e.INHERITED = "inherited", e.DRY_RUN = "dryRun", e))(An || {}), Lv = /* @__PURE__ */ ((e) => (e.PUBLISHED = "published", e.COMPARE = "compare", e.EDIT_DRAFT = "editDraft", e))(Lv || {}), Pc = /* @__PURE__ */ ((e) => (e.PATCH = "patch", e.REPLACE = "replace", e))(Pc || {}), Dv = /* @__PURE__ */ ((e) => (e.DISCARD_DRAFT = "discardDraft", e.EDIT_HISTORY = "editHistory", e))(Dv || {}), Va = /* @__PURE__ */ ((e) => (e.GIT_MATERIAL = "git-material", e.CI_BUILD_CONFIG = "ci-build-config", e.STAGE_STATUS = "stage-status", e.CD_DEPLOY_CONFIG = "cd-deploy-config", e.CD_ENV_LIST = "cd-env-list", e.CONFIG_DEPLOYMENT_TEMPLATE = "config/deployment-template", e.CONFIG_DEPLOYMENT_TEMPLATE_ENV = "config/deployment-template/env", e.CONFIG_DATA = "config-data", e.CONFIG_CM = "config/config-map", e.CONFIG_CS = "config/secret", e.WORKFLOW = "workflow", e.WORKFLOW_LIST = "workflow/list", e.OVERVIEW = "overview", e.README = "readme", e.CD_PIPELINE_LIST = "cd-pipeline/list", e.EXTERNAL_CI_LIST = "external-ci/list", e.EXTERNAL_CI = "external-ci", e.CI_PIPELINE = "ci-pipeline", e.CD_PIPELINE = "cd-pipeline", e.CONFIG_STRATEGY = "config/strategy", e.CHART_REF = "chartRef", e.PIPELINE_SUGGEST_CI = "pipeline/suggest/ci", e.PIPELINE_SUGGEST_CD = "pipeline/suggest/cd", e))(Va || {});
1753
1753
  const $5 = {
1754
1754
  BASE_DEPLOYMENT_TEMPLATE: [An.VALUES, An.DRY_RUN],
1755
1755
  OVERRIDE: [An.INHERITED, An.VALUES, An.DRY_RUN]
@@ -1757,7 +1757,7 @@ const $5 = {
1757
1757
  data: "",
1758
1758
  resolvedData: "",
1759
1759
  areVariablesPresent: !1
1760
- }, ys = xo(
1760
+ }, Is = xo(
1761
1761
  ({ rootClassName: e, onClick: s, name: n, disabled: a, value: r, onChange: o, tabIndex: i, isChecked: c, id: l, dataTestId: d, children: u }, m) => {
1762
1762
  const p = `${e || ""}`;
1763
1763
  return (
@@ -1805,7 +1805,7 @@ const $5 = {
1805
1805
  /* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 lh-20 dc__no-shrink", children: "Application metrics" })
1806
1806
  ] }) : /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center", children: [
1807
1807
  /* @__PURE__ */ t.jsx(XP, { parsingError: c, restoreLastSavedYAML: l, children: /* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx(
1808
- ys,
1808
+ Is,
1809
1809
  {
1810
1810
  rootClassName: `mb-0 dc__align-items-center ${n.isAppMetricsSupported ? "" : "dc__disabled"}`,
1811
1811
  isChecked: o,
@@ -2172,7 +2172,7 @@ const Yl = (e) => ({
2172
2172
  )) })
2173
2173
  ] });
2174
2174
  };
2175
- var zv = /* @__PURE__ */ ((e) => (e.includeDeleted = "includeDeleted", e.excludeDelete = "excludeDelete", e.onlyDeleted = "onlyDeleted", e))(zv || {}), F = /* @__PURE__ */ ((e) => (e.CPU_LIMIT = "cpu_limit", e.CPU_REQUEST = "cpu_request", e.MEMORY_LIMIT = "memory_limit", e.MEMORY_REQUEST = "memory_request", e.BUILD_TIMEOUT = "timeout", e.NODE_SELECTOR = "node_selector", e.TOLERANCE = "tolerations", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(F || {}), ts = /* @__PURE__ */ ((e) => (e.NAME = "name", e.DESCRIPTION = "description", e))(ts || {}), we = /* @__PURE__ */ ((e) => (e.CPU = "cpu", e.MEMORY = "memory", e.BUILD_TIMEOUT = "timeout", e.NODE_SELECTOR = "node selector", e.TOLERANCE = "tolerance", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(we || {}), yp = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.NORMAL = "NORMAL", e.CUSTOM = "CUSTOM", e))(yp || {}), Ys = /* @__PURE__ */ ((e) => (e.EXISTS = "Exists", e.EQUALS = "Equal", e))(Ys || {}), Op = /* @__PURE__ */ ((e) => (e.NO_EXECUTE = "NoExecute", e.NO_SCHEDULE = "NoSchedule", e.PREFER_NO_SCHEDULE = "PreferNoSchedule", e))(Op || {}), Kr = /* @__PURE__ */ ((e) => (e.KUBERNETES = "kubernetes", e.DOCKER_CONTAINER = "docker-container", e))(Kr || {}), Ia = /* @__PURE__ */ ((e) => (e.TARGET_PLATFORM = "target_platform", e))(Ia || {}), Fi = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.VALUE = "VALUE", e))(Fi || {}), Bi = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.OPERATOR = "OPERATOR", e.VALUE = "VALUE", e.EFFECT = "EFFECT", e))(Bi || {}), It = /* @__PURE__ */ ((e) => (e.ADD_TARGET_PLATFORM = "add_target_platform", e.REMOVE_TARGET_PLATFORM = "remove_target_platform", e.RENAME_TARGET_PLATFORM = "rename_target_platform", e.RESTORE_PROFILE_CONFIG_SNAPSHOT = "restore_profile_config_snapshot", e.DELETE_NODE_SELECTOR_ITEM = "delete_node_selector_item", e.ADD_NODE_SELECTOR_ITEM = "add_node_selector_item", e.EDIT_NODE_SELECTOR_ITEM = "edit_node_selector_item", e.DELETE_TOLERANCE_ITEM = "delete_tolerance_item", e.ADD_TOLERANCE_ITEM = "add_tolerance_item", e.EDIT_TOLERANCE_ITEM = "edit_tolerance_item", e.ADD_CM_CS_ITEM = "add_cm_cs_item", e.SYNC_CM_CS_ITEM = "sync_cm_cs_item", e.DELETE_CM_CS_ITEM = "delete_cm_cs_item", e))(It || {}), jp = /* @__PURE__ */ ((e) => (e.ALPHA1 = "alpha1", e))(jp || {});
2175
+ var zv = /* @__PURE__ */ ((e) => (e.includeDeleted = "includeDeleted", e.excludeDelete = "excludeDelete", e.onlyDeleted = "onlyDeleted", e))(zv || {}), F = /* @__PURE__ */ ((e) => (e.CPU_LIMIT = "cpu_limit", e.CPU_REQUEST = "cpu_request", e.MEMORY_LIMIT = "memory_limit", e.MEMORY_REQUEST = "memory_request", e.BUILD_TIMEOUT = "timeout", e.NODE_SELECTOR = "node_selector", e.TOLERANCE = "tolerations", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(F || {}), ts = /* @__PURE__ */ ((e) => (e.NAME = "name", e.DESCRIPTION = "description", e))(ts || {}), we = /* @__PURE__ */ ((e) => (e.CPU = "cpu", e.MEMORY = "memory", e.BUILD_TIMEOUT = "timeout", e.NODE_SELECTOR = "node selector", e.TOLERANCE = "tolerance", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(we || {}), yp = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.NORMAL = "NORMAL", e.CUSTOM = "CUSTOM", e))(yp || {}), Ys = /* @__PURE__ */ ((e) => (e.EXISTS = "Exists", e.EQUALS = "Equal", e))(Ys || {}), Op = /* @__PURE__ */ ((e) => (e.NO_EXECUTE = "NoExecute", e.NO_SCHEDULE = "NoSchedule", e.PREFER_NO_SCHEDULE = "PreferNoSchedule", e))(Op || {}), Kr = /* @__PURE__ */ ((e) => (e.KUBERNETES = "kubernetes", e.DOCKER_CONTAINER = "docker-container", e))(Kr || {}), ya = /* @__PURE__ */ ((e) => (e.TARGET_PLATFORM = "target_platform", e))(ya || {}), Fi = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.VALUE = "VALUE", e))(Fi || {}), Bi = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.OPERATOR = "OPERATOR", e.VALUE = "VALUE", e.EFFECT = "EFFECT", e))(Bi || {}), It = /* @__PURE__ */ ((e) => (e.ADD_TARGET_PLATFORM = "add_target_platform", e.REMOVE_TARGET_PLATFORM = "remove_target_platform", e.RENAME_TARGET_PLATFORM = "rename_target_platform", e.RESTORE_PROFILE_CONFIG_SNAPSHOT = "restore_profile_config_snapshot", e.DELETE_NODE_SELECTOR_ITEM = "delete_node_selector_item", e.ADD_NODE_SELECTOR_ITEM = "add_node_selector_item", e.EDIT_NODE_SELECTOR_ITEM = "edit_node_selector_item", e.DELETE_TOLERANCE_ITEM = "delete_tolerance_item", e.ADD_TOLERANCE_ITEM = "add_tolerance_item", e.EDIT_TOLERANCE_ITEM = "edit_tolerance_item", e.ADD_CM_CS_ITEM = "add_cm_cs_item", e.SYNC_CM_CS_ITEM = "sync_cm_cs_item", e.DELETE_CM_CS_ITEM = "delete_cm_cs_item", e))(It || {}), jp = /* @__PURE__ */ ((e) => (e.ALPHA1 = "alpha1", e))(jp || {});
2176
2176
  const zs = {
2177
2177
  // Will not enforce any decimal specification on input field
2178
2178
  STEP: "any",
@@ -2277,12 +2277,12 @@ const zs = {
2277
2277
  Object.values({
2278
2278
  ...F,
2279
2279
  ...ts,
2280
- ...Ia
2280
+ ...ya
2281
2281
  }).map((e) => [e, null])
2282
2282
  ), qv = [ts.NAME], Wl = {
2283
2283
  SUBMIT_BUTTON: "build-infra-submit-button",
2284
2284
  CANCEL_BUTTON: "build-infra-cancel-button"
2285
- }, Cs = "runner", Xv = jp.ALPHA1, Kl = {
2285
+ }, Es = "runner", Xv = jp.ALPHA1, Kl = {
2286
2286
  [F.BUILD_TIMEOUT]: !0,
2287
2287
  [F.CPU_LIMIT]: !0,
2288
2288
  [F.CPU_REQUEST]: !0,
@@ -2292,7 +2292,7 @@ const zs = {
2292
2292
  [F.TOLERANCE]: !0,
2293
2293
  [F.CONFIG_MAP]: !0,
2294
2294
  [F.SECRET]: !0,
2295
- [Ia.TARGET_PLATFORM]: !0
2295
+ [ya.TARGET_PLATFORM]: !0
2296
2296
  }, zl = Object.values(we).reduce(
2297
2297
  (e, s) => (e[`activate_${s}`] = s, e[`de_activate_${s}`] = s, e),
2298
2298
  {}
@@ -2325,7 +2325,7 @@ const zs = {
2325
2325
  [F.BUILD_TIMEOUT]: !0,
2326
2326
  [F.CONFIG_MAP]: !0,
2327
2327
  [F.SECRET]: !0
2328
- }, Va = {
2328
+ }, Ha = {
2329
2329
  [F.CONFIG_MAP]: !0,
2330
2330
  [F.SECRET]: !0
2331
2331
  }, Lp = {
@@ -2460,7 +2460,7 @@ const zs = {
2460
2460
  "ic-bug": hC,
2461
2461
  "ic-build-color": gC,
2462
2462
  "ic-building": xC,
2463
- "ic-calendar": Ta,
2463
+ "ic-calendar": Sa,
2464
2464
  "ic-cancelled": EC,
2465
2465
  "ic-card-stack": CC,
2466
2466
  "ic-caret-down-small": NC,
@@ -3166,7 +3166,7 @@ const Zl = (e) => {
3166
3166
  isDisabled: s,
3167
3167
  selectProps: { isLoading: n, keyboardShortcut: a }
3168
3168
  } = e;
3169
- return a ? null : /* @__PURE__ */ t.jsx(Je.DropdownIndicator, { ...e, children: n ? /* @__PURE__ */ t.jsx(Qe, { fillColor: "var(--N500)" }) : /* @__PURE__ */ t.jsx(Ss, { className: s ? "scn-3" : "scn-6" }) });
3169
+ return a ? null : /* @__PURE__ */ t.jsx(Je.DropdownIndicator, { ...e, children: n ? /* @__PURE__ */ t.jsx(Qe, { fillColor: "var(--N500)" }) : /* @__PURE__ */ t.jsx(Ts, { className: s ? "scn-3" : "scn-6" }) });
3170
3170
  }, xA = (e) => /* @__PURE__ */ t.jsx(Je.ClearIndicator, { ...e, children: /* @__PURE__ */ t.jsx(ps, { className: "icon-use-fill-n6" }) }), EA = (e) => {
3171
3171
  const {
3172
3172
  children: s,
@@ -3228,7 +3228,7 @@ const Zl = (e) => {
3228
3228
  children: /* @__PURE__ */ t.jsx(Q, { ...Pp(_), children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8", children: [
3229
3229
  f && N(),
3230
3230
  o && i && !E && /* @__PURE__ */ t.jsx(
3231
- ys,
3231
+ Is,
3232
3232
  {
3233
3233
  onChange: Ce,
3234
3234
  onClick: x,
@@ -3353,13 +3353,13 @@ const Zl = (e) => {
3353
3353
  );
3354
3354
  if (i) {
3355
3355
  a?.onChange?.(u, {
3356
- action: Aa.deselectOption,
3356
+ action: Ra.deselectOption,
3357
3357
  option: null
3358
3358
  });
3359
3359
  return;
3360
3360
  }
3361
3361
  a?.onChange?.([...u, ...o], {
3362
- action: Aa.selectOption,
3362
+ action: Ra.selectOption,
3363
3363
  option: null
3364
3364
  });
3365
3365
  }, l = (d) => {
@@ -3367,7 +3367,7 @@ const Zl = (e) => {
3367
3367
  };
3368
3368
  return /* @__PURE__ */ t.jsx(Je.GroupHeading, { ...s, onClick: c, children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8", children: [
3369
3369
  e && /* @__PURE__ */ t.jsx(
3370
- ys,
3370
+ Is,
3371
3371
  {
3372
3372
  onChange: Ce,
3373
3373
  onClick: l,
@@ -3588,7 +3588,7 @@ const Zl = (e) => {
3588
3588
  isGroupHeadingSelectable: pe = !1,
3589
3589
  getIsOptionValid: ee = () => !0,
3590
3590
  customDisplayText: Ee = null
3591
- } = g, ze = Dt && !Ee, Os = !f && i, Jn = !b && T, Zn = D ?? !f, Xt = J(
3591
+ } = g, ze = Dt && !Ee, ys = !f && i, Jn = !b && T, Zn = D ?? !f, Xt = J(
3592
3592
  () => fA({
3593
3593
  error: e,
3594
3594
  size: c,
@@ -3600,13 +3600,13 @@ const Zl = (e) => {
3600
3600
  }),
3601
3601
  [e, c, u, h, pe, O]
3602
3602
  ), En = (De) => {
3603
- const js = De?.trim();
3604
- return R && !!js && !Un(
3603
+ const Os = De?.trim();
3604
+ return R && !!Os && !Un(
3605
3605
  at,
3606
- js,
3606
+ Os,
3607
3607
  null,
3608
3608
  V
3609
- ) && !Un(Pt, js, null, V);
3609
+ ) && !Un(Pt, Os, null, V);
3610
3610
  }, Qn = He(
3611
3611
  (De) => /* @__PURE__ */ t.jsx(
3612
3612
  NA,
@@ -3630,14 +3630,14 @@ const Zl = (e) => {
3630
3630
  ), en = (De) => /* @__PURE__ */ t.jsx(SA, { ...De, getIsOptionValid: ee }), Cn = He(
3631
3631
  (De) => /* @__PURE__ */ t.jsx(vA, { ...De, isGroupHeadingSelectable: pe }),
3632
3632
  [pe]
3633
- ), tr = () => m ? /* @__PURE__ */ t.jsx(gn, { reload: p }) : k ? /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: xe?.({
3633
+ ), sr = () => m ? /* @__PURE__ */ t.jsx(gn, { reload: p }) : k ? /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: xe?.({
3634
3634
  inputValue: Se
3635
- }) || "No options" }) : null, sr = (De) => /* @__PURE__ */ t.jsx(ye, { content: l, placement: "top", className: "default-tt", arrow: !1, children: De }), Kf = (De) => {
3636
- const js = De?.trim();
3637
- js && y?.(js);
3638
- }, zf = (De, js) => {
3635
+ }) || "No options" }) : null, nr = (De) => /* @__PURE__ */ t.jsx(ye, { content: l, placement: "top", className: "default-tt", arrow: !1, children: De }), Kf = (De) => {
3636
+ const Os = De?.trim();
3637
+ Os && y?.(Os);
3638
+ }, zf = (De, Os) => {
3639
3639
  if (te.onInputChange) {
3640
- te.onInputChange(De, js);
3640
+ te.onInputChange(De, Os);
3641
3641
  return;
3642
3642
  }
3643
3643
  Re(De);
@@ -3671,7 +3671,7 @@ const Zl = (e) => {
3671
3671
  labelTippyCustomizedConfig: q,
3672
3672
  labelTooltipConfig: Z,
3673
3673
  hideFormFieldInfo: he,
3674
- children: /* @__PURE__ */ t.jsx(_t, { condition: ct && !!l, wrap: sr, children: /* @__PURE__ */ t.jsx("div", { className: "w-100", children: /* @__PURE__ */ t.jsx(
3674
+ children: /* @__PURE__ */ t.jsx(_t, { condition: ct && !!l, wrap: nr, children: /* @__PURE__ */ t.jsx("div", { className: "w-100", children: /* @__PURE__ */ t.jsx(
3675
3675
  Bx,
3676
3676
  {
3677
3677
  ...te,
@@ -3715,7 +3715,7 @@ const Zl = (e) => {
3715
3715
  ValueContainer: Qn,
3716
3716
  MultiValue: en,
3717
3717
  GroupHeading: Cn,
3718
- NoOptionsMessage: tr,
3718
+ NoOptionsMessage: sr,
3719
3719
  LoadingMessage: AA,
3720
3720
  Input: CA,
3721
3721
  ...L && {
@@ -3734,7 +3734,7 @@ const Zl = (e) => {
3734
3734
  icon: s,
3735
3735
  keyboardShortcut: n,
3736
3736
  showCheckboxForMultiSelect: Ie,
3737
- showSelectedOptionIcon: Os,
3737
+ showSelectedOptionIcon: ys,
3738
3738
  onKeyDown: qf,
3739
3739
  shouldRenderTextArea: P,
3740
3740
  customDisplayText: Ee,
@@ -4232,7 +4232,7 @@ const Zl = (e) => {
4232
4232
  DEPLOYMENT: "usage/applications/creating-application/deployment-template/deployment",
4233
4233
  DEPLOYMENT_TEMPLATE: "usage/applications/creating-application/deployment-template",
4234
4234
  DEVTRON_UPGRADE: "getting-started/upgrade",
4235
- DOC_HOME_PAGE: Ba,
4235
+ DOC_HOME_PAGE: Ga,
4236
4236
  ENTERPRISE_LICENSE: "enterprise-license",
4237
4237
  EXECUTE_CUSTOM_SCRIPT: "usage/applications/creating-application/workflow/ci-pipeline/ci-build-pre-post-plugins#execute-custom-script",
4238
4238
  EXTERNAL_LINKS: "getting-started/global-configurations/external-links",
@@ -4333,7 +4333,7 @@ const Zl = (e) => {
4333
4333
  if (r?.startsWith("http"))
4334
4334
  return r;
4335
4335
  const o = a ? "" : Bp({ isEnterprise: s });
4336
- return `${Ba}${_0}/${r || ""}${o}`;
4336
+ return `${Ga}${_0}/${r || ""}${o}`;
4337
4337
  }, UA = ({ count: e, isApprox: s, isSelected: n }) => /* @__PURE__ */ t.jsxs(
4338
4338
  "div",
4339
4339
  {
@@ -4539,7 +4539,7 @@ const Zl = (e) => {
4539
4539
  }
4540
4540
  );
4541
4541
  case "action-menu":
4542
- return /* @__PURE__ */ t.jsx(Ha, { ...s });
4542
+ return /* @__PURE__ */ t.jsx(Ya, { ...s });
4543
4543
  default:
4544
4544
  return null;
4545
4545
  }
@@ -4726,7 +4726,7 @@ const Zl = (e) => {
4726
4726
  handleSearch: h,
4727
4727
  scrollableRef: S
4728
4728
  };
4729
- }, Ha = ({
4729
+ }, Ya = ({
4730
4730
  id: e,
4731
4731
  options: s,
4732
4732
  onClick: n,
@@ -4863,7 +4863,7 @@ const Zl = (e) => {
4863
4863
  onKeyDown: p,
4864
4864
  autoFocus: !0
4865
4865
  }
4866
- ) }) : /* @__PURE__ */ t.jsx(Ha, { ...a, id: e, isSearchable: !0, onClick: u, children: /* @__PURE__ */ t.jsxs(
4866
+ ) }) : /* @__PURE__ */ t.jsx(Ya, { ...a, id: e, isSearchable: !0, onClick: u, children: /* @__PURE__ */ t.jsxs(
4867
4867
  "button",
4868
4868
  {
4869
4869
  type: "button",
@@ -4921,12 +4921,12 @@ const Zl = (e) => {
4921
4921
  const C = e;
4922
4922
  return n && (!C?.value || C.value !== d) ? (E(d), !0) : !1;
4923
4923
  }, g = (C, { action: N }) => {
4924
- if (N === Aa.inputChange)
4924
+ if (N === Ra.inputChange)
4925
4925
  u(C), C || a?.(null, {
4926
4926
  action: "remove-value",
4927
4927
  removedValue: e
4928
4928
  });
4929
- else if (N === Aa.inputBlur) {
4929
+ else if (N === Ra.inputBlur) {
4930
4930
  if (x())
4931
4931
  return;
4932
4932
  u(e?.value || "");
@@ -4971,7 +4971,7 @@ ${d.slice(b)}`;
4971
4971
  handleProfileInputChange: i,
4972
4972
  currentUnitName: c,
4973
4973
  currentValue: l,
4974
- targetPlatform: d = Cs,
4974
+ targetPlatform: d = Es,
4975
4975
  isDisabled: u = !1,
4976
4976
  autoFocus: m = !1
4977
4977
  }) => {
@@ -5118,7 +5118,7 @@ ${d.slice(b)}`;
5118
5118
  unitsMap: r,
5119
5119
  configurationContainerLabel: o
5120
5120
  }) => {
5121
- const i = e?.configurations?.[Cs], c = (l) => l.some((d) => !i[d.actionType].active);
5121
+ const i = e?.configurations?.[Es], c = (l) => l.some((d) => !i[d.actionType].active);
5122
5122
  return i ? /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__mxw-920 dc__gap-16", children: [
5123
5123
  !a && /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-12", children: [
5124
5124
  /* @__PURE__ */ t.jsx(
@@ -5183,7 +5183,7 @@ ${d.slice(b)}`;
5183
5183
  throw new Error("Please wrap parent component with BuildInfraUtilityProvider");
5184
5184
  return e;
5185
5185
  }, Bc = (e) => {
5186
- const s = B(null), [n, a] = w(!1), r = e.theme === Fa.white, o = (C) => {
5186
+ const s = B(null), [n, a] = w(!1), r = e.theme === Ba.white, o = (C) => {
5187
5187
  C.keyCode === 27 && c(C);
5188
5188
  }, i = (C) => {
5189
5189
  s.current = C, document.addEventListener("keydown", o);
@@ -5242,7 +5242,7 @@ ${d.slice(b)}`;
5242
5242
  {
5243
5243
  className: `flex left top bcv-1 fs-13 fw-4 lh-20 pt-8 pb-8 ${r ? "pl-12 pr-12" : "pl-20 pr-20"}`,
5244
5244
  children: [
5245
- /* @__PURE__ */ t.jsx("div", { className: "icon-dim-20 mr-8", children: /* @__PURE__ */ t.jsx(ka, { className: "icon-dim-20 fcv-5" }) }),
5245
+ /* @__PURE__ */ t.jsx("div", { className: "icon-dim-20 mr-8", children: /* @__PURE__ */ t.jsx($a, { className: "icon-dim-20 fcv-5" }) }),
5246
5246
  /* @__PURE__ */ t.jsx("div", { className: "dc__word-break dc__hyphens-auto", children: v })
5247
5247
  ]
5248
5248
  }
@@ -5263,7 +5263,7 @@ ${d.slice(b)}`;
5263
5263
  ),
5264
5264
  D,
5265
5265
  k && /* @__PURE__ */ t.jsx("div", { className: "px-12 pb-12 flexbox", children: /* @__PURE__ */ t.jsx(
5266
- Ka,
5266
+ za,
5267
5267
  {
5268
5268
  text: P,
5269
5269
  dataTestId: "learn-more-about-tippy-link",
@@ -5313,11 +5313,11 @@ ${d.slice(b)}`;
5313
5313
  }) => /* @__PURE__ */ t.jsx(
5314
5314
  Bc,
5315
5315
  {
5316
- theme: Fa.white,
5316
+ theme: Ba.white,
5317
5317
  headingInfo: u,
5318
5318
  className: "w-300 h-100 dc__no-text-transform",
5319
5319
  placement: c,
5320
- Icon: ka,
5320
+ Icon: $a,
5321
5321
  heading: e,
5322
5322
  infoText: s,
5323
5323
  iconClass: n,
@@ -5944,12 +5944,12 @@ const h2 = (e, s = !1) => {
5944
5944
  }
5945
5945
  case It.ADD_TARGET_PLATFORM: {
5946
5946
  const { handleCaptureSnapshot: v } = C;
5947
- b[Ia.TARGET_PLATFORM] = T ? ad(
5947
+ b[ya.TARGET_PLATFORM] = T ? ad(
5948
5948
  T,
5949
5949
  E(N.configurations)
5950
5950
  ).message : "", N.configurations[T] = i.fallbackPlatformConfigurationMap[T] || // Here need to update target platform name for each configuration
5951
5951
  Object.entries(
5952
- i.fallbackPlatformConfigurationMap[Cs]
5952
+ i.fallbackPlatformConfigurationMap[Es]
5953
5953
  ).reduce((A, [I, R]) => (A[I] = {
5954
5954
  ...R,
5955
5955
  targetPlatform: T
@@ -5980,12 +5980,12 @@ const h2 = (e, s = !1) => {
5980
5980
  });
5981
5981
  return;
5982
5982
  }
5983
- b[Ia.TARGET_PLATFORM] = ad(
5983
+ b[ya.TARGET_PLATFORM] = ad(
5984
5984
  A,
5985
5985
  E(N.configurations)
5986
5986
  ).message;
5987
5987
  const y = i.fallbackPlatformConfigurationMap[A] || // Ideally should update targetPlatform for each configuration here itself but since we iterating over it again, we will do it there
5988
- i.fallbackPlatformConfigurationMap[Cs];
5988
+ i.fallbackPlatformConfigurationMap[Es];
5989
5989
  if (N.configurations[A] = Object.entries(
5990
5990
  R
5991
5991
  ).reduce(
@@ -6240,8 +6240,8 @@ const h2 = (e, s = !1) => {
6240
6240
  appCount: s.appCount,
6241
6241
  useK8sDriver: r
6242
6242
  };
6243
- }, S2 = (e) => !!Va[e], yR = (e, s) => {
6244
- if (!Va[e.key])
6243
+ }, S2 = (e) => !!Ha[e], yR = (e, s) => {
6244
+ if (!Ha[e.key])
6245
6245
  return Fn(e);
6246
6246
  const n = e.value?.map(
6247
6247
  (a) => {
@@ -6269,7 +6269,7 @@ const h2 = (e, s = !1) => {
6269
6269
  };
6270
6270
  }, OR = (e) => {
6271
6271
  const s = Fn(e, !1);
6272
- if (!Va[s.key])
6272
+ if (!Ha[s.key])
6273
6273
  return s;
6274
6274
  const a = s.value?.filter(
6275
6275
  (r) => r.isOverridden
@@ -6309,7 +6309,7 @@ const h2 = (e, s = !1) => {
6309
6309
  const l = o[c], d = r[c]?.active ? r[c] : null;
6310
6310
  if (!l)
6311
6311
  return i;
6312
- const u = Fn(l), m = Va[c] && !a;
6312
+ const u = Fn(l), m = Ha[c] && !a;
6313
6313
  let p = d ? {
6314
6314
  ...d,
6315
6315
  defaultValue: m ? null : u
@@ -6366,12 +6366,12 @@ const h2 = (e, s = !1) => {
6366
6366
  o
6367
6367
  ), c = od(
6368
6368
  a ? {
6369
- [Cs]: []
6369
+ [Es]: []
6370
6370
  } : n?.configurations,
6371
6371
  o
6372
6372
  ), l = Object.entries(c).reduce(
6373
6373
  (u, [m, p]) => {
6374
- const _ = i[m] || i[Cs];
6374
+ const _ = i[m] || i[Es];
6375
6375
  return u[m] = jR({
6376
6376
  profileConfigurationsMap: p,
6377
6377
  defaultConfigurationsMap: _,
@@ -6381,7 +6381,7 @@ const h2 = (e, s = !1) => {
6381
6381
  },
6382
6382
  {}
6383
6383
  ), d = Object.entries(i).reduce((u, [m, p]) => {
6384
- const _ = l[Cs];
6384
+ const _ = l[Es];
6385
6385
  return u[m] = Object.values(F).reduce(
6386
6386
  (h, E) => {
6387
6387
  if (!p[E])
@@ -6412,7 +6412,7 @@ const h2 = (e, s = !1) => {
6412
6412
  }, LR = (e) => e ? Kr.KUBERNETES : Kr.DOCKER_CONTAINER, DR = (e, s) => {
6413
6413
  const n = e.configurations || {}, a = Object.entries(n).reduce((o, [i, c]) => {
6414
6414
  const l = Object.values(c).reduce((d, u) => {
6415
- const m = !!Va[u.key], p = m && u.value?.some(
6415
+ const m = !!Ha[u.key], p = m && u.value?.some(
6416
6416
  (_) => _.isOverridden
6417
6417
  );
6418
6418
  if (u.id || u.active || p) {
@@ -6431,11 +6431,11 @@ const h2 = (e, s = !1) => {
6431
6431
  return o[i] = l, o;
6432
6432
  }, {});
6433
6433
  return Object.entries(a).forEach(([o, i]) => {
6434
- o !== Cs && (a[o] = i.filter(
6434
+ o !== Es && (a[o] = i.filter(
6435
6435
  (c) => !eA[c.key]
6436
6436
  ));
6437
6437
  }), s && !e.useK8sDriver && Object.keys(a).forEach((o) => {
6438
- o !== Cs && delete a[o];
6438
+ o !== Es && delete a[o];
6439
6439
  }), {
6440
6440
  name: e.name,
6441
6441
  description: e.description?.trim(),
@@ -6458,7 +6458,7 @@ const h2 = (e, s = !1) => {
6458
6458
  ]
6459
6459
  }
6460
6460
  );
6461
- var ma = /* @__PURE__ */ ((e) => (e.JOB_AND_CRONJOB_CHART_NAME = "Job & CronJob", e.ROLLOUT_DEPLOYMENT = "Rollout Deployment", e.DEPLOYMENT = "Deployment", e.STATEFUL_SET = "StatefulSet", e))(ma || {});
6461
+ var pa = /* @__PURE__ */ ((e) => (e.JOB_AND_CRONJOB_CHART_NAME = "Job & CronJob", e.ROLLOUT_DEPLOYMENT = "Rollout Deployment", e.DEPLOYMENT = "Deployment", e.STATEFUL_SET = "StatefulSet", e))(pa || {});
6462
6462
  const PR = "object", MR = { ContainerPort: { type: "array", description: "Defines ports on which application services will be exposed to other services", items: { type: "object", properties: { port: { type: "integer", description: "Port at which your application will run" } } }, title: "Container Port" }, Limits: { type: "object", description: "Maximum RAM and CPU available to the application", required: ["CPU", "Memory"], properties: { CPU: { type: "string", description: "Maximum allowed CPU limit", updatePath: "/resources/limits/cpu" }, Memory: { type: "string", description: "Maximum allowed memory limit", updatePath: "/resources/limits/memory" } } }, Requests: { type: "object", description: "Minimum RAM and CPU available to the application", properties: { CPU: { type: "string", description: "Minimum CPU value", updatePath: "/resources/requests/cpu" }, Memory: { type: "string", description: "Minimum memory value", updatePath: "/resources/requests/memory" } } }, EnvVariables: { type: "array", description: "Contains environment variables needed by the containers", items: { type: "object", properties: { name: { type: "string", description: "Name of the environment variables" }, value: { type: "string", description: "Value of the environment variables" } } }, title: "Environment Variables" } }, kR = {
6463
6463
  type: PR,
6464
6464
  properties: MR
@@ -6486,10 +6486,10 @@ const PR = "object", MR = { ContainerPort: { type: "array", description: "Define
6486
6486
  return Object.values(s).map((a) => (a.versions.sort((r, o) => qp(r.version, o.version)), a));
6487
6487
  }, I2 = (e) => {
6488
6488
  switch (e) {
6489
- case ma.JOB_AND_CRONJOB_CHART_NAME:
6490
- case ma.DEPLOYMENT:
6491
- case ma.ROLLOUT_DEPLOYMENT:
6492
- case ma.STATEFUL_SET:
6489
+ case pa.JOB_AND_CRONJOB_CHART_NAME:
6490
+ case pa.DEPLOYMENT:
6491
+ case pa.ROLLOUT_DEPLOYMENT:
6492
+ case pa.STATEFUL_SET:
6493
6493
  return kR;
6494
6494
  default:
6495
6495
  return {};
@@ -6511,7 +6511,7 @@ const id = {
6511
6511
  default:
6512
6512
  return "h-8";
6513
6513
  }
6514
- }, ya = ({
6514
+ }, Oa = ({
6515
6515
  hideLegend: e,
6516
6516
  entities: s = [id],
6517
6517
  rootClassName: n,
@@ -6631,7 +6631,7 @@ const id = {
6631
6631
  const { statusEntities: n, deploymentEntities: a } = BR(e);
6632
6632
  return /* @__PURE__ */ t.jsx("div", { className: "pb-16 px-20", children: /* @__PURE__ */ t.jsxs("div", { className: "dc__grid-half shadow__card--20 w-100 dc__border br-8 dc__grid dc__align-items-center", children: [
6633
6633
  /* @__PURE__ */ t.jsx(
6634
- ya,
6634
+ Oa,
6635
6635
  {
6636
6636
  entities: n,
6637
6637
  rootClassName: "p-16 fs-13 dc__border-right-n1 cn-9",
@@ -6643,7 +6643,7 @@ const id = {
6643
6643
  }
6644
6644
  ),
6645
6645
  /* @__PURE__ */ t.jsx(
6646
- ya,
6646
+ Oa,
6647
6647
  {
6648
6648
  entities: a,
6649
6649
  rootClassName: "p-16 fs-13 cn-9",
@@ -6745,7 +6745,7 @@ const id = {
6745
6745
  };
6746
6746
  return /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-12 w-100", children: [
6747
6747
  /* @__PURE__ */ t.jsx(
6748
- ys,
6748
+ Is,
6749
6749
  {
6750
6750
  value: bt.CHECKED,
6751
6751
  isChecked: a,
@@ -6892,7 +6892,7 @@ const M2 = (e, s, n, a) => ({
6892
6892
  ] })
6893
6893
  ] }),
6894
6894
  VR.map(({ key: c, infoText: l, label: d }) => /* @__PURE__ */ t.jsx(
6895
- ys,
6895
+ Is,
6896
6896
  {
6897
6897
  value: bt.CHECKED,
6898
6898
  isChecked: a[c],
@@ -6940,9 +6940,9 @@ function qp(e, s, n = Ae.ASC) {
6940
6940
  }
6941
6941
  const q2 = (e, s, n = Ae.ASC) => n === Ae.ASC ? de(s).diff(de(e)) : de(e).diff(de(s)), X2 = (e) => {
6942
6942
  switch (e) {
6943
- case Ra.PULL_REQUEST:
6943
+ case Ia.PULL_REQUEST:
6944
6944
  return /* @__PURE__ */ t.jsx(Tc, { className: "icon-dim-12" });
6945
- case Ra.TAG_CREATION:
6945
+ case Ia.TAG_CREATION:
6946
6946
  return /* @__PURE__ */ t.jsx(Co, { className: "icon-dim-12" });
6947
6947
  default:
6948
6948
  return /* @__PURE__ */ t.jsx(Xm, { className: "icon-dim-12" });
@@ -7059,7 +7059,7 @@ const tI = (e, s = !1) => s ? btoa(e) : atob(e), Wi = (e, s = !1) => Object.keys
7059
7059
  }), e3 = (e) => (
7060
7060
  // Added null check for backward compatibility
7061
7061
  !!e?.type && e.type !== Jm.notConfigured
7062
- ), Hc = (e) => e?.requiredCount > 0, Oa = (e) => () => {
7062
+ ), Hc = (e) => e?.requiredCount > 0, ja = (e) => () => {
7063
7063
  window.open(e, "_blank", "noreferrer");
7064
7064
  }, t3 = (e) => {
7065
7065
  switch (typeof e) {
@@ -7136,7 +7136,7 @@ const tI = (e, s = !1) => s ? btoa(e) : atob(e), Wi = (e, s = !1) => Object.keys
7136
7136
  return s ? `${n}/${s}` : n;
7137
7137
  }, a3 = (e, s) => {
7138
7138
  const n = e.scrollTop;
7139
- return Na(n, s, {
7139
+ return ba(n, s, {
7140
7140
  ease: uv,
7141
7141
  onUpdate: (r) => {
7142
7142
  e.scrollTop = r;
@@ -7220,16 +7220,16 @@ const e_ = (e) => ({
7220
7220
  let d = r;
7221
7221
  return e.map((m, p) => {
7222
7222
  let _ = "";
7223
- const h = m.filterState ?? ha.ALLOWED;
7223
+ const h = m.filterState ?? ga.ALLOWED;
7224
7224
  n && a && m.id === n && (_ = a);
7225
- const E = !o && i && (!m.userApprovalMetadata || m.userApprovalMetadata.approvalRuntimeState !== Zm.approved), x = !d && c && h === ha.ALLOWED && !E ? !m.vulnerable : !1;
7225
+ const E = !o && i && (!m.userApprovalMetadata || m.userApprovalMetadata.approvalRuntimeState !== Zm.approved), x = !d && c && h === ga.ALLOWED && !E ? !m.vulnerable : !1;
7226
7226
  return x && (d = !0), {
7227
7227
  index: l + p,
7228
7228
  id: m.id,
7229
7229
  deployedTime: m.deployed_time ? de(m.deployed_time).format("ddd, DD MMM YYYY, hh:mm A") : "Not Deployed",
7230
7230
  deployedBy: m.deployedBy,
7231
7231
  wfrId: m.wfrId,
7232
- tab: ca.Changes,
7232
+ tab: la.Changes,
7233
7233
  image: qr(m.image),
7234
7234
  showChanges: !1,
7235
7235
  vulnerabilities: [],
@@ -7253,7 +7253,7 @@ const e_ = (e) => ({
7253
7253
  lastExecution: m.lastExecution,
7254
7254
  materialInfo: m.material_info ? m.material_info.map((g) => ({
7255
7255
  modifiedTime: g.modifiedTime ? de(g.modifiedTime).format("ddd, DD MMM YYYY, hh:mm A") : "",
7256
- commitLink: Ya(g.url, g.revision),
7256
+ commitLink: Wa(g.url, g.revision),
7257
7257
  author: g.author || "",
7258
7258
  message: g.message || "",
7259
7259
  revision: g.revision || "",
@@ -7266,7 +7266,7 @@ const e_ = (e) => ({
7266
7266
  filterState: h,
7267
7267
  appliedFiltersTimestamp: m.appliedFiltersTimestamp ?? "",
7268
7268
  appliedFilters: m.appliedFilters ?? [],
7269
- appliedFiltersState: m.appliedFiltersState ?? ha.ALLOWED,
7269
+ appliedFiltersState: m.appliedFiltersState ?? ga.ALLOWED,
7270
7270
  createdTime: m.createdTime ?? "",
7271
7271
  dataSource: m.data_source ?? "",
7272
7272
  registryType: m.registryType ?? "",
@@ -7371,7 +7371,7 @@ const e_ = (e) => ({
7371
7371
  isExceptionUser: c
7372
7372
  }), d = dd(e), u = ud(e);
7373
7373
  return {
7374
- materials: a && a === Qm.RESOURCE ? l.filter((p) => p.filterState === ha.ALLOWED) : l,
7374
+ materials: a && a === Qm.RESOURCE ? l.filter((p) => p.filterState === ga.ALLOWED) : l,
7375
7375
  ...o,
7376
7376
  ...d,
7377
7377
  ...u
@@ -7407,7 +7407,7 @@ const e_ = (e) => ({
7407
7407
  function qr(e) {
7408
7408
  return e ? e.split(":").pop() : "";
7409
7409
  }
7410
- function Ya(e, s) {
7410
+ function Wa(e, s) {
7411
7411
  if (!e || !s)
7412
7412
  return "NA";
7413
7413
  if (e.indexOf("gitlab") > 0 || e.indexOf("github") > 0 || e.indexOf("azure") > 0) {
@@ -7889,9 +7889,9 @@ const Ed = () => ({
7889
7889
  ...e ? { content: /* @__PURE__ */ t.jsx(FI, { ...e }) } : {},
7890
7890
  className: `${e ? "shortcut-keys__tippy" : "default-tt"} ${a ? "dc__word-break" : ""} dc__mxw-200 ${i.className ?? ""}`,
7891
7891
  plugins: [...o, am],
7892
- children: Ca(r, { ...r.props, onMouseEnter: l })
7892
+ children: Na(r, { ...r.props, onMouseEnter: l })
7893
7893
  }
7894
- ) : Ca(r, { ...r.props, onMouseEnter: l });
7894
+ ) : Na(r, { ...r.props, onMouseEnter: l });
7895
7895
  };
7896
7896
  var W = /* @__PURE__ */ ((e) => (e.primary = "primary", e.secondary = "secondary", e.borderLess = "border-less", e.text = "text", e))(W || {}), re = /* @__PURE__ */ ((e) => (e.default = "default", e.negative = "negative", e.negativeGrey = "negative-grey", e.positive = "positive", e.warning = "warning", e.neutral = "neutral", e.neutralN0 = "neutral-n0", e.neutralWhite = "neutral-white", e))(re || {}), nt = /* @__PURE__ */ ((e) => (e.button = "button", e.link = "link", e.anchor = "anchor", e))(nt || {});
7897
7897
  const BI = {
@@ -8056,7 +8056,7 @@ const r_ = {
8056
8056
  };
8057
8057
  }, qI = () => {
8058
8058
  const { currentServerInfo: e, isEnterprise: s, isFELibAvailable: n } = is(), a = e?.serverInfo?.currentVersion, r = n === s, o = () => {
8059
- bs.event({
8059
+ Ns.event({
8060
8060
  category: "about-devtron",
8061
8061
  action: "ABOUT_DEVTRON_LICENSE_AGREEMENT_CLICKED"
8062
8062
  });
@@ -8218,8 +8218,8 @@ const r_ = {
8218
8218
  Z
8219
8219
  `;
8220
8220
  }, N3 = ({ duration: e, onComplete: s, size: n = 24, tooltipContent: a }) => {
8221
- const r = ba(JI), o = Us(r, (i) => QI(ai, ri, XI, i));
8222
- return M(() => Na(r, ZI, {
8221
+ const r = Ta(JI), o = Us(r, (i) => QI(ai, ri, XI, i));
8222
+ return M(() => ba(r, ZI, {
8223
8223
  duration: e,
8224
8224
  ease: "easeInOut",
8225
8225
  onComplete: s
@@ -8266,7 +8266,7 @@ const r_ = {
8266
8266
  title: o?.title ?? Nd.title,
8267
8267
  subTitle: o?.subTitle ?? Nd.subTitle
8268
8268
  }
8269
- ) : /* @__PURE__ */ t.jsx(wa, { ...i }) : /* @__PURE__ */ t.jsx(t.Fragment, { children: d }), Do = ({
8269
+ ) : /* @__PURE__ */ t.jsx(La, { ...i }) : /* @__PURE__ */ t.jsx(t.Fragment, { children: d }), Do = ({
8270
8270
  isSorted: e,
8271
8271
  triggerSorting: s,
8272
8272
  sortOrder: n,
@@ -8434,7 +8434,7 @@ const r_ = {
8434
8434
  return D;
8435
8435
  });
8436
8436
  const R = s.current;
8437
- o((y) => ({ ...y, [T]: !xa(R[T], I) }));
8437
+ o((y) => ({ ...y, [T]: !Ea(R[T], I) }));
8438
8438
  }, x = (T, S) => () => {
8439
8439
  if (S || a({ ...n, [T]: n[T]?.trim() }), e?.validationMode === "onBlur" || e?.validationMode === "all") {
8440
8440
  const v = p(), A = bn(n[T], v[T]);
@@ -8480,7 +8480,7 @@ const r_ = {
8480
8480
  }
8481
8481
  if (O?.shouldDirty) {
8482
8482
  const v = s.current;
8483
- o((A) => ({ ...A, [T]: !xa(v[T], S) }));
8483
+ o((A) => ({ ...A, [T]: !Ea(v[T], S) }));
8484
8484
  }
8485
8485
  O?.shouldTouch && c((v) => ({ ...v, [T]: !0 }));
8486
8486
  },
@@ -8502,7 +8502,7 @@ const r_ = {
8502
8502
  const k = s.current, P = Object.keys(T).reduce(
8503
8503
  (U, L) => ({
8504
8504
  ...U,
8505
- [L]: !xa(T[L], k[L])
8505
+ [L]: !Ea(T[L], k[L])
8506
8506
  }),
8507
8507
  {}
8508
8508
  );
@@ -8663,14 +8663,14 @@ const r_ = {
8663
8663
  "app-group": null,
8664
8664
  [it.cluster]: null
8665
8665
  };
8666
- var Xr = /* @__PURE__ */ ((e) => (e.ALL_ENVIRONMENTS = "All environments", e.ACCESS_ONLY = "Access only", e))(Xr || {}), Wa = /* @__PURE__ */ ((e) => (e.RECENTLY_VISITED = "recently-visited", e))(Wa || {});
8666
+ var Xr = /* @__PURE__ */ ((e) => (e.ALL_ENVIRONMENTS = "All environments", e.ACCESS_ONLY = "Access only", e))(Xr || {}), Ka = /* @__PURE__ */ ((e) => (e.RECENTLY_VISITED = "recently-visited", e))(Ka || {});
8667
8667
  const my = ({
8668
8668
  userPreferencesResponse: e,
8669
8669
  id: s,
8670
8670
  name: n,
8671
8671
  resourceKind: a
8672
8672
  }) => {
8673
- const r = e?.resources?.[a]?.[Wa.RECENTLY_VISITED] || [], o = s && !n, i = r.filter((l) => !l?.id || !l.name ? !1 : o ? l.id !== s : !0);
8673
+ const r = e?.resources?.[a]?.[Ka.RECENTLY_VISITED] || [], o = s && !n, i = r.filter((l) => !l?.id || !l.name ? !1 : o ? l.id !== s : !0);
8674
8674
  return (s && n ? [{ id: s, name: n }, ...i.filter((l) => l.id !== s)] : i).slice(0, 6);
8675
8675
  }, py = (e) => {
8676
8676
  const s = {};
@@ -8701,7 +8701,7 @@ const my = ({
8701
8701
  ...a,
8702
8702
  [s]: {
8703
8703
  ...a[s],
8704
- [Wa.RECENTLY_VISITED]: Array.isArray(n) ? n.map(({ id: r, name: o }) => ({ id: r, name: o })) : []
8704
+ [Ka.RECENTLY_VISITED]: Array.isArray(n) ? n.map(({ id: r, name: o }) => ({ id: r, name: o })) : []
8705
8705
  }
8706
8706
  };
8707
8707
  }, _y = async ({
@@ -8800,7 +8800,7 @@ const my = ({
8800
8800
  });
8801
8801
  return r && localStorage.setItem("userPreferences", JSON.stringify(o)), n && o.resources?.[n] && await d_({
8802
8802
  path: "resources",
8803
- value: o.resources[n][Wa.RECENTLY_VISITED],
8803
+ value: o.resources[n][Ka.RECENTLY_VISITED],
8804
8804
  resourceKind: n,
8805
8805
  shouldThrowError: a,
8806
8806
  userPreferencesResponse: o
@@ -8819,7 +8819,7 @@ const my = ({
8819
8819
  () => p(),
8820
8820
  [i, c],
8821
8821
  d && !!l
8822
- ), E = h?.resources?.[l]?.[Wa.RECENTLY_VISITED] || [], x = (N) => {
8822
+ ), E = h?.resources?.[l]?.[Ka.RECENTLY_VISITED] || [], x = (N) => {
8823
8823
  N?.themePreference ? N?.themePreference && m(N.themePreference) : u(!0), a(N);
8824
8824
  };
8825
8825
  return {
@@ -8854,7 +8854,7 @@ const my = ({
8854
8854
  recentlyVisitedResources: E,
8855
8855
  recentResourcesLoading: _
8856
8856
  };
8857
- }, Ka = ({
8857
+ }, za = ({
8858
8858
  docLinkKey: e,
8859
8859
  text: s = "Learn more",
8860
8860
  dataTestId: n,
@@ -8874,7 +8874,7 @@ const my = ({
8874
8874
  isExternalLink: d,
8875
8875
  isLicenseDashboard: h
8876
8876
  }), g = (f) => {
8877
- E && !d && !u && !f.metaKey && !h && x.startsWith(Ba) && (f.preventDefault(), _((C) => ({
8877
+ E && !d && !u && !f.metaKey && !h && x.startsWith(Ga) && (f.preventDefault(), _((C) => ({
8878
8878
  ...C,
8879
8879
  state: Ro.DOCUMENTATION,
8880
8880
  docLink: x,
@@ -9144,7 +9144,7 @@ const my = ({
9144
9144
  style: { background: e.isFocused ? "var(--N100)" : "transparent" },
9145
9145
  children: [
9146
9146
  /* @__PURE__ */ t.jsx(
9147
- ys,
9147
+ Is,
9148
9148
  {
9149
9149
  isChecked: e.isSelected || !1,
9150
9150
  onChange: i,
@@ -9173,7 +9173,7 @@ const my = ({
9173
9173
  }, y3 = (e) => {
9174
9174
  const { selectOption: s, data: n } = e, a = { height: "16px", width: "16px", flex: "0 0 16px" }, r = (o) => s(n);
9175
9175
  return /* @__PURE__ */ t.jsxs("div", { className: "flex left pl-12", style: { background: e.isFocused ? "var(--N100)" : "transparent" }, children: [
9176
- e.isSelected ? /* @__PURE__ */ t.jsx(Ua, { onClick: r, className: "mr-8 icon-dim-16", style: a }) : /* @__PURE__ */ t.jsx("span", { onClick: r, className: "mr-8", style: a }),
9176
+ e.isSelected ? /* @__PURE__ */ t.jsx(Fa, { onClick: r, className: "mr-8 icon-dim-16", style: a }) : /* @__PURE__ */ t.jsx("span", { onClick: r, className: "mr-8", style: a }),
9177
9177
  /* @__PURE__ */ t.jsx(Je.Option, { ...e })
9178
9178
  ] });
9179
9179
  }, O3 = (e) => {
@@ -9257,7 +9257,7 @@ const my = ({
9257
9257
  color: "var(--N900)"
9258
9258
  })
9259
9259
  }, D3 = (e) => /* @__PURE__ */ t.jsx(Cc, { ...e });
9260
- var Fe = /* @__PURE__ */ ((e) => (e.CI = "CI", e.CD = "CD", e.GROUP_CI = "GROUP_CI", e.GROUP_CD = "GROUP_CD", e))(Fe || {}), Bs = /* @__PURE__ */ ((e) => (e.SUCCESS = "SUCCESS", e.FETCHING = "FETCHING", e.SUSPEND = "SUSPEND", e))(Bs || {}), Xc = /* @__PURE__ */ ((e) => (e.WORKFLOW = "workflow", e.POD = "pod", e))(Xc || {}), ke = /* @__PURE__ */ ((e) => (e.NOT_STARTED = "NOT_STARTED", e.RUNNING = "RUNNING", e.SUCCEEDED = "SUCCEEDED", e.FAILED = "FAILED", e.ABORTED = "ABORTED", e.TIMEOUT = "TIMEOUT", e.UNKNOWN = "UNKNOWN", e))(ke || {}), qi = /* @__PURE__ */ ((e) => (e.PREPARATION = "Preparation", e.EXECUTION = "Execution", e))(qi || {}), pa = /* @__PURE__ */ ((e) => (e.DEPLOY_DIALOG = "DEPLOY_DIALOG", e.RESOURCE_DETAIL_MODAL = "RESOURCE_DETAIL_MODAL", e))(pa || {}), Ty = /* @__PURE__ */ ((e) => (e.Healthy = "Healthy", e.Progressing = "Progressing", e.Unknown = "Unknown", e.Suspended = "Suspended", e.Degraded = "Degraded", e.Missing = "Missing", e))(Ty || {}), Es = /* @__PURE__ */ ((e) => (e.Degraded = "degraded", e.Healthy = "healthy", e.Progressing = "progressing", e.Missing = "missing", e.Suspended = "suspended", e.Unknown = "unknown", e))(Es || {}), Po = /* @__PURE__ */ ((e) => (e.drifted = "drifted", e))(Po || {});
9260
+ var Fe = /* @__PURE__ */ ((e) => (e.CI = "CI", e.CD = "CD", e.GROUP_CI = "GROUP_CI", e.GROUP_CD = "GROUP_CD", e))(Fe || {}), Bs = /* @__PURE__ */ ((e) => (e.SUCCESS = "SUCCESS", e.FETCHING = "FETCHING", e.SUSPEND = "SUSPEND", e))(Bs || {}), Xc = /* @__PURE__ */ ((e) => (e.WORKFLOW = "workflow", e.POD = "pod", e))(Xc || {}), ke = /* @__PURE__ */ ((e) => (e.NOT_STARTED = "NOT_STARTED", e.RUNNING = "RUNNING", e.SUCCEEDED = "SUCCEEDED", e.FAILED = "FAILED", e.ABORTED = "ABORTED", e.TIMEOUT = "TIMEOUT", e.UNKNOWN = "UNKNOWN", e))(ke || {}), qi = /* @__PURE__ */ ((e) => (e.PREPARATION = "Preparation", e.EXECUTION = "Execution", e))(qi || {}), _a = /* @__PURE__ */ ((e) => (e.DEPLOY_DIALOG = "DEPLOY_DIALOG", e.RESOURCE_DETAIL_MODAL = "RESOURCE_DETAIL_MODAL", e))(_a || {}), Ty = /* @__PURE__ */ ((e) => (e.Healthy = "Healthy", e.Progressing = "Progressing", e.Unknown = "Unknown", e.Suspended = "Suspended", e.Degraded = "Degraded", e.Missing = "Missing", e))(Ty || {}), xs = /* @__PURE__ */ ((e) => (e.Degraded = "degraded", e.Healthy = "healthy", e.Progressing = "progressing", e.Missing = "missing", e.Suspended = "suspended", e.Unknown = "unknown", e))(xs || {}), Po = /* @__PURE__ */ ((e) => (e.drifted = "drifted", e))(Po || {});
9261
9261
  const Sd = {
9262
9262
  missing: 1,
9263
9263
  degraded: 2,
@@ -9574,10 +9574,10 @@ const Sy = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
9574
9574
  ] }) })
9575
9575
  ] }),
9576
9576
  !n && /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__position-abs-b-20 dc__content-center w-100", children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox pt-8 pr-12 pb-8 pl-12 bcv-1 ev-2 bw-1 br-4", children: [
9577
- /* @__PURE__ */ t.jsx(ka, { className: "icon-dim-20 fcv-5" }),
9577
+ /* @__PURE__ */ t.jsx($a, { className: "icon-dim-20 fcv-5" }),
9578
9578
  /* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 mr-8 ml-8", children: tt.ARTIFACTS_EMPTY_STATE_TEXTS.StoreFiles }),
9579
9579
  /* @__PURE__ */ t.jsx(
9580
- Ka,
9580
+ za,
9581
9581
  {
9582
9582
  docLinkKey: "BLOB_STORAGE",
9583
9583
  text: tt.ARTIFACTS_EMPTY_STATE_TEXTS.ConfigureBlobStorage,
@@ -9624,7 +9624,7 @@ const Sy = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
9624
9624
  renderButton: d
9625
9625
  }
9626
9626
  ) });
9627
- }, ta = {
9627
+ }, sa = {
9628
9628
  NOT_AVAILABLE: "Not available",
9629
9629
  NOT_DEPLOYED: "not-deployed",
9630
9630
  NOT_DEPLOYED_NO_SPACE: "notdeployed",
@@ -9776,7 +9776,7 @@ const Hy = (e, s) => {
9776
9776
  hideMessage: a,
9777
9777
  ...r
9778
9778
  }) => {
9779
- const o = s ? Ky(e) : e, i = n ? ta.NOT_AVAILABLE : o ?? "", c = i.toLowerCase().replace(/ /g, "-") === ta.NOT_DEPLOYED || i.toLowerCase() === ta.NOT_DEPLOYED_NO_SPACE, l = s ? ta.JOB_VIEW_NOT_DEPLOYED_MESSAGE : ta.NOT_DEPLOYED_MESSAGE, d = c ? l : i;
9779
+ const o = s ? Ky(e) : e, i = n ? sa.NOT_AVAILABLE : o ?? "", c = i.toLowerCase().replace(/ /g, "-") === sa.NOT_DEPLOYED || i.toLowerCase() === sa.NOT_DEPLOYED_NO_SPACE, l = s ? sa.JOB_VIEW_NOT_DEPLOYED_MESSAGE : sa.NOT_DEPLOYED_MESSAGE, d = c ? l : i;
9780
9780
  return i ? /* @__PURE__ */ t.jsx(qy, { status: i, message: d, hideMessage: a, ...r }) : /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-6", children: [
9781
9781
  /* @__PURE__ */ t.jsx(
9782
9782
  $,
@@ -9850,7 +9850,7 @@ const Hy = (e, s) => {
9850
9850
  }, Zy = (e) => {
9851
9851
  switch (e) {
9852
9852
  case Ln.SUCCESS:
9853
- return /* @__PURE__ */ t.jsx(Ua, { className: "dc__no-shrink icon-dim-16 scg-5" });
9853
+ return /* @__PURE__ */ t.jsx(Fa, { className: "dc__no-shrink icon-dim-16 scg-5" });
9854
9854
  case Ln.FAILURE:
9855
9855
  return /* @__PURE__ */ t.jsx(ps, { className: "dc__no-shrink icon-dim-16 fcr-5" });
9856
9856
  default:
@@ -9906,16 +9906,16 @@ const Hy = (e, s) => {
9906
9906
  (s, n) => {
9907
9907
  const a = n.health?.status?.toLowerCase() ?? "";
9908
9908
  switch (n.hasDrift && (s.driftedNodeCount += 1), a) {
9909
- case Es.Healthy:
9909
+ case xs.Healthy:
9910
9910
  s.healthyNodeCount += 1;
9911
9911
  break;
9912
- case Es.Degraded:
9912
+ case xs.Degraded:
9913
9913
  s.failedNodeCount += 1;
9914
9914
  break;
9915
- case Es.Progressing:
9915
+ case xs.Progressing:
9916
9916
  s.progressingNodeCount += 1;
9917
9917
  break;
9918
- case Es.Missing:
9918
+ case xs.Missing:
9919
9919
  s.missingNodeCount += 1;
9920
9920
  break;
9921
9921
  }
@@ -9938,13 +9938,13 @@ const Hy = (e, s) => {
9938
9938
  driftedNodeCount: o
9939
9939
  }) => {
9940
9940
  const i = { status: Pi, count: e }, c = [
9941
- { status: Es.Missing, count: s },
9942
- { status: Es.Degraded, count: n },
9941
+ { status: xs.Missing, count: s },
9942
+ { status: xs.Degraded, count: n },
9943
9943
  {
9944
- status: Es.Progressing,
9944
+ status: xs.Progressing,
9945
9945
  count: a
9946
9946
  },
9947
- { status: Es.Healthy, count: r },
9947
+ { status: xs.Healthy, count: r },
9948
9948
  ...window._env_.FEATURE_CONFIG_DRIFT_ENABLE ? [
9949
9949
  {
9950
9950
  status: Po.drifted,
@@ -10148,7 +10148,7 @@ const Hy = (e, s) => {
10148
10148
  children: m
10149
10149
  }
10150
10150
  ),
10151
- s !== Iy && /* @__PURE__ */ t.jsx(Sa, { className: "icon-dim-12 fcn-5" })
10151
+ s !== Iy && /* @__PURE__ */ t.jsx(va, { className: "icon-dim-12 fcn-5" })
10152
10152
  ] }),
10153
10153
  r && /* @__PURE__ */ t.jsx("span", { className: "dc__border-dashed--n3-bottom fw-6 fs-13 lh-19-imp", children: r })
10154
10154
  ]
@@ -10450,7 +10450,7 @@ const mO = {
10450
10450
  statusFetchCount: r
10451
10451
  }) => {
10452
10452
  e.icon = n === le.UNABLE_TO_FETCH ? "disconnect" : "timed_out", e.displaySubText = "Unknown", e.isCollapsed = !1;
10453
- const i = `Below resources did not become healthy within 10 mins. Resource status shown below was last fetched ${a ? Ma(a, !0) : "--"}. ${r || "--"} retries failed.`;
10453
+ const i = `Below resources did not become healthy within 10 mins. Resource status shown below was last fetched ${a ? ka(a, !0) : "--"}. ${r || "--"} retries failed.`;
10454
10454
  e.timelineStatus = [X.KUBECTL_APPLY, X.APP_HEALTH].includes(
10455
10455
  s
10456
10456
  ) ? i : "";
@@ -10646,7 +10646,7 @@ const mO = {
10646
10646
  children: [
10647
10647
  /* @__PURE__ */ t.jsx("span", { className: "cb-5 fs-12 fw-6 lh-20", children: c ? "Show less" : "Show more" }),
10648
10648
  /* @__PURE__ */ t.jsx(
10649
- Ss,
10649
+ Ts,
10650
10650
  {
10651
10651
  className: `dc__no-shrink icon-dim-16 flex scb-5 dc__transition--transform ${c ? "dc__flip-180" : ""}`
10652
10652
  }
@@ -10767,7 +10767,7 @@ const OO = (e) => {
10767
10767
  };
10768
10768
  }
10769
10769
  return s === "Secret" && e.roleARN && (r.roleARN = { displayName: "Role ARN", value: e.roleARN }), r;
10770
- }, ja = (e, s, n) => {
10770
+ }, wa = (e, s, n) => {
10771
10771
  let a;
10772
10772
  const r = { codeEditorValue: e.codeEditorValue, values: {} };
10773
10773
  return delete e.codeEditorValue, s === Mt.DEPLOYMENT_TEMPLATE.VALUE ? a = OO(e) : s === Mt.PIPELINE_STRATEGY.VALUE ? a = jO(e) : a = wO(
@@ -10833,7 +10833,7 @@ const OO = (e) => {
10833
10833
  clusterId: r.clusterId,
10834
10834
  id: vt()
10835
10835
  }));
10836
- }, sa = ({
10836
+ }, na = ({
10837
10837
  type: e,
10838
10838
  hideVerticalConnector: s,
10839
10839
  deploymentDetailedData: n,
@@ -10951,7 +10951,7 @@ const OO = (e) => {
10951
10951
  style: re.neutral,
10952
10952
  size: j.small,
10953
10953
  icon: /* @__PURE__ */ t.jsx(
10954
- Ts,
10954
+ bs,
10955
10955
  {
10956
10956
  style: {
10957
10957
  marginLeft: "auto",
@@ -10988,7 +10988,7 @@ const OO = (e) => {
10988
10988
  "data-testid": "deployment-history-steps-status",
10989
10989
  children: [
10990
10990
  /* @__PURE__ */ t.jsx(
10991
- sa,
10991
+ na,
10992
10992
  {
10993
10993
  type: X.DEPLOYMENT_INITIATED,
10994
10994
  ...i
@@ -10996,7 +10996,7 @@ const OO = (e) => {
10996
10996
  ),
10997
10997
  s && e.deploymentStatusBreakdown[X.HELM_PACKAGE_GENERATED] ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
10998
10998
  /* @__PURE__ */ t.jsx(
10999
- sa,
10999
+ na,
11000
11000
  {
11001
11001
  type: X.HELM_PACKAGE_GENERATED,
11002
11002
  hideVerticalConnector: !o,
@@ -11004,7 +11004,7 @@ const OO = (e) => {
11004
11004
  }
11005
11005
  ),
11006
11006
  o && /* @__PURE__ */ t.jsx(
11007
- sa,
11007
+ na,
11008
11008
  {
11009
11009
  type: X.HELM_MANIFEST_PUSHED_TO_HELM_REPO,
11010
11010
  hideVerticalConnector: !0,
@@ -11026,10 +11026,10 @@ const OO = (e) => {
11026
11026
  ),
11027
11027
  /* @__PURE__ */ t.jsx("div", { className: "vertical-connector" })
11028
11028
  ] }),
11029
- /* @__PURE__ */ t.jsx(sa, { type: c, ...i })
11029
+ /* @__PURE__ */ t.jsx(na, { type: c, ...i })
11030
11030
  ] }, c)),
11031
11031
  /* @__PURE__ */ t.jsx(
11032
- sa,
11032
+ na,
11033
11033
  {
11034
11034
  type: X.APP_HEALTH,
11035
11035
  hideVerticalConnector: !0,
@@ -11054,7 +11054,7 @@ const PO = ({
11054
11054
  renderDeploymentApprovalInfo: l,
11055
11055
  isDeploymentWithoutApproval: d
11056
11056
  }) => {
11057
- const u = Gn(), { url: m } = Rs(), { appId: p, envId: _, triggerId: h } = Rt(), [E, x] = w(
11057
+ const u = Gn(), { url: m } = As(), { appId: p, envId: _, triggerId: h } = Rt(), [E, x] = w(
11058
11058
  e?.toUpperCase() !== X.ABORTED
11059
11059
  ), g = uO.getAppDetails(), f = B(i), C = B(d), N = f.current && c ? c() : Zi(s ?? g?.deploymentAppType), [b, T] = w(N), S = () => {
11060
11060
  hr && clearTimeout(hr);
@@ -11089,12 +11089,12 @@ const PO = ({
11089
11089
  }, 3e4), T(y);
11090
11090
  }, A = () => {
11091
11091
  if (n) {
11092
- Oa(
11092
+ ja(
11093
11093
  `${window.__BASE_URL__}${be.INFRASTRUCTURE_MANAGEMENT_APP}/${be.DEVTRON_CHARTS}/${be.APP_DEPLOYMNENT_HISTORY}/${p}/env/${_}/${be.DETAILS}/${be.APP_DETAILS_K8}?${vd}`
11094
11094
  )();
11095
11095
  return;
11096
11096
  }
11097
- Oa(
11097
+ ja(
11098
11098
  `${window.__BASE_URL__}${be.APPLICATION_MANAGEMENT_APP}/${p}/${be.APP_DETAILS}/${_}/${be.APP_DETAILS_K8}?${vd}`
11099
11099
  )();
11100
11100
  }, I = () => !f.current && !b?.deploymentStatusBreakdown?.APP_HEALTH?.isCollapsed ? /* @__PURE__ */ t.jsx("div", { className: "h-100 flex", children: /* @__PURE__ */ t.jsx(
@@ -11271,7 +11271,7 @@ const PO = ({
11271
11271
  }
11272
11272
  );
11273
11273
  };
11274
- function wa({ reload: e, className: s = "" }) {
11274
+ function La({ reload: e, className: s = "" }) {
11275
11275
  return /* @__PURE__ */ t.jsx(
11276
11276
  "article",
11277
11277
  {
@@ -11379,7 +11379,7 @@ const zn = ({
11379
11379
  }
11380
11380
  );
11381
11381
  default:
11382
- return /* @__PURE__ */ t.jsx(wa, { reload: s, className: a });
11382
+ return /* @__PURE__ */ t.jsx(La, { reload: s, className: a });
11383
11383
  }
11384
11384
  })(), zt = ({
11385
11385
  content: e,
@@ -11414,7 +11414,7 @@ const zn = ({
11414
11414
  },
11415
11415
  []
11416
11416
  );
11417
- const x = `icon-dim-${i} dc__no-shrink`, g = `Copy ${e}`, f = () => /* @__PURE__ */ t.jsx("div", { className: "flex", children: u ? /* @__PURE__ */ t.jsx(Ua, { className: x }) : /* @__PURE__ */ t.jsx(Bm, { className: x }) }), C = u ? n : s;
11417
+ const x = `icon-dim-${i} dc__no-shrink`, g = `Copy ${e}`, f = () => /* @__PURE__ */ t.jsx("div", { className: "flex", children: u ? /* @__PURE__ */ t.jsx(Fa, { className: x }) : /* @__PURE__ */ t.jsx(Bm, { className: x }) }), C = u ? n : s;
11418
11418
  return l === "button--secondary" ? /* @__PURE__ */ t.jsx(
11419
11419
  H,
11420
11420
  {
@@ -11493,7 +11493,7 @@ const zn = ({
11493
11493
  {
11494
11494
  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 || ""}`,
11495
11495
  children: [
11496
- /* @__PURE__ */ t.jsx($a, { className: "code-editor__status-info-icon" }),
11496
+ /* @__PURE__ */ t.jsx(Ua, { className: "code-editor__status-info-icon" }),
11497
11497
  n,
11498
11498
  s
11499
11499
  ]
@@ -11552,7 +11552,7 @@ const zn = ({
11552
11552
  }
11553
11553
  ];
11554
11554
  return {
11555
- themeExtension: Ea.theme({
11555
+ themeExtension: Ca.theme({
11556
11556
  ".cm-highlight-number": {
11557
11557
  color: "var(--code-editor-number)"
11558
11558
  },
@@ -11653,17 +11653,17 @@ const zn = ({
11653
11653
  ]
11654
11654
  }
11655
11655
  );
11656
- }, za = rm.define(), A_ = _c.define({
11656
+ }, qa = rm.define(), A_ = _c.define({
11657
11657
  create() {
11658
11658
  return !1;
11659
11659
  },
11660
11660
  update(e, s) {
11661
- const n = s.effects.find((a) => a.is(za));
11661
+ const n = s.effects.find((a) => a.is(qa));
11662
11662
  return n ? n.value : e;
11663
11663
  }
11664
11664
  }), Qc = (e) => e.field(A_, !1) || !1, R_ = (e) => (e.dispatch({
11665
- effects: [za.of(ih(e.state) ? Qc(e.state) : !1)]
11666
- }), ch(e), !0), ZO = (e) => (R_(e), e.dispatch({ effects: [za.of(!e.state.readOnly && !0)] }), !0), QO = (e) => (Qc(e.state) && om(e), !0), ej = (e) => (e.contentDOM.blur(), !0), tj = im.define(), sj = im.define(), wd = (e, s, n) => {
11665
+ effects: [qa.of(ih(e.state) ? Qc(e.state) : !1)]
11666
+ }), ch(e), !0), ZO = (e) => (R_(e), e.dispatch({ effects: [qa.of(!e.state.readOnly && !0)] }), !0), QO = (e) => (Qc(e.state) && om(e), !0), ej = (e) => (e.contentDOM.blur(), !0), tj = im.define(), sj = im.define(), wd = (e, s, n) => {
11667
11667
  let a = null;
11668
11668
  try {
11669
11669
  a = JSON.parse(e);
@@ -11715,7 +11715,7 @@ const zn = ({
11715
11715
  }, aj = ({
11716
11716
  iconType: e,
11717
11717
  isChecked: s
11718
- }) => e === "stroke" ? s ? "scb-5" : "scn-7" : s ? "fcb-5" : "fcn-7", na = (e, s) => {
11718
+ }) => e === "stroke" ? s ? "scb-5" : "scn-7" : s ? "fcb-5" : "fcn-7", aa = (e, s) => {
11719
11719
  const n = e.getCursor(s.state), a = { count: 0, current: 1 }, { from: r, to: o } = s.state.selection.main;
11720
11720
  let i = n.next();
11721
11721
  for (; e.search !== "" && !i.done; )
@@ -11746,7 +11746,7 @@ const zn = ({
11746
11746
  const s = document.createElement("span");
11747
11747
  s.className = `flex h-100 ${e ? "" : "is-closed"}`;
11748
11748
  const n = /* @__PURE__ */ t.jsx(
11749
- Ss,
11749
+ Ts,
11750
11750
  {
11751
11751
  className: "icon-dim-12 scn-6 rotate",
11752
11752
  style: { "--rotateBy": e ? "0deg" : "-90deg" }
@@ -11887,21 +11887,21 @@ const zn = ({
11887
11887
  search: G,
11888
11888
  wholeWord: K
11889
11889
  });
11890
- z.eq(r) || (o(z), e.dispatch({ effects: cm.of(z) }), c(na(z, e)));
11890
+ z.eq(r) || (o(z), e.dispatch({ effects: cm.of(z) }), c(aa(z, e)));
11891
11891
  };
11892
11892
  M(() => {
11893
- s.eq(r) || (a(), c(na(s, e)), o(s));
11893
+ s.eq(r) || (a(), c(aa(s, e)), o(s));
11894
11894
  }, [s]), M(() => {
11895
- c(na(s, e));
11895
+ c(aa(s, e));
11896
11896
  }, [e.state.doc.length]), M(() => {
11897
11897
  n !== l && d(n);
11898
11898
  }, [n]), M(() => {
11899
11899
  m && l && d(!1);
11900
11900
  }, [m]);
11901
11901
  const _ = (P) => {
11902
- P?.preventDefault(), P?.stopPropagation(), a(), vh(e), c(na(r, e));
11902
+ P?.preventDefault(), P?.stopPropagation(), a(), vh(e), c(aa(r, e));
11903
11903
  }, h = (P) => {
11904
- P?.preventDefault(), P?.stopPropagation(), a(), Sh(e), c(na(r, e));
11904
+ P?.preventDefault(), P?.stopPropagation(), a(), Sh(e), c(aa(r, e));
11905
11905
  }, E = (P) => {
11906
11906
  p({ search: P.target.value });
11907
11907
  }, x = (P) => {
@@ -11923,7 +11923,7 @@ const zn = ({
11923
11923
  }, O = (P) => {
11924
11924
  p({ regexp: P });
11925
11925
  }, v = () => {
11926
- d(!l), e.dispatch({ effects: [za.of(!l)] });
11926
+ d(!l), e.dispatch({ effects: [qa.of(!l)] });
11927
11927
  }, A = (P) => {
11928
11928
  P.preventDefault(), P.stopPropagation(), Rh(e);
11929
11929
  }, I = () => /* @__PURE__ */ t.jsx("div", { className: "code-editor__search__replace-expand-button flexbox dc__align-self-stretch", children: /* @__PURE__ */ t.jsx(
@@ -11933,7 +11933,7 @@ const zn = ({
11933
11933
  ariaLabel: "find-replace-expand-button",
11934
11934
  showAriaLabelInTippy: !1,
11935
11935
  icon: /* @__PURE__ */ t.jsx(
11936
- Ss,
11936
+ Ts,
11937
11937
  {
11938
11938
  className: "rotate",
11939
11939
  style: {
@@ -12172,7 +12172,7 @@ const zn = ({
12172
12172
  }, i = ({ transactions: c, docChanged: l, state: d, startState: u }) => {
12173
12173
  c.forEach((m) => {
12174
12174
  m.effects.forEach((p) => {
12175
- p.is(cm) && r(), p.is(za) && r();
12175
+ p.is(cm) && r(), p.is(qa) && r();
12176
12176
  });
12177
12177
  }), (l || d.readOnly !== u.readOnly) && r();
12178
12178
  };
@@ -12251,7 +12251,7 @@ const zn = ({
12251
12251
  let n = e.map(s.changes);
12252
12252
  return s.docChanged && (n = kd(s.state)), n;
12253
12253
  },
12254
- provide: (e) => Ea.decorations.from(e)
12254
+ provide: (e) => Ca.decorations.from(e)
12255
12255
  }), gj = hj, xj = () => (e) => {
12256
12256
  const s = [], n = e.state.doc.toString();
12257
12257
  try {
@@ -12352,13 +12352,13 @@ const zn = ({
12352
12352
  }), [A]);
12353
12353
  const Z = () => {
12354
12354
  ne();
12355
- }, he = Ea.updateListener.of((oe) => {
12355
+ }, he = Ca.updateListener.of((oe) => {
12356
12356
  if (oe.docChanged) {
12357
12357
  const { doc: ie } = oe.state, Se = ie.toString();
12358
12358
  c(Se, oe);
12359
12359
  }
12360
12360
  N || Ld(G.current, oe.transactions, "a");
12361
- }), ge = Ea.updateListener.of((oe) => {
12361
+ }), ge = Ca.updateListener.of((oe) => {
12362
12362
  if (oe.docChanged) {
12363
12363
  const { doc: ie } = oe.state, Se = ie.toString();
12364
12364
  d(Se, oe);
@@ -12596,7 +12596,7 @@ const zn = ({
12596
12596
  syntaxHighlighting: !1
12597
12597
  }),
12598
12598
  Md(o, !0),
12599
- Ea.editable.of(!1),
12599
+ Ca.editable.of(!1),
12600
12600
  zo.readOnly.of(!0)
12601
12601
  ];
12602
12602
  return /* @__PURE__ */ t.jsxs(S_.Provider, { value: te, children: [
@@ -12675,7 +12675,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
12675
12675
  added: "Added",
12676
12676
  deleted: "Deleted",
12677
12677
  noDiff: "No change"
12678
- }, _a = {
12678
+ }, fa = {
12679
12679
  hasDiff: Xg,
12680
12680
  added: zg,
12681
12681
  deleted: qg,
@@ -12710,7 +12710,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
12710
12710
  onClick: c,
12711
12711
  children: [
12712
12712
  /* @__PURE__ */ t.jsx(
12713
- Ss,
12713
+ Ts,
12714
12714
  {
12715
12715
  className: "icon-dim-16 fsn-6 rotate",
12716
12716
  style: { "--rotateBy": i ? "360deg" : "270deg" }
@@ -13039,7 +13039,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13039
13039
  }, i = (c) => {
13040
13040
  const { title: l, href: d, onClick: u, isActive: m, clearQueryParamsOnNavigation: p = !1 } = c;
13041
13041
  return /* @__PURE__ */ t.jsx(
13042
- Is,
13042
+ Rs,
13043
13043
  {
13044
13044
  to: p ? { pathname: d, search: "" } : d,
13045
13045
  className: "collapsible__item flexbox dc__align-items-center dc__gap-8 dc__no-decor br-4 py-6 px-8 cursor",
@@ -13125,7 +13125,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13125
13125
  strikeThrough: d && T === Yt.DELETED,
13126
13126
  ...!u && T !== Yt.NO_DIFF ? {
13127
13127
  iconConfig: {
13128
- Icon: d ? _a[T] : _a.hasDiff,
13128
+ Icon: d ? fa[T] : fa.hasDiff,
13129
13129
  tooltipProps: {
13130
13130
  content: d ? gr[T] : gr.hasDiff,
13131
13131
  arrow: !1,
@@ -13156,9 +13156,9 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13156
13156
  ) });
13157
13157
  }, f = () => /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
13158
13158
  n.map(({ title: N, href: b, onClick: T, diffState: S, Icon: O }) => {
13159
- const v = d ? _a[S] : _a.hasDiff;
13159
+ const v = d ? fa[S] : fa.hasDiff;
13160
13160
  return /* @__PURE__ */ t.jsxs(
13161
- Is,
13161
+ Rs,
13162
13162
  {
13163
13163
  "data-testid": "env-deployment-template",
13164
13164
  className: "dc__nav-item cursor dc__gap-8 fs-13 lh-32 cn-7 w-100 br-4 px-8 flexbox dc__align-items-center dc__no-decor",
@@ -13184,11 +13184,11 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13184
13184
  }),
13185
13185
  /* @__PURE__ */ t.jsx(vj, { config: _, tabType: "navLink", onCollapseBtnClick: h }),
13186
13186
  o && /* @__PURE__ */ t.jsxs("div", { className: "mt-8 py-6 px-8 flexbox dc__align-items-center dc__gap-8", children: [
13187
- /* @__PURE__ */ t.jsx("span", { className: "flex p-2 dc__align-self-start", children: i ? /* @__PURE__ */ t.jsx(ym, { className: "icon-dim-16 dc__no-shrink" }) : /* @__PURE__ */ t.jsx(Sa, { className: "icon-dim-16 fcn-7 dc__no-shrink" }) }),
13187
+ /* @__PURE__ */ t.jsx("span", { className: "flex p-2 dc__align-self-start", children: i ? /* @__PURE__ */ t.jsx(ym, { className: "icon-dim-16 dc__no-shrink" }) : /* @__PURE__ */ t.jsx(va, { className: "icon-dim-16 fcn-7 dc__no-shrink" }) }),
13188
13188
  /* @__PURE__ */ t.jsx("p", { className: `m-0 fs-12 lh-1-5 ${i ? "cr-5" : "cn-9"}`, children: o })
13189
13189
  ] })
13190
13190
  ] }), C = () => e ? ["90", "70", "50"].map((N) => /* @__PURE__ */ t.jsx(Aj, { width: N }, N)) : l?.error ? /* @__PURE__ */ t.jsxs("div", { className: "mt-8 py-6 px-8 flexbox dc__align-items-center dc__gap-8", children: [
13191
- /* @__PURE__ */ t.jsx("span", { className: "flex p-2 dc__align-self-start", children: /* @__PURE__ */ t.jsx(Sa, { className: "icon-dim-16 fcn-7" }) }),
13191
+ /* @__PURE__ */ t.jsx("span", { className: "flex p-2 dc__align-self-start", children: /* @__PURE__ */ t.jsx(va, { className: "icon-dim-16 fcn-7" }) }),
13192
13192
  /* @__PURE__ */ t.jsx("p", { className: "m-0 fs-12 lh-1-5 cn-9", children: "Failed to load files. Please reload or select a different reference to compare with." })
13193
13193
  ] }) : f();
13194
13194
  return /* @__PURE__ */ t.jsxs("div", { className: "bg__primary dc__border-right flexbox-col dc__overflow-hidden", children: [
@@ -13340,7 +13340,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13340
13340
  return { compareToCodeEditorData: l, compareWithCodeEditorData: d };
13341
13341
  }, Lr = (e, s) => {
13342
13342
  const n = !!e.codeEditorValue.value, a = !!s.codeEditorValue.value;
13343
- return !n && a ? Yt.DELETED : n && !a ? Yt.ADDED : xa(e, s) ? Yt.NO_DIFF : Yt.HAS_DIFF;
13343
+ return !n && a ? Yt.DELETED : n && !a ? Yt.ADDED : Ea(e, s) ? Yt.NO_DIFF : Yt.HAS_DIFF;
13344
13344
  }, Gd = (e, s) => {
13345
13345
  if (e && e.external && (e.externalType === "" || e.externalType === Ge.KubernetesSecret)) {
13346
13346
  const n = structuredClone(s);
@@ -13355,11 +13355,11 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13355
13355
  a,
13356
13356
  r,
13357
13357
  o
13358
- ), l = n === ns.Secret ? Mt.SECRET.VALUE : Mt.CONFIGMAP.VALUE, d = ja(
13358
+ ), l = n === ns.Secret ? Mt.SECRET.VALUE : Mt.CONFIGMAP.VALUE, d = wa(
13359
13359
  { ...e || {}, codeEditorValue: i },
13360
13360
  l,
13361
13361
  n === ns.Secret && !a
13362
- ), u = ja(
13362
+ ), u = wa(
13363
13363
  { ...s || {}, codeEditorValue: c },
13364
13364
  l,
13365
13365
  n === ns.Secret && !r
@@ -13377,7 +13377,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13377
13377
  displayName: "data",
13378
13378
  value: a ? $s(a, n) : ""
13379
13379
  };
13380
- return ja(
13380
+ return wa(
13381
13381
  {
13382
13382
  ...Oj(e, s),
13383
13383
  codeEditorValue: r
@@ -13389,7 +13389,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13389
13389
  displayName: "data",
13390
13390
  value: e.data
13391
13391
  };
13392
- return ja(
13392
+ return wa(
13393
13393
  { codeEditorValue: s },
13394
13394
  Mt.DEPLOYMENT_TEMPLATE.VALUE
13395
13395
  );
@@ -13398,7 +13398,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13398
13398
  displayName: "data",
13399
13399
  value: e?.data ? $s(e.data, s) : ""
13400
13400
  };
13401
- return ja(
13401
+ return wa(
13402
13402
  { ...e || {}, strategy: e?.Strategy, codeEditorValue: n },
13403
13403
  Mt.PIPELINE_STRATEGY.VALUE
13404
13404
  );
@@ -13408,10 +13408,10 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13408
13408
  n = !0;
13409
13409
  else if (s) {
13410
13410
  const o = e;
13411
- o.deploymentDraftData?.configData[0].draftMetadata.draftState === ua.Init ? a = !0 : o.deploymentDraftData?.configData[0].draftMetadata.draftState === ua.AwaitApproval && (r = !0);
13411
+ o.deploymentDraftData?.configData[0].draftMetadata.draftState === ma.Init ? a = !0 : o.deploymentDraftData?.configData[0].draftMetadata.draftState === ma.AwaitApproval && (r = !0);
13412
13412
  } else {
13413
13413
  const o = e;
13414
- o.draftMetadata?.draftState === ua.Init ? a = !0 : o.draftMetadata?.draftState === ua.AwaitApproval && (r = !0);
13414
+ o.draftMetadata?.draftState === ma.Init ? a = !0 : o.draftMetadata?.draftState === ma.AwaitApproval && (r = !0);
13415
13415
  }
13416
13416
  return n ? /* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-6 cn-9", children: "Does not exist" }) : a ? /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8 ", children: [
13417
13417
  /* @__PURE__ */ t.jsx(Zg, { className: "icon-dim-16 scr-5" }),
@@ -13420,7 +13420,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13420
13420
  /* @__PURE__ */ t.jsx(Jg, { className: "icon-dim-16 dc__no-shrink" }),
13421
13421
  /* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-6 cv-5", children: "Approval pending" })
13422
13422
  ] }) : /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8 ", children: [
13423
- /* @__PURE__ */ t.jsx(Ua, { className: "scn-9 icon-dim-16" }),
13423
+ /* @__PURE__ */ t.jsx(Fa, { className: "scn-9 icon-dim-16" }),
13424
13424
  /* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-6 cn-9", children: "Published" })
13425
13425
  ] });
13426
13426
  }, Wd = (e, s) => {
@@ -13704,7 +13704,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13704
13704
  previousDeployments: []
13705
13705
  }
13706
13706
  ), Mj = (e) => {
13707
- const s = _a[e];
13707
+ const s = fa[e];
13708
13708
  return /* @__PURE__ */ t.jsxs("div", { className: "flex dc__gap-6", children: [
13709
13709
  s && /* @__PURE__ */ t.jsx(s, { className: "icon-dim-16" }),
13710
13710
  /* @__PURE__ */ t.jsx("span", { className: `fs-12 lh-20 ${j_[e]}`, children: O_[e] })
@@ -13714,7 +13714,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13714
13714
  e.map(({ id: r, title: o, name: i, diffState: c, pathType: l }, d) => {
13715
13715
  const u = `${n}/${i ? `${l}/${i}` : l}`;
13716
13716
  return /* @__PURE__ */ t.jsxs(
13717
- Is,
13717
+ Rs,
13718
13718
  {
13719
13719
  className: `cursor dc__no-decor px-16 py-12 flex dc__content-space dc__hover-n50 ${d !== e.length - 1 ? "dc__border-bottom-n1" : ""}`,
13720
13720
  to: u,
@@ -13822,7 +13822,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13822
13822
  isCompareDeploymentConfigNotAvailable: u,
13823
13823
  ...m
13824
13824
  }) => {
13825
- const { path: p, params: _ } = Rs(), { resourceType: h, resourceName: E, appId: x, envId: g } = _, { compareWfrId: f, updateSearchParams: C, sortBy: N, sortOrder: b, handleSorting: T } = r, [S, O] = w({
13825
+ const { path: p, params: _ } = As(), { resourceType: h, resourceName: E, appId: x, envId: g } = _, { compareWfrId: f, updateSearchParams: C, sortBy: N, sortOrder: b, handleSorting: T } = r, [S, O] = w({
13826
13826
  isLoading: !1,
13827
13827
  data: c,
13828
13828
  hasMore: c.size >= On
@@ -13932,7 +13932,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
13932
13932
  resourceId: i,
13933
13933
  renderRunSource: c
13934
13934
  }) => {
13935
- const { path: l, params: d } = Rs(), { pathname: u, search: m } = os(), { isSuperAdmin: p } = is(), _ = J(() => D_(r), [r]), { currentWfrId: h, previousWfrId: E } = J(
13935
+ const { path: l, params: d } = As(), { pathname: u, search: m } = os(), { isSuperAdmin: p } = is(), _ = J(() => D_(r), [r]), { currentWfrId: h, previousWfrId: E } = J(
13936
13936
  () => Uj({ pipelineDeployments: _, wfrId: a }),
13937
13937
  [_, a]
13938
13938
  ), x = !!E, g = qc({
@@ -14083,7 +14083,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
14083
14083
  };
14084
14084
  return /* @__PURE__ */ t.jsxs("div", { className: "deployment-history-diff-view", children: [
14085
14085
  !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: [
14086
- /* @__PURE__ */ t.jsx($a, { className: "mr-8 ml-14 icon-dim-20" }),
14086
+ /* @__PURE__ */ t.jsx(Ua, { className: "mr-8 ml-14 icon-dim-20" }),
14087
14087
  /* @__PURE__ */ t.jsxs("span", { className: "lh-20", children: [
14088
14088
  Mt[r.replace("-", "_").toUpperCase()]?.DISPLAY_NAME,
14089
14089
  o ? ` “${o}”` : "",
@@ -14200,7 +14200,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
14200
14200
  index: i,
14201
14201
  isExcluded: c = !1
14202
14202
  }) => {
14203
- const l = Yc(n), d = e === rs.WEBHOOK || l && l.webhookdata && l.webhookdata.id !== 0, u = d ? l.webhookdata : {}, m = d ? null : l.commiturl ? l.commiturl : Ya(r, l.commit), p = (S) => S ? /* @__PURE__ */ t.jsx(
14203
+ const l = Yc(n), d = e === rs.WEBHOOK || l && l.webhookdata && l.webhookdata.id !== 0, u = d ? l.webhookdata : {}, m = d ? null : l.commiturl ? l.commiturl : Wa(r, l.commit), p = (S) => S ? /* @__PURE__ */ t.jsx(
14204
14204
  "a",
14205
14205
  {
14206
14206
  href: LI(r, S),
@@ -14229,7 +14229,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
14229
14229
  u.data.author
14230
14230
  ] }) : null,
14231
14231
  O ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__text lh-20 flex left dc__gap-8 w-100", children: [
14232
- /* @__PURE__ */ t.jsx(Ta, { className: "icon-dim-16 scn-7" }),
14232
+ /* @__PURE__ */ t.jsx(Sa, { className: "icon-dim-16 scn-7" }),
14233
14233
  /* @__PURE__ */ t.jsx("time", { className: "cn-7 fs-12", children: O })
14234
14234
  ] }) : null,
14235
14235
  u.data.message ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__text lh-20 flex left dc__gap-8 top material-history-text--padded w-100", children: [
@@ -14363,7 +14363,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
14363
14363
  ] })
14364
14364
  ] }) : null,
14365
14365
  l.date ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__text lh-20 flex left dc__gap-8", children: [
14366
- /* @__PURE__ */ t.jsx(Ta, { className: "icon-dim-16 scn-7" }),
14366
+ /* @__PURE__ */ t.jsx(Sa, { className: "icon-dim-16 scn-7" }),
14367
14367
  /* @__PURE__ */ t.jsx("span", { className: "lh-20", children: de(l.date).format(St.TWELVE_HOURS_FORMAT) })
14368
14368
  ] }) : null
14369
14369
  ] })
@@ -14411,7 +14411,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
14411
14411
  type: "button",
14412
14412
  onClick: e,
14413
14413
  "aria-label": "scroll-to-top",
14414
- children: /* @__PURE__ */ t.jsx(Ts, { className: "rotate", style: { "--rotateBy": "180deg" } })
14414
+ children: /* @__PURE__ */ t.jsx(bs, { className: "rotate", style: { "--rotateBy": "180deg" } })
14415
14415
  }
14416
14416
  ) }),
14417
14417
  /* @__PURE__ */ t.jsx(Q, { alwaysShowTippyOnHover: !0, content: "Scroll to Bottom", placement: "left", children: /* @__PURE__ */ t.jsx(
@@ -14422,7 +14422,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
14422
14422
  type: "button",
14423
14423
  onClick: s,
14424
14424
  "aria-label": "scroll-to-button",
14425
- children: /* @__PURE__ */ t.jsx(Ts, { className: "rotate" })
14425
+ children: /* @__PURE__ */ t.jsx(bs, { className: "rotate" })
14426
14426
  }
14427
14427
  ) })
14428
14428
  ] }) }), Zj = ({
@@ -14551,7 +14551,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
14551
14551
  children: [
14552
14552
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__transparent dc__align-items-center", children: [
14553
14553
  /* @__PURE__ */ t.jsx(
14554
- Ss,
14554
+ Ts,
14555
14555
  {
14556
14556
  className: `icon-dim-16 dc__no-shrink dc__transition--transform icon-stroke__white ${s ? "" : "dc__flip-n90 dc__opacity-0_5"}`
14557
14557
  }
@@ -14622,15 +14622,15 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
14622
14622
  ] })
14623
14623
  ] });
14624
14624
  }, M_ = (e) => /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center flex-align-center dc__height-inherit", children: /* @__PURE__ */ t.jsxs("div", { children: [
14625
- /* @__PURE__ */ t.jsx("div", { className: "text-center", children: /* @__PURE__ */ t.jsx($a, { className: "icon-dim-20" }) }),
14625
+ /* @__PURE__ */ t.jsx("div", { className: "text-center", children: /* @__PURE__ */ t.jsx(Ua, { className: "icon-dim-20" }) }),
14626
14626
  /* @__PURE__ */ t.jsx("div", { className: "text-center text__white fs-14 fw-6", children: "Logs not available" }),
14627
14627
  /* @__PURE__ */ t.jsx("div", { className: "text-center text__white fs-13 fw-4", children: e || "Blob storage was not configured at pipeline run." })
14628
14628
  ] }) }), ew = () => /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
14629
14629
  M_("Logs are available only at runtime."),
14630
14630
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox configure-blob-container pt-8 pr-12 pb-8 pl-12 bcv-1 br-4", children: [
14631
- /* @__PURE__ */ t.jsx(ka, { className: "icon-dim-20 fcv-5" }),
14631
+ /* @__PURE__ */ t.jsx($a, { className: "icon-dim-20 fcv-5" }),
14632
14632
  /* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 mr-8 ml-8 text__white", children: "Want to store logs to view later?" }),
14633
- /* @__PURE__ */ t.jsx(Ka, { docLinkKey: "BLOB_STORAGE", text: "Configure blob storage", dataTestId: "configure-blob-storage" }),
14633
+ /* @__PURE__ */ t.jsx(za, { docLinkKey: "BLOB_STORAGE", text: "Configure blob storage", dataTestId: "configure-blob-storage" }),
14634
14634
  /* @__PURE__ */ t.jsx(Sm, { className: "icon-dim-20 ml-8" })
14635
14635
  ] })
14636
14636
  ] }), tw = (e) => /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center flex-grow-1 flex-align-center dc__height-inherit dark-background", children: e ? M_() : ew() }), sw = (e, s) => {
@@ -14845,7 +14845,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
14845
14845
  "data-testid": "logs-previous-search-match",
14846
14846
  "aria-label": "Focus the previous search result match",
14847
14847
  disabled: !T,
14848
- children: /* @__PURE__ */ t.jsx(Ss, { className: "icon-stroke__white dc__flip-180 icon-dim-14 dc__no-shrink" })
14848
+ children: /* @__PURE__ */ t.jsx(Ts, { className: "icon-stroke__white dc__flip-180 icon-dim-14 dc__no-shrink" })
14849
14849
  }
14850
14850
  ),
14851
14851
  /* @__PURE__ */ t.jsx(
@@ -14857,7 +14857,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
14857
14857
  "data-testid": "logs-next-search-match",
14858
14858
  "aria-label": "Focus the next search result match",
14859
14859
  disabled: !T,
14860
- children: /* @__PURE__ */ t.jsx(Ss, { className: "icon-stroke__white icon-dim-14 dc__no-shrink" })
14860
+ children: /* @__PURE__ */ t.jsx(Ts, { className: "icon-stroke__white icon-dim-14 dc__no-shrink" })
14861
14861
  }
14862
14862
  )
14863
14863
  ] })
@@ -15098,7 +15098,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
15098
15098
  }, F3 = (e) => {
15099
15099
  const { selectProps: s } = e;
15100
15100
  return /* @__PURE__ */ t.jsx(Je.DropdownIndicator, { ...e, children: /* @__PURE__ */ t.jsx(
15101
- Ts,
15101
+ bs,
15102
15102
  {
15103
15103
  className: "rotate",
15104
15104
  style: {
@@ -15291,7 +15291,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
15291
15291
  ] });
15292
15292
  return /* @__PURE__ */ t.jsx(Je.ValueContainer, { ...s, children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center", children: [
15293
15293
  i(),
15294
- Ca(n[1])
15294
+ Na(n[1])
15295
15295
  ] }) });
15296
15296
  }, tc = ({ handleClick: e = Ce, commits: s }) => s?.length > 0 ? /* @__PURE__ */ t.jsx("div", { className: "flexbox", children: /* @__PURE__ */ t.jsxs(
15297
15297
  "button",
@@ -15336,8 +15336,8 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
15336
15336
  tc,
15337
15337
  {
15338
15338
  commits: [r.Commit],
15339
- handleClick: Oa(
15340
- Ya(a.url, r.Commit)
15339
+ handleClick: ja(
15340
+ Wa(a.url, r.Commit)
15341
15341
  )
15342
15342
  }
15343
15343
  ),
@@ -15363,7 +15363,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
15363
15363
  if (!e && !s)
15364
15364
  return null;
15365
15365
  const p = a && (!Ws(r) || !de(r).isBefore(de().subtract(yy, "hours"))), _ = () => p ? /* @__PURE__ */ t.jsx(
15366
- Is,
15366
+ Rs,
15367
15367
  {
15368
15368
  to: `${tO(o, i)}/${a}/logs`,
15369
15369
  target: "_blank",
@@ -15412,7 +15412,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
15412
15412
  const c = Jc(e);
15413
15413
  return /* @__PURE__ */ t.jsxs("div", { className: "shadow__overlay p-16 br-4 w-350 bg__overlay--primary border__primary mxh-300 dc__overflow-auto flexbox-col dc__gap-16", children: [
15414
15414
  /* @__PURE__ */ t.jsxs("div", { className: "dc__icon-text-layout", children: [
15415
- /* @__PURE__ */ t.jsx(Ta, { className: `scn-7 ${tu}` }),
15415
+ /* @__PURE__ */ t.jsx(Sa, { className: `scn-7 ${tu}` }),
15416
15416
  /* @__PURE__ */ t.jsx("time", { className: "cn-9 fs-12 cn-9 fw-4 lh-20", children: c?.triggeredOn ? $o(c.triggeredOn) : "--" }),
15417
15417
  /* @__PURE__ */ t.jsx(Ti, { className: `fcn-7 ${tu}` }),
15418
15418
  /* @__PURE__ */ t.jsx(Q, { content: s, children: /* @__PURE__ */ t.jsx("span", { className: "cn-9 fs-12 fw-4 lh-20 dc__truncate", children: s }) }),
@@ -15493,7 +15493,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
15493
15493
  namespace: E,
15494
15494
  workflowExecutionStages: x
15495
15495
  }) => {
15496
- const { path: g, params: f } = Rs(), { pathname: C } = os(), N = C.split("/").pop(), { envId: b, ...T } = Rt(), S = l === Fe.CD || l === Fe.GROUP_CD, O = S ? "triggerId" : "buildId", v = _ === p?.id, A = B(null), I = () => {
15496
+ const { path: g, params: f } = As(), { pathname: C } = os(), N = C.split("/").pop(), { envId: b, ...T } = Rt(), S = l === Fe.CD || l === Fe.GROUP_CD, O = S ? "triggerId" : "buildId", v = _ === p?.id, A = B(null), I = () => {
15497
15497
  const P = {
15498
15498
  ...T,
15499
15499
  envId: b,
@@ -15547,7 +15547,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
15547
15547
  }
15548
15548
  ),
15549
15549
  children: /* @__PURE__ */ t.jsx(
15550
- Is,
15550
+ Rs,
15551
15551
  {
15552
15552
  to: I,
15553
15553
  className: "w-100 deployment-history-card-container p-8 br-4",
@@ -15601,10 +15601,10 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
15601
15601
  renderRunSource: l,
15602
15602
  resourceId: d
15603
15603
  }) => {
15604
- const { pipelineId: u, appId: m, envId: p } = Rt(), { push: _ } = Gn(), { path: h } = Rs(), E = (T) => {
15604
+ const { pipelineId: u, appId: m, envId: p } = Rt(), { push: _ } = Gn(), { path: h } = As(), E = (T) => {
15605
15605
  e === Fe.CI ? (r({ offset: 0, size: 20 }), _(Fs(h, { appId: m, pipelineId: T.value }))) : e === Fe.GROUP_CI ? (r({ offset: 0, size: 20 }), _(Fs(h, { envId: p, pipelineId: T.pipelineId }))) : e === Fe.GROUP_CD ? (r({ offset: 0, size: 20 }), _(Fs(h, { envId: p, appId: T.value, pipelineId: T.pipelineId }))) : (r({ offset: 0, size: 20 }), _(Fs(h, { appId: m, envId: T.value, pipelineId: T.pipelineId })));
15606
15606
  }, x = () => {
15607
- bs.event({
15607
+ Ns.event({
15608
15608
  category: "pagination",
15609
15609
  action: "auto",
15610
15610
  label: `${e.toLowerCase()}-history`,
@@ -15740,7 +15740,7 @@ const el = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
15740
15740
  {
15741
15741
  isKebab: !0,
15742
15742
  rootClassName: "flex p-4 dc__no-left-radius dc__right-radius-4 bg__primary dc__hover-n50",
15743
- children: /* @__PURE__ */ t.jsx(Ss, { className: "icon-dim-14 scn-6" })
15743
+ children: /* @__PURE__ */ t.jsx(Ts, { className: "icon-dim-14 scn-6" })
15744
15744
  }
15745
15745
  ),
15746
15746
  /* @__PURE__ */ t.jsx(jt.Body, { rootClassName: "w-150 py-4 mt-4", style: { left: "136px" }, children: l.map(({ status: x, count: g }, f) => /* @__PURE__ */ t.jsxs(
@@ -15854,7 +15854,7 @@ const hw = (e) => {
15854
15854
  onClick: Oe,
15855
15855
  children: [
15856
15856
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-16 p-20", children: [
15857
- b ? null : Ca(N, {
15857
+ b ? null : Na(N, {
15858
15858
  className: `${N.props?.className ?? ""} icon-dim-48 dc__no-shrink`
15859
15859
  }),
15860
15860
  /* @__PURE__ */ t.jsxs("div", { className: `flexbox-col ${d ? "" : "dc__gap-8"}`, children: [
@@ -15922,7 +15922,7 @@ const hw = (e) => {
15922
15922
  setProps: a
15923
15923
  };
15924
15924
  }, []), /* @__PURE__ */ t.jsx(Kc, { ignoreTags: ["button"], children: /* @__PURE__ */ t.jsx(_n, { children: !!e && /* @__PURE__ */ t.jsx(Ew, { ...n }) }) });
15925
- }, vs = (e) => {
15925
+ }, Ss = (e) => {
15926
15926
  const { setModalKey: s, settersRef: n } = G_();
15927
15927
  return M(() => {
15928
15928
  const a = vt();
@@ -15933,7 +15933,7 @@ const hw = (e) => {
15933
15933
  n.current.setProps(e);
15934
15934
  }, [e]), null;
15935
15935
  }, Cw = ({ title: e, component: s, subtitle: n, closeConfirmationModal: a }) => /* @__PURE__ */ t.jsx(
15936
- vs,
15936
+ Ss,
15937
15937
  {
15938
15938
  variant: Ut.info,
15939
15939
  title: `Cannot delete ${s} '${e}'`,
@@ -15961,7 +15961,7 @@ const hw = (e) => {
15961
15961
  /* @__PURE__ */ t.jsx("p", { className: "m-0", children: "Do you want to force delete?" })
15962
15962
  ] });
15963
15963
  return /* @__PURE__ */ t.jsx(
15964
- vs,
15964
+ Ss,
15965
15965
  {
15966
15966
  variant: Ut.delete,
15967
15967
  title: e,
@@ -16026,7 +16026,7 @@ const hw = (e) => {
16026
16026
  closeConfirmationModal: O
16027
16027
  }
16028
16028
  ), I = () => /* @__PURE__ */ t.jsx(
16029
- vs,
16029
+ Ss,
16030
16030
  {
16031
16031
  variant: Ut.delete,
16032
16032
  title: `Delete ${n} '${e}'`,
@@ -16068,7 +16068,7 @@ const hw = (e) => {
16068
16068
  }
16069
16069
  };
16070
16070
  return /* @__PURE__ */ t.jsx(
16071
- vs,
16071
+ Ss,
16072
16072
  {
16073
16073
  variant: Ut.custom,
16074
16074
  Icon: /* @__PURE__ */ t.jsx($, { name: "ic-warning", color: null, size: 48 }),
@@ -16159,7 +16159,7 @@ const Sw = "bulk-selection-pop-up-menu", ui = {
16159
16159
  [Ve.SELECT_ALL_ON_PAGE]: "All on this page",
16160
16160
  [Ve.SELECT_ALL_ACROSS_PAGES]: "All across pages",
16161
16161
  [Ve.CLEAR_ALL_SELECTIONS]: "Clear selection(s)"
16162
- }, aa = "*", vw = (e) => `Invalid action ${e} passed to useBulkSelection`, Aw = "useBulkSelection must be used within BulkSelectionContext", nu = "Selections on other pages are cleared", H_ = Bt({
16162
+ }, ra = "*", vw = (e) => `Invalid action ${e} passed to useBulkSelection`, Aw = "useBulkSelection must be used within BulkSelectionContext", nu = "Selections on other pages are cleared", H_ = Bt({
16163
16163
  selectedIdentifiers: {},
16164
16164
  handleBulkSelection: Ce,
16165
16165
  isChecked: !1,
@@ -16181,14 +16181,14 @@ const Sw = "bulk-selection-pop-up-menu", ui = {
16181
16181
  _o(() => {
16182
16182
  s && i(s);
16183
16183
  }, [s]);
16184
- const c = a[aa], l = () => Object.keys(a).length, d = (x, g) => {
16184
+ const c = a[ra], l = () => Object.keys(a).length, d = (x, g) => {
16185
16185
  const f = JSON.parse(JSON.stringify(x));
16186
16186
  g.forEach((C) => {
16187
16187
  delete f[C];
16188
16188
  }), r(f);
16189
16189
  }, u = (x) => {
16190
16190
  const g = JSON.parse(JSON.stringify(a));
16191
- c && delete g[aa], r({
16191
+ c && delete g[ra], r({
16192
16192
  ...g,
16193
16193
  ...x
16194
16194
  });
@@ -16213,17 +16213,17 @@ const Sw = "bulk-selection-pop-up-menu", ui = {
16213
16213
  if (c || l() > 0 && n() === V_.OPEN)
16214
16214
  return;
16215
16215
  r({
16216
- [aa]: !0
16216
+ [ra]: !0
16217
16217
  });
16218
16218
  break;
16219
16219
  }
16220
16220
  case Ve.CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES:
16221
16221
  r({
16222
- [aa]: !0
16222
+ [ra]: !0
16223
16223
  });
16224
16224
  break;
16225
16225
  case Ve.SELECT_ALL_ON_PAGE: {
16226
- a[aa] && $e.showToast({
16226
+ a[ra] && $e.showToast({
16227
16227
  variant: ve.info,
16228
16228
  description: nu
16229
16229
  }), u(o);
@@ -16303,7 +16303,7 @@ const Sw = "bulk-selection-pop-up-menu", ui = {
16303
16303
  action: d ? Ve.CLEAR_ALL_SELECTIONS : Ve.SELECT_ALL_ON_PAGE
16304
16304
  });
16305
16305
  }, _ = !a || e, h = (E) => /* @__PURE__ */ t.jsx(
16306
- Ha,
16306
+ Ya,
16307
16307
  {
16308
16308
  id: Sw,
16309
16309
  onClick: m,
@@ -16318,7 +16318,7 @@ const Sw = "bulk-selection-pop-up-menu", ui = {
16318
16318
  );
16319
16319
  return /* @__PURE__ */ t.jsx(_t, { wrap: h, condition: _, children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-4 dc__align-items-center", children: [
16320
16320
  /* @__PURE__ */ t.jsx(
16321
- ys,
16321
+ Is,
16322
16322
  {
16323
16323
  ref: r,
16324
16324
  isChecked: i,
@@ -16329,7 +16329,7 @@ const Sw = "bulk-selection-pop-up-menu", ui = {
16329
16329
  onClick: Ce
16330
16330
  }
16331
16331
  ),
16332
- n && /* @__PURE__ */ t.jsx(Ts, { className: "icon-dim-20 fcn-6 dc__no-shrink" })
16332
+ n && /* @__PURE__ */ t.jsx(bs, { className: "icon-dim-20 fcn-6 dc__no-shrink" })
16333
16333
  ] }) });
16334
16334
  }
16335
16335
  ), yw = 350, W_ = !!(Storage && localStorage), Dr = "generic-table-configurable-columns", Pr = "bulk-action-gutter", K_ = new EventTarget(), au = "table-drag-selector", xr = [1, 2, 3], Ow = new Error("Neither rows nor getRows function provided"), sl = ({
@@ -16640,7 +16640,7 @@ const Uw = ({
16640
16640
  }
16641
16641
  );
16642
16642
  };
16643
- var Mr = /* @__PURE__ */ ((e) => (e.ENTER_PRESSED = "enter-pressed", e.DELETE_PRESSED = "delete-pressed", e.ESCAPE_PRESSED = "escape-pressed", e.OPEN_CONTEXT_MENU = "open-context-menu", e.ROW_CLICKED = "row-clicked", e))(Mr || {}), La = /* @__PURE__ */ ((e) => (e.STATE = "state", e.URL = "url", e.NONE = "none", e))(La || {}), ga = /* @__PURE__ */ ((e) => (e.PAGINATED = "paginated", e.INFINITE = "infinite", e.NOT_PAGINATED = "not-paginated", e))(ga || {});
16643
+ var Mr = /* @__PURE__ */ ((e) => (e.ENTER_PRESSED = "enter-pressed", e.DELETE_PRESSED = "delete-pressed", e.ESCAPE_PRESSED = "escape-pressed", e.OPEN_CONTEXT_MENU = "open-context-menu", e.ROW_CLICKED = "row-clicked", e))(Mr || {}), Da = /* @__PURE__ */ ((e) => (e.STATE = "state", e.URL = "url", e.NONE = "none", e))(Da || {}), xa = /* @__PURE__ */ ((e) => (e.PAGINATED = "paginated", e.INFINITE = "infinite", e.NOT_PAGINATED = "not-paginated", e))(xa || {});
16644
16644
  const Fw = ({
16645
16645
  bulkSelectionConfig: e,
16646
16646
  handleToggleBulkSelectionOnRow: s,
@@ -16885,8 +16885,8 @@ const Fw = ({
16885
16885
  }, []);
16886
16886
  const ie = ge ? g : te?.() ?? 0, Se = J(() => {
16887
16887
  const ee = h ?? [];
16888
- return m !== ga.PAGINATED || m === ga.PAGINATED && x ? ee : ee.slice(ne, ne + z);
16889
- }, [m, ne, z, h]), Re = !!x, Ye = m === ga.PAGINATED && (Re || h?.length > (_?.[0]?.value ?? On)), { activeRowIndex: Pe, setActiveRowIndex: ct, shortcutContainerProps: Dt } = Fw(
16888
+ return m !== xa.PAGINATED || m === xa.PAGINATED && x ? ee : ee.slice(ne, ne + z);
16889
+ }, [m, ne, z, h]), Re = !!x, Ye = m === xa.PAGINATED && (Re || h?.length > (_?.[0]?.value ?? On)), { activeRowIndex: Pe, setActiveRowIndex: ct, shortcutContainerProps: Dt } = Fw(
16890
16890
  { bulkSelectionConfig: c, bulkSelectionReturnValue: l, handleToggleBulkSelectionOnRow: u },
16891
16891
  Se,
16892
16892
  Ye,
@@ -16926,7 +16926,7 @@ const Fw = ({
16926
16926
  },
16927
16927
  ee
16928
16928
  )) : Se.map((ee, Ee) => {
16929
- const ze = Pe === Ee, Os = !!he[ee.id] || ge, Jn = () => {
16929
+ const ze = Pe === Ee, ys = !!he[ee.id] || ge, Jn = () => {
16930
16930
  ct(Ee);
16931
16931
  }, Zn = () => {
16932
16932
  u(ee);
@@ -16936,7 +16936,7 @@ const Fw = ({
16936
16936
  {
16937
16937
  ref: ze ? Pt : null,
16938
16938
  onClick: Jn,
16939
- className: `dc__grid px-20 dc__min-width-fit-content checkbox__parent-container dc__opacity-hover dc__opacity-hover--parent ${U ? "border__secondary--bottom" : ""} fs-13 fw-4 lh-20 cn-9 generic-table__row dc__gap-16 ${ze ? "generic-table__row--active checkbox__parent-container--active" : ""} ${p ? "dc__opacity-hover dc__opacity-hover--parent" : ""} ${Os ? "generic-table__row--bulk-selected" : ""}`,
16939
+ className: `dc__grid px-20 dc__min-width-fit-content checkbox__parent-container dc__opacity-hover dc__opacity-hover--parent ${U ? "border__secondary--bottom" : ""} fs-13 fw-4 lh-20 cn-9 generic-table__row dc__gap-16 ${ze ? "generic-table__row--active checkbox__parent-container--active" : ""} ${p ? "dc__opacity-hover dc__opacity-hover--parent" : ""} ${ys ? "generic-table__row--bulk-selected" : ""}`,
16940
16940
  style: {
16941
16941
  gridTemplateColumns: oe
16942
16942
  },
@@ -16944,16 +16944,16 @@ const Fw = ({
16944
16944
  tabIndex: -1,
16945
16945
  children: [
16946
16946
  r.map(({ field: Xt, horizontallySticky: En, CellComponent: Qn }, ea) => {
16947
- const en = Xt === Pr, Cn = En || en, { className: tr = "", left: sr = "" } = Cn ? iu(oe, ea) : {};
16947
+ const en = Xt === Pr, Cn = En || en, { className: sr = "", left: nr = "" } = Cn ? iu(oe, ea) : {};
16948
16948
  return en ? /* @__PURE__ */ t.jsx(
16949
16949
  "div",
16950
16950
  {
16951
- className: `flexbox dc__align-items-center ${tr}`,
16952
- style: { left: sr },
16951
+ className: `flexbox dc__align-items-center ${sr}`,
16952
+ style: { left: nr },
16953
16953
  children: /* @__PURE__ */ t.jsx(
16954
- ys,
16954
+ Is,
16955
16955
  {
16956
- isChecked: Os,
16956
+ isChecked: ys,
16957
16957
  onChange: Zn,
16958
16958
  rootClassName: "mb-0",
16959
16959
  value: bt.CHECKED
@@ -16964,8 +16964,8 @@ const Fw = ({
16964
16964
  ) : /* @__PURE__ */ t.jsx(
16965
16965
  "div",
16966
16966
  {
16967
- className: `${tr} generic-table__cell`,
16968
- style: { left: sr },
16967
+ className: `${sr} generic-table__cell`,
16968
+ style: { left: nr },
16969
16969
  children: Qn ? /* @__PURE__ */ t.jsx(
16970
16970
  Qn,
16971
16971
  {
@@ -17029,11 +17029,11 @@ const Fw = ({
17029
17029
  label: ee,
17030
17030
  field: Ee,
17031
17031
  isSortable: ze,
17032
- size: Os,
17032
+ size: ys,
17033
17033
  showTippyOnTruncate: Jn,
17034
17034
  horizontallySticky: Zn
17035
17035
  }, Xt) => {
17036
- const En = !!Os?.range, ea = Zn || Ee === Pr, { className: en = "", left: Cn = "" } = ea ? iu(oe, Xt) : {};
17036
+ const En = !!ys?.range, ea = Zn || Ee === Pr, { className: en = "", left: Cn = "" } = ea ? iu(oe, Xt) : {};
17037
17037
  return Ee === Pr ? /* @__PURE__ */ t.jsx(
17038
17038
  "div",
17039
17039
  {
@@ -17223,7 +17223,7 @@ const Fw = ({
17223
17223
  }), se = a ? ge : Ne, oe = a ? Ie : q, ie = a ? te : Z, Se = a ? Te : he, { filteredRows: Re, totalRows: Ye } = J(
17224
17224
  () => oe ?? { filteredRows: [], totalRows: 0 },
17225
17225
  [oe]
17226
- ), Pe = se || ie === Ow, ct = o ?? us, Dt = () => ie && !Pe && !h ? /* @__PURE__ */ t.jsx(zn, { code: ie.code, reload: Se }) : !Pe && !Re?.length && !h ? e !== La.NONE && U ? /* @__PURE__ */ t.jsx(
17226
+ ), Pe = se || ie === Ow, ct = o ?? us, Dt = () => ie && !Pe && !h ? /* @__PURE__ */ t.jsx(zn, { code: ie.code, reload: Se }) : !Pe && !Re?.length && !h ? e !== Da.NONE && U ? /* @__PURE__ */ t.jsx(
17227
17227
  sl,
17228
17228
  {
17229
17229
  ...c.noRowsForFilterConfig,
@@ -17377,7 +17377,7 @@ const Fw = ({
17377
17377
  return /* @__PURE__ */ t.jsx(nl, { ...e, filterData: n });
17378
17378
  }, Zw = (e) => {
17379
17379
  const { filtersVariant: s } = e;
17380
- return s === La.STATE ? /* @__PURE__ */ t.jsx(Xw, { ...e }) : s === La.URL ? /* @__PURE__ */ t.jsx(Jw, { ...e }) : /* @__PURE__ */ t.jsx(
17380
+ return s === Da.STATE ? /* @__PURE__ */ t.jsx(Xw, { ...e }) : s === Da.URL ? /* @__PURE__ */ t.jsx(Jw, { ...e }) : /* @__PURE__ */ t.jsx(
17381
17381
  nl,
17382
17382
  {
17383
17383
  ...e,
@@ -17407,11 +17407,11 @@ const Fw = ({
17407
17407
  subTitle: "We couldn't find any matching results"
17408
17408
  }
17409
17409
  },
17410
- paginationVariant: ga.NOT_PAGINATED,
17410
+ paginationVariant: xa.NOT_PAGINATED,
17411
17411
  additionalFilterProps: {
17412
17412
  initialSortKey: "name"
17413
17413
  },
17414
- filtersVariant: La.STATE,
17414
+ filtersVariant: Da.STATE,
17415
17415
  ViewWrapper: Qw,
17416
17416
  filter: eL
17417
17417
  }
@@ -17586,7 +17586,7 @@ const Fw = ({
17586
17586
  ] })
17587
17587
  ] }),
17588
17588
  o && /* @__PURE__ */ t.jsx(
17589
- vs,
17589
+ Ss,
17590
17590
  {
17591
17591
  variant: Ut.warning,
17592
17592
  title: s === Fe.CD ? `Abort ${e.toLowerCase()}-deployment?` : "Abort build?",
@@ -17607,7 +17607,7 @@ const Fw = ({
17607
17607
  }
17608
17608
  ),
17609
17609
  c.status && /* @__PURE__ */ t.jsxs(
17610
- vs,
17610
+ Ss,
17611
17611
  {
17612
17612
  variant: Ut.warning,
17613
17613
  title: "Could not abort build!",
@@ -17661,7 +17661,7 @@ const Fw = ({
17661
17661
  renderTargetConfigInfo: l,
17662
17662
  stage: d
17663
17663
  }) => {
17664
- const { url: u } = Rs(), { pathname: m } = os();
17664
+ const { url: u } = As(), { pathname: m } = os();
17665
17665
  return /* @__PURE__ */ t.jsx("div", { className: "w-100 pr-20 flex column left", children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__align-items-center py-8 flex-wrap", children: [
17666
17666
  /* @__PURE__ */ t.jsxs("div", { className: "flex left dc__gap-4 cn-9 fs-13 fw-6 lh-20", children: [
17667
17667
  /* @__PURE__ */ t.jsxs("div", { className: "flex left dc__no-shrink dc__gap-4", "data-testid": "deployment-history-start-heading", children: [
@@ -17691,8 +17691,8 @@ const Fw = ({
17691
17691
  tc,
17692
17692
  {
17693
17693
  commits: [_.Commit],
17694
- handleClick: Oa(
17695
- Ya(p.url, _.Commit)
17694
+ handleClick: ja(
17695
+ Wa(p.url, _.Commit)
17696
17696
  )
17697
17697
  }
17698
17698
  ),
@@ -17751,9 +17751,9 @@ const Fw = ({
17751
17751
  () => Jc(f),
17752
17752
  [f]
17753
17753
  ), A = v?.workerDetails.message || c, I = T && N && (d === Fe.CD || d === Fe.GROUP_CD) && u === ds.DEPLOY && A?.includes(Fy), R = () => {
17754
- O(pa.DEPLOY_DIALOG);
17754
+ O(_a.DEPLOY_DIALOG);
17755
17755
  }, y = () => {
17756
- O(pa.RESOURCE_DETAIL_MODAL);
17756
+ O(_a.RESOURCE_DETAIL_MODAL);
17757
17757
  }, D = () => {
17758
17758
  O(null);
17759
17759
  }, k = () => /* @__PURE__ */ t.jsxs("div", { className: "flexbox", children: [
@@ -17770,14 +17770,14 @@ const Fw = ({
17770
17770
  ),
17771
17771
  " ",
17772
17772
  /* @__PURE__ */ t.jsx("span", { className: "cn-9 fw-4 fs-13 lh-20 dc__word-break", children: "have ownership conflicts. Resolve by taking ownership and redeploying." })
17773
- ] }), P = () => S === pa.DEPLOY_DIALOG ? /* @__PURE__ */ t.jsx(
17773
+ ] }), P = () => S === _a.DEPLOY_DIALOG ? /* @__PURE__ */ t.jsx(
17774
17774
  Tw,
17775
17775
  {
17776
17776
  appName: b,
17777
17777
  environmentName: p,
17778
17778
  handleClose: D
17779
17779
  }
17780
- ) : S === pa.RESOURCE_DETAIL_MODAL ? /* @__PURE__ */ t.jsx(
17780
+ ) : S === _a.RESOURCE_DETAIL_MODAL ? /* @__PURE__ */ t.jsx(
17781
17781
  sL,
17782
17782
  {
17783
17783
  appName: b,
@@ -18009,7 +18009,7 @@ const Fw = ({
18009
18009
  );
18010
18010
  case "navLink":
18011
18011
  return /* @__PURE__ */ t.jsx(
18012
- Is,
18012
+ Rs,
18013
18013
  {
18014
18014
  ref: C,
18015
18015
  className: `${T} dc__no-decor flexbox-col tab-group__tab__nav-link ${m ? "cursor-not-allowed" : ""}`,
@@ -18100,7 +18100,7 @@ const Fw = ({
18100
18100
  triggerHistory: S,
18101
18101
  targetPlatforms: O
18102
18102
  }) => {
18103
- const { path: v } = Rs(), { appId: A, pipelineId: I, triggerId: R, envId: y } = Rt(), D = {
18103
+ const { path: v } = As(), { appId: A, pipelineId: I, triggerId: R, envId: y } = Rt(), D = {
18104
18104
  appId: A,
18105
18105
  envId: y,
18106
18106
  appName: e.helmPackageName,
@@ -18295,7 +18295,7 @@ const Fw = ({
18295
18295
  title: tt.TRIGGER_NOT_FOUND.TITLE,
18296
18296
  subTitle: tt.TRIGGER_NOT_FOUND.SUBTITLE
18297
18297
  }
18298
- ) : !G && !y && !R ? /* @__PURE__ */ t.jsx(wa, {}) : G && !(K || y) && !R ? /* @__PURE__ */ t.jsx(wa, {}) : R?.id !== +v ? null : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
18298
+ ) : !G && !y && !R ? /* @__PURE__ */ t.jsx(La, {}) : G && !(K || y) && !R ? /* @__PURE__ */ t.jsx(La, {}) : R?.id !== +v ? null : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
18299
18299
  !e && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
18300
18300
  /* @__PURE__ */ t.jsx(
18301
18301
  iL,
@@ -18494,7 +18494,7 @@ const CL = (e) => e?.appType === xt.DEVTRON_APP && e.resourceTree?.nodes?.length
18494
18494
  "’"
18495
18495
  ] }),
18496
18496
  /* @__PURE__ */ t.jsxs(
18497
- Is,
18497
+ Rs,
18498
18498
  {
18499
18499
  to: `${be.GLOBAL_CONFIG_DOCKER}/${e.dockerRegistryId}`,
18500
18500
  className: "cb-5 fs-13 anchor w-auto dc__no-decor flex ml-8",
@@ -18873,7 +18873,7 @@ const TL = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
18873
18873
  /* @__PURE__ */ t.jsx("span", { className: "fs-13 lh-20", children: "Deployment status:" }),
18874
18874
  /* @__PURE__ */ t.jsx(Wn, { status: y.deploymentStatus, hideIcon: !0 })
18875
18875
  ] }),
18876
- subTitle: `Triggered at ${Ma(y.deploymentTriggerTime)} by ${y.triggeredBy}`,
18876
+ subTitle: `Triggered at ${ka(y.deploymentTriggerTime)} by ${y.triggeredBy}`,
18877
18877
  imageType: Js.Large
18878
18878
  }
18879
18879
  ) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
@@ -19190,7 +19190,7 @@ const wL = {
19190
19190
  [-1]: "Failed",
19191
19191
  0: "Progressing",
19192
19192
  1: "Completed"
19193
- }, qa = ({ severity: e, count: s }) => {
19193
+ }, Xa = ({ severity: e, count: s }) => {
19194
19194
  const n = s ? `${s} ${Qu(e)}` : Qu(e), a = {
19195
19195
  size: j.xxs,
19196
19196
  label: n
@@ -19255,7 +19255,7 @@ const wL = {
19255
19255
  }
19256
19256
  )
19257
19257
  ] }), LL = ({ entities: e, lastScanTimeString: s, scanToolName: n, scanToolUrl: a }) => /* @__PURE__ */ t.jsxs("div", { className: "info-card", children: [
19258
- /* @__PURE__ */ t.jsx(ya, { entities: e, rootClassName: "p-16 fs-13", countClassName: "fw-6", showAnimationOnBar: !0 }),
19258
+ /* @__PURE__ */ t.jsx(Oa, { entities: e, rootClassName: "p-16 fs-13", countClassName: "fw-6", showAnimationOnBar: !0 }),
19259
19259
  (s || n) && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
19260
19260
  /* @__PURE__ */ t.jsx("div", { className: "dc__border-bottom-n1 w-100 h-1" }),
19261
19261
  /* @__PURE__ */ t.jsxs("div", { className: "w-100 flexbox dc__content-space pl-16 pr-16 pb-8 pt-8", children: [
@@ -19281,7 +19281,7 @@ const wL = {
19281
19281
  )
19282
19282
  ] })
19283
19283
  ] })
19284
- ] }), Xa = ({
19284
+ ] }), Ja = ({
19285
19285
  children: e,
19286
19286
  detailViewData: s,
19287
19287
  setDetailViewData: n
@@ -19302,11 +19302,11 @@ const wL = {
19302
19302
  category: me.KUBERNETES_MANIFEST,
19303
19303
  subCategory: ce.MISCONFIGURATIONS,
19304
19304
  detailViewData: null
19305
- }, ML = (e) => e.imageScan ? ac : e.codeScan ? DL : e.kubernetesManifest ? PL : ac, xs = {
19305
+ }, ML = (e) => e.imageScan ? ac : e.codeScan ? DL : e.kubernetesManifest ? PL : ac, gs = {
19306
19306
  IMAGE_SCAN: "Image Scan",
19307
19307
  CODE_SCAN: "Code Scan",
19308
19308
  KUBERNETES_MANIFEST: "Kubernetes Manifest"
19309
- }, Ds = {
19309
+ }, Ls = {
19310
19310
  VULNERABILITIES: "Vulnerability",
19311
19311
  LICENSE: "License Risks",
19312
19312
  MISCONFIGURATIONS: "Misconfigurations",
@@ -19353,7 +19353,7 @@ const wL = {
19353
19353
  ae.FAILURES,
19354
19354
  ae.EXCEPTIONS,
19355
19355
  ae.SUCCESSES
19356
- ], Ja = to.DESC, rl = {
19356
+ ], Za = to.DESC, rl = {
19357
19357
  image: In,
19358
19358
  title: "Scan failed",
19359
19359
  subTitle: "Error: Security scan failed"
@@ -19361,7 +19361,7 @@ const wL = {
19361
19361
  SvgImage: bm,
19362
19362
  title: "Scan in progress",
19363
19363
  subTitle: "Scan result will be available once complete. Please check again later"
19364
- }, kL = "https://cdn.devtron.ai/images/ic-trivy.webp", As = (e) => (
19364
+ }, kL = "https://cdn.devtron.ai/images/ic-trivy.webp", vs = (e) => (
19365
19365
  /* for all the SEVERITY keys in @severities create @Entity */
19366
19366
  e && no.map(
19367
19367
  (s) => e[s] && {
@@ -19370,7 +19370,7 @@ const wL = {
19370
19370
  value: e[s]
19371
19371
  }
19372
19372
  ).filter((s) => !!s)
19373
- ), Za = (e) => e && Object.keys(e).sort(
19373
+ ), Qa = (e) => e && Object.keys(e).sort(
19374
19374
  (s, n) => no.indexOf(s) - no.indexOf(n)
19375
19375
  ).map(
19376
19376
  (s) => `${e[s]} ${so[s].label}`
@@ -19383,7 +19383,7 @@ const wL = {
19383
19383
  [ae.FAILURES]: 6,
19384
19384
  [ae.EXCEPTIONS]: 7,
19385
19385
  [ae.SUCCESSES]: 8
19386
- })[e] || 1e4, Qa = (e, s) => _u(e) - _u(s), Z3 = (e) => {
19386
+ })[e] || 1e4, er = (e, s) => _u(e) - _u(s), Z3 = (e) => {
19387
19387
  const s = e[me.IMAGE_SCAN].vulnerability?.summary?.severities, n = e[me.CODE_SCAN].vulnerability?.summary?.severities;
19388
19388
  return {
19389
19389
  critical: (s?.[ae.CRITICAL] || 0) + (n?.[ae.CRITICAL] || 0),
@@ -19620,7 +19620,7 @@ const wL = {
19620
19620
  const s = e.imageScan?.vulnerability?.list ?? [], n = e.imageScan?.license?.list ?? [], a = e.codeScan?.status, r = e.kubernetesManifest?.status, o = ro(s), i = ro(n);
19621
19621
  return o === "Progressing" || i === "Progressing" || rc(a) || rc(r) ? "Progressing" : o === "Failed" || i === "Failed" || a === "Failed" || r === "Failed" ? "Failed" : "Completed";
19622
19622
  }, YL = ({ href: e }) => /* @__PURE__ */ t.jsx("div", { className: "flex flex-grow-1", children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-8 dc__align-items-center fs-13 fw-6", children: [
19623
- /* @__PURE__ */ t.jsx(Sa, { className: "icon-dim-24 fcn-3" }),
19623
+ /* @__PURE__ */ t.jsx(va, { className: "icon-dim-24 fcn-3" }),
19624
19624
  /* @__PURE__ */ t.jsx("span", { children: "Code snippet is not available" }),
19625
19625
  e && /* @__PURE__ */ t.jsx("a", { href: e, rel: "noopener noreferrer", target: "_blank", children: "Go to file" })
19626
19626
  ] }) }), ef = ({ title: e, lines: s, link: n }) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__align-self-stretch bg__primary dc__outline dc__border-radius-4-imp", children: [
@@ -19639,8 +19639,8 @@ const wL = {
19639
19639
  headerText: "severity",
19640
19640
  isSortable: !0,
19641
19641
  width: 100,
19642
- compareFunc: Qa,
19643
- defaultSortOrder: Ja
19642
+ compareFunc: er,
19643
+ defaultSortOrder: Za
19644
19644
  },
19645
19645
  { headerText: "package", isSortable: !0, width: 143.33 },
19646
19646
  { headerText: "current version", isSortable: !1, width: 143.33 },
@@ -19666,7 +19666,7 @@ const wL = {
19666
19666
  cellContent: n.cveId
19667
19667
  },
19668
19668
  {
19669
- component: /* @__PURE__ */ t.jsx(qa, { severity: n.severity }),
19669
+ component: /* @__PURE__ */ t.jsx(Xa, { severity: n.severity }),
19670
19670
  cellContent: n.severity
19671
19671
  },
19672
19672
  {
@@ -19695,8 +19695,8 @@ const wL = {
19695
19695
  headerText: "severity",
19696
19696
  isSortable: !0,
19697
19697
  width: 100,
19698
- compareFunc: Qa,
19699
- defaultSortOrder: Ja
19698
+ compareFunc: er,
19699
+ defaultSortOrder: Za
19700
19700
  },
19701
19701
  { headerText: "license", isSortable: !1, width: 150 },
19702
19702
  { headerText: "source", isSortable: !0, width: 296 }
@@ -19710,7 +19710,7 @@ const wL = {
19710
19710
  cellContent: s.classification
19711
19711
  },
19712
19712
  {
19713
- component: /* @__PURE__ */ t.jsx(qa, { severity: s.severity }),
19713
+ component: /* @__PURE__ */ t.jsx(Xa, { severity: s.severity }),
19714
19714
  cellContent: s.severity
19715
19715
  },
19716
19716
  {
@@ -19742,8 +19742,8 @@ const wL = {
19742
19742
  headerText: "severity",
19743
19743
  isSortable: !0,
19744
19744
  width: 100,
19745
- compareFunc: Qa,
19746
- defaultSortOrder: Ja
19745
+ compareFunc: er,
19746
+ defaultSortOrder: Za
19747
19747
  },
19748
19748
  { headerText: "id", isSortable: !1, width: 100 }
19749
19749
  ],
@@ -19772,7 +19772,7 @@ const wL = {
19772
19772
  cellContent: ""
19773
19773
  },
19774
19774
  {
19775
- component: /* @__PURE__ */ t.jsx(qa, { severity: o.severity }),
19775
+ component: /* @__PURE__ */ t.jsx(Xa, { severity: o.severity }),
19776
19776
  cellContent: o.severity
19777
19777
  },
19778
19778
  {
@@ -19791,7 +19791,7 @@ const wL = {
19791
19791
  ]
19792
19792
  })) : null,
19793
19793
  defaultSortIndex: 1,
19794
- entities: As(e.misConfSummary.status),
19794
+ entities: vs(e.misConfSummary.status),
19795
19795
  lastScanTimeString: s,
19796
19796
  scanToolName: a,
19797
19797
  scanToolUrl: r,
@@ -19809,7 +19809,7 @@ const wL = {
19809
19809
  cells: [
19810
19810
  {
19811
19811
  component: /* @__PURE__ */ t.jsx(
19812
- Xa,
19812
+ Ja,
19813
19813
  {
19814
19814
  detailViewData: KL(
19815
19815
  i,
@@ -19825,7 +19825,7 @@ const wL = {
19825
19825
  cellContent: i.filePath
19826
19826
  },
19827
19827
  {
19828
- component: /* @__PURE__ */ t.jsx("span", { children: Za(i.misConfSummary.status) }),
19828
+ component: /* @__PURE__ */ t.jsx("span", { children: Qa(i.misConfSummary.status) }),
19829
19829
  cellContent: i.misConfSummary.status
19830
19830
  },
19831
19831
  {
@@ -19843,8 +19843,8 @@ const wL = {
19843
19843
  headerText: "severity",
19844
19844
  isSortable: !0,
19845
19845
  width: 100,
19846
- compareFunc: Qa,
19847
- defaultSortOrder: Ja
19846
+ compareFunc: er,
19847
+ defaultSortOrder: Za
19848
19848
  },
19849
19849
  { headerText: "category", isSortable: !0, width: 150 }
19850
19850
  ],
@@ -19863,7 +19863,7 @@ const wL = {
19863
19863
  cellContent: ""
19864
19864
  },
19865
19865
  {
19866
- component: /* @__PURE__ */ t.jsx(qa, { severity: o.severity }),
19866
+ component: /* @__PURE__ */ t.jsx(Xa, { severity: o.severity }),
19867
19867
  cellContent: o.severity
19868
19868
  },
19869
19869
  {
@@ -19873,7 +19873,7 @@ const wL = {
19873
19873
  ]
19874
19874
  })) : null,
19875
19875
  defaultSortIndex: 1,
19876
- entities: As(e.summary.severities),
19876
+ entities: vs(e.summary.severities),
19877
19877
  lastScanTimeString: s,
19878
19878
  scanToolName: a,
19879
19879
  scanToolUrl: r,
@@ -19890,7 +19890,7 @@ const wL = {
19890
19890
  cells: [
19891
19891
  {
19892
19892
  component: /* @__PURE__ */ t.jsx(
19893
- Xa,
19893
+ Ja,
19894
19894
  {
19895
19895
  detailViewData: zL(
19896
19896
  i,
@@ -19906,7 +19906,7 @@ const wL = {
19906
19906
  cellContent: i.filePath
19907
19907
  },
19908
19908
  {
19909
- component: /* @__PURE__ */ t.jsx("span", { children: Za(i.summary.severities) }),
19909
+ component: /* @__PURE__ */ t.jsx("span", { children: Qa(i.summary.severities) }),
19910
19910
  cellContent: i.summary.severities
19911
19911
  }
19912
19912
  ]
@@ -19949,12 +19949,12 @@ const wL = {
19949
19949
  case ce.LICENSE:
19950
19950
  case ce.EXPOSED_SECRETS:
19951
19951
  return {
19952
- entities: As(e[s]?.summary.severities),
19952
+ entities: vs(e[s]?.summary.severities),
19953
19953
  ...o
19954
19954
  };
19955
19955
  case ce.MISCONFIGURATIONS:
19956
19956
  return {
19957
- entities: As(e[s]?.misConfSummary.status),
19957
+ entities: vs(e[s]?.misConfSummary.status),
19958
19958
  ...o
19959
19959
  };
19960
19960
  default:
@@ -20002,7 +20002,7 @@ const wL = {
20002
20002
  }, oc = (e) => ({
20003
20003
  titlePrefix: "Image",
20004
20004
  title: e.image,
20005
- entities: As(e.summary.severities),
20005
+ entities: vs(e.summary.severities),
20006
20006
  lastScanTimeString: e.StartedOn,
20007
20007
  scanToolName: e.scanToolName,
20008
20008
  scanToolUrl: e.scanToolUrl,
@@ -20026,7 +20026,7 @@ const wL = {
20026
20026
  cells: [
20027
20027
  {
20028
20028
  component: /* @__PURE__ */ t.jsx(
20029
- Xa,
20029
+ Ja,
20030
20030
  {
20031
20031
  detailViewData: {
20032
20032
  ...oc({
@@ -20044,7 +20044,7 @@ const wL = {
20044
20044
  cellContent: r.source
20045
20045
  },
20046
20046
  {
20047
- component: /* @__PURE__ */ t.jsx("span", { children: Za(r.summary.severities) }),
20047
+ component: /* @__PURE__ */ t.jsx("span", { children: Qa(r.summary.severities) }),
20048
20048
  cellContent: r.summary.severities
20049
20049
  }
20050
20050
  ]
@@ -20085,7 +20085,7 @@ const wL = {
20085
20085
  cells: [
20086
20086
  {
20087
20087
  component: /* @__PURE__ */ t.jsx(
20088
- Xa,
20088
+ Ja,
20089
20089
  {
20090
20090
  detailViewData: eD(a, s, n),
20091
20091
  setDetailViewData: s,
@@ -20096,7 +20096,7 @@ const wL = {
20096
20096
  },
20097
20097
  {
20098
20098
  component: null,
20099
- cellContent: Za(a.summary.severities) || (a.status === "Completed" ? "No vulnerability found" : "-")
20099
+ cellContent: Qa(a.summary.severities) || (a.status === "Completed" ? "No vulnerability found" : "-")
20100
20100
  },
20101
20101
  {
20102
20102
  component: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-4", children: [
@@ -20116,8 +20116,8 @@ const wL = {
20116
20116
  headerText: "severity",
20117
20117
  isSortable: !0,
20118
20118
  width: 100,
20119
- compareFunc: Qa,
20120
- defaultSortOrder: Ja
20119
+ compareFunc: er,
20120
+ defaultSortOrder: Za
20121
20121
  },
20122
20122
  { headerText: "license", isSortable: !1, width: 150 },
20123
20123
  { headerText: "package", isSortable: !0, width: 296 }
@@ -20131,7 +20131,7 @@ const wL = {
20131
20131
  cellContent: s.classification
20132
20132
  },
20133
20133
  {
20134
- component: /* @__PURE__ */ t.jsx(qa, { severity: s.severity }),
20134
+ component: /* @__PURE__ */ t.jsx(Xa, { severity: s.severity }),
20135
20135
  cellContent: s.severity
20136
20136
  },
20137
20137
  {
@@ -20145,7 +20145,7 @@ const wL = {
20145
20145
  ]
20146
20146
  })) : null,
20147
20147
  defaultSortIndex: 1,
20148
- entities: As(e.summary.severities),
20148
+ entities: vs(e.summary.severities),
20149
20149
  lastScanTimeString: e.StartedOn,
20150
20150
  scanToolName: e.scanToolName,
20151
20151
  scanToolUrl: e.scanToolUrl,
@@ -20162,7 +20162,7 @@ const wL = {
20162
20162
  cells: [
20163
20163
  {
20164
20164
  component: /* @__PURE__ */ t.jsx(
20165
- Xa,
20165
+ Ja,
20166
20166
  {
20167
20167
  detailViewData: sD(n),
20168
20168
  setDetailViewData: s,
@@ -20173,7 +20173,7 @@ const wL = {
20173
20173
  },
20174
20174
  {
20175
20175
  component: null,
20176
- cellContent: Za(n.summary.severities) || (n.status === "Completed" ? "No license risk found" : "-")
20176
+ cellContent: Qa(n.summary.severities) || (n.status === "Completed" ? "No license risk found" : "-")
20177
20177
  },
20178
20178
  {
20179
20179
  component: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-4", children: [
@@ -20196,7 +20196,7 @@ const wL = {
20196
20196
  }, rD = (e, s) => {
20197
20197
  const n = e[s]?.list?.[0];
20198
20198
  return {
20199
- entities: As(e[s]?.summary.severities),
20199
+ entities: vs(e[s]?.summary.severities),
20200
20200
  scanToolName: n?.scanToolName,
20201
20201
  scanToolUrl: n?.scanToolUrl,
20202
20202
  lastScanTimeString: n?.StartedOn
@@ -20266,12 +20266,12 @@ const wL = {
20266
20266
  switch (s) {
20267
20267
  case ce.MISCONFIGURATIONS:
20268
20268
  return {
20269
- entities: As(e[s]?.misConfSummary.status),
20269
+ entities: vs(e[s]?.misConfSummary.status),
20270
20270
  ...n
20271
20271
  };
20272
20272
  case ce.EXPOSED_SECRETS:
20273
20273
  return {
20274
- entities: As(e[s]?.summary.severities),
20274
+ entities: vs(e[s]?.summary.severities),
20275
20275
  ...n
20276
20276
  };
20277
20277
  default:
@@ -20318,7 +20318,7 @@ const wL = {
20318
20318
  default:
20319
20319
  return null;
20320
20320
  }
20321
- }, Ps = ({ category: e, subCategory: s }) => JSON.stringify({ category: e, subCategory: s }), pD = (e) => {
20321
+ }, Ds = ({ category: e, subCategory: s }) => JSON.stringify({ category: e, subCategory: s }), pD = (e) => {
20322
20322
  const s = JSON.parse(e);
20323
20323
  return {
20324
20324
  category: s.category,
@@ -20335,13 +20335,13 @@ const wL = {
20335
20335
  ...e ? [
20336
20336
  {
20337
20337
  type: "heading",
20338
- title: xs.IMAGE_SCAN,
20339
- id: xs.IMAGE_SCAN,
20338
+ title: gs.IMAGE_SCAN,
20339
+ id: gs.IMAGE_SCAN,
20340
20340
  items: [
20341
20341
  {
20342
20342
  type: "item",
20343
- title: Ds.VULNERABILITIES,
20344
- id: Ps({
20343
+ title: Ls.VULNERABILITIES,
20344
+ id: Ds({
20345
20345
  category: me.IMAGE_SCAN,
20346
20346
  subCategory: ce.VULNERABILITIES
20347
20347
  })
@@ -20349,8 +20349,8 @@ const wL = {
20349
20349
  ...a ? [
20350
20350
  {
20351
20351
  type: "item",
20352
- title: Ds.LICENSE,
20353
- id: Ps({
20352
+ title: Ls.LICENSE,
20353
+ id: Ds({
20354
20354
  category: me.IMAGE_SCAN,
20355
20355
  subCategory: ce.LICENSE
20356
20356
  })
@@ -20362,37 +20362,37 @@ const wL = {
20362
20362
  ...s ? [
20363
20363
  {
20364
20364
  type: "heading",
20365
- title: xs.CODE_SCAN,
20366
- id: xs.CODE_SCAN,
20365
+ title: gs.CODE_SCAN,
20366
+ id: gs.CODE_SCAN,
20367
20367
  items: [
20368
20368
  {
20369
20369
  type: "item",
20370
- title: Ds.VULNERABILITIES,
20371
- id: Ps({
20370
+ title: Ls.VULNERABILITIES,
20371
+ id: Ds({
20372
20372
  category: me.CODE_SCAN,
20373
20373
  subCategory: ce.VULNERABILITIES
20374
20374
  })
20375
20375
  },
20376
20376
  {
20377
20377
  type: "item",
20378
- title: Ds.LICENSE,
20379
- id: Ps({
20378
+ title: Ls.LICENSE,
20379
+ id: Ds({
20380
20380
  category: me.CODE_SCAN,
20381
20381
  subCategory: ce.LICENSE
20382
20382
  })
20383
20383
  },
20384
20384
  {
20385
20385
  type: "item",
20386
- title: Ds.MISCONFIGURATIONS,
20387
- id: Ps({
20386
+ title: Ls.MISCONFIGURATIONS,
20387
+ id: Ds({
20388
20388
  category: me.CODE_SCAN,
20389
20389
  subCategory: ce.MISCONFIGURATIONS
20390
20390
  })
20391
20391
  },
20392
20392
  {
20393
20393
  type: "item",
20394
- title: Ds.EXPOSED_SECRETS,
20395
- id: Ps({
20394
+ title: Ls.EXPOSED_SECRETS,
20395
+ id: Ds({
20396
20396
  category: me.CODE_SCAN,
20397
20397
  subCategory: ce.EXPOSED_SECRETS
20398
20398
  })
@@ -20403,21 +20403,21 @@ const wL = {
20403
20403
  ...n ? [
20404
20404
  {
20405
20405
  type: "heading",
20406
- title: xs.KUBERNETES_MANIFEST,
20407
- id: xs.KUBERNETES_MANIFEST,
20406
+ title: gs.KUBERNETES_MANIFEST,
20407
+ id: gs.KUBERNETES_MANIFEST,
20408
20408
  items: [
20409
20409
  {
20410
20410
  type: "item",
20411
- title: Ds.MISCONFIGURATIONS,
20412
- id: Ps({
20411
+ title: Ls.MISCONFIGURATIONS,
20412
+ id: Ds({
20413
20413
  category: me.KUBERNETES_MANIFEST,
20414
20414
  subCategory: ce.MISCONFIGURATIONS
20415
20415
  })
20416
20416
  },
20417
20417
  {
20418
20418
  type: "item",
20419
- title: Ds.EXPOSED_SECRETS,
20420
- id: Ps({
20419
+ title: Ls.EXPOSED_SECRETS,
20420
+ id: Ds({
20421
20421
  category: me.KUBERNETES_MANIFEST,
20422
20422
  subCategory: ce.EXPOSED_SECRETS
20423
20423
  })
@@ -20593,11 +20593,11 @@ const wL = {
20593
20593
  return await _e(i);
20594
20594
  }, kr = {
20595
20595
  [me.IMAGE_SCAN]: {
20596
- label: xs.IMAGE_SCAN,
20596
+ label: gs.IMAGE_SCAN,
20597
20597
  subCategories: [ce.VULNERABILITIES, ce.LICENSE]
20598
20598
  },
20599
20599
  [me.CODE_SCAN]: {
20600
- label: xs.CODE_SCAN,
20600
+ label: gs.CODE_SCAN,
20601
20601
  subCategories: [
20602
20602
  ce.VULNERABILITIES,
20603
20603
  ce.LICENSE,
@@ -20606,7 +20606,7 @@ const wL = {
20606
20606
  ]
20607
20607
  },
20608
20608
  [me.KUBERNETES_MANIFEST]: {
20609
- label: xs.KUBERNETES_MANIFEST,
20609
+ label: gs.KUBERNETES_MANIFEST,
20610
20610
  subCategories: [ce.MISCONFIGURATIONS, ce.EXPOSED_SECRETS]
20611
20611
  }
20612
20612
  }, nY = {
@@ -20665,7 +20665,7 @@ const wL = {
20665
20665
  ] }),
20666
20666
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-12", children: [
20667
20667
  r || !(i || n.success) ? /* @__PURE__ */ t.jsx("div", { className: "bcn-1 br-4 h-8" }) : /* @__PURE__ */ t.jsx(
20668
- ya,
20668
+ Oa,
20669
20669
  {
20670
20670
  entities: c,
20671
20671
  labelClassName: "fs-13 fw-4 lh-20 cn-9",
@@ -20931,7 +20931,7 @@ const rY = (e) => e.sort(
20931
20931
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-16 dc__overflow-hidden pt-20 flex-grow-1 bulk-operations__results-modal__content", children: [
20932
20932
  /* @__PURE__ */ t.jsxs("div", { className: "bulk-operations__results-modal__bar-chart br-8 flexbox-col dc__align-start dc__align-self-stretch dc__border bg__primary ml-20 mr-20", children: [
20933
20933
  /* @__PURE__ */ t.jsx(
20934
- ya,
20934
+ Oa,
20935
20935
  {
20936
20936
  entities: a.getBarChartEntities(),
20937
20937
  rootClassName: "p-16 fs-13 dc__border-bottom-n1",
@@ -21049,10 +21049,10 @@ class gu {
21049
21049
  Progressing: 0,
21050
21050
  Pending: 0
21051
21051
  });
21052
- nr(this, Mn, !1);
21053
- nr(this, kn, !1);
21052
+ ar(this, Mn, !1);
21053
+ ar(this, kn, !1);
21054
21054
  ue(this, "updateStatus", (s, n) => {
21055
- n.status === "Completed" && !tn(this, kn) && ar(this, kn, !0), n.status === "Failed" && !tn(this, Mn) && ar(this, Mn, !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;
21055
+ n.status === "Completed" && !tn(this, kn) && rr(this, kn, !0), n.status === "Failed" && !tn(this, Mn) && rr(this, Mn, !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;
21056
21056
  });
21057
21057
  ue(this, "addResult", (s) => {
21058
21058
  const n = structuredClone(s), a = this.results.length, r = { ...n, id: a };
@@ -21083,7 +21083,7 @@ const oY = ({
21083
21083
  handleModalClose: e,
21084
21084
  operations: s = [],
21085
21085
  getResultsChartSummaryText: n,
21086
- handleReloadDataAfterBulkOperation: a = or,
21086
+ handleReloadDataAfterBulkOperation: a = ir,
21087
21087
  hideResultsDrawer: r = !1,
21088
21088
  textConfig: o,
21089
21089
  shouldSkipConfirmation: i,
@@ -21150,15 +21150,15 @@ const oY = ({
21150
21150
  m(!1);
21151
21151
  }
21152
21152
  };
21153
- M(() => (i && f().then(or).catch(or), () => {
21153
+ M(() => (i && f().then(ir).catch(ir), () => {
21154
21154
  E.current?.abort();
21155
21155
  }), []);
21156
- const C = u ? or : g, N = async () => {
21156
+ const C = u ? ir : g, N = async () => {
21157
21157
  _.current = h.current.getRetryOperations(), h.current = new gu(_.current.length), E.current = new AbortController(), await f();
21158
21158
  }, b = () => {
21159
21159
  E.current.abort();
21160
21160
  }, T = () => /* @__PURE__ */ t.jsx(
21161
- vs,
21161
+ Ss,
21162
21162
  {
21163
21163
  ...c,
21164
21164
  handleClose: g,
@@ -21246,7 +21246,7 @@ const iY = ({
21246
21246
  disabled: i,
21247
21247
  rootClassName: "flex dc__transparent p-0 w-28 bcb-5 dc__right-radius-4 dc__no-left-radius dc__no-top-border dc__no-bottom-border dc__no-right-border button-with-selector",
21248
21248
  children: /* @__PURE__ */ t.jsx(
21249
- Ts,
21249
+ bs,
21250
21250
  {
21251
21251
  className: "icon-dim-16 fcn-0 dc__no-shrink rotate",
21252
21252
  style: { "--rotateBy": l ? "180deg" : "0deg" }
@@ -22242,7 +22242,7 @@ const dY = (e) => {
22242
22242
  ] }),
22243
22243
  variant: "warning"
22244
22244
  }
22245
- ), co = "Please provide valid YAML", ra = {
22245
+ ), co = "Please provide valid YAML", oa = {
22246
22246
  BOTH_STORE_AVAILABLE: "Please use either secretStore or secretStoreRef",
22247
22247
  CHECK_KEY_SECRET_KEY: "Please check key and secretKey",
22248
22248
  BOTH_STORE_UNAVAILABLE: "Please provide secretStore or secretStoreRef",
@@ -22252,7 +22252,7 @@ const dY = (e) => {
22252
22252
  }, HD = [
22253
22253
  { value: "", label: "Kubernetes ConfigMap" },
22254
22254
  { value: Ge.KubernetesConfigMap, label: "Kubernetes External ConfigMap" }
22255
- ], Da = [{ key: "", value: "", id: 0 }], lo = {
22255
+ ], Pa = [{ key: "", value: "", id: 0 }], lo = {
22256
22256
  environment: { title: "Environment Variable", value: "environment" },
22257
22257
  volume: { title: "Data Volume", value: "volume" }
22258
22258
  }, YD = (e, s) => {
@@ -22309,7 +22309,7 @@ const dY = (e) => {
22309
22309
  configMapSecretData: e,
22310
22310
  cmSecretStateLabel: s,
22311
22311
  isSecret: n
22312
- }) => e.mergeStrategy === Pc.PATCH ? e.patchData ? gi(e.patchData, n && e.externalType === "") : Da : e.data ? gi(e.data, n && e.externalType === "") : s === Io.INHERITED && e.defaultData ? gi(e.defaultData, n && e.externalType === "") : Da, KD = ({
22312
+ }) => e.mergeStrategy === Pc.PATCH ? e.patchData ? gi(e.patchData, n && e.externalType === "") : Pa : e.data ? gi(e.data, n && e.externalType === "") : s === Io.INHERITED && e.defaultData ? gi(e.defaultData, n && e.externalType === "") : Pa, KD = ({
22313
22313
  data: e,
22314
22314
  esoSubPath: s,
22315
22315
  external: n,
@@ -22395,7 +22395,7 @@ const dY = (e) => {
22395
22395
  externalSubpathValues: "",
22396
22396
  yaml: `"": ""
22397
22397
  `,
22398
- currentData: Da,
22398
+ currentData: Pa,
22399
22399
  esoSecretYaml: "{}",
22400
22400
  secretDataYaml: "[]",
22401
22401
  mergeStrategy: null
@@ -22491,12 +22491,12 @@ const dY = (e) => {
22491
22491
  throw new Error();
22492
22492
  return Object.keys(s).reduce((a, r, o) => {
22493
22493
  if (!r && !s[r])
22494
- return Da;
22494
+ return Pa;
22495
22495
  const i = s[r] && typeof s[r] == "object" ? wt(s[r]) : s[r].toString();
22496
22496
  return [...a, { key: r, value: i ?? "", id: o }];
22497
22497
  }, []);
22498
22498
  } catch {
22499
- return Da;
22499
+ return Pa;
22500
22500
  }
22501
22501
  }, cf = (e) => {
22502
22502
  try {
@@ -22676,7 +22676,7 @@ const dY = (e) => {
22676
22676
  ),
22677
22677
  n
22678
22678
  // Keep track of overall validity
22679
- )), s.esoDataFrom && s.esoData ? a = ra.BOTH_ESO_DATA_AND_DATA_FROM_AVAILABLE : !s.esoDataFrom && !s.esoData ? a = ra.BOTH_ESO_DATA_AND_DATA_FROM_UNAVAILABLE : s.secretStore && s.secretStoreRef ? a = ra.BOTH_STORE_AVAILABLE : s.secretStore || s.secretStoreRef ? a = ra.CHECK_KEY_SECRET_KEY : a = ra.BOTH_STORE_UNAVAILABLE, {
22679
+ )), s.esoDataFrom && s.esoData ? a = oa.BOTH_ESO_DATA_AND_DATA_FROM_AVAILABLE : !s.esoDataFrom && !s.esoData ? a = oa.BOTH_ESO_DATA_AND_DATA_FROM_UNAVAILABLE : s.secretStore && s.secretStoreRef ? a = oa.BOTH_STORE_AVAILABLE : s.secretStore || s.secretStoreRef ? a = oa.CHECK_KEY_SECRET_KEY : a = oa.BOTH_STORE_UNAVAILABLE, {
22680
22680
  custom: {
22681
22681
  isValid: () => n,
22682
22682
  // Validation is successful if all checks pass.
@@ -23158,7 +23158,7 @@ const u1 = Object.entries(i1).map(([e, s]) => ({
23158
23158
  withFullScreenPortal: !1,
23159
23159
  orientation: "horizontal",
23160
23160
  readOnly: l || !1,
23161
- customInputIcon: /* @__PURE__ */ t.jsx(Ta, { className: "icon-dim-20 scn-6" }),
23161
+ customInputIcon: /* @__PURE__ */ t.jsx(Sa, { className: "icon-dim-20 scn-6" }),
23162
23162
  inputIconPosition: "after",
23163
23163
  displayFormat: St.DD_MMM_YYYY,
23164
23164
  "data-testid": m,
@@ -23500,7 +23500,7 @@ function T1({ isCreateApp: e }) {
23500
23500
  /* @__PURE__ */ t.jsxs("div", { className: "mb-20", children: [
23501
23501
  /* @__PURE__ */ t.jsxs("span", { className: "flex left", children: [
23502
23502
  "Add a tag and click on the",
23503
- /* @__PURE__ */ t.jsx(fa, { className: "icon-dim-16 ml-4 mr-4" }),
23503
+ /* @__PURE__ */ t.jsx(ha, { className: "icon-dim-16 ml-4 mr-4" }),
23504
23504
  "icon to"
23505
23505
  ] }),
23506
23506
  "propagate tags as labels to Kubernetes resources"
@@ -23510,10 +23510,10 @@ function T1({ isCreateApp: e }) {
23510
23510
  return /* @__PURE__ */ t.jsx(
23511
23511
  Bc,
23512
23512
  {
23513
- theme: Fa.white,
23513
+ theme: Ba.white,
23514
23514
  className: "w-300",
23515
23515
  placement: "left",
23516
- Icon: fa,
23516
+ Icon: ha,
23517
23517
  heading: "Propagate tags to K8s resources",
23518
23518
  infoText: "",
23519
23519
  additionalContent: s(),
@@ -23524,7 +23524,7 @@ function T1({ isCreateApp: e }) {
23524
23524
  documentationLinkText: "View Documentation",
23525
23525
  openInNewTab: !0,
23526
23526
  children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox cursor", children: [
23527
- /* @__PURE__ */ t.jsx(fa, { className: "icon-dim-16 mt-2 mr-4" }),
23527
+ /* @__PURE__ */ t.jsx(ha, { className: "icon-dim-16 mt-2 mr-4" }),
23528
23528
  /* @__PURE__ */ t.jsx("span", { children: "Propagate tags" }),
23529
23529
  /* @__PURE__ */ t.jsx(vo, { className: "icon-dim-16 mt-2 ml-4" })
23530
23530
  ] })
@@ -23797,7 +23797,7 @@ const Nu = ({
23797
23797
  if (!v.relatedTarget || !v.relatedTarget.classList.value || !v.relatedTarget.classList.value.includes(`tag-${e}-class`)) {
23798
23798
  h("");
23799
23799
  const A = { ...s };
23800
- A[o] = m, o === gs.KEY ? A.isInvalidKey = m || A.propagate ? !E.propagateTagKey(m).isValid : A.value !== "" : m || r || A.propagate ? (A.isInvalidValue = !E.propagateTagValue(m, A.key).isValid, A.isInvalidKey = !A.key || A.isInvalidKey) : (A.isInvalidValue = !1, A.isInvalidKey = A.key ? A.isInvalidKey : !1), n(e, A);
23800
+ A[o] = m, o === hs.KEY ? A.isInvalidKey = m || A.propagate ? !E.propagateTagKey(m).isValid : A.value !== "" : m || r || A.propagate ? (A.isInvalidValue = !E.propagateTagValue(m, A.key).isValid, A.isInvalidKey = !A.key || A.isInvalidKey) : (A.isInvalidValue = !1, A.isInvalidKey = A.key ? A.isInvalidKey : !1), n(e, A);
23801
23801
  }
23802
23802
  }, f = (v) => {
23803
23803
  p(v.target.value);
@@ -23807,13 +23807,13 @@ const Nu = ({
23807
23807
  A[o] = v.currentTarget.dataset.key, A.propagate = v.currentTarget.dataset.propagate === "true", n(e, A), h("");
23808
23808
  }, N = () => {
23809
23809
  let v = { isValid: !0, messages: [] };
23810
- return o === gs.KEY ? (m || s.value) && (v = E.propagateTagKey(m)) : (r || m || s.propagate) && (v = E.propagateTagValue(m, s.key)), v.isValid ? null : /* @__PURE__ */ t.jsxs("div", { className: "p-4", onClick: Oe, "data-testid": "tag-label-cross-stop-propagation", children: [
23810
+ return o === hs.KEY ? (m || s.value) && (v = E.propagateTagKey(m)) : (r || m || s.propagate) && (v = E.propagateTagValue(m, s.key)), v.isValid ? null : /* @__PURE__ */ t.jsxs("div", { className: "p-4", onClick: Oe, "data-testid": "tag-label-cross-stop-propagation", children: [
23811
23811
  v.messages.map((A) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox pr-4 pl-4", children: [
23812
23812
  /* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsx(Xs, { className: "icon-dim-14 scr-5 mt-3 mr-4" }) }),
23813
23813
  /* @__PURE__ */ t.jsx("span", { children: A })
23814
23814
  ] }, A)),
23815
- o === gs.KEY && /* @__PURE__ */ t.jsxs("div", { className: "flexbox pr-4 pl-4", children: [
23816
- /* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsx(Sa, { className: "icon-dim-14 mt-3 mr-4" }) }),
23815
+ o === hs.KEY && /* @__PURE__ */ t.jsxs("div", { className: "flexbox pr-4 pl-4", children: [
23816
+ /* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsx(va, { className: "icon-dim-14 mt-3 mr-4" }) }),
23817
23817
  /* @__PURE__ */ t.jsx("span", { className: "dc__italic-font-style", children: "Key format: prefix/name or name" })
23818
23818
  ] })
23819
23819
  ] });
@@ -23856,7 +23856,7 @@ const Nu = ({
23856
23856
  {
23857
23857
  minHeight: 30,
23858
23858
  maxHeight: 80,
23859
- className: `form__input tag-input pt-4-imp pb-4-imp fs-13 ${o === gs.KEY ? "dc__no-right-radius" : "dc__no-border-radius dc__no-right-border dc__no-left-border"} ${s[o === gs.KEY ? "isInvalidKey" : "isInvalidValue"] ? "form__input--error" : ""}`,
23859
+ className: `form__input tag-input pt-4-imp pb-4-imp fs-13 ${o === hs.KEY ? "dc__no-right-radius" : "dc__no-border-radius dc__no-right-border dc__no-left-border"} ${s[o === hs.KEY ? "isInvalidKey" : "isInvalidValue"] ? "form__input--error" : ""}`,
23860
23860
  value: m,
23861
23861
  onChange: f,
23862
23862
  onBlur: g,
@@ -23865,7 +23865,7 @@ const Nu = ({
23865
23865
  tabIndex: c,
23866
23866
  refVar: l,
23867
23867
  dependentRef: d,
23868
- id: `tag-${o === gs.KEY ? "key" : "value"}-${e}`
23868
+ id: `tag-${o === hs.KEY ? "key" : "value"}-${e}`
23869
23869
  }
23870
23870
  ) }),
23871
23871
  O && /* @__PURE__ */ t.jsx(
@@ -23901,7 +23901,7 @@ const Nu = ({
23901
23901
  className: `dc__border h-30 pl-4 pr-4 br-4 mr-8 pointer ${s.propagate ? "bcn-7" : ""} ${s.key.startsWith("devtron.ai/") ? "cursor-not-allowed bcn-1" : ""}`,
23902
23902
  onClick: s?.isPropagateDisabled ? null : m,
23903
23903
  "data-testid": `propagate-tag-${e}`,
23904
- children: /* @__PURE__ */ t.jsx(fa, { className: `icon-dim-20 mt-4 ${s.propagate ? "scn-0" : ""}` })
23904
+ children: /* @__PURE__ */ t.jsx(ha, { className: `icon-dim-20 mt-4 ${s.propagate ? "scn-0" : ""}` })
23905
23905
  }
23906
23906
  ),
23907
23907
  /* @__PURE__ */ t.jsx(
@@ -23910,7 +23910,7 @@ const Nu = ({
23910
23910
  selectedTagIndex: e,
23911
23911
  tagData: s,
23912
23912
  setTagData: n,
23913
- tagInputType: gs.KEY,
23913
+ tagInputType: hs.KEY,
23914
23914
  placeholder: "Enter key",
23915
23915
  tabIndex: r - 1,
23916
23916
  refVar: c,
@@ -23924,7 +23924,7 @@ const Nu = ({
23924
23924
  selectedTagIndex: e,
23925
23925
  tagData: s,
23926
23926
  setTagData: n,
23927
- tagInputType: gs.VALUE,
23927
+ tagInputType: hs.VALUE,
23928
23928
  placeholder: "Enter value",
23929
23929
  tabIndex: r,
23930
23930
  refVar: l,
@@ -24828,7 +24828,7 @@ const Su = (e) => {
24828
24828
  className: `flex right w-100 dc__align-right dc__border-top-n1 px-20 py-16 ${n ? "dc__content-space" : "right"}`,
24829
24829
  children: [
24830
24830
  n.length > 0 && /* @__PURE__ */ t.jsx(
24831
- Ka,
24831
+ za,
24832
24832
  {
24833
24833
  docLinkKey: n,
24834
24834
  text: mo.VIEW_DOCUMENTATION,
@@ -25059,7 +25059,7 @@ const Su = (e) => {
25059
25059
  }
25060
25060
  ) })
25061
25061
  ] });
25062
- }, Ms = {
25062
+ }, Ps = {
25063
25063
  width: 356,
25064
25064
  height: 504
25065
25065
  }, ff = "No Defined Description", V1 = "No Defined Value", H1 = "What is scoped variable?", Ei = (e, s) => e && s ? `"${e}":${s},` : "", Y1 = ({
@@ -25174,10 +25174,10 @@ const Su = (e) => {
25174
25174
  type: "button",
25175
25175
  children: [
25176
25176
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8", children: [
25177
- /* @__PURE__ */ t.jsx("div", { className: "flex center", children: /* @__PURE__ */ t.jsx(ka, { className: "icon-dim-16 fcv-5" }) }),
25177
+ /* @__PURE__ */ t.jsx("div", { className: "flex center", children: /* @__PURE__ */ t.jsx($a, { className: "icon-dim-16 fcv-5" }) }),
25178
25178
  /* @__PURE__ */ t.jsx("p", { className: "m-0 fs-13 cn-9 fw-6 lh-20", children: H1 })
25179
25179
  ] }),
25180
- /* @__PURE__ */ t.jsx(Ts, { className: `icon-dim-16 fcn-6 ${e ? "" : "dc__flip-270"}` })
25180
+ /* @__PURE__ */ t.jsx(bs, { className: `icon-dim-16 fcn-6 ${e ? "" : "dc__flip-270"}` })
25181
25181
  ]
25182
25182
  }
25183
25183
  ),
@@ -25295,7 +25295,7 @@ const Su = (e) => {
25295
25295
  ] }), 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(Qe, { pageLoader: !0, size: 32 }) }) : n?.length === 0 ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
25296
25296
  /* @__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: bo }) }),
25297
25297
  /* @__PURE__ */ t.jsx(Ru, {})
25298
- ] }) : p ? g() : /* @__PURE__ */ t.jsx(wa, { reload: a, className: "bg__primary pb-16" });
25298
+ ] }) : p ? g() : /* @__PURE__ */ t.jsx(La, { reload: a, className: "bg__primary pb-16" });
25299
25299
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
25300
25300
  x(),
25301
25301
  f()
@@ -25342,15 +25342,15 @@ const Su = (e) => {
25342
25342
  _({
25343
25343
  x: u.x,
25344
25344
  y: u.y
25345
- }), v.y > f.height - Ms.height && _({
25345
+ }), v.y > f.height - Ps.height && _({
25346
25346
  x: u.x,
25347
- y: f.height - Ms.height - N.y
25348
- }), v.x > f.width - Ms.width && _({
25349
- x: f.width - Ms.width - N.x,
25347
+ y: f.height - Ps.height - N.y
25348
+ }), v.x > f.width - Ps.width && _({
25349
+ x: f.width - Ps.width - N.x,
25350
25350
  y: u.y
25351
- }), v.x > f.width - Ms.width && v.y > f.height - Ms.height && _({
25352
- x: f.width - Ms.width - N.x,
25353
- y: f.height - Ms.height - N.y
25351
+ }), v.x > f.width - Ps.width && v.y > f.height - Ps.height && _({
25352
+ x: f.width - Ps.width - N.x,
25353
+ y: f.height - Ps.height - N.y
25354
25354
  }), d(!0);
25355
25355
  }, T = He((v) => {
25356
25356
  v.stopPropagation(), d(!1);
@@ -25457,7 +25457,7 @@ const Z1 = (e) => e === hf.NONE ? "" : "dc__border-n1", Ur = ({
25457
25457
  {
25458
25458
  className: `flexbox dc__gap-16 p-12 bg__primary generic-info-card br-8 ${Z1(r)}`,
25459
25459
  children: a ? d() : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
25460
- Ca(l, {
25460
+ Na(l, {
25461
25461
  className: `${l.props?.className ?? ""} icon-dim-40 dc__no-shrink br-6 dc__fill-available-space`
25462
25462
  }),
25463
25463
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-8 flex-grow-1", children: [
@@ -25579,7 +25579,7 @@ const Z1 = (e) => e === hf.NONE ? "" : "dc__border-n1", Ur = ({
25579
25579
  ] })
25580
25580
  ] })
25581
25581
  }
25582
- ), oP = ({ children: e }) => /* @__PURE__ */ t.jsx(t.Fragment, { children: e }), Pa = ({
25582
+ ), oP = ({ children: e }) => /* @__PURE__ */ t.jsx(t.Fragment, { children: e }), Ma = ({
25583
25583
  name: e,
25584
25584
  open: s,
25585
25585
  width: n = 600,
@@ -25610,9 +25610,9 @@ const Z1 = (e) => e === hf.NONE ? "" : "dc__border-n1", Ur = ({
25610
25610
  )
25611
25611
  }
25612
25612
  ) }) });
25613
- Pa.Header = aP;
25614
- Pa.Body = oP;
25615
- Pa.Footer = rP;
25613
+ Ma.Header = aP;
25614
+ Ma.Body = oP;
25615
+ Ma.Footer = rP;
25616
25616
  const ml = ({ id: e, className: s, isConnectable: n, children: a }) => {
25617
25617
  const r = ig(), { hasSource: o, hasTarget: i } = J(
25618
25618
  () => ({
@@ -25897,7 +25897,7 @@ const bP = ({
25897
25897
  label: "View documentation",
25898
25898
  startIcon: { name: "ic-book-open" },
25899
25899
  componentType: "anchor",
25900
- href: `${Ba}${e ? `/${e}` : ""}`
25900
+ href: `${Ga}${e ? `/${e}` : ""}`
25901
25901
  },
25902
25902
  {
25903
25903
  id: Et.DEVTRON_GPT,
@@ -26077,7 +26077,7 @@ const RP = async (e, s) => {
26077
26077
  g && !R.metaKey && (R.preventDefault(), _((y) => ({
26078
26078
  ...y,
26079
26079
  state: Ro.DOCUMENTATION,
26080
- docLink: `${Ba}${r ? `/${r}` : ""}`,
26080
+ docLink: `${Ga}${r ? `/${r}` : ""}`,
26081
26081
  reinitialize: !0
26082
26082
  })));
26083
26083
  }, S = (I, R) => {
@@ -26105,7 +26105,7 @@ const RP = async (e, s) => {
26105
26105
  const v = `UheGN3KJ#source=${window.location.hostname}`, A = E && h >= 0 && h < rp && O();
26106
26106
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
26107
26107
  /* @__PURE__ */ t.jsx(
26108
- Ha,
26108
+ Ya,
26109
26109
  {
26110
26110
  id: "page-header-help-action-menu",
26111
26111
  alignment: "end",
@@ -26166,7 +26166,7 @@ const RP = async (e, s) => {
26166
26166
  FEATURE_PROMO_EMBEDDED_MODAL_TITLE: a,
26167
26167
  FEATURE_PROMO_EMBEDDED_IFRAME_URL: r
26168
26168
  } = window._env_, o = He(() => {
26169
- s(!0), bs.event({
26169
+ s(!0), Ns.event({
26170
26170
  category: "PRIMARY_HEADER",
26171
26171
  action: "HEADER_IFRAME_BUTTON_CLICKED"
26172
26172
  });
@@ -26377,7 +26377,7 @@ const RP = async (e, s) => {
26377
26377
  !window._env_.K8S_CLIENT && /* @__PURE__ */ t.jsx(
26378
26378
  Bc,
26379
26379
  {
26380
- theme: Fa.black,
26380
+ theme: Ba.black,
26381
26381
  className: "w-250",
26382
26382
  placement: "bottom",
26383
26383
  visible: g,
@@ -26521,7 +26521,7 @@ const $P = (e) => [
26521
26521
  }
26522
26522
  ], LY = ({ viewType: e }) => {
26523
26523
  const s = os(), { serverMode: n } = is(), a = `${be.APPLICATION_MANAGEMENT_CREATE_DEVTRON_APP}${s.search}`, r = () => n === ap.FULL ? /* @__PURE__ */ t.jsx(
26524
- Ha,
26524
+ Ya,
26525
26525
  {
26526
26526
  id: "page-header-create-app-action-menu",
26527
26527
  alignment: "end",
@@ -26773,7 +26773,7 @@ const $P = (e) => [
26773
26773
  stateClassName: ""
26774
26774
  };
26775
26775
  }
26776
- }, oa = ({ envStateText: e, title: s, tooltipContent: n }) => {
26776
+ }, ia = ({ envStateText: e, title: s, tooltipContent: n }) => {
26777
26777
  const { Icon: a, stateClassName: r } = YP(e);
26778
26778
  return /* @__PURE__ */ t.jsx(
26779
26779
  Q,
@@ -26807,7 +26807,7 @@ const $P = (e) => [
26807
26807
  if (l?.length) {
26808
26808
  const g = l.length === 1 ? l[0] : `${l.length} environments`;
26809
26809
  return /* @__PURE__ */ t.jsx(
26810
- oa,
26810
+ ia,
26811
26811
  {
26812
26812
  envStateText: m(),
26813
26813
  title: g,
@@ -26816,8 +26816,8 @@ const $P = (e) => [
26816
26816
  );
26817
26817
  }
26818
26818
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
26819
- e && a && /* @__PURE__ */ t.jsx(oa, { envStateText: m(), title: a }),
26820
- s && r && /* @__PURE__ */ t.jsx(oa, { envStateText: m(), title: r })
26819
+ e && a && /* @__PURE__ */ t.jsx(ia, { envStateText: m(), title: a }),
26820
+ s && r && /* @__PURE__ */ t.jsx(ia, { envStateText: m(), title: r })
26821
26821
  ] });
26822
26822
  }, _ = o !== Xo.CD;
26823
26823
  if (!e && !d && (o !== Xo.CD || !s && !Object.values(lr).includes(n) && !i && !l?.length))
@@ -26827,8 +26827,8 @@ const $P = (e) => [
26827
26827
  d
26828
26828
  ] }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
26829
26829
  p(),
26830
- n === lr.PROGRESSING && /* @__PURE__ */ t.jsx(oa, { envStateText: Gs.DEPLOYING, title: a }),
26831
- (n === lr.DEGRADED || n === lr.FAILED) && /* @__PURE__ */ t.jsx(oa, { envStateText: Gs.FAILED, title: a }),
26830
+ n === lr.PROGRESSING && /* @__PURE__ */ t.jsx(ia, { envStateText: Gs.DEPLOYING, title: a }),
26831
+ (n === lr.DEGRADED || n === lr.FAILED) && /* @__PURE__ */ t.jsx(ia, { envStateText: Gs.FAILED, title: a }),
26832
26832
  i && /* @__PURE__ */ t.jsx(
26833
26833
  go,
26834
26834
  {
@@ -26908,9 +26908,9 @@ const $P = (e) => [
26908
26908
  isScanEnabled: i,
26909
26909
  SecurityModalSidebar: c
26910
26910
  }) => {
26911
- const [l, d] = w(!1), [u, m] = w(ca.Changes), [p, _] = w(null), h = () => {
26911
+ const [l, d] = w(!1), [u, m] = w(la.Changes), [p, _] = w(null), h = () => {
26912
26912
  d(!l);
26913
- }, E = () => l ? u === ca.Changes ? r : /* @__PURE__ */ t.jsx(
26913
+ }, E = () => l ? u === la.Changes ? r : /* @__PURE__ */ t.jsx(
26914
26914
  ED,
26915
26915
  {
26916
26916
  isScanned: o,
@@ -26928,7 +26928,7 @@ const $P = (e) => [
26928
26928
  /* @__PURE__ */ t.jsx(
26929
26929
  wu,
26930
26930
  {
26931
- currentTab: ca.Changes,
26931
+ currentTab: la.Changes,
26932
26932
  activeTab: u,
26933
26933
  setActiveTab: m,
26934
26934
  buttonText: "Changes"
@@ -26937,7 +26937,7 @@ const $P = (e) => [
26937
26937
  /* @__PURE__ */ t.jsx(
26938
26938
  wu,
26939
26939
  {
26940
- currentTab: ca.Security,
26940
+ currentTab: la.Security,
26941
26941
  activeTab: u,
26942
26942
  setActiveTab: m,
26943
26943
  buttonText: `Security ${p ? `(${p})` : ""}`
@@ -26954,7 +26954,7 @@ const $P = (e) => [
26954
26954
  children: [
26955
26955
  l ? "Hide info" : "Show more info",
26956
26956
  /* @__PURE__ */ t.jsx(
26957
- Ts,
26957
+ bs,
26958
26958
  {
26959
26959
  className: "icon-dim-24 rotate fcn-6",
26960
26960
  style: { "--rotateBy": l ? "-180deg" : "0deg" }
@@ -27246,7 +27246,7 @@ const zP = ({
27246
27246
  }
27247
27247
  );
27248
27248
  }, aM = 2;
27249
- var Ns = /* @__PURE__ */ ((e) => (e.ACTIVE = "ACTIVE", e.EXPIRED = "EXPIRED", e.REMINDER_THRESHOLD_REACHED = "REMINDER_THRESHOLD_REACHED", e))(Ns || {});
27249
+ var Cs = /* @__PURE__ */ ((e) => (e.ACTIVE = "ACTIVE", e.EXPIRED = "EXPIRED", e.REMINDER_THRESHOLD_REACHED = "REMINDER_THRESHOLD_REACHED", e))(Cs || {});
27250
27250
  const rM = ({
27251
27251
  isFreemium: e,
27252
27252
  licenseStatus: s,
@@ -27260,9 +27260,9 @@ const rM = ({
27260
27260
  return { bgColor: "var(--G100)", textColor: "var(--G500)" };
27261
27261
  }
27262
27262
  switch (s) {
27263
- case Ns.ACTIVE:
27263
+ case Cs.ACTIVE:
27264
27264
  return { bgColor: "var(--G100)", textColor: "var(--G500)" };
27265
- case Ns.REMINDER_THRESHOLD_REACHED:
27265
+ case Cs.REMINDER_THRESHOLD_REACHED:
27266
27266
  return { bgColor: "var(--Y100)", textColor: "var(--Y700)" };
27267
27267
  default:
27268
27268
  return { bgColor: "var(--R100)", textColor: "var(--R500)" };
@@ -27270,7 +27270,7 @@ const rM = ({
27270
27270
  }, oM = ({
27271
27271
  ttl: e,
27272
27272
  reminderThreshold: s
27273
- }) => e <= 0 ? Ns.EXPIRED : e < s * 24 * 60 * 60 ? Ns.REMINDER_THRESHOLD_REACHED : Ns.ACTIVE, iM = (e, s) => {
27273
+ }) => e <= 0 ? Cs.EXPIRED : e < s * 24 * 60 * 60 ? Cs.REMINDER_THRESHOLD_REACHED : Cs.ACTIVE, iM = (e, s) => {
27274
27274
  const {
27275
27275
  isTrial: n,
27276
27276
  expiry: a,
@@ -27325,7 +27325,7 @@ const rM = ({
27325
27325
  {
27326
27326
  dataTestId: "copy-button",
27327
27327
  text: "Copy link",
27328
- startIcon: s ? /* @__PURE__ */ t.jsx(Ua, {}) : /* @__PURE__ */ t.jsx(Bm, {}),
27328
+ startIcon: s ? /* @__PURE__ */ t.jsx(Fa, {}) : /* @__PURE__ */ t.jsx(Bm, {}),
27329
27329
  style: re.neutral,
27330
27330
  variant: W.borderLess,
27331
27331
  onClick: r
@@ -27377,7 +27377,7 @@ const rM = ({
27377
27377
  const [r, o] = w(!1), [i, c] = w(""), [l, d] = w(!1), [u, m] = w(""), p = () => {
27378
27378
  I0(cp.GET_LICENSE_CLICKED, !0);
27379
27379
  const g = Tf(e);
27380
- Oa(g)(), o(!0);
27380
+ ja(g)(), o(!0);
27381
27381
  }, _ = () => {
27382
27382
  o(!1);
27383
27383
  }, h = (g) => {
@@ -27481,7 +27481,7 @@ const rM = ({
27481
27481
  isFreeForever: a
27482
27482
  }) => {
27483
27483
  const r = e && n?.code === jc.ClusterLimitExceeded;
27484
- if (a || r || e && s === Ns.ACTIVE)
27484
+ if (a || r || e && s === Cs.ACTIVE)
27485
27485
  return /* @__PURE__ */ t.jsxs("div", { className: "p-16 fs-13 lh-1-5 flexbox-col dc__gap-8", children: [
27486
27486
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__content-space fs-13 fw-4 lh-20 cn-9", children: [
27487
27487
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-4", children: [
@@ -27512,9 +27512,9 @@ const rM = ({
27512
27512
  /* @__PURE__ */ t.jsx(Mu, {})
27513
27513
  ] })
27514
27514
  ] });
27515
- if (s === Ns.ACTIVE)
27515
+ if (s === Cs.ACTIVE)
27516
27516
  return null;
27517
- const i = s === Ns.EXPIRED;
27517
+ const i = s === Cs.EXPIRED;
27518
27518
  return /* @__PURE__ */ t.jsxs("div", { className: "p-16 fs-13 lh-1-5 flexbox-col dc__gap-8", children: [
27519
27519
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__content-space", children: [
27520
27520
  /* @__PURE__ */ t.jsxs("span", { children: [
@@ -27552,7 +27552,7 @@ const rM = ({
27552
27552
  licenseStatus: r,
27553
27553
  licenseStatusError: u,
27554
27554
  isSaasInstance: m
27555
- }), E = l === je.dark, x = B(null), g = ba(window.innerWidth), f = ba(window.innerHeight), C = Us(f, (A) => {
27555
+ }), E = l === je.dark, x = B(null), g = Ta(window.innerWidth), f = Ta(window.innerHeight), C = Us(f, (A) => {
27556
27556
  if (!x.current) return 0;
27557
27557
  const I = x.current.getBoundingClientRect();
27558
27558
  return -(A - I.top - I.height / 2) / Pu;
@@ -27563,7 +27563,7 @@ const rM = ({
27563
27563
  });
27564
27564
  M(() => {
27565
27565
  const A = (I) => {
27566
- Na(g, I.clientX), Na(f, I.clientY);
27566
+ ba(g, I.clientX), ba(f, I.clientY);
27567
27567
  };
27568
27568
  return window.addEventListener("mousemove", A), () => {
27569
27569
  window.removeEventListener("mousemove", A);
@@ -27915,7 +27915,7 @@ const rM = ({
27915
27915
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-4 dc__align-start", children: [
27916
27916
  /* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-6 lh-20 cn-9", children: "📙 Need help?" }),
27917
27917
  /* @__PURE__ */ t.jsx(
27918
- Ka,
27918
+ za,
27919
27919
  {
27920
27920
  docLinkKey: r,
27921
27921
  text: "View documentation",
@@ -28038,7 +28038,7 @@ const rM = ({
28038
28038
  onKeyDown: h,
28039
28039
  children: [
28040
28040
  e && /* @__PURE__ */ t.jsx("div", { className: `dc__no-shrink icon-dim-40 p-8 ${r ? "" : "dc__visible-hover--child"}`, children: /* @__PURE__ */ t.jsx(
28041
- ys,
28041
+ Is,
28042
28042
  {
28043
28043
  isChecked: r,
28044
28044
  onChange: h,
@@ -28496,7 +28496,7 @@ const SM = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
28496
28496
  };
28497
28497
  }, [e, s]), a ? wm(n, a) : null;
28498
28498
  }, JY = ({ isLoading: e, intervalTime: s = 50 }) => {
28499
- const n = ba(0), a = Mg(n, { stiffness: 50, damping: 20 }), r = Us(a, (o) => `${o}%`);
28499
+ const n = Ta(0), a = Mg(n, { stiffness: 50, damping: 20 }), r = Us(a, (o) => `${o}%`);
28500
28500
  return M(() => {
28501
28501
  let o = null;
28502
28502
  return e && (o = setInterval(() => {
@@ -28526,7 +28526,7 @@ const SM = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
28526
28526
  handleOnChange: s,
28527
28527
  onPrometheusAuthTypeChange: n
28528
28528
  }) => {
28529
- const { endpoint: a, authType: r, userName: o, password: i, prometheusTlsClientCert: c, prometheusTlsClientKey: l } = e, d = r.value === da.BASIC && (o.error || i.error);
28529
+ const { endpoint: a, authType: r, userName: o, password: i, prometheusTlsClientCert: c, prometheusTlsClientKey: l } = e, d = r.value === ua.BASIC && (o.error || i.error);
28530
28530
  return /* @__PURE__ */ t.jsxs("div", { className: "bg__primary p-20 br-8 flexbox-col dc__gap-16 border__secondary", children: [
28531
28531
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col", children: [
28532
28532
  /* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-6 lh-1-5 cn-9", children: "Prometheus configurations" }),
@@ -28561,13 +28561,13 @@ const SM = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
28561
28561
  onChange: n,
28562
28562
  className: "radio-group-no-border",
28563
28563
  children: [
28564
- /* @__PURE__ */ t.jsx(ec, { value: da.BASIC, children: " Basic " }),
28565
- /* @__PURE__ */ t.jsx(ec, { value: da.ANONYMOUS, children: " Anonymous " })
28564
+ /* @__PURE__ */ t.jsx(ec, { value: ua.BASIC, children: " Basic " }),
28565
+ /* @__PURE__ */ t.jsx(ec, { value: ua.ANONYMOUS, children: " Anonymous " })
28566
28566
  ]
28567
28567
  }
28568
28568
  )
28569
28569
  ] }),
28570
- r.value === da.BASIC ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
28570
+ r.value === ua.BASIC ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
28571
28571
  /* @__PURE__ */ t.jsx("div", { className: "w-50", children: /* @__PURE__ */ t.jsx(
28572
28572
  qs,
28573
28573
  {
@@ -28616,7 +28616,7 @@ const SM = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
28616
28616
  )
28617
28617
  ] });
28618
28618
  }, yM = ({ title: e, value: s, size: n, bgColor: a, fgColor: r }) => /* @__PURE__ */ t.jsx(fg, { title: e, value: s, size: n, bgColor: `var(--${a})`, fgColor: `var(--${r})` }), Uu = ({ dataTestId: e, href: s, title: n, tooltipProps: a }) => /* @__PURE__ */ t.jsx(Q, { ...a, children: /* @__PURE__ */ t.jsx(
28619
- Is,
28619
+ Rs,
28620
28620
  {
28621
28621
  to: s,
28622
28622
  "data-testid": e,
@@ -28630,13 +28630,13 @@ const SM = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
28630
28630
  n.map(({ id: i, ...c }) => /* @__PURE__ */ t.jsx(Uu, { id: i, ...c }, i))
28631
28631
  ] }, a) : /* @__PURE__ */ t.jsx(Uu, { id: a, href: s, ...r }, a)
28632
28632
  ) }), OM = {
28633
- [ks.google]: "ic-google",
28634
- [ks.github]: "ic-github",
28635
- [ks.gitlab]: "ic-gitlab",
28636
- [ks.ldap]: "ic-ldap",
28637
- [ks.microsoft]: "ic-microsoft",
28638
- [ks.oidc]: "ic-oidc",
28639
- [ks.openshift]: "ic-openshift"
28633
+ [Ms.google]: "ic-google",
28634
+ [Ms.github]: "ic-github",
28635
+ [Ms.gitlab]: "ic-gitlab",
28636
+ [Ms.ldap]: "ic-ldap",
28637
+ [Ms.microsoft]: "ic-microsoft",
28638
+ [Ms.oidc]: "ic-oidc",
28639
+ [Ms.openshift]: "ic-openshift"
28640
28640
  }, e8 = ({ provider: e, size: s = 20 }) => /* @__PURE__ */ t.jsx($, { name: OM[e], size: s, color: null }), jM = {
28641
28641
  [je.light]: null,
28642
28642
  [je.dark]: null,
@@ -28728,7 +28728,7 @@ const SM = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
28728
28728
  o(e, !0), s();
28729
28729
  };
28730
28730
  return /* @__PURE__ */ t.jsx(
28731
- vs,
28731
+ Ss,
28732
28732
  {
28733
28733
  title: "Customize your theme",
28734
28734
  subtitle: "Select a theme that suits your preference",
@@ -28799,7 +28799,7 @@ const SM = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
28799
28799
  setTagErrors: c
28800
28800
  }) => {
28801
28801
  const l = (_) => {
28802
- bs.event({
28802
+ Ns.event({
28803
28803
  category: "Tags",
28804
28804
  action: `${e.toUpperCase()}_PROPAGATE_TAG_BUTTON_CLICKED`
28805
28805
  });
@@ -28820,11 +28820,11 @@ const SM = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
28820
28820
  "data-index": _.id,
28821
28821
  type: "button",
28822
28822
  disabled: E,
28823
- children: /* @__PURE__ */ t.jsx(fa, { className: `icon-dim-20 ${h ? "scn-0" : ""}` })
28823
+ children: /* @__PURE__ */ t.jsx(ha, { className: `icon-dim-20 ${h ? "scn-0" : ""}` })
28824
28824
  }
28825
28825
  ) });
28826
28826
  }, u = () => {
28827
- bs.event({
28827
+ Ns.event({
28828
28828
  category: "Tags",
28829
28829
  action: `${e.toUpperCase()}_ADD_TAG_BUTTON_CLICKED`
28830
28830
  });
@@ -29166,7 +29166,7 @@ const SM = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
29166
29166
  ]
29167
29167
  }
29168
29168
  ) : L.as === "link" ? /* @__PURE__ */ t.jsxs(
29169
- Is,
29169
+ Rs,
29170
29170
  {
29171
29171
  to: L.clearQueryParamsOnNavigation ? { pathname: L.href, search: "" } : L.href,
29172
29172
  className: `${ne} ${L.isDisabled ? "dc__disabled" : ""}`,
@@ -29373,8 +29373,8 @@ const SM = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
29373
29373
  className: "w-8 h-20 bcn-9 ml-2 dc__inline-block br-2"
29374
29374
  }
29375
29375
  ), r8 = (e) => {
29376
- const s = ba(0), n = Us(s, (a) => e.slice(0, Math.floor(a)));
29377
- return M(() => Na(s, e.length, {
29376
+ const s = Ta(0), n = Us(s, (a) => e.slice(0, Math.floor(a)));
29377
+ return M(() => ba(s, e.length, {
29378
29378
  type: "tween",
29379
29379
  duration: 4,
29380
29380
  ease: "linear"
@@ -29383,7 +29383,7 @@ const SM = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
29383
29383
  /* @__PURE__ */ t.jsx(vc, { className: "icon-dim-20 dc__no-shrink" }),
29384
29384
  /* @__PURE__ */ t.jsx("span", { className: "cn-9 fs-13 fw-4 lh-20", children: "Unsaved changes" })
29385
29385
  ] }), i8 = ({ handleClose: e, handleProceed: s }) => /* @__PURE__ */ t.jsx(
29386
- vs,
29386
+ Ss,
29387
29387
  {
29388
29388
  handleClose: e,
29389
29389
  variant: Ut.warning,
@@ -29717,7 +29717,7 @@ const SM = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
29717
29717
  )) })
29718
29718
  ] });
29719
29719
  return /* @__PURE__ */ t.jsx(
29720
- Pa,
29720
+ Ma,
29721
29721
  {
29722
29722
  name: "workflow-options-modal",
29723
29723
  open: e,
@@ -29725,7 +29725,7 @@ const SM = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
29725
29725
  onEscape: _ ? Ce : C,
29726
29726
  width: 800,
29727
29727
  closeOnBackdropClick: !0,
29728
- children: /* @__PURE__ */ t.jsx(Pa.Body, { children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col h-500", children: [
29728
+ children: /* @__PURE__ */ t.jsx(Ma.Body, { children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col h-500", children: [
29729
29729
  /* @__PURE__ */ t.jsxs("div", { className: "workflow-options-modal__header flex top dc__content-space dc__no-shrink p-24 dc__position-rel dc__overflow-hidden", children: [
29730
29730
  /* @__PURE__ */ t.jsx(Fx, { className: "workflow-options-modal__img dc__position-abs dc__right-0" }),
29731
29731
  /* @__PURE__ */ t.jsxs("div", { children: [
@@ -29847,7 +29847,7 @@ function m8(e) {
29847
29847
  "$1"
29848
29848
  ) || null;
29849
29849
  }
29850
- function Ma(e, s = !1) {
29850
+ function ka(e, s = !1) {
29851
29851
  let n = "";
29852
29852
  try {
29853
29853
  if (e && e.length && e !== Vn) {
@@ -29986,7 +29986,7 @@ function Lt(e, s = [], n = !0, a = { resetOnChange: !0 }) {
29986
29986
  };
29987
29987
  return [r.loading, r.result, r.error, l, d, r.dependencies];
29988
29988
  }
29989
- const g8 = (e, s) => e ? Ma(e, !0) : s ? "" : "Not deployed", Ue = (e, s = {}) => {
29989
+ const g8 = (e, s) => e ? ka(e, !0) : s ? "" : "Not deployed", Ue = (e, s = {}) => {
29990
29990
  const n = new URLSearchParams();
29991
29991
  Object.keys(s).forEach((r) => {
29992
29992
  np.includes(s[r]) || (Array.isArray(s[r]) ? s[r].forEach((o) => {
@@ -30092,7 +30092,7 @@ const g8 = (e, s) => e ? Ma(e, !0) : s ? "" : "Not deployed", Ue = (e, s = {}) =
30092
30092
  const n = Array.isArray(e), a = Array.isArray(s);
30093
30093
  return n && !a || !n && a ? !1 : !n && !a ? Object.keys(e).length === Object.keys(s).length : e.length === s.length;
30094
30094
  };
30095
- function xa(e, s) {
30095
+ function Ea(e, s) {
30096
30096
  return Km(e, s);
30097
30097
  }
30098
30098
  function lk(e, s) {
@@ -30190,7 +30190,7 @@ function I8() {
30190
30190
  };
30191
30191
  return e;
30192
30192
  }
30193
- const uk = (e) => /* @__PURE__ */ t.jsx(Je.DropdownIndicator, { ...e, children: /* @__PURE__ */ t.jsx(Ts, { className: "icon-dim-20 icon-n6" }) });
30193
+ const uk = (e) => /* @__PURE__ */ t.jsx(Je.DropdownIndicator, { ...e, children: /* @__PURE__ */ t.jsx(bs, { className: "icon-dim-20 icon-n6" }) });
30194
30194
  function Pf(e, s) {
30195
30195
  return Array.isArray(e) ? e.reduce((n, a) => n.set(a[s], a), /* @__PURE__ */ new Map()) : (console.error(e, "is not array"), /* @__PURE__ */ new Map());
30196
30196
  }
@@ -30203,7 +30203,7 @@ const O8 = (e = 0) => e > 0 && e < 10 ? `0${e}` : e, j8 = (e, s = 300) => {
30203
30203
  const r = Date.now();
30204
30204
  r - n >= s && (n = r, e(...a));
30205
30205
  };
30206
- }, mk = (e, s, n) => e === rs.WEBHOOK ? n === Ra.PULL_REQUEST ? /* @__PURE__ */ t.jsx(Tc, { className: "scn-6" }) : n === Ra.TAG_CREATION ? /* @__PURE__ */ t.jsx(Co, { className: "scn-6" }) : /* @__PURE__ */ t.jsx(Xm, {}) : e === rs.BranchRegex || s ? /* @__PURE__ */ t.jsx(Lm, { className: "fcn-6" }) : /* @__PURE__ */ t.jsx(Cm, { className: "fcn-6" }), Mf = (e) => un.sanitize(e, {
30206
+ }, mk = (e, s, n) => e === rs.WEBHOOK ? n === Ia.PULL_REQUEST ? /* @__PURE__ */ t.jsx(Tc, { className: "scn-6" }) : n === Ia.TAG_CREATION ? /* @__PURE__ */ t.jsx(Co, { className: "scn-6" }) : /* @__PURE__ */ t.jsx(Xm, {}) : e === rs.BranchRegex || s ? /* @__PURE__ */ t.jsx(Lm, { className: "fcn-6" }) : /* @__PURE__ */ t.jsx(Cm, { className: "fcn-6" }), Mf = (e) => un.sanitize(e, {
30207
30207
  ADD_TAGS: ["iframe"],
30208
30208
  ADD_ATTR: ["allow", "allowfullscreen", "frameborder", "scrolling"]
30209
30209
  }), w8 = (e, s) => {
@@ -30560,7 +30560,7 @@ Ke.createContext(null);
30560
30560
  function Sk(e, s) {
30561
30561
  const n = e?.sep || "/";
30562
30562
  s = s || [];
30563
- const { url: a, path: r } = Rs(), o = Rt(), { state: i, setState: c } = Tk();
30563
+ const { url: a, path: r } = As(), o = Rt(), { state: i, setState: c } = Tk();
30564
30564
  M(() => {
30565
30565
  if (!(!e || !e.alias))
30566
30566
  return c((p) => ({ ...p, alias: { ...p.alias, ...e.alias } })), () => d(Object.keys(e.alias));
@@ -30599,7 +30599,7 @@ const Uf = ({
30599
30599
  sep: s = "/",
30600
30600
  className: n = "dc__devtron-breadcrumb__item fs-16 fw-4 lh-1-5 dc__ellipsis-right dc__mxw-155"
30601
30601
  }) => {
30602
- const { url: a } = Rs(), r = e.filter((o) => !!o.name);
30602
+ const { url: a } = As(), r = e.filter((o) => !!o.name);
30603
30603
  return /* @__PURE__ */ t.jsx(t.Fragment, { children: r.map((o, i) => /* @__PURE__ */ t.jsxs(Ke.Fragment, { children: [
30604
30604
  /* @__PURE__ */ t.jsx(
30605
30605
  _t,
@@ -30768,7 +30768,7 @@ function Ik(e, {
30768
30768
  }) {
30769
30769
  let a;
30770
30770
  return s ? a = `${ki.CI_PIPELINE_PATCH}/regex` : a = n ? yo({
30771
- type: Ga.CI_PIPELINE,
30771
+ type: Va.CI_PIPELINE,
30772
30772
  queryParams: {
30773
30773
  id: e.appId
30774
30774
  }
@@ -30776,7 +30776,7 @@ function Ik(e, {
30776
30776
  }
30777
30777
  function yk(e, s, n) {
30778
30778
  const a = n ? yo({
30779
- type: Ga.WORKFLOW,
30779
+ type: Va.WORKFLOW,
30780
30780
  queryParams: { id: e, appWorkflowId: s }
30781
30781
  }) : `${ki.WORKFLOW}/${e}/${s}`;
30782
30782
  return Ko(a);
@@ -30968,7 +30968,7 @@ const Jt = {
30968
30968
  "unordered-list": "Add a bulleted list",
30969
30969
  "ordered-list": "Add a numbered list",
30970
30970
  "checked-list": "Add a task list"
30971
- }, ia = new an.Renderer(), sm = ({
30971
+ }, ca = new an.Renderer(), sm = ({
30972
30972
  setExpandableIcon: e,
30973
30973
  markdown: s,
30974
30974
  className: n,
@@ -30988,10 +30988,10 @@ const Jt = {
30988
30988
  ${m.map((p) => `<td align="${p.align}">${an(p.text)}</td>`).join("")}
30989
30989
  </tr>
30990
30990
  `;
30991
- ia.listitem = ({ text: m, task: p, checked: _ }) => p ? `<li style="list-style: none">
30991
+ ca.listitem = ({ text: m, task: p, checked: _ }) => p ? `<li style="list-style: none">
30992
30992
  <input disabled type="checkbox" ${_ ? "checked" : ""} class="dc__vertical-align-middle" style="margin: 0 0.2em 0.25em -1.4em">
30993
30993
  ${an(m)}
30994
- </li>` : `<li>${an(m)}</li>`, ia.image = ({ href: m, title: p, text: _ }) => `<img src="${m}" alt="${_}" title="${p}" class="max-w-100">`, ia.table = ({ header: m, rows: p }) => `
30994
+ </li>` : `<li>${an(m)}</li>`, ca.image = ({ href: m, title: p, text: _ }) => `<img src="${m}" alt="${_}" title="${p}" class="max-w-100">`, ca.table = ({ header: m, rows: p }) => `
30995
30995
  <div class="table-container">
30996
30996
  <table>
30997
30997
  <thead>
@@ -31002,7 +31002,7 @@ const Jt = {
31002
31002
  </tbody>
31003
31003
  </table>
31004
31004
  </div>
31005
- `, ia.heading = ({ text: m, depth: p }) => {
31005
+ `, ca.heading = ({ text: m, depth: p }) => {
31006
31006
  const _ = r ? "" : m.toLowerCase().replace(/[^\w]+/g, "-");
31007
31007
  return `
31008
31008
  <a name="${_}" rel="noreferrer noopener" class="anchor" href="#${_}">
@@ -31012,7 +31012,7 @@ const Jt = {
31012
31012
  </h${p}>
31013
31013
  </a>`;
31014
31014
  }, an.setOptions({
31015
- renderer: ia,
31015
+ renderer: ca,
31016
31016
  gfm: !0,
31017
31017
  ...a && { breaks: !0 }
31018
31018
  });
@@ -31172,7 +31172,7 @@ const Pk = (e) => {
31172
31172
  minEditorHeight: i = 300,
31173
31173
  emptyStateConfig: c
31174
31174
  }) => {
31175
- const [l, d] = w(!1), [u, m] = w(e ? "previewSaved" : "empty"), [p, _] = w(e), h = !xa(e, p), E = B(null);
31175
+ const [l, d] = w(!1), [u, m] = w(e ? "previewSaved" : "empty"), [p, _] = w(e), h = !Ea(e, p), E = B(null);
31176
31176
  M(() => {
31177
31177
  _(e);
31178
31178
  }, [e]);
@@ -31432,7 +31432,7 @@ const Ff = ({
31432
31432
  } : Ee);
31433
31433
  D(pe);
31434
31434
  const ee = v.map((Ee) => {
31435
- const ze = pe.find((Os) => Os.tagName === Ee.tagName);
31435
+ const ze = pe.find((ys) => ys.tagName === Ee.tagName);
31436
31436
  return ze ? { ...Ee, duplicateTag: ze.duplicateTag } : Ee;
31437
31437
  });
31438
31438
  A(ee);
@@ -31555,7 +31555,7 @@ const Ff = ({
31555
31555
  V.id
31556
31556
  )) }),
31557
31557
  S && /* @__PURE__ */ t.jsxs("div", { className: "cn-7 mb-8 flex left", children: [
31558
- /* @__PURE__ */ t.jsx($a, { className: "icon-dim-16 mr-2" }),
31558
+ /* @__PURE__ */ t.jsx(Ua, { className: "icon-dim-16 mr-2" }),
31559
31559
  "Tags cannot be edited/removed later"
31560
31560
  ] }),
31561
31561
  /* @__PURE__ */ t.jsx("div", { className: "mt-12", children: /* @__PURE__ */ t.jsx(
@@ -31982,7 +31982,7 @@ const Gk = (e) => {
31982
31982
  }
31983
31983
  );
31984
31984
  }, Gf = Ke.createContext(null);
31985
- function er() {
31985
+ function tr() {
31986
31986
  const e = Ke.useContext(Gf);
31987
31987
  if (!e)
31988
31988
  throw new Error("Select compound components cannot be rendered outside the Toggle component");
@@ -32060,7 +32060,7 @@ const Xn = ({
32060
32060
  name: i = "",
32061
32061
  rootClassName: c = ""
32062
32062
  }) => {
32063
- const { selected: l, searchString: d, valueComparator: u, handleClick: m } = er();
32063
+ const { selected: l, searchString: d, valueComparator: u, handleClick: m } = tr();
32064
32064
  return o = o || l === n, typeof n == "object" && (o = o || u(n)), i.includes(d) ? /* @__PURE__ */ t.jsx(
32065
32065
  "div",
32066
32066
  {
@@ -32084,7 +32084,7 @@ const Xn = ({
32084
32084
  arrowAsset: r = "",
32085
32085
  hideArrow: o = !1
32086
32086
  }) => {
32087
- const { popupOpen: i, loading: c } = er();
32087
+ const { popupOpen: i, loading: c } = tr();
32088
32088
  return /* @__PURE__ */ t.jsxs(
32089
32089
  "div",
32090
32090
  {
@@ -32105,7 +32105,7 @@ const Xn = ({
32105
32105
  }
32106
32106
  );
32107
32107
  }, Kk = ({ placeholder: e = "search", style: s = {}, inputStyle: n = {}, rootClassName: a = "" }) => {
32108
- const { searchString: r, search: o } = er();
32108
+ const { searchString: r, search: o } = tr();
32109
32109
  return /* @__PURE__ */ t.jsxs(
32110
32110
  "div",
32111
32111
  {
@@ -32130,7 +32130,7 @@ const Xn = ({
32130
32130
  }
32131
32131
  );
32132
32132
  }, Wf = ({ api: e }) => {
32133
- const { loading: s, setLoading: n } = er();
32133
+ const { loading: s, setLoading: n } = tr();
32134
32134
  return M(() => {
32135
32135
  async function a() {
32136
32136
  n(!0);
@@ -32145,7 +32145,7 @@ const Xn = ({
32145
32145
  a();
32146
32146
  }, []), null;
32147
32147
  }, zk = ({ rootClassName: e = "", style: s = {} }) => {
32148
- const { handleClick: n } = er();
32148
+ const { handleClick: n } = tr();
32149
32149
  return /* @__PURE__ */ t.jsx(
32150
32150
  "div",
32151
32151
  {
@@ -32190,7 +32190,7 @@ export {
32190
32190
  xk as V,
32191
32191
  gl as W,
32192
32192
  k8 as X,
32193
- ys as Y,
32193
+ Is as Y,
32194
32194
  zr as Z,
32195
32195
  pI as _,
32196
32196
  $t as a,
@@ -32212,7 +32212,7 @@ export {
32212
32212
  h0 as aE,
32213
32213
  Wt as aF,
32214
32214
  Y as aG,
32215
- gs as aH,
32215
+ hs as aH,
32216
32216
  q6 as aI,
32217
32217
  Xe as aJ,
32218
32218
  x0 as aK,
@@ -32240,7 +32240,7 @@ export {
32240
32240
  OI as af,
32241
32241
  l3 as ag,
32242
32242
  qr as ah,
32243
- Ya as ai,
32243
+ Wa as ai,
32244
32244
  wI as aj,
32245
32245
  d3 as ak,
32246
32246
  u3 as al,
@@ -32256,14 +32256,14 @@ export {
32256
32256
  g3 as av,
32257
32257
  $l as aw,
32258
32258
  Yr as ax,
32259
- Ba as ay,
32259
+ Ga as ay,
32260
32260
  K6 as az,
32261
32261
  C8 as b,
32262
32262
  fl as b$,
32263
32263
  t5 as b0,
32264
32264
  cr as b1,
32265
32265
  s5 as b2,
32266
- Aa as b3,
32266
+ Ra as b3,
32267
32267
  Vn as b4,
32268
32268
  np as b5,
32269
32269
  Vt as b6,
@@ -32291,7 +32291,7 @@ export {
32291
32291
  rk as bS,
32292
32292
  _o as bT,
32293
32293
  m8 as bU,
32294
- Ma as bV,
32294
+ ka as bV,
32295
32295
  p8 as bW,
32296
32296
  _8 as bX,
32297
32297
  f8 as bY,
@@ -32306,7 +32306,7 @@ export {
32306
32306
  gt as bg,
32307
32307
  r5 as bh,
32308
32308
  ip as bi,
32309
- ks as bj,
32309
+ Ms as bj,
32310
32310
  Gl as bk,
32311
32311
  o5 as bl,
32312
32312
  T1 as bm,
@@ -32388,13 +32388,13 @@ export {
32388
32388
  fk as cx,
32389
32389
  hk as cy,
32390
32390
  gv as cz,
32391
- xa as d,
32391
+ Ea as d,
32392
32392
  q5 as d$,
32393
32393
  Bk as d0,
32394
32394
  Qe as d1,
32395
32395
  hv as d2,
32396
32396
  Bf as d3,
32397
- ya as d4,
32397
+ Oa as d4,
32398
32398
  El as d5,
32399
32399
  R0 as d6,
32400
32400
  Ht as d7,
@@ -32418,7 +32418,7 @@ export {
32418
32418
  Lv as dP,
32419
32419
  Pc as dQ,
32420
32420
  Dv as dR,
32421
- Ga as dS,
32421
+ Va as dS,
32422
32422
  Rp as dT,
32423
32423
  Fv as dU,
32424
32424
  H5 as dV,
@@ -32429,15 +32429,15 @@ export {
32429
32429
  z5 as d_,
32430
32430
  Bc as da,
32431
32431
  L5 as db,
32432
- Fa as dc,
32432
+ Ba as dc,
32433
32433
  bt as dd,
32434
32434
  Js as de,
32435
- ca as df,
32435
+ la as df,
32436
32436
  Ot as dg,
32437
32437
  Jm as dh,
32438
32438
  r0 as di,
32439
32439
  Zm as dj,
32440
- ha as dk,
32440
+ ga as dk,
32441
32441
  o0 as dl,
32442
32442
  i0 as dm,
32443
32443
  yi as dn,
@@ -32448,7 +32448,7 @@ export {
32448
32448
  d0 as dt,
32449
32449
  yn as du,
32450
32450
  Vs as dv,
32451
- va as dw,
32451
+ Aa as dw,
32452
32452
  Oi as dx,
32453
32453
  u0 as dy,
32454
32454
  ep as dz,
@@ -32467,7 +32467,7 @@ export {
32467
32467
  Zv as eA,
32468
32468
  Qv as eB,
32469
32469
  eA as eC,
32470
- Va as eD,
32470
+ Ha as eD,
32471
32471
  Lp as eE,
32472
32472
  ot as eF,
32473
32473
  n2 as eG,
@@ -32483,7 +32483,7 @@ export {
32483
32483
  Ys as eQ,
32484
32484
  Op as eR,
32485
32485
  Kr as eS,
32486
- Ia as eT,
32486
+ ya as eT,
32487
32487
  Fi as eU,
32488
32488
  Bi as eV,
32489
32489
  It as eW,
@@ -32511,7 +32511,7 @@ export {
32511
32511
  wp as er,
32512
32512
  qv as es,
32513
32513
  Wl as et,
32514
- Cs as eu,
32514
+ Es as eu,
32515
32515
  Xv as ev,
32516
32516
  Kl as ew,
32517
32517
  zl as ex,
@@ -32526,7 +32526,7 @@ export {
32526
32526
  A2 as f4,
32527
32527
  R2 as f5,
32528
32528
  I2 as f6,
32529
- ma as f7,
32529
+ pa as f7,
32530
32530
  $R as f8,
32531
32531
  P2 as f9,
32532
32532
  qR as fA,
@@ -32534,7 +32534,7 @@ export {
32534
32534
  gP as fC,
32535
32535
  Y6 as fD,
32536
32536
  W6 as fE,
32537
- la as fF,
32537
+ da as fF,
32538
32538
  Sr as fG,
32539
32539
  tp as fH,
32540
32540
  sp as fI,
@@ -32548,7 +32548,7 @@ export {
32548
32548
  yM as fQ,
32549
32549
  qI as fR,
32550
32550
  x3 as fS,
32551
- Ha as fT,
32551
+ Ya as fT,
32552
32552
  E3 as fU,
32553
32553
  C3 as fV,
32554
32554
  N3 as fW,
@@ -32592,7 +32592,7 @@ export {
32592
32592
  Rw as g5,
32593
32593
  Sw as g6,
32594
32594
  ui as g7,
32595
- aa as g8,
32595
+ ra as g8,
32596
32596
  vw as g9,
32597
32597
  Zj as gA,
32598
32598
  SO as gB,
@@ -32601,7 +32601,7 @@ export {
32601
32601
  RO as gE,
32602
32602
  IO as gF,
32603
32603
  yO as gG,
32604
- ja as gH,
32604
+ wa as gH,
32605
32605
  LO as gI,
32606
32606
  P3 as gJ,
32607
32607
  b_ as gK,
@@ -32612,9 +32612,9 @@ export {
32612
32612
  Xc as gP,
32613
32613
  ke as gQ,
32614
32614
  qi as gR,
32615
- pa as gS,
32615
+ _a as gS,
32616
32616
  Ty as gT,
32617
- Es as gU,
32617
+ xs as gU,
32618
32618
  Po as gV,
32619
32619
  Sd as gW,
32620
32620
  Ln as gX,
@@ -32663,7 +32663,7 @@ export {
32663
32663
  fw as hB,
32664
32664
  Cw as hC,
32665
32665
  W3 as hD,
32666
- vs as hE,
32666
+ Ss as hE,
32667
32667
  Y3 as hF,
32668
32668
  bw as hG,
32669
32669
  Nw as hH,
@@ -32696,9 +32696,9 @@ export {
32696
32696
  uY as hh,
32697
32697
  mY as hi,
32698
32698
  co as hj,
32699
- ra as hk,
32699
+ oa as hk,
32700
32700
  HD as hl,
32701
- Da as hm,
32701
+ Pa as hm,
32702
32702
  lo as hn,
32703
32703
  VD as ho,
32704
32704
  YD as hp,
@@ -32725,7 +32725,7 @@ export {
32725
32725
  f1 as i8,
32726
32726
  gY as i9,
32727
32727
  Ir as iA,
32728
- Ka as iB,
32728
+ za as iB,
32729
32729
  $A as iC,
32730
32730
  pf as iD,
32731
32731
  et as iE,
@@ -32747,14 +32747,14 @@ export {
32747
32747
  Q1 as iU,
32748
32748
  hf as iV,
32749
32749
  jY as iW,
32750
- Pa as iX,
32750
+ Ma as iX,
32751
32751
  gn as iY,
32752
32752
  P_ as iZ,
32753
32753
  qj as i_,
32754
32754
  Tj as ia,
32755
32755
  Ij as ib,
32756
32756
  O_ as ic,
32757
- _a as id,
32757
+ fa as id,
32758
32758
  gr as ie,
32759
32759
  j_ as ig,
32760
32760
  wr as ih,
@@ -32833,7 +32833,7 @@ export {
32833
32833
  mM as jq,
32834
32834
  UY as jr,
32835
32835
  iM as js,
32836
- Ns as jt,
32836
+ Cs as jt,
32837
32837
  ku as ju,
32838
32838
  VY as jv,
32839
32839
  HY as jw,
@@ -32850,7 +32850,7 @@ export {
32850
32850
  Qt as k5,
32851
32851
  al as k6,
32852
32852
  nY as k7,
32853
- qa as k8,
32853
+ Xa as k8,
32854
32854
  xD as k9,
32855
32855
  r2 as kA,
32856
32856
  i2 as kB,
@@ -32867,8 +32867,8 @@ export {
32867
32867
  t8 as kM,
32868
32868
  X_ as kN,
32869
32869
  Zw as kO,
32870
- La as kP,
32871
- ga as kQ,
32870
+ Da as kP,
32871
+ xa as kQ,
32872
32872
  Mr as kR,
32873
32873
  Fu as kS,
32874
32874
  s8 as kT,
@@ -32884,9 +32884,9 @@ export {
32884
32884
  aY as kc,
32885
32885
  oo as kd,
32886
32886
  pD as ke,
32887
- Ps as kf,
32887
+ Ds as kf,
32888
32888
  sY as kg,
32889
- xs as kh,
32889
+ gs as kh,
32890
32890
  so as ki,
32891
32891
  af as kj,
32892
32892
  hD as kk,
@@ -33033,7 +33033,7 @@ export {
33033
33033
  Jp as mv,
33034
33034
  e3 as mw,
33035
33035
  Hc as mx,
33036
- Oa as my,
33036
+ ja as my,
33037
33037
  t3 as mz,
33038
33038
  U8 as n,
33039
33039
  w0 as n$,
@@ -33041,7 +33041,7 @@ export {
33041
33041
  c_ as n1,
33042
33042
  uy as n2,
33043
33043
  Xr as n3,
33044
- Wa as n4,
33044
+ Ka as n4,
33045
33045
  Ep as n5,
33046
33046
  R5 as n6,
33047
33047
  I5 as n7,
@@ -33089,7 +33089,7 @@ export {
33089
33089
  Cv as nm,
33090
33090
  Nv as nn,
33091
33091
  bv as no,
33092
- ua as np,
33092
+ ma as np,
33093
33093
  Tv as nq,
33094
33094
  Ge as nr,
33095
33095
  ns,
@@ -33101,7 +33101,7 @@ export {
33101
33101
  Sv as ny,
33102
33102
  D5 as nz,
33103
33103
  ho as o,
33104
- Ra as o0,
33104
+ Ia as o0,
33105
33105
  Zt as o1,
33106
33106
  L0 as o2,
33107
33107
  D0 as o3,
@@ -33135,7 +33135,7 @@ export {
33135
33135
  X as oj,
33136
33136
  vn as ok,
33137
33137
  Ar as ol,
33138
- da as om,
33138
+ ua as om,
33139
33139
  mt as on,
33140
33140
  ed as oo,
33141
33141
  Hi as op,
@@ -33155,7 +33155,7 @@ export {
33155
33155
  Ok as s,
33156
33156
  ec as t,
33157
33157
  Sk as u,
33158
- wa as v,
33158
+ La as v,
33159
33159
  Xn as w,
33160
33160
  H6 as x,
33161
33161
  ft as y,