@devtron-labs/devtron-fe-common-lib 1.8.1 → 1.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,15 +4,15 @@ var Ei = (e) => {
4
4
  };
5
5
  var dm = (e, s, n) => s in e ? cm(e, s, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[s] = n;
6
6
  var ue = (e, s, n) => dm(e, typeof s != "symbol" ? s + "" : s, n), xi = (e, s, n) => s.has(e) || Ei("Cannot " + n);
7
- var Is = (e, s, n) => (xi(e, s, "read from private field"), n ? n.call(e) : s.get(e)), aa = (e, s, n) => s.has(e) ? Ei("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), ra = (e, s, n, a) => (xi(e, s, "write to private field"), a ? a.call(e, n) : s.set(e, n), n);
8
- import { j as t, i as le, n as um, Q as Ar, k as mm, D as Aa, d as ic, h as pm, A as _m, R as fm, s as hm, f as lc, c as gm, a as cc, u as dc, J as Em, b as xm, e as Nm, _ as Cm, m as js } from "./@vendor-CIA81cZg.js";
9
- import ge, { useState as y, cloneElement as Ia, useRef as q, useEffect as U, Component as er, Children as Ni, createElement as Io, useMemo as J, useCallback as Ke, createContext as $t, useContext as bs, Fragment as Ms, memo as mt, createRef as ls, useReducer as bm } from "react";
7
+ var Is = (e, s, n) => (xi(e, s, "read from private field"), n ? n.call(e) : s.get(e)), oa = (e, s, n) => s.has(e) ? Ei("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), ia = (e, s, n, a) => (xi(e, s, "write to private field"), a ? a.call(e, n) : s.set(e, n), n);
8
+ import { j as t, i as le, n as um, Q as Ar, k as mm, D as Ra, d as ic, h as pm, A as _m, R as fm, s as hm, f as lc, c as gm, a as cc, u as dc, J as Em, b as xm, e as Nm, _ as Cm, m as js } from "./@vendor-CIA81cZg.js";
9
+ import ge, { useState as y, cloneElement as ya, useRef as q, useEffect as U, Component as sr, Children as Ni, createElement as Io, useMemo as J, useCallback as Ke, createContext as $t, useContext as bs, Fragment as Ms, memo as mt, createRef as ls, useReducer as bm } from "react";
10
10
  import { ReactComponent as Gn } from "./assets/ic-warning.ecf7ff97.svg";
11
11
  import { ReactComponent as Tm } from "./assets/ic-cpu.8be677ee.svg";
12
12
  import { ReactComponent as Sm } from "./assets/ic-memory.c4159f96.svg";
13
13
  import { ReactComponent as Ro } from "./assets/ic-timer.b62145ec.svg";
14
14
  import { ReactComponent as vm } from "./assets/ic-spray-can.955302fc.svg";
15
- import { ReactComponent as tr } from "./assets/ic-tag.1613fc59.svg";
15
+ import { ReactComponent as nr } from "./assets/ic-tag.1613fc59.svg";
16
16
  import { Link as Ts, useLocation as Ss, useHistory as Vs, NavLink as dt, useParams as xt, useRouteMatch as Kt, generatePath as Ds, Switch as uc, Route as Ls, Redirect as Am, Prompt as Im } from "react-router-dom";
17
17
  import { ReactComponent as Rm } from "./assets/ic-delete-interactive.304dd293.svg";
18
18
  import wt, { parse as ym } from "yaml";
@@ -37,9 +37,9 @@ import { ReactComponent as $m } from "./assets/ic-caret-left-small.fe00c98d.svg"
37
37
  import { ReactComponent as Oo } from "./assets/ic-clock.c21a2d14.svg";
38
38
  import { ReactComponent as zr } from "./assets/ic-expand.ab992205.svg";
39
39
  import { ReactComponent as fc } from "./assets/ic-abort.0d2773e9.svg";
40
- import { ReactComponent as sr } from "./assets/ic-pencil.c75a6acc.svg";
40
+ import { ReactComponent as ar } from "./assets/ic-pencil.c75a6acc.svg";
41
41
  import { ReactComponent as Fm } from "./assets/ic-charts.f41e185f.svg";
42
- import { ReactComponent as nr } from "./assets/ic-add.cfaa779b.svg";
42
+ import { ReactComponent as rr } from "./assets/ic-add.cfaa779b.svg";
43
43
  import { ReactComponent as Vm } from "./assets/ic-k8s-job.f4414c10.svg";
44
44
  import hs from "react-ga4";
45
45
  import { ReactComponent as Gm } from "./assets/ic-sun.b6db3ec7.svg";
@@ -62,10 +62,10 @@ import { ReactComponent as Ec } from "./assets/ic-arrow-square-out.3d1a0d41.svg"
62
62
  import { h as Le } from "./@moment-C_WeV3Af.js";
63
63
  import { ReactComponent as Qm } from "./assets/ic-arrow-backward.d951202a.svg";
64
64
  import ep, { ReactComponent as xc } from "./assets/ic-docker.48906f4d.svg";
65
- import { ReactComponent as Ra } from "./assets/ic-calendar.1d9c66d2.svg";
65
+ import { ReactComponent as ja } from "./assets/ic-calendar.1d9c66d2.svg";
66
66
  import { ReactComponent as qr } from "./assets/ic-person.d066bc6d.svg";
67
67
  import { ReactComponent as Nc } from "./assets/ic-branch.8db43d66.svg";
68
- import { ReactComponent as ya } from "./assets/ic-search.976327f1.svg";
68
+ import { ReactComponent as Oa } from "./assets/ic-search.976327f1.svg";
69
69
  import { ReactComponent as Cc } from "./assets/ic-filter.8f403d6f.svg";
70
70
  import { ReactComponent as bc } from "./assets/ic-filter-applied.9fc48d0f.svg";
71
71
  import { ReactComponent as tp } from "./assets/ic-visibility-on.7505dd12.svg";
@@ -79,7 +79,7 @@ import { ReactComponent as Tc } from "./assets/ic-arrow-out.6aea09d0.svg";
79
79
  import { ReactComponent as Sc } from "./assets/ic-arrow-forward.a2b8ab45.svg";
80
80
  import rp, { ReactComponent as vc } from "./assets/ic-mechanical-operation.3c3f4672.svg";
81
81
  import Ac from "./assets/app-not-deployed.622dc6ba.svg";
82
- import { BehaviorSubject as ar, noop as oa } from "rxjs";
82
+ import { BehaviorSubject as or, noop as la } from "rxjs";
83
83
  import { ReactComponent as op } from "./assets/ic-errorInfo.d8d674b8.svg";
84
84
  import { ReactComponent as ip } from "./assets/ic-fullscreen.b05e5087.svg";
85
85
  import { ReactComponent as lp } from "./assets/ic-exit-fullscreen.1ae582d1.svg";
@@ -89,18 +89,18 @@ import { ReactComponent as dp } from "./assets/ic-arrow-right.eda141d3.svg";
89
89
  import { ReactComponent as up } from "./assets/ic-environment.d241eccb.svg";
90
90
  import { ReactComponent as mp } from "./assets/ic-lines.0a53b80a.svg";
91
91
  import { ReactComponent as pp } from "./assets/ic-code-commit.161a6b3c.svg";
92
- import { ReactComponent as rr } from "./assets/ic-error.9d61b25b.svg";
92
+ import { ReactComponent as ir } from "./assets/ic-error.9d61b25b.svg";
93
93
  import { ReactComponent as Xr } from "./assets/ic-file-code.ed2812f3.svg";
94
94
  import { ReactComponent as _p } from "./assets/ic-diff-file-updated.a8293158.svg";
95
95
  import { ReactComponent as fp } from "./assets/ic-diff-file-added.e111ba14.svg";
96
96
  import { ReactComponent as hp } from "./assets/ic-diff-file-removed.7863a55f.svg";
97
97
  import { ReactComponent as wn } from "./assets/ic-info-outlined.f4fa3224.svg";
98
98
  import { m as rn, A as Rc } from "./@framer-motion-C9i0O6dh.js";
99
- import { ReactComponent as or } from "./assets/ic-sort-arrow-down.5cf54d08.svg";
99
+ import { ReactComponent as lr } from "./assets/ic-sort-arrow-down.5cf54d08.svg";
100
100
  import { ReactComponent as yc } from "./assets/ic-arrow-up-down.945ee496.svg";
101
- import { ReactComponent as ir } from "./assets/ic-check.27c51fa1.svg";
101
+ import { ReactComponent as cr } from "./assets/ic-check.27c51fa1.svg";
102
102
  import { ReactComponent as gp } from "./assets/ic-check-circle-dots.296c8a3b.svg";
103
- import { ReactComponent as lr } from "./assets/ic-view-variable-toggle.93c3599f.svg";
103
+ import { ReactComponent as dr } from "./assets/ic-view-variable-toggle.93c3599f.svg";
104
104
  import { r as jc, C as Ep, a as xp } from "./@react-dates-DEMedmhG.js";
105
105
  import Np from "./assets/ic-calender-blank.963e3423.svg";
106
106
  import { ReactComponent as Cp } from "./assets/ic-arrow-down.18e5e332.svg";
@@ -234,7 +234,7 @@ import { ReactComponent as Sf } from "./assets/ic-medium-play.f7a8ddb7.svg";
234
234
  import { ReactComponent as vf } from "./assets/ic-medium-pause.7449078a.svg";
235
235
  import { ReactComponent as Af } from "./assets/ic-medium-clean-brush.f683d4d6.svg";
236
236
  import { ReactComponent as If } from "./assets/ic-locked.dab69058.svg";
237
- const Rf = 6e4, ja = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator", Ws = "https://docs.devtron.ai", fn = "/v/v0.7", Uo = "https://discord.devtron.ai/", yf = "https://json-schema.org/draft/2020-12/schema", on = {
237
+ const Rf = 6e4, La = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator", Ws = "https://docs.devtron.ai", fn = "/v/v0.7", Uo = "https://discord.devtron.ai/", yf = "https://json-schema.org/draft/2020-12/schema", on = {
238
238
  APP_METRICS: `${Ws}${fn}/usage/applications/app-details/app-metrics`,
239
239
  APP_TAGS: `${Ws}${fn}/usage/applications/create-application#tags`,
240
240
  APP_OVERVIEW_TAGS: `${Ws}${fn}/usage/applications/overview#manage-tags`,
@@ -420,14 +420,14 @@ function F0(e) {
420
420
  return `${e}th`;
421
421
  }
422
422
  }
423
- const ia = {
423
+ const ca = {
424
424
  AM: "AM",
425
425
  PM: "PM",
426
426
  MIDNIGHT: "midnight",
427
427
  NOON: "noon"
428
428
  }, V0 = (e) => {
429
429
  const [s, n] = e.split(":"), a = parseInt(s, 10), r = parseInt(n, 10);
430
- return a === 12 && r === 0 ? ia.NOON : a === 0 && r === 0 ? ia.MIDNIGHT : a >= 12 ? ia.PM : ia.AM;
430
+ return a === 12 && r === 0 ? ca.NOON : a === 0 && r === 0 ? ca.MIDNIGHT : a >= 12 ? ca.PM : ca.AM;
431
431
  };
432
432
  var Dn = /* @__PURE__ */ ((e) => (e.inputChange = "input-change", e.selectOption = "select-option", e.deselectOption = "deselect-option", e.removeValue = "remove-value", e.inputBlur = "input-blur", e))(Dn || {});
433
433
  const Yn = "0001-01-01T00:00:00Z", $c = [void 0, null, "", NaN], Ai = {
@@ -493,7 +493,7 @@ class Rt extends Error {
493
493
  this.name = `[${n.code.toString()}]`, this.message = a, this.errors = n.errors.map((r) => new Uf(r)), Object.setPrototypeOf(this, Rt.prototype);
494
494
  }
495
495
  }
496
- var cr = /* @__PURE__ */ ((e) => (e.black = "black", e.white = "white", e))(cr || {}), ot = /* @__PURE__ */ ((e) => (e.CHECKED = "CHECKED", e.INTERMEDIATE = "INTERMEDIATE", e.BULK_CHECKED = "BULK_CHECKED", e))(ot || {}), Hs = /* @__PURE__ */ ((e) => (e.Large = "large", e.Medium = "medium", e.SMALL = "small", e))(Hs || {});
496
+ var ur = /* @__PURE__ */ ((e) => (e.black = "black", e.white = "white", e))(ur || {}), ot = /* @__PURE__ */ ((e) => (e.CHECKED = "CHECKED", e.INTERMEDIATE = "INTERMEDIATE", e.BULK_CHECKED = "BULK_CHECKED", e))(ot || {}), Hs = /* @__PURE__ */ ((e) => (e.Large = "large", e.Medium = "medium", e.SMALL = "small", e))(Hs || {});
497
497
  const Sn = {
498
498
  Security: "SECURITY",
499
499
  Changes: "CHANGES"
@@ -592,7 +592,7 @@ async function zf(e, s, n, a, r = !1, o) {
592
592
  body: n ? JSON.stringify(n) : void 0
593
593
  };
594
594
  return i.credentials = "include", fetch(
595
- `${ja}/${e}`,
595
+ `${La}/${e}`,
596
596
  o ? {
597
597
  method: s,
598
598
  body: n
@@ -674,7 +674,7 @@ const pt = (e, s, n, a) => Kn(e, "POST", s, n, a), Bo = (e, s, n) => Kn(e, "PUT"
674
674
  // The 0 code is common for aborted and blocked requests
675
675
  e && e.code === 0 && e.message.search("abort|aborted") > -1
676
676
  );
677
- var qf = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(qf || {}), te = /* @__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))(te || {}), so = /* @__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))(so || {}), Ye = /* @__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))(Ye || {}), Fo = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(Fo || {}), zs = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(zs || {}), Xf = /* @__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))(Xf || {}), Jf = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))(Jf || {}), zc = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(zc || {}), rt = /* @__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.environment = "environment", e.cdPipeline = "cd-pipeline", e.ciPipeline = "ci-pipeline", e.project = "project", e))(rt || {}), Vo = /* @__PURE__ */ ((e) => (e.v1 = "v1", e.alpha1 = "alpha1", e))(Vo || {}), Zf = /* @__PURE__ */ ((e) => (e.lockConfiguration = "lock-configuration", e.imagePromotion = "image-promotion", e.plugins = "plugin", e.approval = "approval", e))(Zf || {}), kn = /* @__PURE__ */ ((e) => (e.PULL_REQUEST = "Pull Request", e.TAG_CREATION = "Tag Creation", e))(kn || {}), jt = /* @__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))(jt || {}), Qf = /* @__PURE__ */ ((e) => (e.SSH = "SSH", e.PASSWORD = "PASSWORD", e.SSH_AND_PASSWORD = "PAT_AND_SSH", e))(Qf || {}), eh = /* @__PURE__ */ ((e) => (e.UPSTREAM = "upstream", e.DOWNSTREAM = "downstream", e.LEVEL = "level", e))(eh || {}), ga = /* @__PURE__ */ ((e) => (e.FULFILLED = "fulfilled", e.REJECTED = "rejected", e))(ga || {}), th = /* @__PURE__ */ ((e) => (e.HTTP = "http:", e.HTTPS = "https:", e.SSH = "ssh:", e.SMTP = "smtp:", e.S3 = "s3:", e))(th || {}), qc = /* @__PURE__ */ ((e) => (e.GUI = "GUI", e.YAML = "YAML", e))(qc || {});
677
+ var qf = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(qf || {}), te = /* @__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))(te || {}), so = /* @__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))(so || {}), Ye = /* @__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))(Ye || {}), Fo = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(Fo || {}), zs = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(zs || {}), Xf = /* @__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))(Xf || {}), Jf = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))(Jf || {}), zc = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(zc || {}), rt = /* @__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.environment = "environment", e.cdPipeline = "cd-pipeline", e.ciPipeline = "ci-pipeline", e.project = "project", e))(rt || {}), Vo = /* @__PURE__ */ ((e) => (e.v1 = "v1", e.alpha1 = "alpha1", e))(Vo || {}), Zf = /* @__PURE__ */ ((e) => (e.lockConfiguration = "lock-configuration", e.imagePromotion = "image-promotion", e.plugins = "plugin", e.approval = "approval", e))(Zf || {}), kn = /* @__PURE__ */ ((e) => (e.PULL_REQUEST = "Pull Request", e.TAG_CREATION = "Tag Creation", e))(kn || {}), jt = /* @__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))(jt || {}), Qf = /* @__PURE__ */ ((e) => (e.SSH = "SSH", e.PASSWORD = "PASSWORD", e.SSH_AND_PASSWORD = "PAT_AND_SSH", e))(Qf || {}), eh = /* @__PURE__ */ ((e) => (e.UPSTREAM = "upstream", e.DOWNSTREAM = "downstream", e.LEVEL = "level", e))(eh || {}), xa = /* @__PURE__ */ ((e) => (e.FULFILLED = "fulfilled", e.REJECTED = "rejected", e))(xa || {}), th = /* @__PURE__ */ ((e) => (e.HTTP = "http:", e.HTTPS = "https:", e.SSH = "ssh:", e.SMTP = "smtp:", e.S3 = "s3:", e))(th || {}), qc = /* @__PURE__ */ ((e) => (e.GUI = "GUI", e.YAML = "YAML", e))(qc || {});
678
678
  const W0 = [
679
679
  {
680
680
  label: "GUI",
@@ -692,8 +692,8 @@ const rh = {
692
692
  Auto: "AUTOMATIC",
693
693
  Manual: "MANUAL"
694
694
  };
695
- var Oa = /* @__PURE__ */ ((e) => (e.ALL_ENVIRONMENTS = "All environments", e.ACCESS_ONLY = "Access only", e))(Oa || {});
696
- const la = {
695
+ var wa = /* @__PURE__ */ ((e) => (e.ALL_ENVIRONMENTS = "All environments", e.ACCESS_ONLY = "Access only", e))(wa || {});
696
+ const da = {
697
697
  PROGRESSING: "Progressing",
698
698
  DEGRADED: "Degraded",
699
699
  FAILED: "Failed"
@@ -717,7 +717,7 @@ const la = {
717
717
  SECURITY_TRIVY: "security.trivy",
718
718
  SECURITY_CLAIR: "security.clair"
719
719
  }, ih = "ddd DD MMM YYYY HH:mm:ss", no = "API-TOKEN:", On = "••••••••";
720
- var lh = /* @__PURE__ */ ((e) => (e.add = "add", e.replace = "replace", e.remove = "remove", e))(lh || {}), Qt = /* @__PURE__ */ ((e) => (e.PRE = "PRE", e.DEPLOY = "DEPLOY", e.POST = "POST", e))(Qt || {}), Ea = /* @__PURE__ */ ((e) => (e.LAST_SAVED_CONFIG = "LAST_SAVED_CONFIG", e.LATEST_TRIGGER_CONFIG = "LATEST_TRIGGER_CONFIG", e.SPECIFIC_TRIGGER_CONFIG = "SPECIFIC_TRIGGER_CONFIG", e))(Ea || {}), ao = /* @__PURE__ */ ((e) => (e.production = "Production", e.nonProduction = "Non-Production", e))(ao || {}), W = /* @__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_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))(W || {});
720
+ var lh = /* @__PURE__ */ ((e) => (e.add = "add", e.replace = "replace", e.remove = "remove", e))(lh || {}), Qt = /* @__PURE__ */ ((e) => (e.PRE = "PRE", e.DEPLOY = "DEPLOY", e.POST = "POST", e))(Qt || {}), Na = /* @__PURE__ */ ((e) => (e.LAST_SAVED_CONFIG = "LAST_SAVED_CONFIG", e.LATEST_TRIGGER_CONFIG = "LATEST_TRIGGER_CONFIG", e.SPECIFIC_TRIGGER_CONFIG = "SPECIFIC_TRIGGER_CONFIG", e))(Na || {}), ao = /* @__PURE__ */ ((e) => (e.production = "Production", e.nonProduction = "Non-Production", e))(ao || {}), W = /* @__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_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))(W || {});
721
721
  const Ge = {
722
722
  DATA_NOT_AVAILABLE: "Data not available",
723
723
  API_TOKEN: {
@@ -913,7 +913,7 @@ const Ge = {
913
913
  DISPLAY_NAME: "Secret",
914
914
  VALUE: "secret"
915
915
  }
916
- }, ca = {
916
+ }, ua = {
917
917
  [Ct.SECRET.DISPLAY_NAME]: {
918
918
  "": "Kubernetes Secret",
919
919
  KubernetesSecret: "Kubernetes External Secret",
@@ -1102,9 +1102,9 @@ const X0 = Object.values(
1102
1102
  ...o,
1103
1103
  ...e ? { content: /* @__PURE__ */ t.jsx(Nh, { ...e }) } : {},
1104
1104
  className: `${e ? "shortcut-keys__tippy" : "default-tt"} ${a ? "dc__word-break" : ""} dc__mxw-200 ${o.className ?? ""}`,
1105
- children: Ia(r, { ...r.props, onMouseEnter: c })
1105
+ children: ya(r, { ...r.props, onMouseEnter: c })
1106
1106
  }
1107
- ) : Ia(r, { ...r.props, onMouseEnter: c });
1107
+ ) : ya(r, { ...r.props, onMouseEnter: c });
1108
1108
  }, ry = {
1109
1109
  INVALID_INPUT: "Valid input is required for all mandatory fields."
1110
1110
  };
@@ -1451,8 +1451,8 @@ const Qc = {
1451
1451
  title: e,
1452
1452
  ...s
1453
1453
  }) => {
1454
- const { children: n, selectProps: a, getValue: r } = s, o = r() || [], i = () => a.menuIsOpen ? a.inputValue ? /* @__PURE__ */ t.jsx(ya, { className: "icon-dim-16 dc__no-shrink mr-4 mw-18" }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1455
- /* @__PURE__ */ t.jsx(ya, { className: "icon-dim-16 dc__no-shrink mr-4 mw-18" }),
1454
+ const { children: n, selectProps: a, getValue: r } = s, o = r() || [], i = () => a.menuIsOpen ? a.inputValue ? /* @__PURE__ */ t.jsx(Oa, { className: "icon-dim-16 dc__no-shrink mr-4 mw-18" }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1455
+ /* @__PURE__ */ t.jsx(Oa, { className: "icon-dim-16 dc__no-shrink mr-4 mw-18" }),
1456
1456
  /* @__PURE__ */ t.jsx("span", { className: "dc__position-abs dc__left-35 cn-5 ml-2", children: a.placeholder })
1457
1457
  ] }) : o.length ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1458
1458
  /* @__PURE__ */ t.jsx(bc, { className: "icon-dim-16 dc__no-shrink mr-4 mw-18" }),
@@ -1463,7 +1463,7 @@ const Qc = {
1463
1463
  ] });
1464
1464
  return /* @__PURE__ */ t.jsx(Be.ValueContainer, { ...s, children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center", children: [
1465
1465
  i(),
1466
- Ia(n[1])
1466
+ ya(n[1])
1467
1467
  ] }) });
1468
1468
  }, ly = {
1469
1469
  container: (e, s) => ({
@@ -1586,9 +1586,9 @@ const Qc = {
1586
1586
  }
1587
1587
  );
1588
1588
  };
1589
- var Dh = /* @__PURE__ */ ((e) => (e.PUBLISHED_ONLY = "PublishedOnly", e.DRAFT_ONLY = "DraftOnly", e.PUBLISHED_WITH_DRAFT = "PublishedWithDraft", e.PREVIOUS_DEPLOYMENTS = "PreviousDeployments", e.DEFAULT_VERSION = "DefaultVersion", e))(Dh || {}), vn = /* @__PURE__ */ ((e) => (e[e.Init = 1] = "Init", e[e.Discarded = 2] = "Discarded", e[e.Published = 3] = "Published", e[e.AwaitApproval = 4] = "AwaitApproval", e))(vn || {}), Ph = /* @__PURE__ */ ((e) => (e[e.Add = 1] = "Add", e[e.Update = 2] = "Update", e[e.Delete = 3] = "Delete", e))(Ph || {}), Re = /* @__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))(Re || {}), Pt = /* @__PURE__ */ ((e) => (e.ConfigMap = "ConfigMap", e.Secret = "Secret", e.DeploymentTemplate = "Deployment Template", e.PipelineStrategy = "Pipeline Strategy", e))(Pt || {}), oo = /* @__PURE__ */ ((e) => (e[e.DefaultVersions = 1] = "DefaultVersions", e[e.PublishedOnEnvironments = 2] = "PublishedOnEnvironments", e[e.DeployedOnSelfEnvironment = 3] = "DeployedOnSelfEnvironment", e[e.DeployedOnOtherEnvironment = 4] = "DeployedOnOtherEnvironment", e))(oo || {}), et = /* @__PURE__ */ ((e) => (e.ConfigMap = "configmap", e.Secret = "secrets", e.DeploymentTemplate = "deployment-template", e.Manifest = "manifest", e.PipelineStrategy = "pipeline-strategy", e))(et || {}), Es = /* @__PURE__ */ ((e) => (e[e.ConfigMap = 1] = "ConfigMap", e[e.Secret = 2] = "Secret", e))(Es || {}), dr = /* @__PURE__ */ ((e) => (e.BASE = "", e.INHERITED = "INHERITING", e.OVERRIDDEN = "OVERRIDDEN", e.ENV = "ENV", e.UNPUBLISHED = "UNPUBLISHED", e))(dr || {}), td = /* @__PURE__ */ ((e) => (e.DATA = "data", e.SAMPLE = "sample", e))(td || {});
1589
+ var Dh = /* @__PURE__ */ ((e) => (e.PUBLISHED_ONLY = "PublishedOnly", e.DRAFT_ONLY = "DraftOnly", e.PUBLISHED_WITH_DRAFT = "PublishedWithDraft", e.PREVIOUS_DEPLOYMENTS = "PreviousDeployments", e.DEFAULT_VERSION = "DefaultVersion", e))(Dh || {}), vn = /* @__PURE__ */ ((e) => (e[e.Init = 1] = "Init", e[e.Discarded = 2] = "Discarded", e[e.Published = 3] = "Published", e[e.AwaitApproval = 4] = "AwaitApproval", e))(vn || {}), Ph = /* @__PURE__ */ ((e) => (e[e.Add = 1] = "Add", e[e.Update = 2] = "Update", e[e.Delete = 3] = "Delete", e))(Ph || {}), Re = /* @__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))(Re || {}), Pt = /* @__PURE__ */ ((e) => (e.ConfigMap = "ConfigMap", e.Secret = "Secret", e.DeploymentTemplate = "Deployment Template", e.PipelineStrategy = "Pipeline Strategy", e))(Pt || {}), oo = /* @__PURE__ */ ((e) => (e[e.DefaultVersions = 1] = "DefaultVersions", e[e.PublishedOnEnvironments = 2] = "PublishedOnEnvironments", e[e.DeployedOnSelfEnvironment = 3] = "DeployedOnSelfEnvironment", e[e.DeployedOnOtherEnvironment = 4] = "DeployedOnOtherEnvironment", e))(oo || {}), et = /* @__PURE__ */ ((e) => (e.ConfigMap = "configmap", e.Secret = "secrets", e.DeploymentTemplate = "deployment-template", e.Manifest = "manifest", e.PipelineStrategy = "pipeline-strategy", e))(et || {}), Es = /* @__PURE__ */ ((e) => (e[e.ConfigMap = 1] = "ConfigMap", e[e.Secret = 2] = "Secret", e))(Es || {}), mr = /* @__PURE__ */ ((e) => (e.BASE = "", e.INHERITED = "INHERITING", e.OVERRIDDEN = "OVERRIDDEN", e.ENV = "ENV", e.UNPUBLISHED = "UNPUBLISHED", e))(mr || {}), td = /* @__PURE__ */ ((e) => (e.DATA = "data", e.SAMPLE = "sample", e))(td || {});
1590
1590
  const sd = (e) => {
1591
- const s = q(null), [n, a] = y(!1), r = e.theme === cr.white, o = (N) => {
1591
+ const s = q(null), [n, a] = y(!1), r = e.theme === ur.white, o = (N) => {
1592
1592
  N.keyCode === 27 && l(N);
1593
1593
  }, i = (N) => {
1594
1594
  s.current = N, document.addEventListener("keydown", o);
@@ -1715,7 +1715,7 @@ const sd = (e) => {
1715
1715
  }) => /* @__PURE__ */ t.jsx(
1716
1716
  sd,
1717
1717
  {
1718
- theme: cr.white,
1718
+ theme: ur.white,
1719
1719
  headingInfo: u,
1720
1720
  className: "w-300 h-100 dc__no-text-transform",
1721
1721
  placement: l,
@@ -1743,14 +1743,14 @@ const sd = (e) => {
1743
1743
  )
1744
1744
  }
1745
1745
  );
1746
- var P = /* @__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))(P || {}), Lt = /* @__PURE__ */ ((e) => (e.NAME = "name", e.DESCRIPTION = "description", e))(Lt || {}), Ee = /* @__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))(Ee || {}), nd = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.NORMAL = "NORMAL", e.CUSTOM = "CUSTOM", e))(nd || {}), _s = /* @__PURE__ */ ((e) => (e.EXISTS = "Exists", e.EQUALS = "Equal", e))(_s || {}), ad = /* @__PURE__ */ ((e) => (e.NO_EXECUTE = "NoExecute", e.NO_SCHEDULE = "NoSchedule", e.PREFER_NO_SCHEDULE = "PreferNoSchedule", e))(ad || {}), La = /* @__PURE__ */ ((e) => (e.KUBERNETES = "kubernetes", e.DOCKER_CONTAINER = "docker-container", e))(La || {}), Un = /* @__PURE__ */ ((e) => (e.TARGET_PLATFORM = "target_platform", e))(Un || {}), io = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.VALUE = "VALUE", e))(io || {}), lo = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.OPERATOR = "OPERATOR", e.VALUE = "VALUE", e.EFFECT = "EFFECT", e))(lo || {}), ft = /* @__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))(ft || {}), rd = /* @__PURE__ */ ((e) => (e.ALPHA1 = "alpha1", e))(rd || {});
1746
+ var P = /* @__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))(P || {}), Lt = /* @__PURE__ */ ((e) => (e.NAME = "name", e.DESCRIPTION = "description", e))(Lt || {}), Ee = /* @__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))(Ee || {}), nd = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.NORMAL = "NORMAL", e.CUSTOM = "CUSTOM", e))(nd || {}), _s = /* @__PURE__ */ ((e) => (e.EXISTS = "Exists", e.EQUALS = "Equal", e))(_s || {}), ad = /* @__PURE__ */ ((e) => (e.NO_EXECUTE = "NoExecute", e.NO_SCHEDULE = "NoSchedule", e.PREFER_NO_SCHEDULE = "PreferNoSchedule", e))(ad || {}), Da = /* @__PURE__ */ ((e) => (e.KUBERNETES = "kubernetes", e.DOCKER_CONTAINER = "docker-container", e))(Da || {}), Un = /* @__PURE__ */ ((e) => (e.TARGET_PLATFORM = "target_platform", e))(Un || {}), io = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.VALUE = "VALUE", e))(io || {}), lo = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.OPERATOR = "OPERATOR", e.VALUE = "VALUE", e.EFFECT = "EFFECT", e))(lo || {}), ft = /* @__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))(ft || {}), rd = /* @__PURE__ */ ((e) => (e.ALPHA1 = "alpha1", e))(rd || {});
1747
1747
  const xs = {
1748
1748
  // Will not enforce any decimal specification on input field
1749
1749
  STEP: "any",
1750
1750
  MIN: 0,
1751
1751
  DECIMAL_PLACES: 2,
1752
1752
  MAX_LABEL_VALUE_LENGTH: 63
1753
- }, ur = "global", qe = {
1753
+ }, pr = "global", qe = {
1754
1754
  HEADING: "Build Infra Configuration",
1755
1755
  EDIT_SUBMIT: "Save changes",
1756
1756
  SAVE_SUBMIT: "Save",
@@ -1760,7 +1760,7 @@ const xs = {
1760
1760
  DESCRIPTION_PLACEHOLDER: "Enter a description here",
1761
1761
  PROFILE_LABEL: "Profile name",
1762
1762
  PROFILE_PLACEHOLDER: "Enter a name eg. java/node/small/medium/large",
1763
- INHERITING_HEADING_DESCRIPTION: `Inheriting from ${ur}`,
1763
+ INHERITING_HEADING_DESCRIPTION: `Inheriting from ${pr}`,
1764
1764
  SUBMIT_BUTTON_TIPPY: {
1765
1765
  INVALID_INPUT: "Valid input is required for all mandatory fields.",
1766
1766
  REQUEST_IN_PROGRESS: "Request in progress."
@@ -1791,7 +1791,7 @@ const xs = {
1791
1791
  [Ee.MEMORY]: Sm,
1792
1792
  [Ee.BUILD_TIMEOUT]: Ro,
1793
1793
  [Ee.NODE_SELECTOR]: vm,
1794
- [Ee.TOLERANCE]: tr,
1794
+ [Ee.TOLERANCE]: nr,
1795
1795
  [Ee.CONFIG_MAP]: null,
1796
1796
  [Ee.SECRET]: null
1797
1797
  }, dy = {
@@ -2253,7 +2253,7 @@ const Mi = {
2253
2253
  }, ln = (e, s, n = { label: "", value: "" }, a = null) => Array.isArray(e) ? e.flatMap(
2254
2254
  (o) => "options" in o ? o.options : [o]
2255
2255
  ).find((o) => (a ? a(o) : o.value) === s) ?? n : n;
2256
- class As extends er {
2256
+ class As extends sr {
2257
2257
  render() {
2258
2258
  const s = `${this.props.rootClassName ? this.props.rootClassName : ""}`;
2259
2259
  return /* @__PURE__ */ t.jsxs("label", { className: `dc__position-rel flex left cursor ${s}`, onClick: this.props?.onClick, children: [
@@ -2316,7 +2316,7 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
2316
2316
  } = n;
2317
2317
  if (o)
2318
2318
  return /* @__PURE__ */ t.jsx(Be.ValueContainer, { ...n });
2319
- const c = Pa(s) ? (a() ?? []).length : s, d = Ni.count(l);
2319
+ const c = Ma(s) ? (a() ?? []).length : s, d = Ni.count(l);
2320
2320
  return /* @__PURE__ */ t.jsxs("div", { className: "flex left dc__gap-8 flex-grow-1", children: [
2321
2321
  /* @__PURE__ */ t.jsx("div", { className: "flex left flex-grow-1", children: /* @__PURE__ */ t.jsx(Be.ValueContainer, { ...n, children: r && c > 0 && !i ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
2322
2322
  /* @__PURE__ */ t.jsx("p", { className: "m-0 fs-13 fw-4 lh-20 cn-9 dc__truncate", children: r }),
@@ -2674,17 +2674,17 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
2674
2674
  isGroupHeadingSelectable: Ue = !1,
2675
2675
  getIsOptionValid: we = () => !0,
2676
2676
  customDisplayText: _t = null
2677
- } = g, St = se && !_t, na = f && St ? w.large : i, Sr = !f && o, Y = !N && C, Ce = J(
2677
+ } = g, St = se && !_t, ra = f && St ? w.large : i, Sr = !f && o, Y = !N && C, Ce = J(
2678
2678
  () => Yh({
2679
2679
  error: e,
2680
- size: na,
2680
+ size: ra,
2681
2681
  menuSize: d,
2682
2682
  variant: _,
2683
2683
  getIsOptionValid: we,
2684
2684
  isGroupHeadingSelectable: Ue,
2685
2685
  shouldMenuAlignRight: S
2686
2686
  }),
2687
- [e, na, d, _, Ue, S]
2687
+ [e, ra, d, _, Ue, S]
2688
2688
  ), ie = (ye) => {
2689
2689
  const rs = ye?.trim();
2690
2690
  return T && !!rs && !ln(
@@ -2725,7 +2725,7 @@ const Wh = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
2725
2725
  }, im = (ye) => {
2726
2726
  _e(!1), $.onBlur?.(ye);
2727
2727
  }, lm = (...ye) => {
2728
- f && Pa($.inputValue) && M(Ae), $.onChange?.(...ye);
2728
+ f && Ma($.inputValue) && M(Ae), $.onChange?.(...ye);
2729
2729
  };
2730
2730
  return /* @__PURE__ */ t.jsx(
2731
2731
  Ho,
@@ -2890,7 +2890,7 @@ ${d.slice(C)}`;
2890
2890
  }
2891
2891
  );
2892
2892
  };
2893
- var wa = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.FROM_PREVIOUS_STEP = "FROM_PREVIOUS_STEP", e.NEW = "NEW", e))(wa || {}), mg = /* @__PURE__ */ ((e) => (e.INLINE = "INLINE", e.PLUGIN_REF = "REF_PLUGIN", e))(mg || {}), pg = /* @__PURE__ */ ((e) => (e.SHELL = "SHELL", e.DOCKERFILE = "DOCKERFILE", e.CONTAINERIMAGE = "CONTAINER_IMAGE", e))(pg || {}), _g = /* @__PURE__ */ ((e) => (e.TRUE = "Yes", e.FALSE = "No", e))(_g || {}), fg = /* @__PURE__ */ ((e) => (e.SKIP = "SKIP", e.TRIGGER = "TRIGGER", e.PASS = "PASS", e.FAIL = "FAIL", e))(fg || {}), hg = /* @__PURE__ */ ((e) => (e.PRE_CI = "PRE_CI", e.POST_CI = "POST_CI", e))(hg || {}), gg = /* @__PURE__ */ ((e) => (e.KB = "KB", e.MB = "MB", e))(gg || {}), dd = /* @__PURE__ */ ((e) => (e.STRING = "STRING", e.NUMBER = "NUMBER", e.BOOL = "BOOL", e.DATE = "DATE", e.FILE = "FILE", e))(dd || {}), Eg = /* @__PURE__ */ ((e) => (e.SELF_DOCKERFILE_BUILD_TYPE = "self-dockerfile-build", e.MANAGED_DOCKERFILE_BUILD_TYPE = "managed-dockerfile-build", e.BUILDPACK_BUILD_TYPE = "buildpack-build", e))(Eg || {}), xg = /* @__PURE__ */ ((e) => (e.INHERIT = "INHERIT", e.OVERRIDE = "OVERRIDE", e))(xg || {}), Ng = /* @__PURE__ */ ((e) => (e.VARIABLE = "variable", e.FORMAT = "format", e.VALUE = "val", e))(Ng || {});
2893
+ var Pa = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.FROM_PREVIOUS_STEP = "FROM_PREVIOUS_STEP", e.NEW = "NEW", e))(Pa || {}), mg = /* @__PURE__ */ ((e) => (e.INLINE = "INLINE", e.PLUGIN_REF = "REF_PLUGIN", e))(mg || {}), pg = /* @__PURE__ */ ((e) => (e.SHELL = "SHELL", e.DOCKERFILE = "DOCKERFILE", e.CONTAINERIMAGE = "CONTAINER_IMAGE", e))(pg || {}), _g = /* @__PURE__ */ ((e) => (e.TRUE = "Yes", e.FALSE = "No", e))(_g || {}), fg = /* @__PURE__ */ ((e) => (e.SKIP = "SKIP", e.TRIGGER = "TRIGGER", e.PASS = "PASS", e.FAIL = "FAIL", e))(fg || {}), hg = /* @__PURE__ */ ((e) => (e.PRE_CI = "PRE_CI", e.POST_CI = "POST_CI", e))(hg || {}), gg = /* @__PURE__ */ ((e) => (e.KB = "KB", e.MB = "MB", e))(gg || {}), dd = /* @__PURE__ */ ((e) => (e.STRING = "STRING", e.NUMBER = "NUMBER", e.BOOL = "BOOL", e.DATE = "DATE", e.FILE = "FILE", e))(dd || {}), Eg = /* @__PURE__ */ ((e) => (e.SELF_DOCKERFILE_BUILD_TYPE = "self-dockerfile-build", e.MANAGED_DOCKERFILE_BUILD_TYPE = "managed-dockerfile-build", e.BUILDPACK_BUILD_TYPE = "buildpack-build", e))(Eg || {}), xg = /* @__PURE__ */ ((e) => (e.INHERIT = "INHERIT", e.OVERRIDE = "OVERRIDE", e))(xg || {}), Ng = /* @__PURE__ */ ((e) => (e.VARIABLE = "variable", e.FORMAT = "format", e.VALUE = "val", e))(Ng || {});
2894
2894
  const Cg = () => {
2895
2895
  const e = `${F.PROJECT_LIST_MIN}`;
2896
2896
  return oe(e).then((s) => {
@@ -2947,7 +2947,7 @@ const ud = (e) => ({
2947
2947
  deployedBy: d.deployedBy,
2948
2948
  wfrId: d.wfrId,
2949
2949
  tab: Sn.Changes,
2950
- image: Da(d.image),
2950
+ image: ka(d.image),
2951
2951
  showChanges: !1,
2952
2952
  vulnerabilities: [],
2953
2953
  buildTime: d.build_time || "",
@@ -3001,10 +3001,10 @@ const ud = (e) => ({
3001
3001
  }, Ag = (e) => ({
3002
3002
  eligibleApprovers: {
3003
3003
  anyUsers: {
3004
- approverList: xa(e?.eligibleApprovers?.anyUsers?.approverList)
3004
+ approverList: Ca(e?.eligibleApprovers?.anyUsers?.approverList)
3005
3005
  },
3006
3006
  specificUsers: {
3007
- approverList: xa(
3007
+ approverList: Ca(
3008
3008
  e?.eligibleApprovers?.specificUsers?.approverList
3009
3009
  )
3010
3010
  },
@@ -3012,7 +3012,7 @@ const ud = (e) => ({
3012
3012
  ({ groupName: s, groupIdentifier: n, approverList: a }) => ({
3013
3013
  groupIdentifier: n,
3014
3014
  groupName: s,
3015
- approverList: xa(a)
3015
+ approverList: Ca(a)
3016
3016
  })
3017
3017
  )
3018
3018
  },
@@ -3030,8 +3030,8 @@ const ud = (e) => ({
3030
3030
  defaultValue: "",
3031
3031
  format: dd.STRING,
3032
3032
  isRequired: !1,
3033
- valueType: wa.NEW,
3034
- variableStepScope: wa.GLOBAL,
3033
+ valueType: Pa.NEW,
3034
+ variableStepScope: Pa.GLOBAL,
3035
3035
  stepName: null,
3036
3036
  stepType: null,
3037
3037
  stepVariableId: Math.floor((/* @__PURE__ */ new Date()).valueOf() * Math.random()),
@@ -3118,7 +3118,7 @@ const ud = (e) => ({
3118
3118
  (l) => Rg(l.result, n, r.offset, r.filter)
3119
3119
  );
3120
3120
  };
3121
- function Da(e) {
3121
+ function ka(e) {
3122
3122
  return e ? e.split(":").pop() : "";
3123
3123
  }
3124
3124
  function zn(e, s) {
@@ -3185,7 +3185,7 @@ const Og = (e, s) => {
3185
3185
  label: i,
3186
3186
  value: i,
3187
3187
  description: l.description || "",
3188
- variableType: wa.GLOBAL
3188
+ variableType: Pa.GLOBAL
3189
3189
  };
3190
3190
  });
3191
3191
  } catch (a) {
@@ -3310,7 +3310,7 @@ const Yi = () => ({
3310
3310
  }), Ki(n, JSON.stringify(d(c))), N(O);
3311
3311
  }
3312
3312
  };
3313
- }, _d = $t(null), qn = () => bs(_d), da = (e) => {
3313
+ }, _d = $t(null), qn = () => bs(_d), ma = (e) => {
3314
3314
  if (!e)
3315
3315
  throw new Error("keys undefined");
3316
3316
  const s = e.map((n) => `${n}`.toUpperCase()).sort();
@@ -3318,7 +3318,7 @@ const Yi = () => ({
3318
3318
  keys: s,
3319
3319
  id: s.join()
3320
3320
  };
3321
- }, ua = (e) => {
3321
+ }, pa = (e) => {
3322
3322
  if (!e || !Array.isArray(e) || !e.every((s) => typeof s == "function"))
3323
3323
  throw new Error("callback stack is undefined");
3324
3324
  }, Dg = ["input", "textarea", "select"], Pg = 300, fd = ({
@@ -3329,38 +3329,38 @@ const Yi = () => ({
3329
3329
  }) => {
3330
3330
  const r = q(!1), o = q({}), i = q(/* @__PURE__ */ new Set()), l = q(-1), c = e ?? Dg, d = Ke(
3331
3331
  ({ keys: E, callback: h, description: N = "" }) => {
3332
- const { keys: C, id: A } = da(E);
3332
+ const { keys: C, id: A } = ma(E);
3333
3333
  if (typeof h != "function")
3334
3334
  throw new Error("callback provided is not a function");
3335
3335
  const S = o.current[A] && Pc(o.current[A].keys, E) ? o.current[A] : null;
3336
3336
  if (S) {
3337
- ua(S.callbackStack), S.callbackStack.push(h);
3337
+ pa(S.callbackStack), S.callbackStack.push(h);
3338
3338
  return;
3339
3339
  }
3340
3340
  o.current[A] = { keys: C, callbackStack: [h], description: N };
3341
3341
  },
3342
3342
  []
3343
3343
  ), u = Ke((E) => {
3344
- const { id: h } = da(E);
3344
+ const { id: h } = ma(E);
3345
3345
  if (!o.current[h])
3346
3346
  return;
3347
3347
  const { callbackStack: N } = o.current[h];
3348
- ua(N), N.pop(), N.length || delete o.current[h];
3348
+ pa(N), N.pop(), N.length || delete o.current[h];
3349
3349
  }, []), m = Ke((E) => {
3350
3350
  r.current = E;
3351
3351
  }, []), p = Ke((E) => {
3352
- const { id: h } = da(E);
3352
+ const { id: h } = ma(E);
3353
3353
  if (!o.current[h])
3354
3354
  return;
3355
3355
  const { callbackStack: N } = o.current[h];
3356
- ua(N), N[N.length - 1]();
3356
+ pa(N), N[N.length - 1]();
3357
3357
  }, []), _ = Ke(() => {
3358
3358
  if (!i.current.size)
3359
3359
  return;
3360
- const { id: E } = da(Array.from(i.current.values()));
3360
+ const { id: E } = ma(Array.from(i.current.values()));
3361
3361
  if (o.current[E]) {
3362
3362
  const { callbackStack: h } = o.current[E];
3363
- ua(h), h[h.length - 1]();
3363
+ pa(h), h[h.length - 1]();
3364
3364
  }
3365
3365
  i.current.clear(), l.current > -1 && (clearTimeout(l.current), l.current = -1);
3366
3366
  }, []), x = Ke((E) => {
@@ -3525,7 +3525,7 @@ const Yi = () => ({
3525
3525
  }, _ = (E) => {
3526
3526
  const h = {
3527
3527
  unit: E.label,
3528
- value: Pa(c) ? c : +c
3528
+ value: Ma(c) ? c : +c
3529
3529
  };
3530
3530
  p(h);
3531
3531
  }, x = (E) => {
@@ -3561,7 +3561,7 @@ const Yi = () => ({
3561
3561
  min: xs.MIN,
3562
3562
  className: `form__input dc__no-right-border dc__no-right-radius ${u ? "dc__disabled" : ""}`,
3563
3563
  placeholder: n,
3564
- value: Pa(c) ? "" : c,
3564
+ value: Ma(c) ? "" : c,
3565
3565
  onChange: x,
3566
3566
  required: r,
3567
3567
  autoComplete: "off",
@@ -3907,22 +3907,24 @@ const Yi = () => ({
3907
3907
  } : {
3908
3908
  isValid: !1,
3909
3909
  message: "Please provide a version"
3910
- }, Iy = (e) => gd(e, Zi.MAX_LIMIT, Zi.MIN_LIMIT), mr = wc({
3910
+ }, Iy = (e) => gd(e, Zi.MAX_LIMIT, Zi.MIN_LIMIT), Xn = wc({
3911
3911
  ajvOptionsOverrides: {
3912
3912
  strict: !0,
3913
3913
  allowUnionTypes: !0
3914
3914
  }
3915
3915
  });
3916
- mr.ajv.addKeyword("hidden");
3917
- mr.ajv.addFormat("memory", /^\d+(\.\d+)?(Ki|Mi|Gi|Ti|Pi|Ei|KiB|MiB|GiB|TiB|PiB|EiB)?$/);
3918
- mr.ajv.addFormat("cpu", /^(?:\d+(\.\d+)?|(\d+)(m))$/);
3919
- const pr = wc({ ajvOptionsOverrides: { strict: !1 } });
3920
- pr.ajv.addKeyword("hidden");
3921
- pr.ajv.addFormat("memory", /^\d+(\.\d+)?(Ki|Mi|Gi|Ti|Pi|Ei|KiB|MiB|GiB|TiB|PiB|EiB)?$/);
3922
- pr.ajv.addFormat("cpu", /^(?:\d+(\.\d+)?|(\d+)(m))$/);
3916
+ Xn.ajv.addKeyword("hidden");
3917
+ Xn.ajv.addKeyword("updatePath");
3918
+ Xn.ajv.addFormat("memory", /^\d+(\.\d+)?(Ki|Mi|Gi|Ti|Pi|Ei|KiB|MiB|GiB|TiB|PiB|EiB)?$/);
3919
+ Xn.ajv.addFormat("cpu", /^(?:\d+(\.\d+)?|(\d+)(m))$/);
3920
+ const Jn = wc({ ajvOptionsOverrides: { strict: !1 } });
3921
+ Jn.ajv.addKeyword("hidden");
3922
+ Jn.ajv.addKeyword("updatePath");
3923
+ Jn.ajv.addFormat("memory", /^\d+(\.\d+)?(Ki|Mi|Gi|Ti|Pi|Ei|KiB|MiB|GiB|TiB|PiB|EiB)?$/);
3924
+ Jn.ajv.addFormat("cpu", /^(?:\d+(\.\d+)?|(\d+)(m))$/);
3923
3925
  const Ry = (e, s = !1) => {
3924
3926
  try {
3925
- return e && (s ? mr : pr).ajv.compile(JSON.parse(e)), {
3927
+ return e && (s ? Xn : Jn).ajv.compile(JSON.parse(e)), {
3926
3928
  isValid: !0
3927
3929
  };
3928
3930
  } catch (n) {
@@ -4074,7 +4076,7 @@ const Ry = (e, s = !1) => {
4074
4076
  }) => {
4075
4077
  const r = !e, [o, i, l, c] = Bt(
4076
4078
  () => Qg({
4077
- name: e ?? ur,
4079
+ name: e ?? pr,
4078
4080
  fromCreateView: r,
4079
4081
  canConfigureUseK8sDriver: a
4080
4082
  }),
@@ -4195,7 +4197,7 @@ const Ry = (e, s = !1) => {
4195
4197
  Pe.showToast({
4196
4198
  variant: xe.error,
4197
4199
  description: k
4198
- }), va(new Error(k));
4200
+ }), Ia(new Error(k));
4199
4201
  return;
4200
4202
  }
4201
4203
  const L = h === "activate_cm" || h === "activate_cs";
@@ -4226,7 +4228,7 @@ const Ry = (e, s = !1) => {
4226
4228
  Pe.showToast({
4227
4229
  variant: xe.error,
4228
4230
  description: "Platform does not exist"
4229
- }), va(new Error("Platform does not exist"));
4231
+ }), Ia(new Error("Platform does not exist"));
4230
4232
  return;
4231
4233
  }
4232
4234
  delete C.configurations[S], Object.keys(A).forEach((v) => {
@@ -4374,7 +4376,7 @@ const Ry = (e, s = !1) => {
4374
4376
  useFormProps: fi({
4375
4377
  configMapSecretData: null,
4376
4378
  componentType: id[T],
4377
- cmSecretStateLabel: dr.BASE,
4379
+ cmSecretStateLabel: mr.BASE,
4378
4380
  isJob: !0,
4379
4381
  fallbackMergeStrategy: null
4380
4382
  }),
@@ -4394,7 +4396,7 @@ const Ry = (e, s = !1) => {
4394
4396
  Pe.showToast({
4395
4397
  variant: xe.error,
4396
4398
  description: "ConfigMap does not exist"
4397
- }), va(new Error("ConfigMap does not exist"));
4399
+ }), Ia(new Error("ConfigMap does not exist"));
4398
4400
  return;
4399
4401
  }
4400
4402
  I[We[b]].value[j].useFormProps = T, A[We[b]] || (A[We[b]] = {}), O ? A[We[b]][v] = !0 : A[We[b]][v] && delete A[We[b]][v], Object.keys(
@@ -4523,7 +4525,7 @@ const Ry = (e, s = !1) => {
4523
4525
  default:
4524
4526
  return null;
4525
4527
  }
4526
- }, sE = (e) => e ? e === La.KUBERNETES : Vh, nE = ({
4528
+ }, sE = (e) => e ? e === Da.KUBERNETES : Vh, nE = ({
4527
4529
  fromCreateView: e,
4528
4530
  profile: s,
4529
4531
  canConfigureUseK8sDriver: n
@@ -4664,7 +4666,7 @@ const Ry = (e, s = !1) => {
4664
4666
  fromCreateView: a,
4665
4667
  canConfigureUseK8sDriver: r
4666
4668
  }) => {
4667
- const o = !a && n?.name === ur, i = nl(
4669
+ const o = !a && n?.name === pr, i = nl(
4668
4670
  s,
4669
4671
  o
4670
4672
  ), l = nl(
@@ -4712,7 +4714,7 @@ const Ry = (e, s = !1) => {
4712
4714
  configurations: c
4713
4715
  }
4714
4716
  };
4715
- }, lE = (e) => e ? La.KUBERNETES : La.DOCKER_CONTAINER, cE = (e, s) => {
4717
+ }, lE = (e) => e ? Da.KUBERNETES : Da.DOCKER_CONTAINER, cE = (e, s) => {
4716
4718
  const n = e.configurations || {}, a = Object.entries(n).reduce((o, [i, l]) => {
4717
4719
  const c = Object.values(l).reduce((d, u) => {
4718
4720
  const m = !!Wn[u.key], p = m && u.value?.some(
@@ -4722,7 +4724,7 @@ const Ry = (e, s = !1) => {
4722
4724
  const _ = rE(u);
4723
4725
  if (!_)
4724
4726
  return d;
4725
- const x = m ? _.value?.length > 0 : u.active, g = e.name === ur ? !0 : x, f = {
4727
+ const x = m ? _.value?.length > 0 : u.active, g = e.name === pr ? !0 : x, f = {
4726
4728
  ..._,
4727
4729
  id: u.id,
4728
4730
  active: g
@@ -4778,7 +4780,7 @@ const _E = ({
4778
4780
  "div",
4779
4781
  {
4780
4782
  className: "icon-dim-20 mw-20 flexbox flex-justify-center flex-align-center dc__border-radius-50-per dc__uppercase cn-0",
4781
- style: { backgroundColor: sa(s) },
4783
+ style: { backgroundColor: aa(s) },
4782
4784
  children: s[0]
4783
4785
  }
4784
4786
  ),
@@ -4888,42 +4890,39 @@ const gE = "object", EE = {
4888
4890
  },
4889
4891
  title: "Container Port"
4890
4892
  },
4891
- resources: {
4893
+ Limits: {
4892
4894
  type: "object",
4893
- title: "Resources (CPU & RAM)",
4894
- description: "Minimum and maximum RAM and CPU available to the application",
4895
+ description: "Maximum RAM and CPU available to the application",
4896
+ required: [
4897
+ "CPU",
4898
+ "Memory"
4899
+ ],
4895
4900
  properties: {
4896
- limits: {
4897
- type: "object",
4898
- description: "Maximum RAM and CPU available to the application",
4899
- required: [
4900
- "cpu",
4901
- "memory"
4902
- ],
4903
- properties: {
4904
- cpu: {
4905
- type: "string",
4906
- description: "Maximum allowed CPU limit"
4907
- },
4908
- memory: {
4909
- type: "string",
4910
- description: "Maximum allowed memory limit"
4911
- }
4912
- }
4901
+ CPU: {
4902
+ type: "string",
4903
+ description: "Maximum allowed CPU limit",
4904
+ updatePath: "/resources/limits/cpu"
4913
4905
  },
4914
- requests: {
4915
- type: "object",
4916
- description: "Minimum RAM and CPU available to the application",
4917
- properties: {
4918
- cpu: {
4919
- type: "string",
4920
- description: "Minimum CPU value"
4921
- },
4922
- memory: {
4923
- type: "string",
4924
- description: "Minimum memory value"
4925
- }
4926
- }
4906
+ Memory: {
4907
+ type: "string",
4908
+ description: "Maximum allowed memory limit",
4909
+ updatePath: "/resources/limits/memory"
4910
+ }
4911
+ }
4912
+ },
4913
+ Requests: {
4914
+ type: "object",
4915
+ description: "Minimum RAM and CPU available to the application",
4916
+ properties: {
4917
+ CPU: {
4918
+ type: "string",
4919
+ description: "Minimum CPU value",
4920
+ updatePath: "/resources/requests/cpu"
4921
+ },
4922
+ Memory: {
4923
+ type: "string",
4924
+ description: "Minimum memory value",
4925
+ updatePath: "/resources/requests/memory"
4927
4926
  }
4928
4927
  }
4929
4928
  },
@@ -5396,7 +5395,7 @@ const wE = (e) => {
5396
5395
  isRollbackDeployment: c,
5397
5396
  ...d && i
5398
5397
  };
5399
- return r && (u.deploymentWithConfig = r === Ea.LAST_SAVED_CONFIG ? r : Ea.SPECIFIC_TRIGGER_CONFIG, r !== Ea.LAST_SAVED_CONFIG && (u.wfrIdForDeploymentWithSpecificTrigger = o)), pt(F.CD_TRIGGER_POST, u, { ...wE(), abortControllerRef: l });
5398
+ return r && (u.deploymentWithConfig = r === Na.LAST_SAVED_CONFIG ? r : Na.SPECIFIC_TRIGGER_CONFIG, r !== Na.LAST_SAVED_CONFIG && (u.wfrIdForDeploymentWithSpecificTrigger = o)), pt(F.CD_TRIGGER_POST, u, { ...wE(), abortControllerRef: l });
5400
5399
  }, lj = async ({
5401
5400
  file: e,
5402
5401
  appId: s,
@@ -5518,7 +5517,7 @@ const hj = (e) => {
5518
5517
  case kn.PULL_REQUEST:
5519
5518
  return /* @__PURE__ */ t.jsx(Do, { className: "icon-dim-12" });
5520
5519
  case kn.TAG_CREATION:
5521
- return /* @__PURE__ */ t.jsx(tr, { className: "icon-dim-12" });
5520
+ return /* @__PURE__ */ t.jsx(nr, { className: "icon-dim-12" });
5522
5521
  default:
5523
5522
  return /* @__PURE__ */ t.jsx(Bc, { className: "icon-dim-12" });
5524
5523
  }
@@ -5548,7 +5547,7 @@ const hj = (e) => {
5548
5547
  r && d.current || u != null && m.unobserve(u);
5549
5548
  };
5550
5549
  }, [i.current, e]), l;
5551
- }, Pa = (e) => e == null, gj = (e) => {
5550
+ }, Ma = (e) => e == null, gj = (e) => {
5552
5551
  const s = e.target instanceof HTMLTextAreaElement;
5553
5552
  e.key === "Enter" && !s && e.preventDefault();
5554
5553
  }, Ej = (e = []) => e.reduce(
@@ -5614,7 +5613,7 @@ const hj = (e) => {
5614
5613
  isCollapsed: !0
5615
5614
  }
5616
5615
  }
5617
- }, n = Za(e?.statusLastFetchedAt, !0), a = ["PreSync", "Sync", "PostSync", "Skip", "SyncFail"], r = {
5616
+ }, n = er(e?.statusLastFetchedAt, !0), a = ["PreSync", "Sync", "PostSync", "Skip", "SyncFail"], r = {
5618
5617
  currentPhase: "",
5619
5618
  currentTableData: [{ icon: "success", message: "Started by Argo CD" }]
5620
5619
  };
@@ -5688,14 +5687,14 @@ const FE = (e, s = !1) => s ? btoa(e) : atob(e), mo = (e, s = !1) => Object.keys
5688
5687
  return `${a}m ${n % 60}s`;
5689
5688
  const o = a - r * 60, i = n - a * 60;
5690
5689
  return `${r}h ${o}m ${i}s`;
5691
- }, GE = (e) => e?.get("content-disposition")?.split(";")?.find((s) => s.includes("filename="))?.replace("filename=", "").trim(), xa = (e) => (e ?? []).map(({ hasApproved: s, identifier: n, canApprove: a }) => ({
5690
+ }, GE = (e) => e?.get("content-disposition")?.split(";")?.find((s) => s.includes("filename="))?.replace("filename=", "").trim(), Ca = (e) => (e ?? []).map(({ hasApproved: s, identifier: n, canApprove: a }) => ({
5692
5691
  canApprove: a ?? !1,
5693
5692
  hasApproved: s ?? !1,
5694
5693
  identifier: n
5695
5694
  })), Dr = (e) => ({
5696
5695
  currentCount: e?.currentCount ?? 0,
5697
5696
  requiredCount: e?.requiredCount ?? 0,
5698
- approverList: xa(e?.approverList)
5697
+ approverList: Ca(e?.approverList)
5699
5698
  }), Td = (e) => ({
5700
5699
  kind: e?.kind ?? null,
5701
5700
  requiredCount: e?.requiredCount ?? 0,
@@ -5799,7 +5798,7 @@ const FE = (e, s = !1) => s ? btoa(e) : atob(e), mo = (e, s = !1) => Object.keys
5799
5798
  commitURL: n.url ? zn(n.url, r.Commit) : "",
5800
5799
  commit: r.Commit || "",
5801
5800
  author: r.Author || "",
5802
- date: Za(r.Date, !1),
5801
+ date: er(r.Date, !1),
5803
5802
  message: r.Message || "",
5804
5803
  changes: r.Changes || [],
5805
5804
  showChanges: o === 0,
@@ -5813,7 +5812,7 @@ const FE = (e, s = !1) => s ? btoa(e) : atob(e), mo = (e, s = !1) => Object.keys
5813
5812
  ciPipelineId: e?.ciPipelineId,
5814
5813
  materials: s,
5815
5814
  triggeredByEmail: e?.triggeredByEmail || "",
5816
- lastDeployedTime: Za(e.lastDeployedTime, !1),
5815
+ lastDeployedTime: er(e.lastDeployedTime, !1),
5817
5816
  environmentName: e?.environmentName || "",
5818
5817
  environmentId: e?.environmentId || 0,
5819
5818
  appId: e?.appId,
@@ -5866,12 +5865,12 @@ const FE = (e, s = !1) => s ? btoa(e) : atob(e), mo = (e, s = !1) => Object.keys
5866
5865
  ze(`${F.ATTRIBUTES_USER}/${F.GET}`, e)
5867
5866
  );
5868
5867
  return s?.value ? {
5869
- pipelineRBACViewSelectedTab: JSON.parse(s.value).viewPermittedEnvOnly ? Oa.ACCESS_ONLY : Oa.ALL_ENVIRONMENTS
5868
+ pipelineRBACViewSelectedTab: JSON.parse(s.value).viewPermittedEnvOnly ? wa.ACCESS_ONLY : wa.ALL_ENVIRONMENTS
5870
5869
  } : null;
5871
5870
  }, Aj = async (e, s = !1) => {
5872
5871
  try {
5873
5872
  const n = {
5874
- viewPermittedEnvOnly: e.pipelineRBACViewSelectedTab === Oa.ACCESS_ONLY
5873
+ viewPermittedEnvOnly: e.pipelineRBACViewSelectedTab === wa.ACCESS_ONLY
5875
5874
  }, a = {
5876
5875
  key: Rd,
5877
5876
  value: JSON.stringify(n)
@@ -5920,7 +5919,7 @@ const tx = {
5920
5919
  progressBarBg: "var(--G500)"
5921
5920
  },
5922
5921
  [xe.error]: {
5923
- icon: /* @__PURE__ */ t.jsx(rr, {}),
5922
+ icon: /* @__PURE__ */ t.jsx(ir, {}),
5924
5923
  type: "error",
5925
5924
  title: "Error",
5926
5925
  progressBarBg: "var(--R500)"
@@ -5998,11 +5997,11 @@ const ws = class ws {
5998
5997
  ue(this, "isToastActive", Ar.isActive);
5999
5998
  }
6000
5999
  static get instance() {
6001
- return Is(ws, sn) || ra(ws, sn, new ws()), Is(ws, sn);
6000
+ return Is(ws, sn) || ia(ws, sn, new ws()), Is(ws, sn);
6002
6001
  }
6003
6002
  };
6004
6003
  sn = new WeakMap(), // eslint-disable-next-line no-use-before-define
6005
- aa(ws, sn);
6004
+ oa(ws, sn);
6006
6005
  let po = ws;
6007
6006
  const Ij = () => /* @__PURE__ */ t.jsx(mm, { ...tx }), Pe = po.instance;
6008
6007
  var st = /* @__PURE__ */ ((e) => (e.CLEAR_ALL_SELECTIONS = "CLEAR_ALL_SELECTIONS", e.CLEAR_IDENTIFIERS = "CLEAR_IDENTIFIERS", e.SELECT_ALL_ACROSS_PAGES = "SELECT_ALL_ACROSS_PAGES", e.SELECT_ALL_ON_PAGE = "SELECT_ALL_ON_PAGE", e.SELECT_IDENTIFIER = "SELECT_IDENTIFIER", e.CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION = "CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION", e.CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES = "CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES", e))(st || {}), yd = /* @__PURE__ */ ((e) => (e.OPEN = "OPEN", e.CLOSED = "CLOSED", e))(yd || {});
@@ -6029,7 +6028,7 @@ const ax = "bulk-selection-pop-up-menu", Pr = {
6029
6028
  getSelectAllDialogStatus: n
6030
6029
  }) => {
6031
6030
  const [a, r] = y({}), [o, i] = y(s ?? {});
6032
- Ja(() => {
6031
+ Qa(() => {
6033
6032
  s && i(s);
6034
6033
  }, [s]);
6035
6034
  const l = a[hn], c = () => Object.keys(a).length, d = (f, E) => {
@@ -6396,7 +6395,7 @@ const ax = "bulk-selection-pop-up-menu", Pr = {
6396
6395
  {
6397
6396
  className: "flex fs-13 fw-6 lh-18 icon-dim-20 mr-6 cn-0 m-auto dc__border-transparent dc__uppercase dc__border-radius-50-per",
6398
6397
  style: {
6399
- backgroundColor: sa(o)
6398
+ backgroundColor: aa(o)
6400
6399
  },
6401
6400
  children: o[0]
6402
6401
  }
@@ -6504,17 +6503,17 @@ const ax = "bulk-selection-pop-up-menu", Pr = {
6504
6503
  s && r && /* @__PURE__ */ t.jsx(gn, { envStateText: m(), title: r })
6505
6504
  ] });
6506
6505
  }, _ = o !== Rr.CD;
6507
- if (!e && !d && (o !== Rr.CD || !s && !Object.values(la).includes(n) && !i && !c?.length))
6506
+ if (!e && !d && (o !== Rr.CD || !s && !Object.values(da).includes(n) && !i && !c?.length))
6508
6507
  return null;
6509
6508
  const f = () => o !== Rr.CD ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
6510
6509
  e && /* @__PURE__ */ t.jsx("span", { className: "last-deployed-status", children: "Last Run" }),
6511
6510
  d
6512
6511
  ] }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
6513
6512
  p(),
6514
- n === la.PROGRESSING && /* @__PURE__ */ t.jsx(gn, { envStateText: ms.DEPLOYING, title: a }),
6515
- (n === la.DEGRADED || n === la.FAILED) && /* @__PURE__ */ t.jsx(gn, { envStateText: ms.FAILED, title: a }),
6513
+ n === da.PROGRESSING && /* @__PURE__ */ t.jsx(gn, { envStateText: ms.DEPLOYING, title: a }),
6514
+ (n === da.DEGRADED || n === da.FAILED) && /* @__PURE__ */ t.jsx(gn, { envStateText: ms.FAILED, title: a }),
6516
6515
  i && /* @__PURE__ */ t.jsx(
6517
- Qa,
6516
+ tr,
6518
6517
  {
6519
6518
  text: "Latest",
6520
6519
  isSoftDeleted: !1,
@@ -6529,7 +6528,7 @@ const ax = "bulk-selection-pop-up-menu", Pr = {
6529
6528
  return /* @__PURE__ */ t.jsxs("div", { className: `bg__primary pb-8 br-4 flex left flex-wrap ${_ ? "dc__gap-8" : ""}`, children: [
6530
6529
  f(),
6531
6530
  !!u?.length && /* @__PURE__ */ t.jsx(Od, { targetPlatforms: u, children: /* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx(
6532
- Qa,
6531
+ tr,
6533
6532
  {
6534
6533
  text: "Multi-arch image",
6535
6534
  startIcon: /* @__PURE__ */ t.jsx(jo, { className: "dc__no-shrink scn-6 icon-dim-16 mr-6" }),
@@ -6652,7 +6651,7 @@ const ax = "bulk-selection-pop-up-menu", Pr = {
6652
6651
  MISCONFIGURATIONS: "misConfigurations",
6653
6652
  EXPOSED_SECRETS: "exposedSecrets"
6654
6653
  };
6655
- var ka = /* @__PURE__ */ ((e) => (e[e.ASC = 1] = "ASC", e[e.DESC = -1] = "DESC", e))(ka || {}), X = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e.FAILURES = "fail", e.SUCCESSES = "success", e.EXCEPTIONS = "exceptions", e))(X || {});
6654
+ var Ua = /* @__PURE__ */ ((e) => (e[e.ASC = 1] = "ASC", e[e.DESC = -1] = "DESC", e))(Ua || {}), X = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e.FAILURES = "fail", e.SUCCESSES = "success", e.EXCEPTIONS = "exceptions", e))(X || {});
6656
6655
  const Ex = {
6657
6656
  [-1]: "Failed",
6658
6657
  0: "Progressing",
@@ -6678,7 +6677,7 @@ const Ex = {
6678
6677
  LICENSE: "License Risks",
6679
6678
  MISCONFIGURATIONS: "Misconfigurations",
6680
6679
  EXPOSED_SECRETS: "Exposed Secrets"
6681
- }, Ma = {
6680
+ }, Ba = {
6682
6681
  [X.CRITICAL]: {
6683
6682
  label: "Critical",
6684
6683
  color: "var(--R700)"
@@ -6711,7 +6710,7 @@ const Ex = {
6711
6710
  label: "Exceptions",
6712
6711
  color: "var(--N300)"
6713
6712
  }
6714
- }, Ua = [
6713
+ }, $a = [
6715
6714
  X.CRITICAL,
6716
6715
  X.HIGH,
6717
6716
  X.MEDIUM,
@@ -6720,11 +6719,11 @@ const Ex = {
6720
6719
  X.FAILURES,
6721
6720
  X.EXCEPTIONS,
6722
6721
  X.SUCCESSES
6723
- ], Xn = ka.DESC, Qo = {
6722
+ ], Zn = Ua.DESC, Qo = {
6724
6723
  image: Tn,
6725
6724
  title: "Scan failed",
6726
6725
  subTitle: "Error: Security scan failed"
6727
- }, Ba = {
6726
+ }, Fa = {
6728
6727
  SvgImage: vc,
6729
6728
  title: "Scan in progress",
6730
6729
  subTitle: "Scan result will be available once complete. Please check again later"
@@ -6741,7 +6740,7 @@ const Ex = {
6741
6740
  isResizable: d
6742
6741
  }) => {
6743
6742
  const u = !!(d && l && c), m = () => o ? e ? /* @__PURE__ */ t.jsx(
6744
- or,
6743
+ lr,
6745
6744
  {
6746
6745
  className: `icon-dim-12 mw-12 scn-7 dc__no-shrink dc__transition--transform ${n !== he.DESC ? "dc__flip-180" : ""}`
6747
6746
  }
@@ -6767,7 +6766,7 @@ const Ex = {
6767
6766
  }
6768
6767
  ),
6769
6768
  u && /* @__PURE__ */ t.jsx(
6770
- Aa,
6769
+ Ra,
6771
6770
  {
6772
6771
  handle: ".sortable-table-header__resize-btn",
6773
6772
  defaultClassNameDragging: "sortable-table-header__resize-btn--dragging",
@@ -6841,16 +6840,16 @@ const Ex = {
6841
6840
  )
6842
6841
  ] }), ns = (e) => (
6843
6842
  /* for all the SEVERITY keys in @severities create @Entity */
6844
- e && Ua.map(
6843
+ e && $a.map(
6845
6844
  (s) => e[s] && {
6846
- color: Ma[s].color,
6847
- label: Ma[s].label,
6845
+ color: Ba[s].color,
6846
+ label: Ba[s].label,
6848
6847
  value: e[s]
6849
6848
  }
6850
6849
  ).filter((s) => !!s)
6851
- ), Jn = (e) => e && Object.keys(e).sort(
6852
- (s, n) => Ua.indexOf(s) - Ua.indexOf(n)
6853
- ).map((s) => `${e[s]} ${Ma[s].label}`).join(", "), ll = (e) => ({
6850
+ ), Qn = (e) => e && Object.keys(e).sort(
6851
+ (s, n) => $a.indexOf(s) - $a.indexOf(n)
6852
+ ).map((s) => `${e[s]} ${Ba[s].label}`).join(", "), ll = (e) => ({
6854
6853
  [X.UNKNOWN]: 1,
6855
6854
  [X.LOW]: 2,
6856
6855
  [X.MEDIUM]: 3,
@@ -6859,7 +6858,7 @@ const Ex = {
6859
6858
  [X.FAILURES]: 6,
6860
6859
  [X.EXCEPTIONS]: 7,
6861
6860
  [X.SUCCESSES]: 8
6862
- })[e] || 1e4, Zn = (e, s) => ll(e) - ll(s), wj = (e) => {
6861
+ })[e] || 1e4, ea = (e, s) => ll(e) - ll(s), wj = (e) => {
6863
6862
  const s = e[Q.IMAGE_SCAN].vulnerability?.summary?.severities, n = e[Q.CODE_SCAN].vulnerability?.summary?.severities;
6864
6863
  return {
6865
6864
  critical: (s?.[X.CRITICAL] || 0) + (n?.[X.CRITICAL] || 0),
@@ -6868,7 +6867,7 @@ const Ex = {
6868
6867
  low: (s?.[X.LOW] || 0) + (n?.[X.LOW] || 0),
6869
6868
  unknown: (s?.[X.UNKNOWN] || 0) + (n?.[X.UNKNOWN] || 0)
6870
6869
  };
6871
- }, si = (e, s) => Ua.reduce((n, a) => n || e[a] - s[a], 0), ni = (e, s) => ({
6870
+ }, si = (e, s) => $a.reduce((n, a) => n || e[a] - s[a], 0), ni = (e, s) => ({
6872
6871
  SvgImage: pc,
6873
6872
  title: "You're secure!",
6874
6873
  children: /* @__PURE__ */ t.jsx("span", { className: "flex dc__border-radius-24 bg__primary pl-16 pr-16 pt-8 pb-8 en-1 bw-1", children: /* @__PURE__ */ t.jsx(ti, { scanToolName: e, scanToolUrl: s }) })
@@ -6976,14 +6975,14 @@ const Ex = {
6976
6975
  }, yx = ({ headers: e, rows: s, defaultSortIndex: n, hasExpandableRows: a, headerTopPosition: r }) => {
6977
6976
  const [o, i] = y({
6978
6977
  index: n || 0,
6979
- order: e[n]?.defaultSortOrder || ka.ASC
6978
+ order: e[n]?.defaultSortOrder || Ua.ASC
6980
6979
  }), [l, c] = y(Array(s.length).fill(!1)), d = J(
6981
6980
  () => s.sort((x, g) => {
6982
6981
  const f = x.cells[o.index].cellContent, E = g.cells[o.index].cellContent, h = e[o.index].compareFunc || vx;
6983
6982
  return o.order * h(f, E);
6984
6983
  }),
6985
6984
  [s, o]
6986
- ), u = () => i({ ...o, order: -1 * o.order }), m = (x) => () => i({ index: x, order: e[x]?.defaultSortOrder || ka.ASC }), p = () => c(Array(s.length).fill(!l.every((x) => x))), _ = (x) => () => {
6985
+ ), u = () => i({ ...o, order: -1 * o.order }), m = (x) => () => i({ index: x, order: e[x]?.defaultSortOrder || Ua.ASC }), p = () => c(Array(s.length).fill(!l.every((x) => x))), _ = (x) => () => {
6987
6986
  l[x] = !l[x], c([...l]);
6988
6987
  };
6989
6988
  return /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col", children: [
@@ -7091,7 +7090,7 @@ const Ex = {
7091
7090
  )
7092
7091
  ] })
7093
7092
  ] })
7094
- ] }), Qn = ({
7093
+ ] }), ta = ({
7095
7094
  children: e,
7096
7095
  detailViewData: s,
7097
7096
  setDetailViewData: n
@@ -7120,8 +7119,8 @@ const Ex = {
7120
7119
  headerText: "severity",
7121
7120
  isSortable: !0,
7122
7121
  width: 100,
7123
- compareFunc: Zn,
7124
- defaultSortOrder: Xn
7122
+ compareFunc: ea,
7123
+ defaultSortOrder: Zn
7125
7124
  },
7126
7125
  { headerText: "package", isSortable: !0, width: 143.33 },
7127
7126
  { headerText: "current version", isSortable: !1, width: 143.33 },
@@ -7176,8 +7175,8 @@ const Ex = {
7176
7175
  headerText: "severity",
7177
7176
  isSortable: !0,
7178
7177
  width: 100,
7179
- compareFunc: Zn,
7180
- defaultSortOrder: Xn
7178
+ compareFunc: ea,
7179
+ defaultSortOrder: Zn
7181
7180
  },
7182
7181
  { headerText: "license", isSortable: !1, width: 150 },
7183
7182
  { headerText: "source", isSortable: !0, width: 296 }
@@ -7223,8 +7222,8 @@ const Ex = {
7223
7222
  headerText: "severity",
7224
7223
  isSortable: !0,
7225
7224
  width: 100,
7226
- compareFunc: Zn,
7227
- defaultSortOrder: Xn
7225
+ compareFunc: ea,
7226
+ defaultSortOrder: Zn
7228
7227
  },
7229
7228
  { headerText: "id", isSortable: !1, width: 100 }
7230
7229
  ],
@@ -7290,7 +7289,7 @@ const Ex = {
7290
7289
  cells: [
7291
7290
  {
7292
7291
  component: /* @__PURE__ */ t.jsx(
7293
- Qn,
7292
+ ta,
7294
7293
  {
7295
7294
  detailViewData: wx(
7296
7295
  i,
@@ -7306,7 +7305,7 @@ const Ex = {
7306
7305
  cellContent: i.filePath
7307
7306
  },
7308
7307
  {
7309
- component: /* @__PURE__ */ t.jsx("span", { children: Jn(i.misConfSummary.status) }),
7308
+ component: /* @__PURE__ */ t.jsx("span", { children: Qn(i.misConfSummary.status) }),
7310
7309
  cellContent: i.misConfSummary.status
7311
7310
  },
7312
7311
  {
@@ -7324,8 +7323,8 @@ const Ex = {
7324
7323
  headerText: "severity",
7325
7324
  isSortable: !0,
7326
7325
  width: 100,
7327
- compareFunc: Zn,
7328
- defaultSortOrder: Xn
7326
+ compareFunc: ea,
7327
+ defaultSortOrder: Zn
7329
7328
  },
7330
7329
  { headerText: "category", isSortable: !0, width: 150 }
7331
7330
  ],
@@ -7371,7 +7370,7 @@ const Ex = {
7371
7370
  cells: [
7372
7371
  {
7373
7372
  component: /* @__PURE__ */ t.jsx(
7374
- Qn,
7373
+ ta,
7375
7374
  {
7376
7375
  detailViewData: Dx(
7377
7376
  i,
@@ -7387,7 +7386,7 @@ const Ex = {
7387
7386
  cellContent: i.filePath
7388
7387
  },
7389
7388
  {
7390
- component: /* @__PURE__ */ t.jsx("span", { children: Jn(i.summary.severities) }),
7389
+ component: /* @__PURE__ */ t.jsx("span", { children: Qn(i.summary.severities) }),
7391
7390
  cellContent: i.summary.severities
7392
7391
  }
7393
7392
  ]
@@ -7478,7 +7477,7 @@ const Ex = {
7478
7477
  case "Progressing":
7479
7478
  case "Running":
7480
7479
  default:
7481
- return Ba;
7480
+ return Fa;
7482
7481
  }
7483
7482
  }, fo = (e) => ({
7484
7483
  titlePrefix: "Image",
@@ -7507,7 +7506,7 @@ const Ex = {
7507
7506
  cells: [
7508
7507
  {
7509
7508
  component: /* @__PURE__ */ t.jsx(
7510
- Qn,
7509
+ ta,
7511
7510
  {
7512
7511
  detailViewData: {
7513
7512
  ...fo({
@@ -7525,7 +7524,7 @@ const Ex = {
7525
7524
  cellContent: r.source
7526
7525
  },
7527
7526
  {
7528
- component: /* @__PURE__ */ t.jsx("span", { children: Jn(r.summary.severities) }),
7527
+ component: /* @__PURE__ */ t.jsx("span", { children: Qn(r.summary.severities) }),
7529
7528
  cellContent: r.summary.severities
7530
7529
  }
7531
7530
  ]
@@ -7534,7 +7533,7 @@ const Ex = {
7534
7533
  }, $x = (e, s, n) => e.list?.every((r) => !!r.target) ? Bx(e, s, n) : {
7535
7534
  ...fo(e),
7536
7535
  ...ai(e, n)
7537
- }, $a = (e) => {
7536
+ }, Va = (e) => {
7538
7537
  switch (e) {
7539
7538
  case "Completed":
7540
7539
  return /* @__PURE__ */ t.jsx(Mo, { className: "icon-dim-16 dc__no-shrink" });
@@ -7566,7 +7565,7 @@ const Ex = {
7566
7565
  cells: [
7567
7566
  {
7568
7567
  component: /* @__PURE__ */ t.jsx(
7569
- Qn,
7568
+ ta,
7570
7569
  {
7571
7570
  detailViewData: $x(a, s, n),
7572
7571
  setDetailViewData: s,
@@ -7577,11 +7576,11 @@ const Ex = {
7577
7576
  },
7578
7577
  {
7579
7578
  component: null,
7580
- cellContent: Jn(a.summary.severities) || (a.status === "Completed" ? "No vulnerability found" : "-")
7579
+ cellContent: Qn(a.summary.severities) || (a.status === "Completed" ? "No vulnerability found" : "-")
7581
7580
  },
7582
7581
  {
7583
7582
  component: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-4", children: [
7584
- $a(a.status),
7583
+ Va(a.status),
7585
7584
  /* @__PURE__ */ t.jsx("span", { children: kd(a.StartedOn, a.status) })
7586
7585
  ] }),
7587
7586
  cellContent: a.status
@@ -7597,8 +7596,8 @@ const Ex = {
7597
7596
  headerText: "severity",
7598
7597
  isSortable: !0,
7599
7598
  width: 100,
7600
- compareFunc: Zn,
7601
- defaultSortOrder: Xn
7599
+ compareFunc: ea,
7600
+ defaultSortOrder: Zn
7602
7601
  },
7603
7602
  { headerText: "license", isSortable: !1, width: 150 },
7604
7603
  { headerText: "package", isSortable: !0, width: 296 }
@@ -7643,7 +7642,7 @@ const Ex = {
7643
7642
  cells: [
7644
7643
  {
7645
7644
  component: /* @__PURE__ */ t.jsx(
7646
- Qn,
7645
+ ta,
7647
7646
  {
7648
7647
  detailViewData: Vx(n),
7649
7648
  setDetailViewData: s,
@@ -7654,11 +7653,11 @@ const Ex = {
7654
7653
  },
7655
7654
  {
7656
7655
  component: null,
7657
- cellContent: Jn(n.summary.severities) || (n.status === "Completed" ? "No license risk found" : "-")
7656
+ cellContent: Qn(n.summary.severities) || (n.status === "Completed" ? "No license risk found" : "-")
7658
7657
  },
7659
7658
  {
7660
7659
  component: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-4", children: [
7661
- $a(n.status),
7660
+ Va(n.status),
7662
7661
  /* @__PURE__ */ t.jsx("span", { children: kd(n.StartedOn, n.status) })
7663
7662
  ] }),
7664
7663
  cellContent: n.status
@@ -7702,7 +7701,7 @@ const Ex = {
7702
7701
  }
7703
7702
  }, Wx = (e, s, n) => {
7704
7703
  if (!e[Q.IMAGE_SCAN]?.[s]?.list?.length)
7705
- return Ba;
7704
+ return Fa;
7706
7705
  if (!n)
7707
7706
  return null;
7708
7707
  switch (n.status) {
@@ -7713,7 +7712,7 @@ const Ex = {
7713
7712
  case "Progressing":
7714
7713
  case "Running":
7715
7714
  default:
7716
- return Ba;
7715
+ return Fa;
7717
7716
  }
7718
7717
  }, zx = (e, s, n) => {
7719
7718
  switch (s) {
@@ -7785,7 +7784,7 @@ const Ex = {
7785
7784
  case "Progressing":
7786
7785
  case "Running":
7787
7786
  default:
7788
- return Ba;
7787
+ return Fa;
7789
7788
  }
7790
7789
  }, Zx = (e, s, n, a, r) => {
7791
7790
  switch (s) {
@@ -8013,7 +8012,7 @@ const Ex = {
8013
8012
  ]
8014
8013
  }
8015
8014
  ) });
8016
- }, Na = {
8015
+ }, ba = {
8017
8016
  [Q.IMAGE_SCAN]: {
8018
8017
  label: en.IMAGE_SCAN,
8019
8018
  subCategories: [z.VULNERABILITIES, z.LICENSE]
@@ -8037,13 +8036,13 @@ const Ex = {
8037
8036
  kubernetesManifest: n
8038
8037
  }) => ({
8039
8038
  ...e && {
8040
- [Q.IMAGE_SCAN]: Na[Q.IMAGE_SCAN]
8039
+ [Q.IMAGE_SCAN]: ba[Q.IMAGE_SCAN]
8041
8040
  },
8042
8041
  ...s && {
8043
- [Q.CODE_SCAN]: Na[Q.CODE_SCAN]
8042
+ [Q.CODE_SCAN]: ba[Q.CODE_SCAN]
8044
8043
  },
8045
8044
  ...n && {
8046
- [Q.KUBERNETES_MANIFEST]: Na[Q.KUBERNETES_MANIFEST]
8045
+ [Q.KUBERNETES_MANIFEST]: ba[Q.KUBERNETES_MANIFEST]
8047
8046
  }
8048
8047
  }), sN = (e) => {
8049
8048
  const { imageScan: s, codeScan: n, kubernetesManifest: a } = e, r = Bd({
@@ -8059,8 +8058,8 @@ const Ex = {
8059
8058
  }), o.reduce((l, c) => (Object.keys(c).forEach((d) => {
8060
8059
  l[d] ? l[d] += c[d] : l[d] = c[d];
8061
8060
  }), l), {});
8062
- }, ho = (e) => e === "Progressing" || e === "Running", Fa = (e) => e.some((a) => ho(a.status)) ? "Progressing" : e.some((a) => a.status === "Failed") ? "Failed" : "Completed", Mj = (e) => {
8063
- const s = e.imageScan?.vulnerability?.list ?? [], n = e.imageScan?.license?.list ?? [], a = e.codeScan?.status, r = e.kubernetesManifest?.status, o = Fa(s), i = Fa(n);
8061
+ }, ho = (e) => e === "Progressing" || e === "Running", Ga = (e) => e.some((a) => ho(a.status)) ? "Progressing" : e.some((a) => a.status === "Failed") ? "Failed" : "Completed", Mj = (e) => {
8062
+ const s = e.imageScan?.vulnerability?.list ?? [], n = e.imageScan?.license?.list ?? [], a = e.codeScan?.status, r = e.kubernetesManifest?.status, o = Ga(s), i = Ga(n);
8064
8063
  return o === "Progressing" || i === "Progressing" || ho(a) || ho(r) ? "Progressing" : o === "Failed" || i === "Failed" || a === "Failed" || r === "Failed" ? "Failed" : "Completed";
8065
8064
  }, $d = ({
8066
8065
  category: e,
@@ -8069,7 +8068,7 @@ const Ex = {
8069
8068
  handleCardClick: a,
8070
8069
  scanFailed: r = !1
8071
8070
  }) => {
8072
- const o = Ud(n), i = !!o, l = Object.entries(Ma).map(([_, x]) => ({
8071
+ const o = Ud(n), i = !!o, l = Object.entries(Ba).map(([_, x]) => ({
8073
8072
  ...x,
8074
8073
  value: n[_]
8075
8074
  })).filter((_) => !!_.value), c = () => r ? /* @__PURE__ */ t.jsx(vs, { className: "icon-dim-24 dc__no-shrink" }) : i ? /* @__PURE__ */ t.jsx(Um, { className: "icon-dim-24 scr-5 dc__no-shrink" }) : /* @__PURE__ */ t.jsx(Bm, { className: "icon-dim-24 scg-5 dc__no-shrink" }), d = () => {
@@ -8102,7 +8101,7 @@ const Ex = {
8102
8101
  children: [
8103
8102
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__content-space", children: [
8104
8103
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col", children: [
8105
- /* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-4 lh-1-5 cn-7", children: Na[e].label }),
8104
+ /* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-4 lh-1-5 cn-7", children: ba[e].label }),
8106
8105
  /* @__PURE__ */ t.jsxs("div", { className: "fs-15 fw-6 lh-1-5 cn-9 flex", children: [
8107
8106
  /* @__PURE__ */ t.jsx("span", { className: "security-card-title", children: u }),
8108
8107
  /* @__PURE__ */ t.jsx(_c, { className: "icon-dim-20 dc__flip-270 scb-5 arrow-right" })
@@ -8181,7 +8180,7 @@ const Ex = {
8181
8180
  ) }) : /* @__PURE__ */ t.jsx("div", { className: "dc__grid security-cards", children: m[f].subCategories.map((C) => {
8182
8181
  if (!e[f][C])
8183
8182
  return null;
8184
- const A = f === Q.IMAGE_SCAN && Fa(e[f][C].list ?? []) === "Failed", S = C === z.MISCONFIGURATIONS ? e[f][C]?.misConfSummary?.status : e[f][C]?.summary?.severities;
8183
+ const A = f === Q.IMAGE_SCAN && Ga(e[f][C].list ?? []) === "Failed", S = C === z.MISCONFIGURATIONS ? e[f][C]?.misConfSummary?.status : e[f][C]?.summary?.severities;
8185
8184
  return /* @__PURE__ */ t.jsx(
8186
8185
  $d,
8187
8186
  {
@@ -8241,7 +8240,7 @@ const Ex = {
8241
8240
  c(!0);
8242
8241
  }, x = () => {
8243
8242
  c(!1);
8244
- }, g = u.result?.imageScan?.vulnerability, f = g?.list || [], E = Fa(f) === "Failed";
8243
+ }, g = u.result?.imageScan?.vulnerability, f = g?.list || [], E = Ga(f) === "Failed";
8245
8244
  return /* @__PURE__ */ t.jsxs("div", { className: "p-12", children: [
8246
8245
  /* @__PURE__ */ t.jsx(
8247
8246
  $d,
@@ -8608,9 +8607,9 @@ const Ex = {
8608
8607
  const { initialText: s = "", emptyState: n, ...a } = e, [r, o] = y(!1);
8609
8608
  return r ? /* @__PURE__ */ t.jsx(oN, { ...a, initialText: s, setIsEditable: o }) : /* @__PURE__ */ t.jsxs("div", { className: "flexbox flex-justify dc__gap-10", children: [
8610
8609
  /* @__PURE__ */ t.jsx("div", { className: "fs-13 fw-4 lh-20 cn-9 dc__word-break", children: s || n }),
8611
- /* @__PURE__ */ t.jsx(sr, { className: "icon-dim-16 cursor mw-16", onClick: () => o(!r) })
8610
+ /* @__PURE__ */ t.jsx(ar, { className: "icon-dim-16 cursor mw-16", onClick: () => o(!r) })
8612
8611
  ] });
8613
- }, Fd = $t(null), ea = () => {
8612
+ }, Fd = $t(null), sa = () => {
8614
8613
  const e = bs(Fd);
8615
8614
  if (!e)
8616
8615
  throw new Error("Please wrap with MainContextProvider");
@@ -8849,7 +8848,7 @@ const uN = {
8849
8848
  )
8850
8849
  ] });
8851
8850
  }, _N = ({ className: e, userFirstLetter: s, setShowLogOutCard: n, showLogOutCard: a }) => {
8852
- const r = Vs(), { viewIsPipelineRBACConfiguredNode: o } = ea(), i = () => {
8851
+ const r = Vs(), { viewIsPipelineRBACConfiguredNode: o } = sa(), i = () => {
8853
8852
  document.cookie = "argocd.token=; expires=Thu, 01-Jan-1970 00:00:01 GMT;path=/", r.push("/login");
8854
8853
  }, l = () => {
8855
8854
  n(!a);
@@ -8864,7 +8863,7 @@ const uN = {
8864
8863
  "p",
8865
8864
  {
8866
8865
  className: "logout-card__initial fs-16 icon-dim-32 mb-0",
8867
- style: { backgroundColor: sa(s) },
8866
+ style: { backgroundColor: aa(s) },
8868
8867
  children: s[0]
8869
8868
  }
8870
8869
  )
@@ -8896,13 +8895,13 @@ const hN = async (e, s) => {
8896
8895
  value: "",
8897
8896
  active: !0
8898
8897
  });
8899
- }, Va = (e, s) => {
8898
+ }, Ha = (e, s) => {
8900
8899
  localStorage.setItem(e, `${In(s)}`);
8901
8900
  };
8902
- var Ga = /* @__PURE__ */ ((e) => (e.OSS_KUBECTL = "oss_kubectl", e.OSS_HELM = "oss_helm", e.ENTERPRISE = "enterprise", e))(Ga || {});
8901
+ var Ya = /* @__PURE__ */ ((e) => (e.OSS_KUBECTL = "oss_kubectl", e.OSS_HELM = "oss_helm", e.ENTERPRISE = "enterprise", e))(Ya || {});
8903
8902
  const EN = (e) => pt(`${F.ATTRIBUTES_USER}/${F.UPDATE}`, e), xN = ({ className: e, hideGettingStartedCard: s }) => {
8904
8903
  const n = async () => {
8905
- Va("clickedOkay", 1), s(), await go(Zr.TOOLTIP_OKAY);
8904
+ Ha("clickedOkay", 1), s(), await go(Zr.TOOLTIP_OKAY);
8906
8905
  }, a = async () => {
8907
8906
  const r = {
8908
8907
  key: Gc,
@@ -8971,7 +8970,7 @@ const EN = (e) => pt(`${F.ATTRIBUTES_USER}/${F.UPDATE}`, e), xN = ({ className:
8971
8970
  setGettingStartedClicked: r,
8972
8971
  showHelpCard: o
8973
8972
  }) => {
8974
- const { currentServerInfo: i } = ea(), l = i?.serverInfo?.installationType === Ga.ENTERPRISE, c = `UheGN3KJ#source=${window.location.hostname}`, d = [
8973
+ const { currentServerInfo: i } = sa(), l = i?.serverInfo?.installationType === Ya.ENTERPRISE, c = `UheGN3KJ#source=${window.location.hostname}`, d = [
8975
8974
  {
8976
8975
  name: "View documentation",
8977
8976
  link: Ws,
@@ -9047,7 +9046,7 @@ const EN = (e) => pt(`${F.ATTRIBUTES_USER}/${F.UPDATE}`, e), xN = ({ className:
9047
9046
  ),
9048
9047
  g(),
9049
9048
  l && _(),
9050
- n?.installationType === Ga.OSS_HELM && /* @__PURE__ */ t.jsxs("div", { className: "help-card__update-option fs-11 fw-6 mt-4", children: [
9049
+ n?.installationType === Ya.OSS_HELM && /* @__PURE__ */ t.jsxs("div", { className: "help-card__update-option fs-11 fw-6 mt-4", children: [
9051
9050
  a ? /* @__PURE__ */ t.jsx("span", { className: "dc__loading-dots", children: "Checking current version" }) : /* @__PURE__ */ t.jsxs("span", { children: [
9052
9051
  "version ",
9053
9052
  n?.currentVersion || ""
@@ -9067,7 +9066,7 @@ const EN = (e) => pt(`${F.ATTRIBUTES_USER}/${F.UPDATE}`, e), xN = ({ className:
9067
9066
  if (!a)
9068
9067
  return null;
9069
9068
  const l = () => {
9070
- i(!1), typeof Storage < "u" && Va("expiryDateOfHidingAnnouncementBanner", 1);
9069
+ i(!1), typeof Storage < "u" && Ha("expiryDateOfHidingAnnouncementBanner", 1);
9071
9070
  }, c = () => /* @__PURE__ */ t.jsxs("div", { className: "flex dc__gap-4", children: [
9072
9071
  /* @__PURE__ */ t.jsx(
9073
9072
  "div",
@@ -9174,7 +9173,7 @@ const EN = (e) => pt(`${F.ATTRIBUTES_USER}/${F.UPDATE}`, e), xN = ({ className:
9174
9173
  showAnnouncementHeader: u,
9175
9174
  tippyProps: m
9176
9175
  }) => {
9177
- const { loginCount: p, setLoginCount: _, showGettingStartedCard: x, setShowGettingStartedCard: g, setGettingStartedClicked: f } = ea(), { isTippyCustomized: E, tippyRedirectLink: h, TippyIcon: N, tippyMessage: C, onClickTippyButton: A, additionalContent: S } = m || {}, [I, R] = y(!1), [v, T] = y(!1), { email: O } = Jd(), [b, j] = y(
9176
+ const { loginCount: p, setLoginCount: _, showGettingStartedCard: x, setShowGettingStartedCard: g, setGettingStartedClicked: f } = sa(), { isTippyCustomized: E, tippyRedirectLink: h, TippyIcon: N, tippyMessage: C, onClickTippyButton: A, additionalContent: S } = m || {}, [I, R] = y(!1), [v, T] = y(!1), { email: O } = Jd(), [b, j] = y(
9178
9177
  {
9179
9178
  serverInfo: void 0,
9180
9179
  fetchingServerInfo: !1
@@ -9199,9 +9198,9 @@ const EN = (e) => pt(`${F.ATTRIBUTES_USER}/${F.UPDATE}`, e), xN = ({ className:
9199
9198
  const G = ($) => {
9200
9199
  g(!1), $ && _(+$);
9201
9200
  }, Z = () => {
9202
- T(!v), I && R(!1), Va("clickedOkay", 1), G();
9201
+ T(!v), I && R(!1), Ha("clickedOkay", 1), G();
9203
9202
  }, ee = async () => {
9204
- !window._env_.K8S_CLIENT && b.serverInfo?.installationType !== Ga.ENTERPRISE && await B(), R(!I), v && T(!1), Va("clickedOkay", 1), G(), await go(Zr.HELP), hs.event({
9203
+ !window._env_.K8S_CLIENT && b.serverInfo?.installationType !== Ya.ENTERPRISE && await B(), R(!I), v && T(!1), Ha("clickedOkay", 1), G(), await go(Zr.HELP), hs.event({
9205
9204
  category: "Main Navigation",
9206
9205
  action: "Help Clicked"
9207
9206
  });
@@ -9222,7 +9221,7 @@ const EN = (e) => pt(`${F.ATTRIBUTES_USER}/${F.UPDATE}`, e), xN = ({ className:
9222
9221
  {
9223
9222
  className: "logout-card__initial cursor fs-13 icon-dim-24 flex logout-card__initial--nav",
9224
9223
  onClick: Z,
9225
- style: { backgroundColor: sa(O) },
9224
+ style: { backgroundColor: aa(O) },
9226
9225
  "data-testid": "profile-button",
9227
9226
  children: O[0]
9228
9227
  }
@@ -9333,7 +9332,7 @@ const EN = (e) => pt(`${F.ATTRIBUTES_USER}/${F.UPDATE}`, e), xN = ({ className:
9333
9332
  }
9334
9333
  );
9335
9334
  }, Xj = ({ headerName: e }) => {
9336
- const s = xt(), n = Vs(), a = Ss(), { serverMode: r } = ea(), [o, i] = y(!1), l = () => {
9335
+ const s = xt(), n = Vs(), a = Ss(), { serverMode: r } = sa(), [o, i] = y(!1), l = () => {
9337
9336
  i((_) => !_);
9338
9337
  }, c = () => {
9339
9338
  n.push(Ie.CHARTS_DISCOVER);
@@ -9373,7 +9372,7 @@ const EN = (e) => pt(`${F.ATTRIBUTES_USER}/${F.UPDATE}`, e), xN = ({ className:
9373
9372
  onClick: d,
9374
9373
  "data-testid": "create-custom-app-button-in-dropdown",
9375
9374
  children: [
9376
- /* @__PURE__ */ t.jsx(nr, { className: "icon-dim-20 fcn-9" }),
9375
+ /* @__PURE__ */ t.jsx(rr, { className: "icon-dim-20 fcn-9" }),
9377
9376
  /* @__PURE__ */ t.jsxs("div", { className: "ml-8", children: [
9378
9377
  /* @__PURE__ */ t.jsx("strong", { children: "Custom app" }),
9379
9378
  /* @__PURE__ */ t.jsxs("div", { children: [
@@ -9431,7 +9430,7 @@ const EN = (e) => pt(`${F.ATTRIBUTES_USER}/${F.UPDATE}`, e), xN = ({ className:
9431
9430
  o && p()
9432
9431
  ] });
9433
9432
  };
9434
- class li extends er {
9433
+ class li extends sr {
9435
9434
  constructor(s) {
9436
9435
  super(s), this.clickHandler = this.clickHandler.bind(this);
9437
9436
  }
@@ -9589,7 +9588,7 @@ const Jj = ({
9589
9588
  )
9590
9589
  ] })
9591
9590
  ] });
9592
- var Ha = /* @__PURE__ */ ((e) => (e.GOT_IT = "Got it", e.VIEW_DOCUMENTATION = "View Documentation", e))(Ha || {});
9591
+ var Ka = /* @__PURE__ */ ((e) => (e.GOT_IT = "Got it", e.VIEW_DOCUMENTATION = "View Documentation", e))(Ka || {});
9593
9592
  const pl = (e) => {
9594
9593
  switch (e) {
9595
9594
  case Hs.SMALL:
@@ -9599,7 +9598,7 @@ const pl = (e) => {
9599
9598
  }
9600
9599
  }, _l = ({
9601
9600
  renderDescriptionContent: e,
9602
- closeModalText: s = Ha.GOT_IT,
9601
+ closeModalText: s = Ka.GOT_IT,
9603
9602
  docLink: n = "",
9604
9603
  closeModal: a,
9605
9604
  imageVariant: r,
@@ -9631,7 +9630,7 @@ const pl = (e) => {
9631
9630
  target: "_blank",
9632
9631
  rel: "noreferrer",
9633
9632
  children: [
9634
- Ha.VIEW_DOCUMENTATION,
9633
+ Ka.VIEW_DOCUMENTATION,
9635
9634
  /* @__PURE__ */ t.jsx(Ec, { className: "icon-dim-16 scb-5" })
9636
9635
  ]
9637
9636
  }
@@ -9655,7 +9654,7 @@ const pl = (e) => {
9655
9654
  }, yN = ({
9656
9655
  title: e,
9657
9656
  renderDescriptionContent: s,
9658
- closeModalText: n = Ha.GOT_IT,
9657
+ closeModalText: n = Ka.GOT_IT,
9659
9658
  docLink: a = "",
9660
9659
  closeModal: r,
9661
9660
  imageVariant: o,
@@ -9826,7 +9825,7 @@ const jN = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
9826
9825
  }, sO = (e) => {
9827
9826
  const { selectOption: s, data: n } = e, a = { height: "16px", width: "16px", flex: "0 0 16px" }, r = (o) => s(n);
9828
9827
  return /* @__PURE__ */ t.jsxs("div", { className: "flex left pl-12", style: { background: e.isFocused ? "var(--N100)" : "transparent" }, children: [
9829
- e.isSelected ? /* @__PURE__ */ t.jsx(ir, { onClick: r, className: "mr-8 icon-dim-16", style: a }) : /* @__PURE__ */ t.jsx("span", { onClick: r, className: "mr-8", style: a }),
9828
+ e.isSelected ? /* @__PURE__ */ t.jsx(cr, { onClick: r, className: "mr-8 icon-dim-16", style: a }) : /* @__PURE__ */ t.jsx("span", { onClick: r, className: "mr-8", style: a }),
9830
9829
  /* @__PURE__ */ t.jsx(Be.Option, { ...e })
9831
9830
  ] });
9832
9831
  }, nO = (e) => {
@@ -9941,14 +9940,14 @@ const jN = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
9941
9940
  UNABLE_TO_FETCH: "unabletofetch",
9942
9941
  TIMED_OUT: $s.TIMED_OUT.toLowerCase(),
9943
9942
  WAITING_TO_START: $s.WAITING_TO_START.toLowerCase()
9944
- }, ma = {
9943
+ }, _a = {
9945
9944
  MESSAGE: "message",
9946
9945
  START_OF_STREAM: "START_OF_STREAM",
9947
9946
  END_OF_STREAM: "END_OF_STREAM",
9948
9947
  ERROR: "error"
9949
9948
  }, Br = {
9950
9949
  PENDING: "Pending"
9951
- }, MN = "1", gr = 1, UN = "devtron-ci", BN = "devtron-ci", pa = 3, hl = "deployment-status", $N = ["KIND", "NAME", "SYNC STATUS", "MESSAGE"], gl = "STAGE_INFO", FN = "|", No = {
9950
+ }, MN = "1", gr = 1, UN = "devtron-ci", BN = "devtron-ci", fa = 3, hl = "deployment-status", $N = ["KIND", "NAME", "SYNC STATUS", "MESSAGE"], gl = "STAGE_INFO", FN = "|", No = {
9952
9951
  suspended: "var(--Y500)",
9953
9952
  unknown: "var(--N700)",
9954
9953
  queued: "var(--N700)",
@@ -10005,7 +10004,7 @@ const jN = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
10005
10004
  [be.STARTING]: "starting",
10006
10005
  [be.INITIATING]: "initiating",
10007
10006
  [be.QUEUED]: "queued"
10008
- }, Ya = {
10007
+ }, Wa = {
10009
10008
  [Te.ABORTED]: !0,
10010
10009
  [Te.FAILED]: !0,
10011
10010
  [Te.TIMEOUT]: !0
@@ -10237,7 +10236,7 @@ const WN = (e, s) => {
10237
10236
  }, tC = (e) => {
10238
10237
  switch (e) {
10239
10238
  case tn.SUCCESS:
10240
- return /* @__PURE__ */ t.jsx(ir, { className: "dc__no-shrink icon-dim-16 scg-5" });
10239
+ return /* @__PURE__ */ t.jsx(cr, { className: "dc__no-shrink icon-dim-16 scg-5" });
10241
10240
  case tn.FAILURE:
10242
10241
  return /* @__PURE__ */ t.jsx(at, { className: "dc__no-shrink icon-dim-16 fcr-5" });
10243
10242
  default:
@@ -10268,7 +10267,7 @@ const WN = (e, s) => {
10268
10267
  });
10269
10268
  let i = "";
10270
10269
  return s.forEach(({ status: l, endTime: c }, d) => {
10271
- (Ya[l] || d === s.length - 1 && l === Te.SUCCEEDED) && (i = c);
10270
+ (Wa[l] || d === s.length - 1 && l === Te.SUCCEEDED) && (i = c);
10272
10271
  }), {
10273
10272
  triggeredOn: fs(r) ? r : "",
10274
10273
  executionStartedOn: fs(a?.startTime) ? a?.startTime : "",
@@ -10288,7 +10287,7 @@ const WN = (e, s) => {
10288
10287
  return s[e] ? /* @__PURE__ */ t.jsx(di, { status: s[e], iconSize: 20, hideMessage: !0, hideIconTooltip: !0 }) : /* @__PURE__ */ t.jsx(ut, { name: "ic-help-outline", size: 20, color: "N500" });
10289
10288
  }, nC = (e) => {
10290
10289
  const s = ui(e);
10291
- return s ? s.finishedOn ? !Ya[s.currentStatus] && Ya[s.workerDetails.status] ? /* @__PURE__ */ t.jsx(ut, { name: "ic-warning", size: 20, color: null }) : tu(s.workerDetails.status) : /* @__PURE__ */ t.jsx(ut, { name: "ic-in-progress", size: 20, color: null }) : /* @__PURE__ */ t.jsx(ut, { name: "ic-help-outline", size: 20, color: "N500" });
10290
+ return s ? s.finishedOn ? !Wa[s.currentStatus] && Wa[s.workerDetails.status] ? /* @__PURE__ */ t.jsx(ut, { name: "ic-warning", size: 20, color: null }) : tu(s.workerDetails.status) : /* @__PURE__ */ t.jsx(ut, { name: "ic-in-progress", size: 20, color: null }) : /* @__PURE__ */ t.jsx(ut, { name: "ic-help-outline", size: 20, color: "N500" });
10292
10291
  }, aC = (e = gr, s = UN) => `/resource-browser/${e}/${s}/pod/k8sEmptyGroup`, su = (e) => e ? e.toLowerCase() === "cancelled" ? "Aborted" : e === $s.WAITING_TO_START ? "Waiting to start" : e : null, Er = (e) => fs(e) ? Le(e, "YYYY-MM-DDTHH:mm:ssZ").format(Tt.TWELVE_HOURS_FORMAT) : "", rC = (e) => (e || []).reduce(
10293
10292
  (s, n) => {
10294
10293
  const a = n.health?.status?.toLowerCase() ?? "";
@@ -10560,7 +10559,7 @@ const WN = (e, s) => {
10560
10559
  }
10561
10560
  ) : null;
10562
10561
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
10563
- /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center", children: Ya[s] ? /* @__PURE__ */ t.jsx(ut, { size: 20, name: "ic-warning", color: null }) : /* @__PURE__ */ t.jsx(mp, { className: "icon-dim-20 dc__no-shrink scn-7" }) }),
10562
+ /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center", children: Wa[s] ? /* @__PURE__ */ t.jsx(ut, { size: 20, name: "ic-warning", color: null }) : /* @__PURE__ */ t.jsx(mp, { className: "icon-dim-20 dc__no-shrink scn-7" }) }),
10564
10563
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col", children: [
10565
10564
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8", children: [
10566
10565
  /* @__PURE__ */ t.jsxs("div", { className: `flexbox cn-9 ${c}`, children: [
@@ -10599,7 +10598,7 @@ const WN = (e, s) => {
10599
10598
  const l = ui(e);
10600
10599
  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: [
10601
10600
  /* @__PURE__ */ t.jsxs("div", { className: "dc__icon-text-layout", children: [
10602
- /* @__PURE__ */ t.jsx(Ra, { className: `scn-7 ${Cl}` }),
10601
+ /* @__PURE__ */ t.jsx(ja, { className: `scn-7 ${Cl}` }),
10603
10602
  /* @__PURE__ */ t.jsx("time", { className: "cn-9 fs-12 cn-9 fw-4 lh-20", children: l?.triggeredOn ? Er(l.triggeredOn) : "--" }),
10604
10603
  /* @__PURE__ */ t.jsx(qr, { className: `fcn-7 ${Cl}` }),
10605
10604
  /* @__PURE__ */ t.jsx(ne, { content: s, children: /* @__PURE__ */ t.jsx("span", { className: "cn-9 fs-12 fw-4 lh-20 dc__truncate", children: s }) }),
@@ -10968,7 +10967,7 @@ const WN = (e, s) => {
10968
10967
  resourcesOptionsError: r,
10969
10968
  refetchResourcesOptions: o
10970
10969
  };
10971
- }, EC = (e) => fetch(`${ja}/${e}`), xC = () => {
10970
+ }, EC = (e) => fetch(`${La}/${e}`), xC = () => {
10972
10971
  const [e, s] = y(!1);
10973
10972
  return { handleDownload: async ({
10974
10973
  downloadUrl: a,
@@ -11263,8 +11262,8 @@ const WN = (e, s) => {
11263
11262
  targetPlatforms: g,
11264
11263
  children: /* @__PURE__ */ t.jsxs("div", { className: "flex column left hover-trigger", children: [
11265
11264
  /* @__PURE__ */ t.jsxs("div", { className: "cn-9 fs-14 flex left", "data-testid": "artifact-text-visibility", children: [
11266
- Da(s),
11267
- /* @__PURE__ */ t.jsx("div", { className: "pl-4", children: /* @__PURE__ */ t.jsx(Ut, { content: Da(s) }) })
11265
+ ka(s),
11266
+ /* @__PURE__ */ t.jsx("div", { className: "pl-4", children: /* @__PURE__ */ t.jsx(Ut, { content: ka(s) }) })
11268
11267
  ] }),
11269
11268
  /* @__PURE__ */ t.jsxs("div", { className: "cn-7 fs-12 flex left", "data-testid": "artifact-image-text", children: [
11270
11269
  s,
@@ -11366,12 +11365,12 @@ const uO = (e, s, n) => oe(`app/history/deployed-configuration/${e}/${s}/${n}`),
11366
11365
  if (e.external)
11367
11366
  e.externalType ? r.external = {
11368
11367
  displayName: "Data type",
11369
- value: ca[s][e.externalType]
11368
+ value: ua[s][e.externalType]
11370
11369
  } : r.external = {
11371
11370
  displayName: "Data type",
11372
- value: s === "Secret" ? ca[s].KubernetesSecret : ca[s].KubernetesConfigMap
11371
+ value: s === "Secret" ? ua[s].KubernetesSecret : ua[s].KubernetesConfigMap
11373
11372
  };
11374
- else if (r.external = { displayName: "Data type", value: ca[s][""] }, s === "Secret" && n.codeEditorValue.value) {
11373
+ else if (r.external = { displayName: "Data type", value: ua[s][""] }, s === "Secret" && n.codeEditorValue.value) {
11375
11374
  const o = JSON.parse(n.codeEditorValue.value);
11376
11375
  let i = {};
11377
11376
  n.codeEditorValue?.resolvedValue && (i = JSON.parse(n.codeEditorValue.resolvedValue));
@@ -11563,7 +11562,7 @@ const uO = (e, s, n) => oe(`app/history/deployed-configuration/${e}/${s}/${n}`),
11563
11562
  ] })
11564
11563
  ] }), wC = (e) => /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center flex-grow-1 flex-align-center dc__height-inherit dark-background", children: e ? cu() : LC() }), DC = (e, s) => {
11565
11564
  const [n, a] = y([]);
11566
- let r = pa;
11565
+ let r = fa;
11567
11566
  const [o, i] = y(!1), [l, c] = y(1e3), d = q([]), u = q(null);
11568
11567
  function m() {
11569
11568
  a((h) => [...h, ...d.current]), d.current = [];
@@ -11573,23 +11572,23 @@ const uO = (e, s, n) => oe(`app/history/deployed-configuration/${e}/${s}/${n}`),
11573
11572
  u.current && u.current.close && u.current.close();
11574
11573
  }
11575
11574
  function _(h) {
11576
- h.type === "message" && (r = pa, d.current.push(h.data));
11575
+ h.type === "message" && (r = fa, d.current.push(h.data));
11577
11576
  }
11578
11577
  function x() {
11579
- r = pa, d.current = [], a([]);
11578
+ r = fa, d.current = [], a([]);
11580
11579
  }
11581
11580
  function g() {
11582
- r = pa, a((h) => [...h, ...d.current]), d.current = [], u.current.close(), c(null);
11581
+ r = fa, a((h) => [...h, ...d.current]), d.current = [], u.current.close(), c(null);
11583
11582
  }
11584
11583
  function f() {
11585
- d.current = [], u.current = new EventSource(e, { withCredentials: !0 }), u.current.addEventListener(ma.MESSAGE, _), u.current.addEventListener(ma.START_OF_STREAM, x), u.current.addEventListener(ma.END_OF_STREAM, g), u.current.addEventListener(ma.ERROR, E);
11584
+ d.current = [], u.current = new EventSource(e, { withCredentials: !0 }), u.current.addEventListener(_a.MESSAGE, _), u.current.addEventListener(_a.START_OF_STREAM, x), u.current.addEventListener(_a.END_OF_STREAM, g), u.current.addEventListener(_a.ERROR, E);
11586
11585
  }
11587
11586
  function E(h) {
11588
11587
  r -= 1, u.current && u.current.close(), r > 0 ? f() : (i(!0), c(null));
11589
11588
  }
11590
11589
  return U(() => (e && f(), p), [e, s]), [n, u.current, o];
11591
11590
  }, PC = ({ triggerDetails: e, isBlobStorageConfigured: s, parentType: n, fullScreenView: a }) => {
11592
- const { pipelineId: r, envId: o, appId: i } = xt(), l = n === Oe.CI ? `${ja}/${F.CI_CONFIG_GET}/${r}/workflow/${e.id}/logs` : `${ja}/${F.CD_MATERIAL_GET}/workflow/logs/${i}/${o}/${r}/${e.id}`, [c, d, u] = DC(
11591
+ const { pipelineId: r, envId: o, appId: i } = xt(), l = n === Oe.CI ? `${La}/${F.CI_CONFIG_GET}/${r}/workflow/${e.id}/logs` : `${La}/${F.CD_MATERIAL_GET}/workflow/logs/${i}/${o}/${r}/${e.id}`, [c, d, u] = DC(
11593
11592
  e.podStatus && e.podStatus !== Br.PENDING && l
11594
11593
  ), [m, p] = y([]), [_, x] = y([]), [g, f] = y(0), [E, h] = y([]), { searchKey: N, handleSearch: C } = pd(), A = _.length > 0, S = J(() => m.every((H) => H.isOpen), [m]), I = S ? "Collapse all stages" : "Expand all stages", { registerShortcut: R, unregisterShortcut: v } = qn(), T = c[0]?.startsWith(gl) || !1;
11595
11594
  function O({
@@ -11893,7 +11892,7 @@ const uO = (e, s, n) => oe(`app/history/deployed-configuration/${e}/${s}/${n}`),
11893
11892
  renderButton: d
11894
11893
  }
11895
11894
  ) });
11896
- }, Ca = ({
11895
+ }, Ta = ({
11897
11896
  nonDeploymentError: e,
11898
11897
  type: s,
11899
11898
  errorMessage: n,
@@ -12001,14 +12000,14 @@ const uO = (e, s, n) => oe(`app/history/deployed-configuration/${e}/${s}/${n}`),
12001
12000
  )) })
12002
12001
  ] })
12003
12002
  ] });
12004
- }, ht = new ar({}), qt = new ar([]), ba = new ar([]), $r = new ar({});
12003
+ }, ht = new or({}), qt = new or([]), Sa = new or([]), $r = new or({});
12005
12004
  let Ft = {
12006
12005
  filterType: "",
12007
12006
  searchString: ""
12008
12007
  };
12009
12008
  const Sl = () => {
12010
12009
  const e = qt.getValue().filter((s) => !!(!Ft.filterType && !Ft.searchString || Ft.filterType === "ALL" || Ft.filterType.toLowerCase() === s.health?.status?.toLowerCase() || Ft.filterType.toLowerCase() === hr.drifted && s.hasDrift));
12011
- ba.next([...e]);
12010
+ Sa.next([...e]);
12012
12011
  };
12013
12012
  function mi(e, s, n) {
12014
12013
  if (s.some((i) => i.childNodes))
@@ -12094,7 +12093,7 @@ const FC = (e, s) => {
12094
12093
  n,
12095
12094
  n.filter((r) => (r.parentRefs ?? []).length == 0).map((r) => r),
12096
12095
  a
12097
- ), ht.next({ ...e, appType: s }), qt.next([...n]), ba.next([...n]);
12096
+ ), ht.next({ ...e, appType: s }), qt.next([...n]), Sa.next([...n]);
12098
12097
  },
12099
12098
  clearAppDetails() {
12100
12099
  this.publishAppDetails({}, null);
@@ -12103,8 +12102,8 @@ const FC = (e, s) => {
12103
12102
  getAppDetailsObservable: () => ht.asObservable(),
12104
12103
  getAppDetailsNodes: () => qt.getValue(),
12105
12104
  getAppDetailsNodesObservable: () => qt.asObservable(),
12106
- getAppDetailsFilteredNodes: () => ba.getValue(),
12107
- getAppDetailsNodesFilteredObservable: () => ba.asObservable(),
12105
+ getAppDetailsFilteredNodes: () => Sa.getValue(),
12106
+ getAppDetailsNodesFilteredObservable: () => Sa.asObservable(),
12108
12107
  getiNodesByKind: (e) => {
12109
12108
  const s = qt.getValue();
12110
12109
  return BC(s, e);
@@ -12354,7 +12353,7 @@ const FC = (e, s) => {
12354
12353
  ),
12355
12354
  /* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx(VC, { filterRemoveHealth: !0, showFooter: !1 }) })
12356
12355
  ] }), x = () => /* @__PURE__ */ t.jsx(
12357
- Ca,
12356
+ Ta,
12358
12357
  {
12359
12358
  type: W.HELM_MANIFEST_PUSHED_TO_HELM_REPO,
12360
12359
  nonDeploymentError: n.nonDeploymentError,
@@ -12541,7 +12540,7 @@ const GC = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
12541
12540
  )
12542
12541
  ] }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
12543
12542
  /* @__PURE__ */ t.jsx(
12544
- Ca,
12543
+ Ta,
12545
12544
  {
12546
12545
  type: W.GIT_COMMIT,
12547
12546
  nonDeploymentError: e.nonDeploymentError,
@@ -12556,7 +12555,7 @@ const GC = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
12556
12555
  }
12557
12556
  ),
12558
12557
  /* @__PURE__ */ t.jsx(
12559
- Ca,
12558
+ Ta,
12560
12559
  {
12561
12560
  type: W.ARGOCD_SYNC,
12562
12561
  nonDeploymentError: e.nonDeploymentError,
@@ -12571,7 +12570,7 @@ const GC = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
12571
12570
  }
12572
12571
  ),
12573
12572
  /* @__PURE__ */ t.jsx(
12574
- Ca,
12573
+ Ta,
12575
12574
  {
12576
12575
  type: W.KUBECTL_APPLY,
12577
12576
  nonDeploymentError: e.nonDeploymentError,
@@ -12599,7 +12598,7 @@ const GC = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
12599
12598
  )
12600
12599
  ] });
12601
12600
  };
12602
- let _a = null;
12601
+ let ha = null;
12603
12602
  const KC = ({
12604
12603
  deploymentStatus: e,
12605
12604
  deploymentAppType: s,
@@ -12614,7 +12613,7 @@ const KC = ({
12614
12613
  const d = Vs(), { url: u } = Kt(), { appId: m, envId: p, triggerId: _ } = xt(), [x, g] = y(
12615
12614
  e?.toUpperCase() !== W.ABORTED
12616
12615
  ), f = q(i), E = f.current && l ? l() : ol(), [h, N] = y(E), C = () => {
12617
- _a && clearTimeout(_a);
12616
+ ha && clearTimeout(ha);
12618
12617
  }, A = () => {
12619
12618
  vC(m, p, !0, _, n, a).then((v) => {
12620
12619
  e !== "Aborted" && S(v.result);
@@ -12631,9 +12630,9 @@ const KC = ({
12631
12630
  }, [i]);
12632
12631
  const S = (v) => {
12633
12632
  const T = f.current && l ? l(v) : ol(v);
12634
- C(), T.deploymentStatus === me.INPROGRESS ? _a = setTimeout(() => {
12633
+ C(), T.deploymentStatus === me.INPROGRESS ? ha = setTimeout(() => {
12635
12634
  A();
12636
- }, 1e4) : _a = setTimeout(() => {
12635
+ }, 1e4) : ha = setTimeout(() => {
12637
12636
  A();
12638
12637
  }, 3e4), N(T);
12639
12638
  }, I = () => {
@@ -12811,7 +12810,7 @@ const mu = {
12811
12810
  added: fp,
12812
12811
  deleted: hp,
12813
12812
  noDiff: null
12814
- }, fa = {
12813
+ }, ga = {
12815
12814
  hasDiff: "File has difference",
12816
12815
  added: "File has been added",
12817
12816
  deleted: "File has been deleted",
@@ -12849,7 +12848,7 @@ const mu = {
12849
12848
  iconConfig: {
12850
12849
  Icon: d ? Rn[S] : Rn.hasDiff,
12851
12850
  tooltipProps: {
12852
- content: d ? fa[S] : fa.hasDiff,
12851
+ content: d ? ga[S] : ga.hasDiff,
12853
12852
  arrow: !1,
12854
12853
  placement: "right"
12855
12854
  }
@@ -12895,7 +12894,7 @@ const mu = {
12895
12894
  le,
12896
12895
  {
12897
12896
  className: "default-tt",
12898
- content: d ? fa[I] : fa.hasDiff,
12897
+ content: d ? ga[I] : ga.hasDiff,
12899
12898
  arrow: !1,
12900
12899
  placement: "right",
12901
12900
  children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(v, { className: "icon-dim-20 p-2 dc__no-shrink" }) })
@@ -12908,7 +12907,7 @@ const mu = {
12908
12907
  }),
12909
12908
  /* @__PURE__ */ t.jsx(WC, { config: _, tabType: "navLink", onCollapseBtnClick: x }),
12910
12909
  o && /* @__PURE__ */ t.jsxs("div", { className: "mt-8 py-6 px-8 flexbox dc__align-items-center dc__gap-8", children: [
12911
- /* @__PURE__ */ t.jsx("span", { className: "flex p-2 dc__align-self-start", children: i ? /* @__PURE__ */ t.jsx(rr, { className: "icon-dim-16 dc__no-shrink" }) : /* @__PURE__ */ t.jsx(wn, { className: "icon-dim-16 fcn-7 dc__no-shrink" }) }),
12910
+ /* @__PURE__ */ t.jsx("span", { className: "flex p-2 dc__align-self-start", children: i ? /* @__PURE__ */ t.jsx(ir, { className: "icon-dim-16 dc__no-shrink" }) : /* @__PURE__ */ t.jsx(wn, { className: "icon-dim-16 fcn-7 dc__no-shrink" }) }),
12912
12911
  /* @__PURE__ */ t.jsx("p", { className: `m-0 fs-12 lh-1-5 ${i ? "cr-5" : "cn-9"}`, children: o })
12913
12912
  ] })
12914
12913
  ] }), N = () => e ? ["90", "70", "50"].map((C) => /* @__PURE__ */ t.jsx(zC, { width: C }, C)) : c?.error ? /* @__PURE__ */ t.jsxs("div", { className: "mt-8 py-6 px-8 flexbox dc__align-items-center dc__gap-8", children: [
@@ -13379,7 +13378,7 @@ const mu = {
13379
13378
  value: ds(l, o)
13380
13379
  };
13381
13380
  return { compareToCodeEditorData: c, compareWithCodeEditorData: d };
13382
- }, Ta = (e, s) => {
13381
+ }, va = (e, s) => {
13383
13382
  const n = !!e.codeEditorValue.value, a = !!s.codeEditorValue.value;
13384
13383
  return !n && a ? It.DELETED : n && !a ? It.ADDED : Ln(e, s) ? It.NO_DIFF : It.HAS_DIFF;
13385
13384
  }, jl = (e, s) => {
@@ -13408,7 +13407,7 @@ const mu = {
13408
13407
  return {
13409
13408
  compareToDiff: d,
13410
13409
  compareWithDiff: u,
13411
- diffState: Ta(
13410
+ diffState: va(
13412
13411
  jl(e, d),
13413
13412
  jl(s, u)
13414
13413
  )
@@ -13443,7 +13442,7 @@ const mu = {
13443
13442
  { ...e || {}, strategy: e?.Strategy, codeEditorValue: n },
13444
13443
  Ct.PIPELINE_STRATEGY.VALUE
13445
13444
  );
13446
- }, Ka = (e, s) => {
13445
+ }, za = (e, s) => {
13447
13446
  let n = !1, a = !1, r = !1;
13448
13447
  if (!e)
13449
13448
  n = !0;
@@ -13461,7 +13460,7 @@ const mu = {
13461
13460
  /* @__PURE__ */ t.jsx(gp, { className: "icon-dim-16 dc__no-shrink" }),
13462
13461
  /* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-6 cv-5", children: "Approval pending" })
13463
13462
  ] }) : /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8 ", children: [
13464
- /* @__PURE__ */ t.jsx(ir, { className: "scn-9 icon-dim-16" }),
13463
+ /* @__PURE__ */ t.jsx(cr, { className: "scn-9 icon-dim-16" }),
13465
13464
  /* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-6 cn-9", children: "Published" })
13466
13465
  ] });
13467
13466
  }, Dl = (e, s) => {
@@ -13497,11 +13496,11 @@ const mu = {
13497
13496
  title: `${n === Pt.ConfigMap ? "ConfigMap" : "Secret"} / ${d?.name || u?.name}`,
13498
13497
  name: d?.name || u?.name,
13499
13498
  primaryConfig: {
13500
- heading: Ka(u),
13499
+ heading: za(u),
13501
13500
  list: p
13502
13501
  },
13503
13502
  secondaryConfig: {
13504
- heading: Ka(d),
13503
+ heading: za(d),
13505
13504
  list: m
13506
13505
  },
13507
13506
  diffState: _,
@@ -13580,14 +13579,14 @@ const mu = {
13580
13579
  pathType: et.DeploymentTemplate,
13581
13580
  title: "Deployment Template",
13582
13581
  primaryConfig: {
13583
- heading: Ka(f.deploymentTemplate, !0),
13582
+ heading: za(f.deploymentTemplate, !0),
13584
13583
  list: h
13585
13584
  },
13586
13585
  secondaryConfig: {
13587
- heading: Ka(g.deploymentTemplate, !0),
13586
+ heading: za(g.deploymentTemplate, !0),
13588
13587
  list: E
13589
13588
  },
13590
- diffState: Ta(E, h)
13589
+ diffState: va(E, h)
13591
13590
  };
13592
13591
  let C, A, S;
13593
13592
  (g.pipelineConfigData || f.pipelineConfigData) && (C = wl(g.pipelineConfigData, l), A = wl(
@@ -13605,7 +13604,7 @@ const mu = {
13605
13604
  heading: null,
13606
13605
  list: C
13607
13606
  },
13608
- diffState: Ta(C, A)
13607
+ diffState: va(C, A)
13609
13608
  });
13610
13609
  const I = Pl(
13611
13610
  g.configMapData,
@@ -13695,7 +13694,7 @@ const mu = {
13695
13694
  heading: /* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-6 cn-9", children: "Generated Manifest" }),
13696
13695
  list: u
13697
13696
  },
13698
- diffState: Ta(u, m),
13697
+ diffState: va(u, m),
13699
13698
  singleView: !0
13700
13699
  }, _ = [p], x = [
13701
13700
  {
@@ -13753,7 +13752,7 @@ const mu = {
13753
13752
  selected: e,
13754
13753
  color: e ? "var(--B300)" : "var(--N200)",
13755
13754
  onSelect: s,
13756
- Icon: lr,
13755
+ Icon: dr,
13757
13756
  disabled: n,
13758
13757
  rootClassName: "dc__toggle-square-toggle",
13759
13758
  throttleOnChange: r,
@@ -13825,7 +13824,7 @@ const mu = {
13825
13824
  style: ke.neutral,
13826
13825
  size: w.small,
13827
13826
  startIcon: C ? /* @__PURE__ */ t.jsx(
13828
- or,
13827
+ lr,
13829
13828
  {
13830
13829
  className: "rotate",
13831
13830
  style: {
@@ -14185,7 +14184,7 @@ const mu = {
14185
14184
  resourceId: i,
14186
14185
  renderRunSource: l
14187
14186
  }) => {
14188
- const { path: c, params: d } = Kt(), { pathname: u, search: m } = Ss(), { isSuperAdmin: p } = ea(), _ = J(() => hu(r), [r]), { currentWfrId: x, previousWfrId: g } = J(
14187
+ const { path: c, params: d } = Kt(), { pathname: u, search: m } = Ss(), { isSuperAdmin: p } = sa(), _ = J(() => hu(r), [r]), { currentWfrId: x, previousWfrId: g } = J(
14189
14188
  () => mb({ pipelineDeployments: _, wfrId: a }),
14190
14189
  [_, a]
14191
14190
  ), f = !!g, E = pd({
@@ -14290,7 +14289,7 @@ const mu = {
14290
14289
  gi,
14291
14290
  {
14292
14291
  classname: "error_bar cn-9 fs-13 lh-20",
14293
- Icon: rr,
14292
+ Icon: ir,
14294
14293
  message: "Diff unavailable: Configurations for previous deployment not found."
14295
14294
  }
14296
14295
  )
@@ -14389,7 +14388,7 @@ const mu = {
14389
14388
  selected: l,
14390
14389
  color: "var(--B500)",
14391
14390
  onSelect: _,
14392
- Icon: lr
14391
+ Icon: dr
14393
14392
  }
14394
14393
  ) }) }) })
14395
14394
  ]
@@ -14433,7 +14432,7 @@ const mu = {
14433
14432
  type: "button",
14434
14433
  className: `dc__outline-none-imp p-0 flex dc__transparent--unstyled dc__no-border ${r}`,
14435
14434
  onClick: m,
14436
- children: /* @__PURE__ */ t.jsx(ne, { content: s, alwaysShowTippyOnHover: !0, visible: i, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: i ? /* @__PURE__ */ t.jsx(ir, { className: p }) : /* @__PURE__ */ t.jsx(e_, { className: p }) }) })
14435
+ children: /* @__PURE__ */ t.jsx(ne, { content: s, alwaysShowTippyOnHover: !0, visible: i, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: i ? /* @__PURE__ */ t.jsx(cr, { className: p }) : /* @__PURE__ */ t.jsx(e_, { className: p }) }) })
14437
14436
  }
14438
14437
  ) });
14439
14438
  }, Eb = (e) => e.includes(ct.GITHUB) ? "ic-github" : e.includes(ct.GITLAB) ? "ic-gitlab" : e.includes(ct.BITBUCKET) ? "ic-bitbucket" : "ic-git", xb = ({
@@ -14513,7 +14512,7 @@ const mu = {
14513
14512
  u.data.author
14514
14513
  ] }) : null,
14515
14514
  R ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__text lh-20 flex left dc__gap-8 w-100", children: [
14516
- /* @__PURE__ */ t.jsx(Ra, { className: "icon-dim-16 scn-7" }),
14515
+ /* @__PURE__ */ t.jsx(ja, { className: "icon-dim-16 scn-7" }),
14517
14516
  /* @__PURE__ */ t.jsx("time", { className: "cn-7 fs-12", children: R })
14518
14517
  ] }) : null,
14519
14518
  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: [
@@ -14563,7 +14562,7 @@ const mu = {
14563
14562
  /* @__PURE__ */ t.jsx("span", { className: "git-commit-info-generic__copy dc__visibility-hidden p-2", "data-testid": "git-commit-copy", children: /* @__PURE__ */ t.jsx(Ut, { content: I }) })
14564
14563
  ] });
14565
14564
  }, h = (I) => /* @__PURE__ */ t.jsxs("div", { className: "commit-hash px-6 dc__w-fit-content dc__gap-4 fs-13", children: [
14566
- /* @__PURE__ */ t.jsx(tr, { className: "icon-dim-14 scb-5" }),
14565
+ /* @__PURE__ */ t.jsx(nr, { className: "icon-dim-14 scb-5" }),
14567
14566
  I
14568
14567
  ] }), N = () => a ? c.isselected ? /* @__PURE__ */ t.jsx(bi, { className: "dc__align-right icon-dim-20" }) : /* @__PURE__ */ t.jsx(Ci, { "data-testid": "valid-git-commit icon-dim-20" }) : null, C = () => /* @__PURE__ */ t.jsxs("div", { className: "flex column left dc__gap-8", children: [
14569
14568
  /* @__PURE__ */ t.jsxs("div", { className: "flex dc__content-space w-100", children: [
@@ -14647,7 +14646,7 @@ const mu = {
14647
14646
  ] })
14648
14647
  ] }) : null,
14649
14648
  c.date ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__text lh-20 flex left dc__gap-8", children: [
14650
- /* @__PURE__ */ t.jsx(Ra, { className: "icon-dim-16 scn-7" }),
14649
+ /* @__PURE__ */ t.jsx(ja, { className: "icon-dim-16 scn-7" }),
14651
14650
  /* @__PURE__ */ t.jsx("span", { className: "lh-20", children: Le(c.date).format(Tt.TWELVE_HOURS_FORMAT) })
14652
14651
  ] }) : null
14653
14652
  ] })
@@ -14738,7 +14737,7 @@ const mu = {
14738
14737
  subTitle: Ge.DEVTRON_APP_DEPLOYMENT_HISTORY_SOURCE_CODE.SUBTITLE
14739
14738
  }
14740
14739
  );
14741
- const N = Da(n);
14740
+ const N = ka(n);
14742
14741
  return /* @__PURE__ */ t.jsxs("div", { className: "history-component__wrapper flex column left w-100 p-16 dc__gap-12", children: [
14743
14742
  s?.map((C, A) => {
14744
14743
  const S = e[C.id];
@@ -15013,7 +15012,7 @@ const Tb = (e) => {
15013
15012
  onClick: fe,
15014
15013
  children: [
15015
15014
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-16 p-20", children: [
15016
- Ia(E, {
15015
+ ya(E, {
15017
15016
  className: `${E.props?.className ?? ""} icon-dim-48 dc__no-shrink`
15018
15017
  }),
15019
15018
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-8", children: [
@@ -16068,7 +16067,7 @@ const Tb = (e) => {
16068
16067
  }, Gb = Object.entries(Bb).map(([e, s]) => ({
16069
16068
  label: e,
16070
16069
  value: s
16071
- })), Sa = Object.entries($b).map(
16070
+ })), Aa = Object.entries($b).map(
16072
16071
  ([e, s]) => ({
16073
16072
  label: e,
16074
16073
  value: s
@@ -16123,7 +16122,7 @@ const Tb = (e) => {
16123
16122
  {
16124
16123
  inputId: ks.TIME,
16125
16124
  placeholder: "12:00 AM",
16126
- options: Sa,
16125
+ options: Aa,
16127
16126
  isSearchable: !1,
16128
16127
  isDisabled: e,
16129
16128
  ...n,
@@ -16150,7 +16149,7 @@ const Tb = (e) => {
16150
16149
  openDirection: p = "down",
16151
16150
  error: _ = ""
16152
16151
  }) => {
16153
- const x = Yb(e), g = Sa.find((I) => I.value === x) ?? Sa[0], [f, E] = y(!1), h = ({ focused: I }) => {
16152
+ const x = Yb(e), g = Aa.find((I) => I.value === x) ?? Aa[0], [f, E] = y(!1), h = ({ focused: I }) => {
16154
16153
  E(I);
16155
16154
  }, N = (I) => {
16156
16155
  s(Wb(e, I?.toDate()));
@@ -16176,7 +16175,7 @@ const Tb = (e) => {
16176
16175
  withFullScreenPortal: !1,
16177
16176
  orientation: "horizontal",
16178
16177
  readOnly: c || !1,
16179
- customInputIcon: /* @__PURE__ */ t.jsx(Ra, { className: "icon-dim-20 scn-6" }),
16178
+ customInputIcon: /* @__PURE__ */ t.jsx(ja, { className: "icon-dim-20 scn-6" }),
16180
16179
  inputIconPosition: "after",
16181
16180
  displayFormat: Tt.DD_MMM_YYYY,
16182
16181
  "data-testid": m,
@@ -16190,7 +16189,7 @@ const Tb = (e) => {
16190
16189
  {
16191
16190
  inputId: ks.TIME,
16192
16191
  placeholder: Fb.DEFAULT_TIME,
16193
- options: Sa,
16192
+ options: Aa,
16194
16193
  icon: /* @__PURE__ */ t.jsx(Oo, { className: "icon-dim-20 fcn-6" }),
16195
16194
  isSearchable: !1,
16196
16195
  hideSelectedOptions: !0,
@@ -17087,7 +17086,7 @@ const jO = {
17087
17086
  children: [
17088
17087
  D,
17089
17088
  /* @__PURE__ */ t.jsx(
17090
- or,
17089
+ lr,
17091
17090
  {
17092
17091
  className: "icon-dim-16 dc__no-shrink scn-7 rotate cursor",
17093
17092
  style: {
@@ -17115,7 +17114,7 @@ const jO = {
17115
17114
  disabled: I,
17116
17115
  onClick: ae,
17117
17116
  children: [
17118
- /* @__PURE__ */ t.jsx(nr, { className: "icon-dim-12 fcb-5 dc__no-shrink" }),
17117
+ /* @__PURE__ */ t.jsx(rr, { className: "icon-dim-12 fcb-5 dc__no-shrink" }),
17119
17118
  /* @__PURE__ */ t.jsx("span", { className: "cb-5 fs-12 fw-6 lh-20", children: "Add" })
17120
17119
  ]
17121
17120
  }
@@ -17333,7 +17332,7 @@ const jO = {
17333
17332
  o
17334
17333
  )) }),
17335
17334
  n || null
17336
- ] }), Vl = 2 * 1024 * 1024, Wa = {
17335
+ ] }), Vl = 2 * 1024 * 1024, qa = {
17337
17336
  width: 72,
17338
17337
  height: 72
17339
17338
  }, Gl = "Please provide image URL to preview", vu = "edit-image-form-field__figure-container--base-image", ET = ({ showEditIcon: e, defaultIcon: s }) => /* @__PURE__ */ t.jsx(
@@ -17341,8 +17340,8 @@ const jO = {
17341
17340
  {
17342
17341
  className: `flex dc__align-self-start dc__no-shrink br-4 edit-image-form-field__fallback-image p-12 ${e ? vu : ""}`,
17343
17342
  style: {
17344
- height: Wa.height,
17345
- width: Wa.width
17343
+ height: qa.height,
17344
+ width: qa.width
17346
17345
  },
17347
17346
  children: s
17348
17347
  }
@@ -17414,8 +17413,8 @@ const jO = {
17414
17413
  imageProps: {
17415
17414
  alt: l,
17416
17415
  src: c,
17417
- height: Wa.height,
17418
- width: Wa.width,
17416
+ height: qa.height,
17417
+ width: qa.width,
17419
17418
  className: `br-4 dc__no-shrink ${T || ""}`
17420
17419
  },
17421
17420
  fallbackImage: /* @__PURE__ */ t.jsx(ET, { defaultIcon: e, showEditIcon: v })
@@ -17474,7 +17473,7 @@ const jO = {
17474
17473
  onClick: f,
17475
17474
  children: [
17476
17475
  R(!0, vu),
17477
- /* @__PURE__ */ t.jsx("div", { className: "flex p-4 br-4 bg__primary dc__border edit-image-form-field__figure-container--edit-image-icon dc__zi-1 bg__primary dc__hover-n50 icon-dim-24", children: /* @__PURE__ */ t.jsx(sr, { className: "dc__no-shrink icon-dim-16" }) })
17476
+ /* @__PURE__ */ t.jsx("div", { className: "flex p-4 br-4 bg__primary dc__border edit-image-form-field__figure-container--edit-image-icon dc__zi-1 bg__primary dc__hover-n50 icon-dim-24", children: /* @__PURE__ */ t.jsx(ar, { className: "dc__no-shrink icon-dim-16" }) })
17478
17477
  ]
17479
17478
  }
17480
17479
  );
@@ -17578,7 +17577,7 @@ const Cr = ({
17578
17577
  children: [
17579
17578
  h,
17580
17579
  /* @__PURE__ */ t.jsx(
17581
- or,
17580
+ lr,
17582
17581
  {
17583
17582
  className: "icon-dim-16 dc__no-shrink scn-7 rotate cursor",
17584
17583
  style: {
@@ -17605,7 +17604,7 @@ const Cr = ({
17605
17604
  dataTestId: "data-table-add-row-button",
17606
17605
  ariaLabel: "Add",
17607
17606
  onClick: a,
17608
- icon: /* @__PURE__ */ t.jsx(nr, {}),
17607
+ icon: /* @__PURE__ */ t.jsx(rr, {}),
17609
17608
  variant: ve.borderLess,
17610
17609
  size: w.xs,
17611
17610
  showAriaLabelInTippy: !1
@@ -17649,7 +17648,7 @@ function yT({ isCreateApp: e }) {
17649
17648
  return /* @__PURE__ */ t.jsx(
17650
17649
  sd,
17651
17650
  {
17652
- theme: cr.white,
17651
+ theme: ur.white,
17653
17652
  className: "w-300",
17654
17653
  placement: "left",
17655
17654
  Icon: yn,
@@ -18585,7 +18584,7 @@ const wT = (e) => {
18585
18584
  /* @__PURE__ */ t.jsx("audio", { hidden: !0, ref: n, src: Hp })
18586
18585
  ] });
18587
18586
  }, ju = ge.createContext(null);
18588
- function ta() {
18587
+ function na() {
18589
18588
  const e = ge.useContext(ju);
18590
18589
  if (!e)
18591
18590
  throw new Error("Select compound components cannot be rendered outside the Toggle component");
@@ -18663,7 +18662,7 @@ const Vt = ({
18663
18662
  name: i = "",
18664
18663
  rootClassName: l = ""
18665
18664
  }) => {
18666
- const { selected: c, searchString: d, valueComparator: u, handleClick: m } = ta();
18665
+ const { selected: c, searchString: d, valueComparator: u, handleClick: m } = na();
18667
18666
  return o = o || c === n, typeof n == "object" && (o = o || u(n)), i.includes(d) ? /* @__PURE__ */ t.jsx(
18668
18667
  "div",
18669
18668
  {
@@ -18687,7 +18686,7 @@ const Vt = ({
18687
18686
  arrowAsset: r = "",
18688
18687
  hideArrow: o = !1
18689
18688
  }) => {
18690
- const { popupOpen: i, loading: l } = ta();
18689
+ const { popupOpen: i, loading: l } = na();
18691
18690
  return /* @__PURE__ */ t.jsxs(
18692
18691
  "div",
18693
18692
  {
@@ -18708,7 +18707,7 @@ const Vt = ({
18708
18707
  }
18709
18708
  );
18710
18709
  }, VT = ({ placeholder: e = "search", style: s = {}, inputStyle: n = {}, rootClassName: a = "" }) => {
18711
- const { searchString: r, search: o } = ta();
18710
+ const { searchString: r, search: o } = na();
18712
18711
  return /* @__PURE__ */ t.jsxs(
18713
18712
  "div",
18714
18713
  {
@@ -18733,7 +18732,7 @@ const Vt = ({
18733
18732
  }
18734
18733
  );
18735
18734
  }, Du = ({ api: e }) => {
18736
- const { loading: s, setLoading: n } = ta();
18735
+ const { loading: s, setLoading: n } = na();
18737
18736
  return U(() => {
18738
18737
  async function a() {
18739
18738
  n(!0);
@@ -18748,7 +18747,7 @@ const Vt = ({
18748
18747
  a();
18749
18748
  }, []), null;
18750
18749
  }, GT = ({ rootClassName: e = "", style: s = {} }) => {
18751
- const { handleClick: n } = ta();
18750
+ const { handleClick: n } = na();
18752
18751
  return /* @__PURE__ */ t.jsx(
18753
18752
  "div",
18754
18753
  {
@@ -18785,7 +18784,7 @@ const Pu = (e, s) => e || (s === Mt.dark ? $n.vsDarkDT : $n.vs), YT = (e, s) =>
18785
18784
  default:
18786
18785
  return e;
18787
18786
  }
18788
- }, za = (e, s, n) => {
18787
+ }, Xa = (e, s, n) => {
18789
18788
  let a = null;
18790
18789
  try {
18791
18790
  a = JSON.parse(e);
@@ -18818,8 +18817,8 @@ const Pu = (e, s) => e || (s === Mt.dark ? $n.vsDarkDT : $n.vs), YT = (e, s) =>
18818
18817
  }) => ({
18819
18818
  mode: e,
18820
18819
  theme: Pu(s, l),
18821
- code: o ? n : za(n, e, i),
18822
- defaultCode: o ? a : za(a, e, i),
18820
+ code: o ? n : Xa(n, e, i),
18821
+ defaultCode: o ? a : Xa(a, e, i),
18823
18822
  diffMode: r,
18824
18823
  noParsing: [gs.JSON, gs.YAML].includes(e) ? o : !0
18825
18824
  }), ku = ge.createContext(null);
@@ -18956,12 +18955,12 @@ const WT = 100, Wt = ge.memo(
18956
18955
  const D = (K, Ue) => {
18957
18956
  G({ type: "setCode", value: K }), G({ type: "setDefaultCode", value: Ue }), de.current?.(K, Ue);
18958
18957
  };
18959
- Ja(() => {
18958
+ Qa(() => {
18960
18959
  if (n) {
18961
18960
  D(e, a);
18962
18961
  return;
18963
18962
  }
18964
- e !== B.code && D(za(e, B.mode, o), za(a, B.mode, o));
18963
+ e !== B.code && D(Xa(e, B.mode, o), Xa(a, B.mode, o));
18965
18964
  }, [e, a, n]), U(() => {
18966
18965
  G({ type: "setDiff", value: p });
18967
18966
  }, [p]), U(() => {
@@ -19125,7 +19124,7 @@ Wt.Header = zT;
19125
19124
  Wt.Warning = ZT;
19126
19125
  Wt.ErrorBar = QT;
19127
19126
  Wt.Information = eS;
19128
- const qa = "Please provide valid YAML", Nn = {
19127
+ const Ja = "Please provide valid YAML", Nn = {
19129
19128
  BOTH_STORE_AVAILABLE: "Please use either secretStore or secretStoreRef",
19130
19129
  CHECK_KEY_SECRET_KEY: "Please check key and secretKey",
19131
19130
  BOTH_STORE_UNAVAILABLE: "Please provide secretStore or secretStoreRef",
@@ -19135,7 +19134,7 @@ const qa = "Please provide valid YAML", Nn = {
19135
19134
  }, aS = [
19136
19135
  { value: "", label: "Kubernetes ConfigMap" },
19137
19136
  { value: Re.KubernetesConfigMap, label: "Kubernetes External ConfigMap" }
19138
- ], Fn = [{ k: "", v: "", id: 0 }], Xa = {
19137
+ ], Fn = [{ k: "", v: "", id: 0 }], Za = {
19139
19138
  environment: { title: "Environment Variable", value: "environment" },
19140
19139
  volume: { title: "Data Volume", value: "volume" }
19141
19140
  }, rS = (e, s) => {
@@ -19191,7 +19190,7 @@ const qa = "Please provide valid YAML", Nn = {
19191
19190
  configMapSecretData: e,
19192
19191
  cmSecretStateLabel: s,
19193
19192
  isSecret: n
19194
- }) => e.mergeStrategy === qo.PATCH ? e.patchData ? Gr(e.patchData, n && e.externalType === "") : Fn : e.data ? Gr(e.data, n && e.externalType === "") : s === dr.INHERITED && e.defaultData ? Gr(e.defaultData, n && e.externalType === "") : Fn, iS = ({
19193
+ }) => e.mergeStrategy === qo.PATCH ? e.patchData ? Gr(e.patchData, n && e.externalType === "") : Fn : e.data ? Gr(e.data, n && e.externalType === "") : s === mr.INHERITED && e.defaultData ? Gr(e.defaultData, n && e.externalType === "") : Fn, iS = ({
19195
19194
  data: e,
19196
19195
  esoSubPath: s,
19197
19196
  external: n,
@@ -19235,7 +19234,7 @@ const qa = "Please provide valid YAML", Nn = {
19235
19234
  isSecret: i,
19236
19235
  external: c ?? !1,
19237
19236
  externalType: d ?? Re.Internal,
19238
- selectedType: u ?? Xa.environment.value,
19237
+ selectedType: u ?? Za.environment.value,
19239
19238
  isFilePermissionChecked: !!f,
19240
19239
  isSubPathChecked: !!_,
19241
19240
  filePermission: f ?? "",
@@ -19253,7 +19252,7 @@ const qa = "Please provide valid YAML", Nn = {
19253
19252
  yaml: null
19254
19253
  };
19255
19254
  if (s) {
19256
- const C = e || c ? qo.REPLACE : o, A = s.mergeStrategy || (n === dr.INHERITED ? C : null), S = oS({
19255
+ const C = e || c ? qo.REPLACE : o, A = s.mergeStrategy || (n === mr.INHERITED ? C : null), S = oS({
19257
19256
  configMapSecretData: { ...s, mergeStrategy: A },
19258
19257
  cmSecretStateLabel: n,
19259
19258
  isSecret: i
@@ -19328,7 +19327,7 @@ const qa = "Please provide valid YAML", Nn = {
19328
19327
  },
19329
19328
  {
19330
19329
  displayName: "Mount data as",
19331
- value: Xa[x].title,
19330
+ value: Za[x].title,
19332
19331
  key: "mountDataAs"
19333
19332
  },
19334
19333
  {
@@ -19338,7 +19337,7 @@ const qa = "Please provide valid YAML", Nn = {
19338
19337
  },
19339
19338
  {
19340
19339
  displayName: "Set Sub Path",
19341
- value: Xa[x].value === "volume" && (m ? "True" : "False") || "",
19340
+ value: Za[x].value === "volume" && (m ? "True" : "False") || "",
19342
19341
  key: "setSubPath"
19343
19342
  },
19344
19343
  {
@@ -19450,7 +19449,7 @@ const qa = "Please provide valid YAML", Nn = {
19450
19449
  template: C.template
19451
19450
  }, N.roleARN = p, x && a && (N.esoSubPath = a.replace(/\s+/g, "").split(",")));
19452
19451
  }
19453
- if (u === Xa.volume.value && (N.mountPath = _, N.subPath = x, m && (N.filePermission = c.length === 3 ? `0${c}` : `${c}`), x && (e && n === Re.KubernetesSecret || !e && s))) {
19452
+ if (u === Za.volume.value && (N.mountPath = _, N.subPath = x, m && (N.filePermission = c.length === 3 ? `0${c}` : `${c}`), x && (e && n === Re.KubernetesSecret || !e && s))) {
19454
19453
  const C = a.replace(/\s+/g, "").split(","), A = {};
19455
19454
  C.forEach((S) => {
19456
19455
  A[S] = "";
@@ -19548,13 +19547,13 @@ const qa = "Please provide valid YAML", Nn = {
19548
19547
  // The generated error message (if any).
19549
19548
  };
19550
19549
  }
19551
- throw new Error(qa);
19550
+ throw new Error(Ja);
19552
19551
  } catch (s) {
19553
19552
  return {
19554
19553
  // Always return false when an error occurs.
19555
19554
  isValid: () => !1,
19556
19555
  // Display a parsing error.
19557
- message: s.name === "YAMLParseError" ? s.message.replace(/[\s]+/g, " ") : qa
19556
+ message: s.name === "YAMLParseError" ? s.message.replace(/[\s]+/g, " ") : Ja
19558
19557
  };
19559
19558
  }
19560
19559
  }, fS = (e) => {
@@ -19582,14 +19581,14 @@ const qa = "Please provide valid YAML", Nn = {
19582
19581
  }
19583
19582
  };
19584
19583
  }
19585
- throw new Error(qa);
19584
+ throw new Error(Ja);
19586
19585
  } catch (s) {
19587
19586
  return {
19588
19587
  custom: {
19589
19588
  // Always return false when an error occurs.
19590
19589
  isValid: () => !1,
19591
19590
  // Display a parsing error message.
19592
- message: s.name === "YAMLParseError" ? s.message.replace(/[\s]+/g, " ") : qa
19591
+ message: s.name === "YAMLParseError" ? s.message.replace(/[\s]+/g, " ") : Ja
19593
19592
  }
19594
19593
  };
19595
19594
  }
@@ -19834,7 +19833,7 @@ const qa = "Please provide valid YAML", Nn = {
19834
19833
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__content-center dc__align-start flex-grow-1 dc__no-shrink", children: [
19835
19834
  /* @__PURE__ */ t.jsxs("div", { className: "flex center dc__gap-4", children: [
19836
19835
  /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-6 lh-20 dc__align-self-stretch", children: "Scoped variables" }),
19837
- /* @__PURE__ */ t.jsx(lr, { className: "icon-dim-16 scn-7" })
19836
+ /* @__PURE__ */ t.jsx(dr, { className: "icon-dim-16 scn-7" })
19838
19837
  ] }),
19839
19838
  /* @__PURE__ */ t.jsx("p", { className: "dc__align-self-stretch cn-7 fs-12 fw-1 lh-20", children: "Use variable to set dynamic value" })
19840
19839
  ] }),
@@ -19866,7 +19865,7 @@ const qa = "Please provide valid YAML", Nn = {
19866
19865
  placeholder: "Search variables",
19867
19866
  containerClass: "flexbox flex-grow-1 pt-8 pb-8 pl-10 pr-10 dc__gap-8 dc__align-self-stretch dc__align-items-center bg__secondary dc__border dc__border-radius-4-imp focus-within-border-b5 dc__hover-border-n300",
19868
19867
  inputClass: "flex-grow-1 dc__no-border dc__outline-none-imp bg__secondary lh-20 fs-13 cn-9 fw-4 p-0 placeholder-cn5",
19869
- Icon: ya,
19868
+ Icon: Oa,
19870
19869
  iconClass: "icon-dim-16",
19871
19870
  clearSearch: c
19872
19871
  }
@@ -19989,7 +19988,7 @@ const qa = "Please provide valid YAML", Nn = {
19989
19988
  T.y < 0 || T.x < 0 || T.x + (h.current?.getBoundingClientRect().width || 0) > E.width || T.y + (h.current?.getBoundingClientRect().height || 0) > E.height || (p(v), u(v));
19990
19989
  };
19991
19990
  return l ? /* @__PURE__ */ t.jsx(
19992
- Aa,
19991
+ Ra,
19993
19992
  {
19994
19993
  bounds: r,
19995
19994
  handle: ".handle-drag",
@@ -20020,7 +20019,7 @@ const qa = "Please provide valid YAML", Nn = {
20020
20019
  )
20021
20020
  }
20022
20021
  ) : /* @__PURE__ */ t.jsx(
20023
- Aa,
20022
+ Ra,
20024
20023
  {
20025
20024
  bounds: r,
20026
20025
  handle: ".handle-drag",
@@ -20043,7 +20042,7 @@ const qa = "Please provide valid YAML", Nn = {
20043
20042
  type: "button",
20044
20043
  onClick: C,
20045
20044
  "data-testid": "activate-suggestions",
20046
- children: /* @__PURE__ */ t.jsx(lr, { className: "scn-0 icon-dim-20" })
20045
+ children: /* @__PURE__ */ t.jsx(dr, { className: "scn-0 icon-dim-20" })
20047
20046
  }
20048
20047
  ) })
20049
20048
  ]
@@ -20054,11 +20053,11 @@ const qa = "Please provide valid YAML", Nn = {
20054
20053
  }, HO = mt(SS), Bu = (e, s, n, a, r) => {
20055
20054
  const o = e.lastIndex;
20056
20055
  Promise.resolve(s[o]()).then((i) => {
20057
- e.results[o] = { status: ga.FULFILLED, value: i };
20056
+ e.results[o] = { status: xa.FULFILLED, value: i };
20058
20057
  }).catch((i) => {
20059
- e.results[o] = { status: ga.REJECTED, reason: i };
20058
+ e.results[o] = { status: xa.REJECTED, reason: i };
20060
20059
  }).finally(() => {
20061
- if (r && e.results[o].status === ga.REJECTED) {
20060
+ if (r && e.results[o].status === xa.REJECTED) {
20062
20061
  a(e.results[o].reason);
20063
20062
  return;
20064
20063
  }
@@ -20113,10 +20112,10 @@ class ql {
20113
20112
  Progressing: 0,
20114
20113
  Pending: 0
20115
20114
  });
20116
- aa(this, nn, !1);
20117
- aa(this, an, !1);
20115
+ oa(this, nn, !1);
20116
+ oa(this, an, !1);
20118
20117
  ue(this, "updateStatus", (s, n) => {
20119
- n.status === "Completed" && !Is(this, an) && ra(this, an, !0), n.status === "Failed" && !Is(this, nn) && ra(this, nn, !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;
20118
+ n.status === "Completed" && !Is(this, an) && ia(this, an, !0), n.status === "Failed" && !Is(this, nn) && ia(this, nn, !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;
20120
20119
  });
20121
20120
  ue(this, "addResult", (s) => {
20122
20121
  const n = structuredClone(s), a = this.results.length, r = { ...n, id: a };
@@ -20239,7 +20238,7 @@ const RS = ({
20239
20238
  }
20240
20239
  ),
20241
20240
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 py-8 px-16 dc__align-items-center", children: [
20242
- e ? $a("Progressing") : /* @__PURE__ */ t.jsx(yo, { className: "dc__no-shrink icon-dim-16" }),
20241
+ e ? Va("Progressing") : /* @__PURE__ */ t.jsx(yo, { className: "dc__no-shrink icon-dim-16" }),
20243
20242
  l(a.getResultsStatusCount())
20244
20243
  ] })
20245
20244
  ] }),
@@ -20275,7 +20274,7 @@ const RS = ({
20275
20274
  /* @__PURE__ */ t.jsx(ne, { content: h.name, children: /* @__PURE__ */ t.jsx("span", { className: "dc__word-break", children: h.name }) }),
20276
20275
  h.additionalKeys?.map((A) => /* @__PURE__ */ t.jsx(ne, { content: A.value, children: /* @__PURE__ */ t.jsx("span", { className: "dc__word-break", children: A.value || "-" }) })),
20277
20276
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-6 dc__align-items-center dc__align-self-start", children: [
20278
- h.status !== "Pending" && $a(h.status),
20277
+ h.status !== "Pending" && Va(h.status),
20279
20278
  /* @__PURE__ */ t.jsx("span", { children: h.status })
20280
20279
  ] }),
20281
20280
  /* @__PURE__ */ t.jsx("span", { className: "dc__word-break", children: h.message }),
@@ -20338,7 +20337,7 @@ const RS = ({
20338
20337
  handleModalClose: e,
20339
20338
  operations: s = [],
20340
20339
  getResultsChartSummaryText: n,
20341
- handleReloadDataAfterBulkOperation: a = oa,
20340
+ handleReloadDataAfterBulkOperation: a = la,
20342
20341
  hideResultsDrawer: r = !1,
20343
20342
  textConfig: o,
20344
20343
  shouldSkipConfirmation: i,
@@ -20405,10 +20404,10 @@ const RS = ({
20405
20404
  m(!1);
20406
20405
  }
20407
20406
  };
20408
- U(() => (i && h().then(oa).catch(oa), () => {
20407
+ U(() => (i && h().then(la).catch(la), () => {
20409
20408
  g.current?.abort();
20410
20409
  }), []);
20411
- const N = u ? oa : E, C = async () => {
20410
+ const N = u ? la : E, C = async () => {
20412
20411
  _.current = x.current.getRetryOperations(), x.current = new ql(_.current.length), g.current = new AbortController(), await h();
20413
20412
  }, A = () => {
20414
20413
  g.current.abort();
@@ -20481,7 +20480,7 @@ const RS = ({
20481
20480
  ]
20482
20481
  }
20483
20482
  ) }) });
20484
- }, ha = {
20483
+ }, Ea = {
20485
20484
  ACTION_TEXT: "Select an image source for new workflow",
20486
20485
  ACTION_NOTE: "You can switch between image sources later",
20487
20486
  CHANGE_CI_TEXT: "Change image source",
@@ -20633,8 +20632,8 @@ const RS = ({
20633
20632
  children: [
20634
20633
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col w-250 pt-32 bg__tertiary dc__content-space", children: [
20635
20634
  /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-6 dc__align-self-stretch pt-0 pb-0 pl-24 pr-24", children: [
20636
- /* @__PURE__ */ t.jsx("h2", { className: "m-0 cn-9 fs-16 fw-6 lh-24", children: o ? ha.CHANGE_CI_TEXT : ha.ACTION_TEXT }),
20637
- /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20", children: o ? ha.CHANGE_CI_NOTE : ha.ACTION_NOTE })
20635
+ /* @__PURE__ */ t.jsx("h2", { className: "m-0 cn-9 fs-16 fw-6 lh-24", children: o ? Ea.CHANGE_CI_TEXT : Ea.ACTION_TEXT }),
20636
+ /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20", children: o ? Ea.CHANGE_CI_NOTE : Ea.ACTION_NOTE })
20638
20637
  ] }),
20639
20638
  /* @__PURE__ */ t.jsx(
20640
20639
  "img",
@@ -20808,7 +20807,7 @@ const RS = ({
20808
20807
  success: "bcg-1 eg-2",
20809
20808
  warning: "bcy-1 ey-2"
20810
20809
  }, PS = {
20811
- error: /* @__PURE__ */ t.jsx(rr, {}),
20810
+ error: /* @__PURE__ */ t.jsx(ir, {}),
20812
20811
  help: /* @__PURE__ */ t.jsx(mn, { className: "fcv-5" }),
20813
20812
  information: /* @__PURE__ */ t.jsx(Gs, {}),
20814
20813
  success: /* @__PURE__ */ t.jsx(Mo, {}),
@@ -20920,7 +20919,7 @@ const ec = [
20920
20919
  "var(--G500)",
20921
20920
  "var(--G700)"
20922
20921
  ];
20923
- function sa(e) {
20922
+ function aa(e) {
20924
20923
  let s = 0;
20925
20924
  for (let n = 0; n < e.length; n++)
20926
20925
  s += e.charCodeAt(n);
@@ -20930,7 +20929,7 @@ const QO = (e, s = "") => e ? /* @__PURE__ */ t.jsx(
20930
20929
  "span",
20931
20930
  {
20932
20931
  className: `${s} alphabet-icon__initial fs-13 icon-dim-20 flex cn-0 mr-8 dc__no-shrink`,
20933
- style: { backgroundColor: sa(e) },
20932
+ style: { backgroundColor: aa(e) },
20934
20933
  children: e[0]
20935
20934
  }
20936
20935
  ) : null, eL = (e) => Array.from({ length: e });
@@ -20944,7 +20943,7 @@ const $u = () => {
20944
20943
  }, $S = () => {
20945
20944
  window.open(Uo);
20946
20945
  };
20947
- function Ja(e, s) {
20946
+ function Qa(e, s) {
20948
20947
  const n = ge.useRef(!0);
20949
20948
  ge.useEffect(() => {
20950
20949
  if (!n.current)
@@ -20958,7 +20957,7 @@ function tL(e) {
20958
20957
  "$1"
20959
20958
  ) || null;
20960
20959
  }
20961
- function Za(e, s = !1) {
20960
+ function er(e, s = !1) {
20962
20961
  let n = "";
20963
20962
  try {
20964
20963
  if (e && e.length && e !== Yn) {
@@ -21097,7 +21096,7 @@ function Bt(e, s = [], n = !0, a = { resetOnChange: !0 }) {
21097
21096
  };
21098
21097
  return [r.loading, r.result, r.error, c, d, r.dependencies];
21099
21098
  }
21100
- const rL = (e, s) => e ? Za(e, !0) : s ? "" : "Not deployed", ze = (e, s = {}) => {
21099
+ const rL = (e, s) => e ? er(e, !0) : s ? "" : "Not deployed", ze = (e, s = {}) => {
21101
21100
  const n = new URLSearchParams();
21102
21101
  Object.keys(s).forEach((r) => {
21103
21102
  $c.includes(s[r]) || (Array.isArray(s[r]) ? s[r].forEach((o) => {
@@ -21106,7 +21105,7 @@ const rL = (e, s) => e ? Za(e, !0) : s ? "" : "Not deployed", ze = (e, s = {}) =
21106
21105
  });
21107
21106
  const a = n.toString();
21108
21107
  return e + (a ? `?${a}` : "");
21109
- }, va = cc.bind(window), oL = {
21108
+ }, Ia = cc.bind(window), oL = {
21110
21109
  control: (e, s) => ({
21111
21110
  ...e,
21112
21111
  minHeight: "32px",
@@ -21304,7 +21303,7 @@ const xL = (e = 0) => e > 0 && e < 10 ? `0${e}` : e, WS = (e, s = 300) => {
21304
21303
  const r = Date.now();
21305
21304
  r - n >= s && (n = r, e(...a));
21306
21305
  };
21307
- }, zS = (e, s, n) => e === kt.WEBHOOK ? n === kn.PULL_REQUEST ? /* @__PURE__ */ t.jsx(Do, { className: "scn-6" }) : n === kn.TAG_CREATION ? /* @__PURE__ */ t.jsx(tr, { className: "scn-6" }) : /* @__PURE__ */ t.jsx(Bc, {}) : e === kt.BranchRegex || s ? /* @__PURE__ */ t.jsx(Nf, { className: "fcn-6" }) : /* @__PURE__ */ t.jsx(Nc, { className: "fcn-6" }), Ku = (e) => Us.sanitize(e, {
21306
+ }, zS = (e, s, n) => e === kt.WEBHOOK ? n === kn.PULL_REQUEST ? /* @__PURE__ */ t.jsx(Do, { className: "scn-6" }) : n === kn.TAG_CREATION ? /* @__PURE__ */ t.jsx(nr, { className: "scn-6" }) : /* @__PURE__ */ t.jsx(Bc, {}) : e === kt.BranchRegex || s ? /* @__PURE__ */ t.jsx(Nf, { className: "fcn-6" }) : /* @__PURE__ */ t.jsx(Nc, { className: "fcn-6" }), Ku = (e) => Us.sanitize(e, {
21308
21307
  ADD_TAGS: ["iframe"],
21309
21308
  ADD_ATTR: ["allow", "allowfullscreen", "frameborder", "scrolling"]
21310
21309
  }), NL = (e, s) => {
@@ -21329,7 +21328,7 @@ const xL = (e = 0) => e > 0 && e < 10 ? `0${e}` : e, WS = (e, s = 300) => {
21329
21328
  const n = new TextEncoder().encode(e), a = await window.crypto.subtle.digest("SHA-256", n);
21330
21329
  return Array.from(new Uint8Array(a)).map((r) => r.toString(16).padStart(2, "0")).join("");
21331
21330
  } catch (s) {
21332
- return va(s), null;
21331
+ return Ia(s), null;
21333
21332
  }
21334
21333
  };
21335
21334
  function Vn({ reload: e, className: s = "", heightToDeduct: n = 0 }) {
@@ -21559,7 +21558,7 @@ hi.ButtonGroup = ev;
21559
21558
  const vo = $t({ title: "", isLoading: !1, close: (e) => {
21560
21559
  }, onSave: (e) => {
21561
21560
  } });
21562
- class yL extends er {
21561
+ class yL extends sr {
21563
21562
  constructor(s) {
21564
21563
  super(s), this.escFunction = this.escFunction.bind(this);
21565
21564
  }
@@ -21605,7 +21604,7 @@ class yL extends er {
21605
21604
  );
21606
21605
  }
21607
21606
  }
21608
- class jL extends er {
21607
+ class jL extends sr {
21609
21608
  render() {
21610
21609
  return /* @__PURE__ */ t.jsx(vo.Consumer, { children: (s) => /* @__PURE__ */ t.jsx("button", { type: "submit", className: "cta dc__align-right", tabIndex: this.props.tabIndex, children: s.isLoading ? /* @__PURE__ */ t.jsx($e, {}) : this.props.children }) });
21611
21610
  }
@@ -21758,7 +21757,7 @@ const gi = ({
21758
21757
  {
21759
21758
  className: `search-bar ${c ? "dc__no-border dc__no-background dc__hover-n50" : "bg__secondary en-2 dc__hover-border-n300"} focus-within-border-b5 dc__block w-100 min-w-200 dc__position-rel br-4 bw-1 ${sv(d)}`,
21760
21759
  children: [
21761
- /* @__PURE__ */ t.jsx(ya, { className: "search-bar__icon dc__position-abs icon-color-n6 icon-dim-16" }),
21760
+ /* @__PURE__ */ t.jsx(Oa, { className: "search-bar__icon dc__position-abs icon-color-n6 icon-dim-16" }),
21762
21761
  /* @__PURE__ */ t.jsx(
21763
21762
  "input",
21764
21763
  {
@@ -21802,9 +21801,9 @@ const gi = ({
21802
21801
  ...d
21803
21802
  }) => {
21804
21803
  const [u, m] = ge.useState(e);
21805
- Ja(() => {
21804
+ Qa(() => {
21806
21805
  typeof s == "function" && u !== e && s(u);
21807
- }, [u]), Ja(() => {
21806
+ }, [u]), Qa(() => {
21808
21807
  m(e);
21809
21808
  }, [e]);
21810
21809
  function p(x) {
@@ -21969,7 +21968,7 @@ const em = ({
21969
21968
  Y.key === "Enter" && Y.target.value.trim() && V(Y.target.value.trim());
21970
21969
  }, St = (Y) => {
21971
21970
  Y.target.value && D(Y.target.value), je(Y.target.value);
21972
- }, na = (Y) => {
21971
+ }, ra = (Y) => {
21973
21972
  fe(Y), pe.trim() && V(pe.trim());
21974
21973
  }, Sr = () => {
21975
21974
  let Y = j;
@@ -21996,7 +21995,7 @@ const em = ({
21996
21995
  pe.length > 0 && /* @__PURE__ */ t.jsxs(
21997
21996
  "div",
21998
21997
  {
21999
- onClick: na,
21998
+ onClick: ra,
22000
21999
  className: "dc__position-abs bg__primary flex cursor pt-2 pb-2 pr-4 pl-4 br-2 cn-7 dc__border dc__border-bottom-2",
22001
22000
  style: {
22002
22001
  top: "50%",
@@ -22016,7 +22015,7 @@ const em = ({
22016
22015
  /* @__PURE__ */ t.jsx("div", { className: "form__error", children: O })
22017
22016
  ] }),
22018
22017
  /* @__PURE__ */ t.jsx("div", { className: "flex-wrap mt-8 flex left", children: v?.map((Y, Ce) => /* @__PURE__ */ t.jsx(
22019
- Qa,
22018
+ tr,
22020
22019
  {
22021
22020
  text: Y?.tagName,
22022
22021
  isSoftDeleted: Y?.deleted,
@@ -22086,7 +22085,7 @@ const em = ({
22086
22085
  children: /* @__PURE__ */ t.jsxs("div", { className: "w-100", children: [
22087
22086
  g && /* @__PURE__ */ t.jsx("div", { className: "mb-6 fs-13 lh-20 dc__word-break-all", children: g }),
22088
22087
  /* @__PURE__ */ t.jsx("div", { className: "flex-wrap flex left", children: _?.map((Y, Ce) => /* @__PURE__ */ t.jsx(
22089
- Qa,
22088
+ tr,
22090
22089
  {
22091
22090
  text: Y?.tagName,
22092
22091
  isSoftDeleted: Y?.deleted,
@@ -22109,7 +22108,7 @@ const em = ({
22109
22108
  }
22110
22109
  ),
22111
22110
  /* @__PURE__ */ t.jsx("div", { className: "mt-8 mr-10 icon-dim-16", children: l && /* @__PURE__ */ t.jsx(
22112
- sr,
22111
+ ar,
22113
22112
  {
22114
22113
  className: "icon-dim-16 image-tags-container-edit__icon cursor",
22115
22114
  "data-testid": "edit-tags-icon",
@@ -22119,7 +22118,7 @@ const em = ({
22119
22118
  }
22120
22119
  ) })
22121
22120
  ] }) });
22122
- }, Qa = ({
22121
+ }, tr = ({
22123
22122
  text: e,
22124
22123
  isSoftDeleted: s,
22125
22124
  isEditing: n,
@@ -22179,7 +22178,7 @@ const em = ({
22179
22178
  fe(n), e();
22180
22179
  };
22181
22180
  return /* @__PURE__ */ t.jsx("div", { className: "add-tag-button flex pt-12 pr-12", "data-testid": "add-tags-button", onClick: s, children: /* @__PURE__ */ t.jsxs("div", { className: "lh-16 flex", children: [
22182
- /* @__PURE__ */ t.jsx(nr, { className: "icon-dim-16 cn-6" }),
22181
+ /* @__PURE__ */ t.jsx(rr, { className: "icon-dim-16 cn-6" }),
22183
22182
  /* @__PURE__ */ t.jsx("span", { className: "cn-7", children: "Add labels/comment" })
22184
22183
  ] }) });
22185
22184
  };
@@ -22453,7 +22452,7 @@ function kL({
22453
22452
  style: {
22454
22453
  zIndex: s
22455
22454
  },
22456
- children: /* @__PURE__ */ t.jsx(Aa, { handle: a, nodeRef: d, position: u, onDrag: _, children: /* @__PURE__ */ t.jsx(
22455
+ children: /* @__PURE__ */ t.jsx(Ra, { handle: a, nodeRef: d, position: u, onDrag: _, children: /* @__PURE__ */ t.jsx(
22457
22456
  "div",
22458
22457
  {
22459
22458
  ref: d,
@@ -22891,7 +22890,7 @@ const yt = {
22891
22890
  className: "dc__align-right pencil-icon cursor flex fw-6 cn-7",
22892
22891
  onClick: A,
22893
22892
  children: [
22894
- /* @__PURE__ */ t.jsx(sr, { className: "icon-dim-16 mr-4 scn-7" }),
22893
+ /* @__PURE__ */ t.jsx(ar, { className: "icon-dim-16 mr-4 scn-7" }),
22895
22894
  " Edit"
22896
22895
  ]
22897
22896
  }
@@ -22976,111 +22975,111 @@ const yt = {
22976
22975
  ] }) }) });
22977
22976
  };
22978
22977
  export {
22979
- Pf as $,
22980
- He as A,
22978
+ wf as $,
22979
+ Ve as A,
22981
22980
  Xu as B,
22982
22981
  Ut as C,
22983
22982
  lv as D,
22984
22983
  xr as E,
22985
22984
  Rf as F,
22986
22985
  Xe as G,
22987
- ja as H,
22986
+ La as H,
22988
22987
  gi as I,
22989
- P0 as J,
22988
+ jf as J,
22990
22989
  Jt as K,
22991
- k0 as L,
22992
- M0 as M,
22993
- U0 as N,
22994
- gs as O,
22990
+ He as L,
22991
+ P0 as M,
22992
+ k0 as N,
22993
+ M0 as O,
22995
22994
  nt as P,
22996
- Of as Q,
22995
+ U0 as Q,
22997
22996
  Vn as R,
22998
- pr as S,
22997
+ Jn as S,
22999
22998
  ne as T,
23000
22999
  Ie as U,
23001
- Lf as V,
23002
- B0 as W,
23003
- he as X,
23004
- Js as Y,
23005
- wf as Z,
23006
- Df as _,
23000
+ gs as V,
23001
+ Of as W,
23002
+ Lf as X,
23003
+ B0 as Y,
23004
+ he as Z,
23005
+ Js as _,
23007
23006
  Qu as a,
23008
- $u as a$,
23009
- $0 as a0,
23010
- kf as a1,
23011
- Mf as a2,
23012
- F0 as a3,
23013
- ia as a4,
23014
- V0 as a5,
23015
- Dn as a6,
23016
- Yn as a7,
23017
- $c as a8,
23018
- Ai as a9,
23019
- Gf as aA,
23020
- Kc as aB,
23021
- Hf as aC,
23022
- Zs as aD,
23023
- Yf as aE,
23024
- Ps as aF,
23025
- us as aG,
23026
- Pn as aH,
23027
- to as aI,
23028
- pt as aJ,
23029
- Bo as aK,
23030
- K0 as aL,
23031
- oe as aM,
23032
- $o as aN,
23033
- Wc as aO,
23034
- Gt as aP,
23035
- Me as aQ,
23036
- lt as aR,
23037
- US as aS,
23038
- fe as aT,
23039
- ZO as aU,
23040
- Tr as aV,
23041
- sa as aW,
23042
- QO as aX,
23043
- eL as aY,
23044
- it as aZ,
23045
- BS as a_,
23046
- Fc as aa,
23047
- Zr as ab,
23048
- Vc as ac,
23049
- Gc as ad,
23050
- G0 as ae,
23051
- Tt as af,
23052
- H0 as ag,
23053
- Ii as ah,
23054
- Qr as ai,
23055
- ct as aj,
23056
- Y0 as ak,
23057
- Hc as al,
23058
- Uf as am,
23059
- Rt as an,
23060
- cr as ao,
23061
- ot as ap,
23062
- Hs as aq,
23063
- Sn as ar,
23064
- Ot as as,
23065
- Yc as at,
23066
- Bf as au,
23067
- $f as av,
23068
- jn as aw,
23069
- Ff as ax,
23070
- Vf as ay,
23071
- eo as az,
23072
- Lh as b,
23007
+ it as a$,
23008
+ Df as a0,
23009
+ Pf as a1,
23010
+ $0 as a2,
23011
+ kf as a3,
23012
+ Mf as a4,
23013
+ F0 as a5,
23014
+ ca as a6,
23015
+ V0 as a7,
23016
+ Dn as a8,
23017
+ Yn as a9,
23018
+ Vf as aA,
23019
+ eo as aB,
23020
+ Gf as aC,
23021
+ Kc as aD,
23022
+ Hf as aE,
23023
+ Zs as aF,
23024
+ Yf as aG,
23025
+ Ps as aH,
23026
+ us as aI,
23027
+ Pn as aJ,
23028
+ to as aK,
23029
+ pt as aL,
23030
+ Bo as aM,
23031
+ K0 as aN,
23032
+ oe as aO,
23033
+ $o as aP,
23034
+ Wc as aQ,
23035
+ Gt as aR,
23036
+ Me as aS,
23037
+ lt as aT,
23038
+ US as aU,
23039
+ fe as aV,
23040
+ ZO as aW,
23041
+ Tr as aX,
23042
+ aa as aY,
23043
+ QO as aZ,
23044
+ eL as a_,
23045
+ $c as aa,
23046
+ Ai as ab,
23047
+ Fc as ac,
23048
+ Zr as ad,
23049
+ Vc as ae,
23050
+ Gc as af,
23051
+ G0 as ag,
23052
+ Tt as ah,
23053
+ H0 as ai,
23054
+ Ii as aj,
23055
+ Qr as ak,
23056
+ ct as al,
23057
+ Y0 as am,
23058
+ Hc as an,
23059
+ Uf as ao,
23060
+ Rt as ap,
23061
+ ur as aq,
23062
+ ot as ar,
23063
+ Hs as as,
23064
+ Sn as at,
23065
+ Ot as au,
23066
+ Yc as av,
23067
+ Bf as aw,
23068
+ $f as ax,
23069
+ jn as ay,
23070
+ Ff as az,
23071
+ lL as b,
23073
23072
  aO as b$,
23074
- $S as b0,
23075
- Ja as b1,
23076
- tL as b2,
23077
- Za as b3,
23078
- sL as b4,
23079
- nL as b5,
23080
- aL as b6,
23081
- tc as b7,
23082
- sc as b8,
23083
- Fu as b9,
23073
+ BS as b0,
23074
+ $u as b1,
23075
+ $S as b2,
23076
+ Qa as b3,
23077
+ tL as b4,
23078
+ er as b5,
23079
+ sL as b6,
23080
+ nL as b7,
23081
+ aL as b8,
23082
+ tc as b9,
23084
23083
  WS as bA,
23085
23084
  zS as bB,
23086
23085
  Ku as bC,
@@ -23108,15 +23107,15 @@ export {
23108
23107
  tO as bY,
23109
23108
  sO as bZ,
23110
23109
  nO as b_,
23111
- Bt as ba,
23112
- rL as bb,
23113
- ze as bc,
23114
- va as bd,
23115
- oL as be,
23116
- nc as bf,
23117
- ac as bg,
23118
- iL as bh,
23119
- lL as bi,
23110
+ sc as ba,
23111
+ Fu as bb,
23112
+ Bt as bc,
23113
+ rL as bd,
23114
+ ze as be,
23115
+ Ia as bf,
23116
+ oL as bg,
23117
+ nc as bh,
23118
+ ac as bi,
23120
23119
  Gu as bj,
23121
23120
  cL as bk,
23122
23121
  uL as bl,
@@ -23153,7 +23152,7 @@ export {
23153
23152
  av as cE,
23154
23153
  rv as cF,
23155
23154
  em as cG,
23156
- Qa as cH,
23155
+ tr as cH,
23157
23156
  md as cI,
23158
23157
  Lg as cJ,
23159
23158
  Yo as cK,
@@ -23176,7 +23175,7 @@ export {
23176
23175
  Ig as ca,
23177
23176
  Rg as cb,
23178
23177
  hy as cc,
23179
- Da as cd,
23178
+ ka as cd,
23180
23179
  zn as ce,
23181
23180
  jg as cf,
23182
23181
  gy as cg,
@@ -23191,7 +23190,7 @@ export {
23191
23190
  Zu as cp,
23192
23191
  Ld as cq,
23193
23192
  Lj as cr,
23194
- wa as cs,
23193
+ Pa as cs,
23195
23194
  mg as ct,
23196
23195
  pg as cu,
23197
23196
  _g as cv,
@@ -23199,7 +23198,7 @@ export {
23199
23198
  hg as cx,
23200
23199
  gg as cy,
23201
23200
  dd as cz,
23202
- Ln as d,
23201
+ Lh as d,
23203
23202
  pE as d$,
23204
23203
  HT as d0,
23205
23204
  ry as d1,
@@ -23213,7 +23212,7 @@ export {
23213
23212
  Ug as d9,
23214
23213
  rd as dA,
23215
23214
  xs as dB,
23216
- ur as dC,
23215
+ pr as dC,
23217
23216
  qe as dD,
23218
23217
  cy as dE,
23219
23218
  yr as dF,
@@ -23258,12 +23257,12 @@ export {
23258
23257
  nd as ds,
23259
23258
  _s as dt,
23260
23259
  ad as du,
23261
- La as dv,
23260
+ Da as dv,
23262
23261
  Un as dw,
23263
23262
  io as dx,
23264
23263
  lo as dy,
23265
23264
  ft as dz,
23266
- qS as e,
23265
+ Ln as e,
23267
23266
  iy as e$,
23268
23267
  al as e0,
23269
23268
  dE as e1,
@@ -23328,7 +23327,7 @@ export {
23328
23327
  zo as ex,
23329
23328
  vE as ey,
23330
23329
  AE as ez,
23331
- vL as f,
23330
+ qS as f,
23332
23331
  mO as f$,
23333
23332
  ly as f0,
23334
23333
  yj as f1,
@@ -23383,7 +23382,7 @@ export {
23383
23382
  Xj as fn,
23384
23383
  In as fo,
23385
23384
  go as fp,
23386
- Va as fq,
23385
+ Ha as fq,
23387
23386
  TN as fr,
23388
23387
  li as fs,
23389
23388
  Jj as ft,
@@ -23393,7 +23392,7 @@ export {
23393
23392
  eO as fx,
23394
23393
  yN as fy,
23395
23394
  lO as fz,
23396
- SL as g,
23395
+ vL as g,
23397
23396
  bu as g$,
23398
23397
  IC as g0,
23399
23398
  RC as g1,
@@ -23407,7 +23406,7 @@ export {
23407
23406
  bb as g9,
23408
23407
  AO as gA,
23409
23408
  Gb as gB,
23410
- Sa as gC,
23409
+ Aa as gC,
23411
23410
  Yb as gD,
23412
23411
  Kb as gE,
23413
23412
  Wb as gF,
@@ -23458,7 +23457,7 @@ export {
23458
23457
  TO as gx,
23459
23458
  IO as gy,
23460
23459
  vO as gz,
23461
- IL as h,
23460
+ SL as h,
23462
23461
  gO as h$,
23463
23462
  eT as h0,
23464
23463
  jO as h1,
@@ -23471,14 +23470,14 @@ export {
23471
23470
  ug as h8,
23472
23471
  Ns as h9,
23473
23472
  kj as hA,
23474
- $a as hB,
23473
+ Va as hB,
23475
23474
  en as hC,
23476
23475
  hx as hD,
23477
23476
  tN as hE,
23478
23477
  Ud as hF,
23479
23478
  Bd as hG,
23480
23479
  sN as hH,
23481
- Fa as hI,
23480
+ Ga as hI,
23482
23481
  Mj as hJ,
23483
23482
  $d as hK,
23484
23483
  Uj as hL,
@@ -23509,7 +23508,7 @@ export {
23509
23508
  fu as hj,
23510
23509
  mu as hk,
23511
23510
  Rn as hl,
23512
- fa as hm,
23511
+ ga as hm,
23513
23512
  pu as hn,
23514
23513
  Fr as ho,
23515
23514
  iu as hp,
@@ -23523,7 +23522,7 @@ export {
23523
23522
  Pj as hx,
23524
23523
  Dj as hy,
23525
23524
  X as hz,
23526
- Pa as i,
23525
+ Ma as i,
23527
23526
  Iy as i$,
23528
23527
  _u as i0,
23529
23528
  UT as i1,
@@ -23570,11 +23569,11 @@ export {
23570
23569
  uS as ig,
23571
23570
  Mu as ih,
23572
23571
  mS as ii,
23573
- qa as ij,
23572
+ Ja as ij,
23574
23573
  Nn as ik,
23575
23574
  aS as il,
23576
23575
  Fn as im,
23577
- Xa as io,
23576
+ Za as io,
23578
23577
  HO as ip,
23579
23578
  ob as iq,
23580
23579
  YO as ir,
@@ -23586,9 +23585,9 @@ export {
23586
23585
  Od as ix,
23587
23586
  zO as iy,
23588
23587
  qO as iz,
23589
- RL as j,
23588
+ iL as j,
23590
23589
  sh as j$,
23591
- mr as j0,
23590
+ Xn as j0,
23592
23591
  Ry as j1,
23593
23592
  yy as j2,
23594
23593
  jy as j3,
@@ -23621,7 +23620,7 @@ export {
23621
23620
  jt as jU,
23622
23621
  Qf as jV,
23623
23622
  eh as jW,
23624
- ga as jX,
23623
+ xa as jX,
23625
23624
  th as jY,
23626
23625
  qc as jZ,
23627
23626
  W0 as j_,
@@ -23642,7 +23641,7 @@ export {
23642
23641
  fs as jo,
23643
23642
  VE as jp,
23644
23643
  GE as jq,
23645
- xa as jr,
23644
+ Ca as jr,
23646
23645
  Td as js,
23647
23646
  Nj as jt,
23648
23647
  Sd as ju,
@@ -23651,15 +23650,15 @@ export {
23651
23650
  HE as jx,
23652
23651
  YE as jy,
23653
23652
  Xo as jz,
23654
- tv as k,
23653
+ IL as k,
23655
23654
  vn as k$,
23656
23655
  nh as k0,
23657
23656
  ah as k1,
23658
23657
  $s as k2,
23659
23658
  gt as k3,
23660
23659
  rh as k4,
23661
- Oa as k5,
23662
- ea as k6,
23660
+ wa as k5,
23661
+ sa as k6,
23663
23662
  Hj as k7,
23664
23663
  Vd as k8,
23665
23664
  Yj as k9,
@@ -23698,7 +23697,7 @@ export {
23698
23697
  Jd as kf,
23699
23698
  zj as kg,
23700
23699
  qj as kh,
23701
- la as ki,
23700
+ da as ki,
23702
23701
  Rr as kj,
23703
23702
  z0 as kk,
23704
23703
  oh as kl,
@@ -23708,22 +23707,22 @@ export {
23708
23707
  On as kp,
23709
23708
  lh as kq,
23710
23709
  Qt as kr,
23711
- Ea as ks,
23710
+ Na as ks,
23712
23711
  ao as kt,
23713
23712
  W as ku,
23714
23713
  Ge as kv,
23715
23714
  Ct as kw,
23716
- ca as kx,
23715
+ ua as kx,
23717
23716
  me as ky,
23718
23717
  ch as kz,
23719
- bt as l,
23718
+ RL as l,
23720
23719
  Ph as l0,
23721
23720
  Re as l1,
23722
23721
  Pt as l2,
23723
23722
  oo as l3,
23724
23723
  et as l4,
23725
23724
  Es as l5,
23726
- dr as l6,
23725
+ mr as l6,
23727
23726
  td as l7,
23728
23727
  XE as l8,
23729
23728
  JE as l9,
@@ -23749,18 +23748,18 @@ export {
23749
23748
  xC as lt,
23750
23749
  dO as lu,
23751
23750
  vS as lv,
23752
- OL as m,
23753
- Vt as n,
23754
- wL as o,
23755
- Ws as p,
23756
- fn as q,
23757
- Uo as r,
23758
- yf as s,
23759
- on as t,
23751
+ tv as m,
23752
+ bt as n,
23753
+ OL as o,
23754
+ Vt as p,
23755
+ wL as q,
23756
+ Ws as r,
23757
+ fn as s,
23758
+ Uo as t,
23760
23759
  AL as u,
23761
- Dt as v,
23762
- F as w,
23763
- D0 as x,
23764
- Ve as y,
23765
- jf as z
23760
+ yf as v,
23761
+ on as w,
23762
+ Dt as x,
23763
+ F as y,
23764
+ D0 as z
23766
23765
  };