@odigos/ui-kit 0.0.207 → 0.0.208

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.
@@ -1,4 +1,4 @@
1
- import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon as n,DeleteAttributeIcon as o,AddClusterInfoIcon as r,K8sLogo as a,ImageErrorIcon as s,KafkaLogo as l,RedisLogo as c,PostgresLogo as d,NginxLogo as p,MysqlLogo as u,ElixirLogo as h,SwiftLogo as m,RustLogo as g,RubyLogo as $,PhpLogo as x,CPlusPlusLogo as f,CSharpLogo as b,DotnetLogo as y,PythonLogo as w,NodejsLogo as v,GoLogo as C,JavaLogo as k,AwsXrayLogo as E,VictoriaMetricsLogo as S,UptraceLogo as A,TraceloopLogo as T,TingyunLogo as D,TempoLogo as I,TelemetryHubLogo as N,SumoLogicLogo as O,SplunkLogo as z,SignozLogo as F,SeqLogo as _,AwsS3Logo as R,QuickwitLogo as B,GigapipeLogo as M,QrynLogo as L,PrometheusLogo as P,OpenTelemetryLogo as j,OracleLogo as U,OpsVerseLogo as W,OpenObserveLogo as V,OneUptimeLogo as G,OdigosLogo as q,ObserveLogo as H,NewRelicLogo as K,MiddlewareLogo as Y,LumigoLogo as J,LokiLogo as X,LogzioLogo as Z,LightstepLogo as Q,Last9Logo as ee,KloudmateLogo as te,JaegerLogo as ie,InstanaLogo as ne,HyperDxLogo as oe,HoneycombLogo as re,GroundcoverLogo as ae,GreptimeLogo as se,GrafanaLogo as le,GoogleCloudPlatformLogo as ce,ElasticSearchLogo as de,ElasticApmLogo as pe,DynatraceLogo as ue,DatadogLogo as he,Dash0Logo as me,CoralogixLogo as ge,AwsCloudwatchLogo as $e,ClickhouseLogo as xe,ChronosphereLogo as fe,ChecklyLogo as be,CauselyLogo as ye,BonreeLogo as we,BetterStackLogo as ve,AzureMonitorLogo as Ce,AzureBlobLogo as ke,AxiomLogo as Ee,AppDynamicsLogo as Se,AlibabaCloudLogo as Ae,AlaudaLogo as Te,InstrumentationRuleIcon as De,DestinationIcon as Ie,SourceIcon as Ne,NamespacesIcon as Oe,PayloadCollectionIcon as ze,HeadersCollectionIcon as Fe,CustomInstrumentationIcon as _e,CodeAttributesIcon as Re,TracesIcon as Be,MetricsIcon as Me,LogsIcon as Le,VmLogo as Pe,QuestionCircleIcon as je,XSquareIcon as Ue,VSquareIcon as We,ExclamationTriangleIcon as Ve,ExclamationCircleIcon as Ge,ISquareIcon as qe,VIcon as He,CopyIcon as Ke,XIcon as Ye,MinusIcon as Je,ListIcon as Xe,CodeIcon as Ze,ExtendArrowIcon as Qe,PlusIcon as et,EditIcon as tt,NoDataIcon as it,EyeClosedIcon as nt,EyeOpenIcon as ot,SearchIcon as rt,TrashIcon as at,EditedIcon as st,SortArrowsIcon as lt,NotebookIcon as ct,ArrowIcon as dt,ChevronUpIcon as pt,ChevronDownIcon as ut,DotsVerticalIcon as ht,DotsHorizontalIcon as mt,DotIcon as gt,FilterIcon as $t}from"../icons.js";import{create as xt}from"zustand";import{Fragment as ft,useMemo as bt,useState as yt,useEffect as wt,useRef as vt,useCallback as Ct,forwardRef as kt,memo as Et,useContext as St,createContext as At}from"react";import Tt from"javascript-time-ago";import{p as Dt,c as It,s as Nt,e as Ot}from"./vendor-D99eCWta.js";import{jsx as zt,jsxs as Ft,Fragment as _t}from"react/jsx-runtime";import Rt,{css as Bt,useTheme as Mt,ThemeProvider as Lt,keyframes as Pt}from"styled-components";import{Handle as jt,Position as Ut,ReactFlow as Wt,Controls as Vt}from"@xyflow/react";import Gt,{createPortal as qt}from"react-dom";import{Highlight as Ht,themes as Kt}from"prism-react-renderer";import{ErrorBoundary as Yt}from"react-error-boundary";import Jt from"lottie-react";import{VList as Xt}from"virtua";const Zt=e=>e.charAt(0).toUpperCase()+e.slice(1),Qt=e=>{const t=e=>e.filter(e=>"object"==typeof e&&null!==e?""!==e.key&&""!==e.value:""!==e),i=e=>Object.fromEntries(Object.entries(e).filter(([e,t])=>""!==e&&""!==t).map(([e,n])=>Array.isArray(n)?[e,t(n)]:"object"==typeof n&&null!==n?[e,i(n)]:[e,n]));return Object.entries(e).reduce((e,[n,o])=>{try{const r=JSON.parse(o);Array.isArray(r)?e[n]=JSON.stringify(t(r)):e[n]="object"==typeof r&&null!==r?JSON.stringify(i(r)):o}catch(r){"object"==typeof o&&null!==o?Array.isArray(o)?e[n]=JSON.stringify(t(o)):e[n]=JSON.stringify(i(o)):e[n]=o}return e},{})};var ei;!function(e){e.SIGNALS="SIGNALS"}(ei||(ei={}));const ti=(e,t,i)=>{if(!e||!e.length)return!0;if(1===e.length)return"true"==e[0];const[n,o,r]=e;if(n===ei.SIGNALS)switch(o){case"INCLUDES":return t?.includes(r);case"EXCLUDES":return!t?.includes(r);default:return!0}const a=i.find(e=>e.name===n||e.key===n);if(!a)return!1;switch(o){case"===":case"==":return a.value===r;case"!==":case"!=":return a.value!==r;case">":return Number(a.value)>Number(r);case"<":return Number(a.value)<Number(r);case">=":return Number(a.value)>=Number(r);case"<=":return Number(a.value)<=Number(r);default:return!0}},ii=e=>JSON.parse(JSON.stringify(e)),ni=(e,t)=>{let i=[...e];return t.monitors?.length&&(i=i.filter(e=>!!t.monitors?.find(t=>e.signals?.find(e=>e.toLowerCase()===t.id)))),i},oi=(e,t)=>{let i=[...e];return t.monitors?.length&&(i=i.filter(e=>!!t.monitors?.find(t=>e.exportedSignals[t.id]))),i},ri=(e,t)=>t?e.filter(e=>e.dataStreamNames.includes(t)||!e.dataStreamNames.length):[];var ai,si,li,ci,di,pi,ui,hi,mi,gi,$i,xi,fi,bi,yi,wi,vi,Ci,ki,Ei,Si,Ai,Ti,Di,Ii,Ni,Oi,zi,Fi,_i,Ri,Bi,Mi,Li,Pi,ji,Ui,Wi,Vi,Gi,qi,Hi;!function(e){e.Attributes="attributes",e.Samplers="samplers"}(ai||(ai={})),function(e){e.K8sAttributes="K8sAttributesResolver",e.AddClusterInfo="AddClusterInfo",e.DeleteAttributes="DeleteAttribute",e.RenameAttributes="RenameAttribute",e.PiiMasking="PiiMasking",e.ErrorSampler="ErrorSampler",e.ProbabilisticSampler="ProbabilisticSampler",e.LatencySampler="LatencySampler",e.ServiceNameSampler="ServiceNameSampler",e.SpanAttributeSampler="SpanAttributeSampler",e.URLTemplatization="URLTemplatization"}(si||(si={})),function(e){e.CollectContainerAttributes="collectContainerAttributes",e.CollectReplicaSetAttributes="collectReplicaSetAttributes",e.CollectWorkloadId="collectWorkloadId",e.CollectClusterId="collectClusterId",e.LabelsAttributes="labelsAttributes",e.AnnotationsAttributes="annotationsAttributes",e.ClusterAttributes="clusterAttributes",e.OverwriteExistingValues="overwriteExistingValues",e.AttributeNamesToDelete="attributeNamesToDelete",e.Renames="renames",e.PiiCategories="piiCategories",e.FallbackSamplingRatio="fallbackSamplingRatio",e.SamplingPercentage="samplingPercentage",e.EndpointsFilters="endpointsFilters",e.ServicesNameFilters="servicesNameFilters",e.AttributeFilters="attributeFilters",e.UrlTemplatizationRulesGroups="urlTemplatizationRulesGroups"}(li||(li={})),function(e){e.Pod="pod",e.Namespace="namespace",e.Node="node"}(ci||(ci={})),function(e){e.EXISTS="exists",e.EQUALS="equals",e.NOT_EQUALS="not_equals",e.CONTAINS="contains",e.NOT_CONTAINS="not_contains",e.REGEX="regex"}(di||(di={})),function(e){e.EXISTS="exists",e.EQUALS="equals",e.NOT_EQUALS="not_equals",e.GREATER_THAN="greater_than",e.LESS_THAN="less_than",e.GREATER_THAN_OR_EQUAL="greater_than_or_equal",e.LESS_THAN_OR_EQUAL="less_than_or_equal"}(pi||(pi={})),function(e){e.EXISTS="exists",e.EQUALS="equals"}(ui||(ui={})),function(e){e.EXISTS="exists",e.EQUALS="equals",e.NOT_EQUALS="not_equals",e.IS_VALID_JSON="is_valid_json",e.IS_INVALID_JSON="is_invalid_json",e.JSONPATH_EXISTS="jsonpath_exists",e.KEY_EQUALS="key_equals",e.KEY_NOT_EQUALS="key_not_equals"}(hi||(hi={})),function(e){e.Horizontal="horizontal",e.Vertical="vertical"}(mi||(mi={})),function(e){e.Ascending="ascending",e.Descending="descending"}(gi||(gi={})),function(e){e.Community="community",e.Cloud="cloud",e.Onprem="onprem"}($i||($i={})),function(e){e.K8s="k8s",e.Vm="vm"}(xi||(xi={})),function(e){e.Cli="odigos-cli",e.Helm="helm",e.Operator="odigos-operator"}(fi||(fi={})),function(e){e.Go="go",e.JavaScript="javascript",e.Python="python",e.Java="java",e.DotNet="dotnet",e.CSharp="csharp",e.CPlusPlus="cplusplus",e.Php="php",e.Ruby="ruby",e.Rust="rust",e.Swift="swift",e.Elixir="elixir",e.MySql="mysql",e.Nginx="nginx",e.Postgres="postgres",e.Redis="redis",e.Kafka="kafka",e.Ignored="ignored",e.Unknown="unknown",e.Processing="processing",e.NoContainers="no containers",e.NoRunningPods="no running pods"}(bi||(bi={})),function(e){e.Create="Create",e.Read="Read",e.Update="Update",e.Delete="Delete"}(yi||(yi={})),function(e){e.Namespace="Namespace",e.Source="Source",e.Destination="Destination",e.Action="Action",e.InstrumentationRule="InstrumentationRule"}(wi||(wi={})),function(e){e.DataStream="DataStream"}(vi||(vi={})),function(e){e.Input="input",e.MultiInput="multiInput",e.MultiTabledInput="multiTabledInput",e.KeyValuePair="keyValuePairs",e.TextArea="textarea",e.Dropdown="dropdown",e.Checkbox="checkbox",e.Toggle="toggle"}(Ci||(Ci={})),function(e){e.Text="text",e.Password="password",e.Number="number"}(ki||(ki={})),function(e){e.Warning="warning",e.Error="error",e.Success="success",e.Info="info",e.Default="default"}(Ei||(Ei={})),function(e){e.INSTRUMENTED="Instrumented",e.INSTRUMENTING="Instrumenting",e.UNINSTRUMENTED="Uninstrumented",e.NOT_INSTRUMENTED="Not Instrumented"}(Si||(Si={})),function(e){e.Loading="loading",e.Disabled="disabled"}(Ai||(Ai={})),function(e){e.Disabled="disabled",e.Unknown="unknown"}(Ti||(Ti={})),function(e){e.CodeAttributes="code-attributes",e.FullPayloadCollection="full-payload-collection",e.DbPayloadCollection="db-payload-collection",e.QueryOperationDetector="query-operation-detector",e.AllowConcurrentAgents="allow_concurrent_agents",e.JavaEbpfInstrumentations="java-ebpf-instrumentations",e.JavaNativeInstrumentations="java-native-instrumentations",e.SizeS="size_s",e.SizeM="size_m",e.SizeL="size_l"}(Di||(Di={})),function(e){e.Header="header",e.Add="add",e.Base="base",e.Edged="edged",e.Frame="frame",e.Scroll="scroll",e.Skeleton="skeleton",e.MapItem="map-item",e.NoData="no-data",e.OdiLogo="odilogo"}(Ii||(Ii={})),function(e){e.Labeled="labeled"}(Ni||(Ni={})),function(e){e.AddRule="addRule",e.AddSource="addSource",e.AddAction="addAction",e.AddDestination="addDestination"}(Oi||(Oi={})),function(e){e.Alauda="alauda",e.AlibabaCloud="alibabacloud",e.AppDynamics="appdynamics",e.Axiom="axiom",e.AzureBlob="azureblob",e.AzureMonitor="azuremonitor",e.BetterStack="betterstack",e.Bonree="bonree",e.Causely="causely",e.Checkly="checkly",e.Chronosphere="chronosphere",e.ClickHouse="clickhouse",e.CloudWatch="cloudwatch",e.Coralogix="coralogix",e.Dash0="dash0",e.Datadog="datadog",e.Dynamic="dynamic",e.Dynatrace="dynatrace",e.ElasticApm="elasticapm",e.ElasticSearch="elasticsearch",e.GoogleCloud="googlecloud",e.GoogleCloudOTLP="googlecloudotlp",e.GrafanaCloudLoki="grafanacloudloki",e.GrafanaCloudPrometheus="grafanacloudprometheus",e.GrafanaCloudTempo="grafanacloudtempo",e.Greptime="greptime",e.Groundcover="groundcover",e.Honeycomb="honeycomb",e.HyperDX="hyperdx",e.Instana="instana",e.Jaeger="jaeger",e.Kafka="kafka",e.Kloudmate="kloudmate",e.Last9="last9",e.Lightstep="lightstep",e.LogzIo="logzio",e.Loki="loki",e.Lumigo="lumigo",e.Middleware="middleware",e.NewRelic="newrelic",e.Observe="observe",e.Odigos="odigos",e.OneUptime="oneuptime",e.OpenObserve="openobserve",e.Opsverse="opsverse",e.Oracle="oracle",e.OTLP="otlp",e.OTLPHttp="otlphttp",e.Prometheus="prometheus",e.Qryn="qryn",e.QrynOss="qryn-oss",e.Quickwit="quickwit",e.S3="s3",e.Seq="seq",e.Signalfx="signalfx",e.Signoz="signoz",e.Splunk="splunk",e.SplunkSapm="splunksapm",e.SplunkOtlp="splunkotlp",e.SumoLogic="sumologic",e.TelemetryHub="telemetryhub",e.Tempo="tempo",e.Tingyun="tingyun",e.Traceloop="traceloop",e.Uptrace="uptrace",e.VictoriaMetrics="victoriametrics",e.VictoriaMetricsCloud="victoriametricscloud",e.XRay="xray"}(zi||(zi={})),function(e){e.Deployment="Deployment",e.DaemonSet="DaemonSet",e.StatefulSet="StatefulSet",e.CronJob="CronJob",e.Pod="Pod",e.StaticPod="StaticPod",e.Rollout="Rollout",e.ConfigMap="ConfigMap",e.DeploymentConfig="DeploymentConfig"}(Fi||(Fi={})),function(e){e.GolangCommunity="golang-community",e.NodejsCommunity="nodejs-community",e.PythonCommunity="python-community",e.JavaCommunity="java-community",e.DotNetCommunity="dotnet-community",e.RubyCommunity="ruby-community",e.PhpCommunity="php-community",e.GolangEnterprise="golang-enterprise",e.NodejsEnterprise="nodejs-enterprise",e.PythonEnterprise="python-enterprise",e.JavaEnterprise="java-enterprise",e.JavaEbpfInstrumentations="java-ebpf-instrumentations",e.DotNetLegacy="dotnet-legacy",e.DotNetEnterprise="dotnet-enterprise",e.RubyEnterprise="ruby-enterprise",e.CPlusPlusEnterprise="cplusplus-enterprise",e.MySqlEnterprise="mysql-enterprise"}(_i||(_i={})),function(e){e.Error="Error",e.Failure="Failure",e.Notice="Notice",e.Pending="Pending",e.Waiting="Waiting",e.Unsupported="Unsupported",e.Disabled="Disabled",e.Success="Success",e.Irrelevant="Irrelevant",e.Unknown="Unknown"}(Ri||(Ri={})),function(e){e.CodeAttributes="CodeAttributes",e.HeadersCollection="HeadersCollection",e.PayloadCollection="PayloadCollection",e.CustomInstrumentation="CustomInstrumentation",e.UnknownType="UnknownType"}(Bi||(Bi={})),function(e){e.Column="column",e.FilePath="filePath",e.Function="function",e.LineNumber="lineNumber",e.Namespace="namespace",e.StackTrace="stacktrace"}(Mi||(Mi={})),function(e){e.HeaderKeys="headerKeys"}(Li||(Li={})),function(e){e.Java="java",e.Golang="golang"}(Pi||(Pi={}));class Ki{className;methodName;constructor(e,t){this.className=e,this.methodName=t}Verify(){return!!this.className&&!!this.methodName}toString(){return this.Verify()?`${this.className}.${this.methodName}`:"[Faulty Java Probe]"}}class Yi{packageName;functionName;receiverName;receiverMethodName;constructor(e,t,i,n){this.packageName=e,this.functionName=t||"",this.receiverName=i||"",this.receiverMethodName=n||""}Verify(){return!(!this.packageName||(this.functionName?this.receiverMethodName||this.receiverName:!this.receiverMethodName||!this.receiverName))}toString(){return this.Verify()?this.functionName?`${this.packageName}.${this.functionName}`:this.receiverName&&this.receiverMethodName?`${this.packageName}.(${this.receiverName}).${this.receiverMethodName}`:"":"[Faulty Golang Probe]"}}!function(e){e.HttpRequest="httpRequest",e.HttpResponse="httpResponse",e.DbQuery="dbQuery",e.Messaging="messaging"}(ji||(ji={})),function(e){e.Healthy="Healthy",e.Updating="Updating",e.Degraded="Degraded",e.Failed="Failed",e.Down="Down",e.Unknown="Unknown"}(Ui||(Ui={})),function(e){e.Pending="Pending",e.Running="Running",e.Succeeded="Succeeded",e.Failed="Failed",e.Unknown="Unknown"}(Wi||(Wi={})),function(e){e.ContainerCreating="ContainerCreating",e.CrashLoopBackOff="CrashLoopBackOff",e.CreateContainerError="CreateContainerError",e.CreateContainerConfigError="CreateContainerConfigError",e.ErrImagePull="ErrImagePull",e.ErrImageNeverPull="ErrImageNeverPull",e.ImagePullBackOff="ImagePullBackOff",e.InvalidImageName="InvalidImageName",e.RegistryUnavailable="RegistryUnavailable",e.NetworkNotReady="NetworkNotReady",e.Running="Running",e.Completed="Completed",e.Error="Error",e.OOMKilled="OOMKilled",e.ContainerCannotRun="ContainerCannotRun",e.DeadlineExceeded="DeadlineExceeded",e.StartError="StartError"}(Vi||(Vi={})),function(e){e.Running="Running",e.Waiting="Waiting",e.Terminated="Terminated"}(Gi||(Gi={})),function(e){e.Logs="LOGS",e.Metrics="METRICS",e.Traces="TRACES"}(qi||(qi={})),function(e){e.Logs="logs",e.Metrics="metrics",e.Traces="traces"}(Hi||(Hi={}));const Ji={[qi.Logs]:Hi.Logs,[qi.Metrics]:Hi.Metrics,[qi.Traces]:Hi.Traces},Xi={[Hi.Logs]:qi.Logs,[Hi.Metrics]:qi.Metrics,[Hi.Traces]:qi.Traces},Zi=(e,t)=>{let i=[...e];return t.namespaces?.length&&(i=i.filter(({namespace:e})=>!!t.namespaces?.find(({id:t})=>t===e))),t.kinds?.length&&(i=i.filter(({kind:e})=>!!t.kinds?.find(({id:t})=>t===e))),t.languages?.length&&(i=i.filter(({containers:e})=>!!t.languages?.find(({id:t})=>!!e?.find(({language:e})=>t===e)))),t.conditions?.length&&(i=i.filter(({conditions:e})=>!!t.conditions?.find(({id:t})=>!!e?.find(({type:e,reason:i})=>t===`${e}#${i}`)))),t.podsAgentInjectionStatus?.length&&(i=i.filter(({podsAgentInjectionStatus:e})=>!!t.podsAgentInjectionStatus?.find(({id:t})=>t===e?.reasonEnum||t===e?.message))),t.onlyErrors&&(i=i.filter(e=>!!e.conditions?.find(e=>e.status===Ei.Error))),t.errors?.length&&(i=i.filter(e=>!!t.errors?.find(t=>!!e.conditions?.find(e=>e.message===t.id)))),i},Qi="https://docs.odigos.io",en="default",tn={SELECTED_DATA_STREAM:"SELECTED_DATA_STREAM",SELECTED_DATA_STREAM_WITH_PROXY:e=>`SELECTED_DATA_STREAM_${e}`,OVERVIEW_FILTERS:"OVERVIEW_FILTERS",DARK_MODE:"DARK_MODE"},nn={REQUIRED_FIELDS:"Required fields are missing",FIELD_IS_REQUIRED:"This field is required",FORBIDDEN:"Forbidden",ENTERPRISE_ONLY:(e="This")=>`${e} is an Enterprise feature. Please upgrade your plan.`,DEFINED_FOR_ALL_STREAMS:e=>`${e} are defined for all Data Streams.`,CANNOT_EDIT_RULE:"Cannot edit a system-managed instrumentation rule",CANNOT_DELETE_RULE:"Cannot delete a system-managed instrumentation rule",LATENCY_HTTP_ROUTE:'HTTP route must start with a forward slash "/"',READONLY_WARNING:"You're not allowed to create/update/delete in readonly mode",ILLEGAL_K8S_LABEL:'Must be 63 characters or less, must consist of alphanumeric characters, "-", "_", or ".", and must start & end with an alphanumeric character (e.g., my-name, 123.abc).',INVALID_VERSION:'Invalid version format, must be in the format of "major.minor.patch" (e.g. 1.0.0)'},on={NAMESPACE:"Namespace",NAME:"Name",KIND:"Kind",CONNECTION:"Connection",CONNECTIONS:"Connections",DATA_STREAM:"Data Stream",DATA_STREAMS:"Data Streams",STREAM_NAME:"Data Stream Name",NAME_YOUR_STREAM:"Name your Data Stream",NAME_YOUR_STREAM_PLACEHOLDER:"e.g. Highest priority",STREAM_DESCRIPTION:"Provide a clear and descriptive name for your pipeline to ensure its purpose is easily understood by you and your team.",STREAM_CONFIRM:"Confirm your new Data Stream",DATA_STREAM_EXISTS_WARNING:(e,t)=>`A Data Stream with this name already exists, you can still rename the current "${e}", but it will merge into the existing "${t}".`,ACTION:"Action",ACTIONS:"Actions",ADD_ACTION:"Add Action",ACTION_DETAILS:"Action Details",INSTRUMENTATION_RULE:"Instrumentation Rule",INSTRUMENTATION_RULES:"Instrumentation Rules",ADD_INSTRUMENTATION_RULE:"Add Instrumentation Rule",INSTRUMENTATION_RULE_DETAILS:"Instrumentation Rule Details",DESTINATION:"Destination",DESTINATIONS:"Destinations",ADD_DESTINATION:"Add Destination",ADD_DESTINATIONS:"Add Destinations",ADD_DESTINATION_DESCRIPTION:"Add a destination to send your telemetry data to. You can add multiple destinations.",DESTINATION_DETAILS:"Destination Details",SELECTED_DESTINATIONS:"Selected Destinations",SOURCE:"Source",SOURCES:"Sources",ADD_SOURCE:"Add Source",SOURCE_DETAILS:"Source Details",SELECT_SOURCES:"Select Sources",SELECTED_SOURCES:"Selected Sources",SELECT_SOURCES_DESCRIPTION:"Choose which sources to monitor in your pipeline.",NO_SOURCES:"No sources",NO_SOURCES_GO_BACK:"No sources selected. Please go back to select sources.",PLEASE_ADD_SOURCE:"Please add a source",NO_SOURCES_NAMESPACE:"No sources available in this namespace",TRY_SEARCH_OR_OTHER_NAMESPACE:"Try searching again or select another namespace.",PLEASE_MAKE_SURE_UNIGNORED_NAMESPACES:"Please make sure your cluster has unignored namespaces",INSTALLATION:"Installation",SUMMARY:"Summary",TYPE:"Type",NOTES:"Notes",STATUS:"Status",READONLY:"Readonly",LANGUAGE:"Language",VERSION:"Version",RUNTIME_VERSION:"Runtime Version",VERSION_PLACEHOLDER:"1.0.0",MONITORS:"Monitors",SIGNALS_FOR_PROCESSING:"Signals for Processing",MANAGED_BY_PROFILE:"Managed by Profile",TIER:"Tier",ENTERPRISE:"Enterprise",ENTERPRISE_TIER:"Enterprise Tier",COMMUNITY:"Community",COMMUNITY_TIER:"Community Tier",API_TOKEN:"API Token",API_TOKENS:"API Tokens",DESCRIBE_ODIGOS:"Describe Odigos",DESCRIBE_SOURCE:"Describe Source",DETECTED_CONTAINERS:"Detected Containers",DETECTED_CONTAINERS_DESCRIPTION:"The system automatically instruments the containers it detects with a supported programming language.",DETECTED_PROCESSES:"Detected Processes",DETECTED_PROCESSES_DESCRIPTION:"The system automatically instruments the processes it detects with a supported programming language.",CONTAINER_NAME:"Container Name",FILTERED_COUNT_TOOLTIP:"Represents filtered amount, out of total amount",SEARCH_NAMESPACES:"Search Namespaces",SEARCH_SOURCES:"Search Sources",SELECT_ALL:"Select All",ONLY_SELECTED:"Only selected",ONLY_RUNNING_INSTANCES:"Only running instances",TO_COLLECT_OTEL_DATA:"To collect OpenTelemetry data",TO_MONITOR_OTEL_DATA:"To monitor OpenTelemetry data",TO_MODIFY_OTEL_DATA:"To modify OpenTelemetry data",QUICK_BACK_TO_SUMMARY:"When you finish editing you can quickly go back to the summary.",GO_TO_SUMMARY:"Go to summary",FUTURE_APPS_TITLE:"Instrument entire namespace",FUTURE_APPS_DESCRIPTION:"When enabled, all applications in the namespace and new applications will be instrumented automatically and included in the current data stream using a Namespace Source.",OVERIDE:"Override",OVERIDDEN:"Overridden",OVERRIDE_RUNTIME_DETAILS:"Override Runtime Details",OVERRIDE_RUNTIME_WARNING:"This is an advanced configuration. If the selected programming language is incorrect, data collection may be incomplete or may not occur at all.",ACTIVE:"Active",INACTIVE:"Inactive",ENABLED:"Enabled",DISABLED:"Disabled",NO_TRACES_FOUND:"No traces found",ARE_SERVICES_INSTRUMENTED_AND_PRODUCING_TRAFFIC:"Are your services instrumented & producing traffic?",JAVA_CUSTOM_PROBES:"Java Custom Probes",GOLANG_CUSTOM_PROBES:"Golang Custom Probes",ROLLBACK_OCCURRED_MESSAGE:"Odigos detected a crash and rolled back instrumentation to protect your workload.",ROLLBACK_RECOVER:"Recover",FETCHING_NAMESPACES:"Fetching namespaces",FETCHING_NAMESPACES_SUBTITLE:"Please wait while we fetch the namespaces",ADD_SOURCES_DESCRIPTION:"Choose which sources to monitor in your pipeline.",CREATING_SOURCES:"Creating Sources...",CREATING_SOURCES_SUBTITLE:"This may take a few moments while sources are being created.",SELECT_NAMESPACE:"Select namespace from the list",SELECT_NAMESPACE_SUBTITLE:"Add namespace so you can select workloads from it.",CREATING_ACTION:"Creating action",CREATING_ACTION_SUBTITLE:"Please wait while we create the action",ADD_ACTION_DESCRIPTION:"Select an action to modify telemetry data before it's sent to destinations. Choose an action type and configure its details.",CREATING_INSTRUMENTATION_RULE:"Creating instrumentation rule",CREATING_INSTRUMENTATION_RULE_SUBTITLE:"Please wait while we create the instrumentation rule",ADD_INSTRUMENTATION_RULE_DESCRIPTION:"Define how telemetry is recorded from your application. Choose a rule type and configure the details.",CREATING_DESTINATION:"Creating destination",CREATING_DESTINATION_SUBTITLE:"Please wait while we create the destination",ADD_DESTINATION_DRAWER_DESCRIPTION:"Add backend destination you want to connect with Odigos."},rn={ADD:"Add",ADD_NEW:"Add New",NEW:"New",SELECT:"Select",CREATE:"Create",UPDATE:"Update",EDIT:"Edit",DELETE:"Delete",CANCEL:"Cancel",DONE:"Done",SAVE:"Save",BACK:"Back",NEXT:"Next",TEST:"Test",TEST_CONNECTION:"Test Connection",INSTRUMENT:"Instrument",UNINSTRUMENT:"Uninstrument"},an=(e,t)=>t?e.filter(e=>e.dataStreamNames.includes(t)||t===en&&!e.dataStreamNames.length):[],sn=(e,t="",i={})=>{for(const n in e)if(e.hasOwnProperty(n)){const o=e[n],r=t?`${t}.${n}`:n;null===o||"object"!=typeof o||Array.isArray(o)?Array.isArray(o)?o.forEach((e,t)=>{const n=`${r}[${t}]`;null!==e&&"object"==typeof e?sn(e,n,i):i[n]=e}):i[r]=o:sn(o,r,i)}return i},ln=e=>{if(!e)return"0 KB/s";const t=Math.floor(Math.log(e)/Math.log(1024));return`${(e/Math.pow(1024,t)).toFixed(0===t?0:1)} ${["Bytes/s","KB/s","MB/s","GB/s","TB/s"][t]}`},cn=e=>{if(!e)return"0 ns";if(e<1e3)return`${e.toFixed(0)} ns`;if(e<1e6){const t=e/1e3;return`${t.toFixed(t<10?2:0)} μs`}if(e<1e9){const t=e/1e6;return`${t.toFixed(t<10?2:0)} ms`}if(e<6e10){const t=e/1e9;return`${t.toFixed(t<10?2:0)} s`}if(e<36e11){const t=e/6e10;return`${t.toFixed(t<10?2:0)} m`}if(e<864e11){const t=e/36e11;return`${t.toFixed(t<10?2:0)} h`}{const t=e/864e11;return`${t.toFixed(t<10?2:0)} d`}},dn=()=>{const e=crypto.getRandomValues(new Uint8Array(16));let t=0;return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,i=>{const n=e[t%16];return t++,("1"===i?n:"0"===i?63&n|128:15&n|64).toString(16)})},pn=l=>{const c=l?.toLowerCase(),d=c?.includes(ai.Samplers),p=c===ai.Attributes;return d?e:p?t:{[si.K8sAttributes]:a,[si.AddClusterInfo]:r,[si.DeleteAttributes]:o,[si.PiiMasking]:t,[si.RenameAttributes]:n,[si.URLTemplatization]:i,[si.ErrorSampler]:e,[si.ProbabilisticSampler]:e,[si.LatencySampler]:e,[si.ServiceNameSampler]:e,[si.SpanAttributeSampler]:e}[l]||s},un=e=>{const t=e?.filter(({status:e})=>e===Ei.Error),i=e?.filter(({status:e})=>e===Ei.Warning),n=e?.filter(({status:e})=>e===Ai.Disabled),o=e?.filter(({status:e})=>e===Ai.Loading),r=t.length>0,a=i.length>0,s=n.length>0;return{errors:t,hasErrors:r,warnings:i,hasWarnings:a,disableds:n,hasDisableds:s,loadings:o,hasLoadings:o.length>0,priorotizedStatus:r?Ei.Error:a?Ei.Warning:s?Ei.Info:void 0}},hn=e=>{const t=e?.reduce((e,t)=>t.instrumented?e+1:e,0);return`${t}/${e?.length||0} instrumented`},mn=e=>({[bi.Java]:k,[bi.Go]:C,[bi.JavaScript]:v,[bi.Python]:w,[bi.DotNet]:y,[bi.CSharp]:b,[bi.CPlusPlus]:f,[bi.Php]:x,[bi.Ruby]:$,[bi.Rust]:g,[bi.Swift]:m,[bi.Elixir]:h,[bi.MySql]:u,[bi.Nginx]:p,[bi.Postgres]:d,[bi.Redis]:c,[bi.Kafka]:l,[bi.Ignored]:s,[bi.Unknown]:s,[bi.Processing]:s,[bi.NoContainers]:s,[bi.NoRunningPods]:s}[e]||s),gn=e=>e?.map(({language:e})=>mn(e))||[],$n=e=>e?.map(e=>mn(e))||[],xn=e=>e.detectedLanguages?.length?$n(e.detectedLanguages):gn(e.containers),fn=(e,t)=>{const i={[zi.Alauda]:Te,[zi.AlibabaCloud]:Ae,[zi.AppDynamics]:Se,[zi.Axiom]:Ee,[zi.AzureBlob]:ke,[zi.AzureMonitor]:Ce,[zi.BetterStack]:ve,[zi.Bonree]:we,[zi.Causely]:ye,[zi.Checkly]:be,[zi.Chronosphere]:fe,[zi.ClickHouse]:xe,[zi.CloudWatch]:$e,[zi.Coralogix]:ge,[zi.Dash0]:me,[zi.Datadog]:he,[zi.Dynamic]:j,[zi.Dynatrace]:ue,[zi.ElasticApm]:pe,[zi.ElasticSearch]:de,[zi.GoogleCloud]:ce,[zi.GoogleCloudOTLP]:ce,[zi.GrafanaCloudLoki]:le,[zi.GrafanaCloudPrometheus]:le,[zi.GrafanaCloudTempo]:le,[zi.Greptime]:se,[zi.Groundcover]:ae,[zi.Honeycomb]:re,[zi.HyperDX]:oe,[zi.Instana]:ne,[zi.Jaeger]:ie,[zi.Kafka]:l,[zi.Kloudmate]:te,[zi.Last9]:ee,[zi.Lightstep]:Q,[zi.LogzIo]:Z,[zi.Loki]:X,[zi.Lumigo]:J,[zi.Middleware]:Y,[zi.NewRelic]:K,[zi.Observe]:H,[zi.Odigos]:q,[zi.OneUptime]:G,[zi.OpenObserve]:V,[zi.Opsverse]:W,[zi.Oracle]:U,[zi.OTLP]:j,[zi.OTLPHttp]:j,[zi.Prometheus]:P,[zi.Qryn]:L,[zi.QrynOss]:M,[zi.Quickwit]:B,[zi.S3]:R,[zi.Seq]:_,[zi.Signalfx]:z,[zi.Signoz]:F,[zi.Splunk]:z,[zi.SplunkSapm]:z,[zi.SplunkOtlp]:z,[zi.SumoLogic]:O,[zi.TelemetryHub]:N,[zi.Tempo]:I,[zi.Tingyun]:D,[zi.Traceloop]:T,[zi.Uptrace]:A,[zi.VictoriaMetrics]:S,[zi.VictoriaMetricsCloud]:S,[zi.XRay]:E}[e];return i&&!t?{icon:i}:{iconSrc:`https://d15jtxgb40qetw.cloudfront.net/${e}.svg`}},bn=e=>({[wi.Namespace]:Oe,[wi.Source]:Ne,[wi.Destination]:Ie,[wi.Action]:i,[wi.InstrumentationRule]:De}[e]),yn=e=>"ruleId"in e&&e.ruleId?e.ruleId:"id"in e&&e.id?e.id:"namespace"in e&&e.namespace&&"kind"in e&&e.kind&&"name"in e&&e.name?{namespace:e.namespace,name:e.name,kind:e.kind}:"name"in e&&e.name?e.name:void 0,wn=(e,t,i)=>{const{extended:n,prioritizeDisplayName:o}=i||{};let r="",a="";switch(t){case wi.InstrumentationRule:const t=e;r=t.type,a=t.ruleName;break;case wi.Source:const i=e;r=i.name,a=i.otelServiceName;break;case wi.Action:const n=e;r=n.type,a=n.name;break;case wi.Destination:const o=e;r=o.destinationType.displayName,a=o.name;break;case wi.Namespace:const s=e;r=s.name,a=s.name}return n?r+(a&&a!==r?` (${a})`:""):o&&a||r},vn=(e,t)=>{if(t===wi.Source){const t={namespace:"",name:"",kind:""};return e.split("&").forEach(e=>{const[i,n]=e.split("=");t[i]=n}),t}return e},Cn=e=>({[Bi.CodeAttributes]:Re,[Bi.CustomInstrumentation]:_e,[Bi.HeadersCollection]:Fe,[Bi.PayloadCollection]:ze,[Bi.UnknownType]:s}[e]||s),kn=e=>{const{numberOfInstances:t,containers:i}=e;if(!i)return t&&t>0?bi.Processing:bi.NoRunningPods;const n=i?.filter(e=>e.language!==bi.Ignored);if(!n.length)return bi.NoContainers;const o=n.find(e=>e.language!==bi.Unknown);return o?o.language:bi.Unknown},En=(e,t,i)=>(t===wi.Source?e?.sources.find(e=>e.kind===i.kind&&e.name===i.name&&e.namespace===i.namespace):e?.destinations.find(e=>e.id===i))||{throughput:0},Sn=e=>({[qi.Logs]:Le,[qi.Metrics]:Me,[qi.Traces]:Be}[e]),An=e=>e?{[xi.K8s]:a,[xi.Vm]:Pe}[e]:q,Tn=e=>e?{[xi.K8s]:"Kubernetes Cluster",[xi.Vm]:"Virtual Machine"}[e]:"Unknown",Dn=(e,t,i)=>{const n=e[t];return n?n.flatMap(e=>{const n=e[i],o=[];return void 0!==n&&(Array.isArray(n)?o.push(...n):o.push(n)),o.push(...Dn(e,t,i)),o}):[]},In=(e,t)=>{if(t===wi.Source){let t="";return Object.entries(e).forEach(([e,i])=>{t+=`${e}=${i}&`}),t.slice(0,-1),t}return e},Nn=(e,t,i)=>{switch(t){case Ei.Default:return e.v2.colors.purple[i];case Ei.Info:return e.v2.colors.blue[i];case Ei.Error:return e.v2.colors.red[i];case Ei.Warning:return e.v2.colors.yellow[i];case Ei.Success:return e.v2.colors.green[i];case Ti.Disabled:case Ti.Unknown:return e.v2.colors.silver[i];default:return e.v2.colors.white[500]}},On=e=>{switch(e){case Ui.Updating:case Wi.Pending:case Vi.ContainerCreating:case Gi.Waiting:return Ei.Info;case Ui.Healthy:case Wi.Succeeded:case Wi.Running:case Vi.Running:case Gi.Running:return Ei.Success;case Ui.Degraded:return Ei.Warning;case Ui.Failed:case Wi.Failed:case Vi.Error:case Vi.CrashLoopBackOff:case Vi.CreateContainerError:case Vi.CreateContainerConfigError:case Vi.ErrImagePull:case Vi.ErrImageNeverPull:case Vi.ImagePullBackOff:case Vi.InvalidImageName:case Vi.RegistryUnavailable:case Vi.NetworkNotReady:case Vi.OOMKilled:case Vi.ContainerCannotRun:case Gi.Terminated:case Vi.DeadlineExceeded:case Vi.StartError:return Ei.Error;case Ui.Down:case Vi.Completed:return Ti.Disabled;case Ui.Unknown:case Wi.Unknown:default:return Ti.Unknown}},zn=(e,t)=>({[Ei.Default]:i=>q({fill:Nn(t,e,"300"),...i}),[Ei.Info]:i=>qe({fill:Nn(t,e,"400"),...i}),[Ei.Error]:i=>Ge({fill:Nn(t,e,"500"),...i}),[Ei.Warning]:i=>Ve({fill:Nn(t,e,"500"),...i}),[Ei.Success]:i=>We({fill:Nn(t,e,"500"),...i}),[Ti.Disabled]:i=>Ue({fill:Nn(t,e,"400"),...i}),[Ti.Unknown]:i=>je({fill:Nn(t,e,"300"),...i})}[e]),Fn=e=>{switch(e){case Ri.Success:return Ei.Success;case Ri.Error:case Ri.Failure:return Ei.Error;case Ri.Notice:return Ei.Warning;case Ri.Unsupported:case Ri.Unknown:return Ei.Info;case Ri.Irrelevant:case Ri.Disabled:return Ai.Disabled;case Ri.Waiting:return Ai.Loading;case Ri.Pending:default:return Ei.Default}},_n=(e,t)=>{const i=t.find(([t,i])=>e>=t&&(null===i||e<=i));return i?.[2]||null},Rn=({namespace:e,name:t,kind:i})=>({namespace:e,name:t,kind:i});function Bn(e,t){if(!e)return t;if("object"==typeof e)return e;try{return JSON.parse(e)}catch(e){return t}}const Mn=(e,t)=>{const i=[],n=JSON.parse(JSON.stringify(e));for(const e of n){const n=Bn(t.fields,{}),o=e.items.findIndex(e=>e.type===t.destinationType.type);-1!==o&&i.push(...e.items[o].fields.map(e=>({...e,initialValue:n[e.name]})))}return i},Ln=(e,t)=>{const i=e=>e?.some(({healthy:e})=>e.status!==Ei.Success);return e?.length?e.some(({instrumentationInstances:e})=>i(e)):i(t)??!1},Pn=e=>Array.isArray(e)?!e?.length:"object"==typeof e?!Object.keys(e||{}).length:[void 0,null,""].includes(e),jn=e=>!!e&&(!(e.length>63)&&/^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$/.test(e)),Un=(e,t=0)=>{const i=(new Date).getTime();return new Date(e).getTime()-i<=t},Wn=e=>{const t=String(e).trim().toLowerCase();return["true","false","1","0"].includes(t)},Vn=(e,t=0)=>(new Date).getTime()-new Date(e).getTime()>=t,Gn=/^(\d+\.)?(\d+\.)?(\*|\d+)$/,qn=e=>Gn.test(e),Hn=e=>e?e.replace(/([a-z0-9])([A-Z])/g,"$1 $2"):"",Kn=e=>e?.map(({status:e,type:t,reason:i,message:n,lastTransitionTime:o})=>({status:e,type:Hn(t),reason:i?Hn(i):"",message:n,lastTransitionTime:o}))||[],Yn=(e,t)=>{const i=Bn(e.fields,{});return t.length?t.map(e=>({key:e.name,name:e.displayName||e.name,value:i[e.name]??null})).filter(e=>null!==e.value):Object.entries(i).map(([e,t])=>({key:e,name:e,value:t}))},Jn=e=>e?Object.keys(e).filter(t=>e[t]).map(e=>Xi[e]):[],Xn=e=>e?Object.keys(e).filter(t=>e[t].supported).map(e=>Xi[e]):[],Zn=e=>e.replace(/[^\d]/g,""),Qn=e=>{const t=String(e).trim().toLowerCase();return"true"===t||"1"===t},eo=e=>{let t="";try{const i=JSON.parse(e);t=Array.isArray(i)?i.map(e=>"object"==typeof e&&null!==e?`${e.key}: ${e.value}`:e).join(", "):"object"==typeof i&&null!==i?Object.entries(i).map(([e,t])=>`${e}: ${t}`).join(", "):e}catch(i){t=e}return t},to=e=>{if("object"!=typeof e)return e;const t=Array.isArray(e)?[]:{};return Object.keys(e).forEach(i=>{const n=e[i];if(Array.isArray(n)){const e=n.filter(e=>null!=e&&""!==e);e.length>0&&(t[i]=e.map(e=>to(e)))}else if("object"==typeof n&&null!==n){const e=to(n);Object.keys(e).length>0&&(t[i]=e)}else[void 0,null,""].includes(n)||(t[i]=n)}),t},io=(e,t=2)=>JSON.stringify(e||{},null,t),no=async(e=1e3)=>new Promise(t=>setTimeout(t,e)),oo=e=>Object.entries(e).reduce((e,[t,i])=>(e[t]="string"==typeof i?i:JSON.stringify(i),e),{}),ro=e=>{let t=e.toString().replace("v","").split("-")[0];t=t.match(/[\d.]+/)?.[0]||"";const i=t.split(".");return 1e4*parseInt(i[0]||"0",10)+parseInt(i[1]||"0",10)};var ao,so;!function(e){e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.P="p",e.Span="span"}(ao||(ao={})),function(e){e.XXXS="xxxs",e.XXS="xxs",e.XS="xs",e.S="s",e.M="m",e.L="l",e.XL="xl",e.XXL="xxl",e.XXXL="xxxl"}(so||(so={}));const lo=Rt.p`
1
+ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon as n,DeleteAttributeIcon as o,AddClusterInfoIcon as r,K8sLogo as a,ImageErrorIcon as s,KafkaLogo as l,RedisLogo as c,PostgresLogo as d,NginxLogo as p,MysqlLogo as u,ElixirLogo as h,SwiftLogo as m,RustLogo as g,RubyLogo as $,PhpLogo as x,CPlusPlusLogo as f,CSharpLogo as b,DotnetLogo as y,PythonLogo as w,NodejsLogo as v,GoLogo as C,JavaLogo as k,AwsXrayLogo as S,VictoriaMetricsLogo as E,UptraceLogo as A,TraceloopLogo as T,TingyunLogo as D,TempoLogo as I,TelemetryHubLogo as N,SumoLogicLogo as O,SplunkLogo as z,SignozLogo as F,SeqLogo as _,AwsS3Logo as R,QuickwitLogo as B,GigapipeLogo as M,QrynLogo as L,PrometheusLogo as P,OpenTelemetryLogo as j,OracleLogo as U,OpsVerseLogo as W,OpenObserveLogo as V,OneUptimeLogo as G,OdigosLogo as q,ObserveLogo as H,NewRelicLogo as K,MiddlewareLogo as Y,LumigoLogo as J,LokiLogo as X,LogzioLogo as Z,LightstepLogo as Q,Last9Logo as ee,KloudmateLogo as te,JaegerLogo as ie,InstanaLogo as ne,HyperDxLogo as oe,HoneycombLogo as re,GroundcoverLogo as ae,GreptimeLogo as se,GrafanaLogo as le,GoogleCloudPlatformLogo as ce,ElasticSearchLogo as de,ElasticApmLogo as pe,DynatraceLogo as ue,DatadogLogo as he,Dash0Logo as me,CoralogixLogo as ge,AwsCloudwatchLogo as $e,ClickhouseLogo as xe,ChronosphereLogo as fe,ChecklyLogo as be,CauselyLogo as ye,BonreeLogo as we,BetterStackLogo as ve,AzureMonitorLogo as Ce,AzureBlobLogo as ke,AxiomLogo as Se,AppDynamicsLogo as Ee,AlibabaCloudLogo as Ae,AlaudaLogo as Te,InstrumentationRuleIcon as De,DestinationIcon as Ie,SourceIcon as Ne,NamespacesIcon as Oe,PayloadCollectionIcon as ze,HeadersCollectionIcon as Fe,CustomInstrumentationIcon as _e,CodeAttributesIcon as Re,TracesIcon as Be,MetricsIcon as Me,LogsIcon as Le,VmLogo as Pe,QuestionCircleIcon as je,XSquareIcon as Ue,VSquareIcon as We,ExclamationTriangleIcon as Ve,ExclamationCircleIcon as Ge,ISquareIcon as qe,VIcon as He,CopyIcon as Ke,XIcon as Ye,MinusIcon as Je,ListIcon as Xe,CodeIcon as Ze,ExtendArrowIcon as Qe,PlusIcon as et,EditIcon as tt,NoDataIcon as it,EyeClosedIcon as nt,EyeOpenIcon as ot,SearchIcon as rt,TrashIcon as at,EditedIcon as st,SortArrowsIcon as lt,NotebookIcon as ct,ArrowIcon as dt,ChevronUpIcon as pt,ChevronDownIcon as ut,DotsVerticalIcon as ht,DotsHorizontalIcon as mt,DotIcon as gt,FilterIcon as $t}from"../icons.js";import{create as xt}from"zustand";import{jsx as ft,jsxs as bt,Fragment as yt}from"react/jsx-runtime";import{Fragment as wt,useMemo as vt,useState as Ct,useEffect as kt,useRef as St,useCallback as Et,useContext as At,createContext as Tt,forwardRef as Dt,memo as It}from"react";import Nt from"javascript-time-ago";import{p as Ot,c as zt,s as Ft,e as _t}from"./vendor-D99eCWta.js";import Rt,{css as Bt,useTheme as Mt,ThemeProvider as Lt,keyframes as Pt}from"styled-components";import{Handle as jt,Position as Ut,ReactFlow as Wt,Controls as Vt}from"@xyflow/react";import Gt,{createPortal as qt}from"react-dom";import{Highlight as Ht,themes as Kt}from"prism-react-renderer";import{ErrorBoundary as Yt}from"react-error-boundary";import Jt from"lottie-react";import{VList as Xt}from"virtua";const Zt=e=>e.charAt(0).toUpperCase()+e.slice(1),Qt=e=>{const t=e=>e.filter(e=>"object"==typeof e&&null!==e?""!==e.key&&""!==e.value:""!==e),i=e=>Object.fromEntries(Object.entries(e).filter(([e,t])=>""!==e&&""!==t).map(([e,n])=>Array.isArray(n)?[e,t(n)]:"object"==typeof n&&null!==n?[e,i(n)]:[e,n]));return Object.entries(e).reduce((e,[n,o])=>{try{const r=JSON.parse(o);Array.isArray(r)?e[n]=JSON.stringify(t(r)):e[n]="object"==typeof r&&null!==r?JSON.stringify(i(r)):o}catch(r){"object"==typeof o&&null!==o?Array.isArray(o)?e[n]=JSON.stringify(t(o)):e[n]=JSON.stringify(i(o)):e[n]=o}return e},{})};var ei;!function(e){e.SIGNALS="SIGNALS"}(ei||(ei={}));const ti=(e,t,i)=>{if(!e||!e.length)return!0;if(1===e.length)return"true"==e[0];const[n,o,r]=e;if(n===ei.SIGNALS)switch(o){case"INCLUDES":return t?.includes(r);case"EXCLUDES":return!t?.includes(r);default:return!0}const a=i.find(e=>e.name===n||e.key===n);if(!a)return!1;switch(o){case"===":case"==":return a.value===r;case"!==":case"!=":return a.value!==r;case">":return Number(a.value)>Number(r);case"<":return Number(a.value)<Number(r);case">=":return Number(a.value)>=Number(r);case"<=":return Number(a.value)<=Number(r);default:return!0}},ii=e=>JSON.parse(JSON.stringify(e)),ni=(e,t)=>{let i=[...e];return t.monitors?.length&&(i=i.filter(e=>!!t.monitors?.find(t=>e.signals?.find(e=>e.toLowerCase()===t.id)))),i},oi=(e,t)=>{let i=[...e];return t.monitors?.length&&(i=i.filter(e=>!!t.monitors?.find(t=>e.exportedSignals[t.id]))),i},ri=(e,t)=>t?e.filter(e=>e.dataStreamNames.includes(t)||!e.dataStreamNames.length):[];var ai,si,li,ci,di,pi,ui,hi,mi,gi,$i,xi,fi,bi,yi,wi,vi,Ci,ki,Si,Ei,Ai,Ti,Di,Ii,Ni,Oi,zi,Fi,_i,Ri,Bi,Mi,Li,Pi,ji,Ui,Wi,Vi,Gi,qi,Hi;!function(e){e.Attributes="attributes",e.Samplers="samplers"}(ai||(ai={})),function(e){e.K8sAttributes="K8sAttributesResolver",e.AddClusterInfo="AddClusterInfo",e.DeleteAttributes="DeleteAttribute",e.RenameAttributes="RenameAttribute",e.PiiMasking="PiiMasking",e.ErrorSampler="ErrorSampler",e.ProbabilisticSampler="ProbabilisticSampler",e.LatencySampler="LatencySampler",e.ServiceNameSampler="ServiceNameSampler",e.SpanAttributeSampler="SpanAttributeSampler",e.URLTemplatization="URLTemplatization"}(si||(si={})),function(e){e.CollectContainerAttributes="collectContainerAttributes",e.CollectReplicaSetAttributes="collectReplicaSetAttributes",e.CollectWorkloadId="collectWorkloadId",e.CollectClusterId="collectClusterId",e.LabelsAttributes="labelsAttributes",e.AnnotationsAttributes="annotationsAttributes",e.ClusterAttributes="clusterAttributes",e.OverwriteExistingValues="overwriteExistingValues",e.AttributeNamesToDelete="attributeNamesToDelete",e.Renames="renames",e.PiiCategories="piiCategories",e.FallbackSamplingRatio="fallbackSamplingRatio",e.SamplingPercentage="samplingPercentage",e.EndpointsFilters="endpointsFilters",e.ServicesNameFilters="servicesNameFilters",e.AttributeFilters="attributeFilters",e.UrlTemplatizationRulesGroups="urlTemplatizationRulesGroups"}(li||(li={})),function(e){e.Pod="pod",e.Namespace="namespace",e.Node="node"}(ci||(ci={})),function(e){e.EXISTS="exists",e.EQUALS="equals",e.NOT_EQUALS="not_equals",e.CONTAINS="contains",e.NOT_CONTAINS="not_contains",e.REGEX="regex"}(di||(di={})),function(e){e.EXISTS="exists",e.EQUALS="equals",e.NOT_EQUALS="not_equals",e.GREATER_THAN="greater_than",e.LESS_THAN="less_than",e.GREATER_THAN_OR_EQUAL="greater_than_or_equal",e.LESS_THAN_OR_EQUAL="less_than_or_equal"}(pi||(pi={})),function(e){e.EXISTS="exists",e.EQUALS="equals"}(ui||(ui={})),function(e){e.EXISTS="exists",e.EQUALS="equals",e.NOT_EQUALS="not_equals",e.IS_VALID_JSON="is_valid_json",e.IS_INVALID_JSON="is_invalid_json",e.JSONPATH_EXISTS="jsonpath_exists",e.KEY_EQUALS="key_equals",e.KEY_NOT_EQUALS="key_not_equals"}(hi||(hi={})),function(e){e.Horizontal="horizontal",e.Vertical="vertical"}(mi||(mi={})),function(e){e.Ascending="ascending",e.Descending="descending"}(gi||(gi={})),function(e){e.Community="community",e.Cloud="cloud",e.Onprem="onprem"}($i||($i={})),function(e){e.K8s="k8s",e.Vm="vm"}(xi||(xi={})),function(e){e.Cli="odigos-cli",e.Helm="helm",e.Operator="odigos-operator"}(fi||(fi={})),function(e){e.Go="go",e.JavaScript="javascript",e.Python="python",e.Java="java",e.DotNet="dotnet",e.CSharp="csharp",e.CPlusPlus="cplusplus",e.Php="php",e.Ruby="ruby",e.Rust="rust",e.Swift="swift",e.Elixir="elixir",e.MySql="mysql",e.Nginx="nginx",e.Postgres="postgres",e.Redis="redis",e.Kafka="kafka",e.Ignored="ignored",e.Unknown="unknown",e.Processing="processing",e.NoContainers="no containers",e.NoRunningPods="no running pods"}(bi||(bi={})),function(e){e.Create="Create",e.Read="Read",e.Update="Update",e.Delete="Delete"}(yi||(yi={})),function(e){e.Namespace="Namespace",e.Source="Source",e.Destination="Destination",e.Action="Action",e.InstrumentationRule="InstrumentationRule"}(wi||(wi={})),function(e){e.DataStream="DataStream"}(vi||(vi={})),function(e){e.Input="input",e.MultiInput="multiInput",e.MultiTabledInput="multiTabledInput",e.KeyValuePair="keyValuePairs",e.TextArea="textarea",e.Dropdown="dropdown",e.Checkbox="checkbox",e.Toggle="toggle"}(Ci||(Ci={})),function(e){e.Text="text",e.Password="password",e.Number="number"}(ki||(ki={})),function(e){e.Warning="warning",e.Error="error",e.Success="success",e.Info="info",e.Default="default"}(Si||(Si={})),function(e){e.INSTRUMENTED="Instrumented",e.INSTRUMENTING="Instrumenting",e.UNINSTRUMENTED="Uninstrumented",e.NOT_INSTRUMENTED="Not Instrumented"}(Ei||(Ei={})),function(e){e.Loading="loading",e.Disabled="disabled"}(Ai||(Ai={})),function(e){e.Disabled="disabled",e.Unknown="unknown"}(Ti||(Ti={})),function(e){e.CodeAttributes="code-attributes",e.FullPayloadCollection="full-payload-collection",e.DbPayloadCollection="db-payload-collection",e.QueryOperationDetector="query-operation-detector",e.AllowConcurrentAgents="allow_concurrent_agents",e.JavaEbpfInstrumentations="java-ebpf-instrumentations",e.JavaNativeInstrumentations="java-native-instrumentations",e.SizeS="size_s",e.SizeM="size_m",e.SizeL="size_l"}(Di||(Di={})),function(e){e.Header="header",e.Add="add",e.Base="base",e.Edged="edged",e.Frame="frame",e.Scroll="scroll",e.Skeleton="skeleton",e.MapItem="map-item",e.NoData="no-data",e.OdiLogo="odilogo"}(Ii||(Ii={})),function(e){e.Labeled="labeled"}(Ni||(Ni={})),function(e){e.AddRule="addRule",e.AddSource="addSource",e.AddAction="addAction",e.AddDestination="addDestination"}(Oi||(Oi={})),function(e){e.Alauda="alauda",e.AlibabaCloud="alibabacloud",e.AppDynamics="appdynamics",e.Axiom="axiom",e.AzureBlob="azureblob",e.AzureMonitor="azuremonitor",e.BetterStack="betterstack",e.Bonree="bonree",e.Causely="causely",e.Checkly="checkly",e.Chronosphere="chronosphere",e.ClickHouse="clickhouse",e.CloudWatch="cloudwatch",e.Coralogix="coralogix",e.Dash0="dash0",e.Datadog="datadog",e.Dynamic="dynamic",e.Dynatrace="dynatrace",e.ElasticApm="elasticapm",e.ElasticSearch="elasticsearch",e.GoogleCloud="googlecloud",e.GoogleCloudOTLP="googlecloudotlp",e.GrafanaCloudLoki="grafanacloudloki",e.GrafanaCloudPrometheus="grafanacloudprometheus",e.GrafanaCloudTempo="grafanacloudtempo",e.Greptime="greptime",e.Groundcover="groundcover",e.Honeycomb="honeycomb",e.HyperDX="hyperdx",e.Instana="instana",e.Jaeger="jaeger",e.Kafka="kafka",e.Kloudmate="kloudmate",e.Last9="last9",e.Lightstep="lightstep",e.LogzIo="logzio",e.Loki="loki",e.Lumigo="lumigo",e.Middleware="middleware",e.NewRelic="newrelic",e.Observe="observe",e.Odigos="odigos",e.OneUptime="oneuptime",e.OpenObserve="openobserve",e.Opsverse="opsverse",e.Oracle="oracle",e.OTLP="otlp",e.OTLPHttp="otlphttp",e.Prometheus="prometheus",e.Qryn="qryn",e.QrynOss="qryn-oss",e.Quickwit="quickwit",e.S3="s3",e.Seq="seq",e.Signalfx="signalfx",e.Signoz="signoz",e.Splunk="splunk",e.SplunkSapm="splunksapm",e.SplunkOtlp="splunkotlp",e.SumoLogic="sumologic",e.TelemetryHub="telemetryhub",e.Tempo="tempo",e.Tingyun="tingyun",e.Traceloop="traceloop",e.Uptrace="uptrace",e.VictoriaMetrics="victoriametrics",e.VictoriaMetricsCloud="victoriametricscloud",e.XRay="xray"}(zi||(zi={})),function(e){e.Deployment="Deployment",e.DaemonSet="DaemonSet",e.StatefulSet="StatefulSet",e.CronJob="CronJob",e.Pod="Pod",e.StaticPod="StaticPod",e.Rollout="Rollout",e.ConfigMap="ConfigMap",e.DeploymentConfig="DeploymentConfig"}(Fi||(Fi={})),function(e){e.GolangCommunity="golang-community",e.NodejsCommunity="nodejs-community",e.PythonCommunity="python-community",e.JavaCommunity="java-community",e.DotNetCommunity="dotnet-community",e.RubyCommunity="ruby-community",e.PhpCommunity="php-community",e.GolangEnterprise="golang-enterprise",e.NodejsEnterprise="nodejs-enterprise",e.PythonEnterprise="python-enterprise",e.JavaEnterprise="java-enterprise",e.JavaEbpfInstrumentations="java-ebpf-instrumentations",e.DotNetLegacy="dotnet-legacy",e.DotNetEnterprise="dotnet-enterprise",e.RubyEnterprise="ruby-enterprise",e.CPlusPlusEnterprise="cplusplus-enterprise",e.MySqlEnterprise="mysql-enterprise"}(_i||(_i={})),function(e){e.Error="Error",e.Failure="Failure",e.Notice="Notice",e.Pending="Pending",e.Waiting="Waiting",e.Unsupported="Unsupported",e.Disabled="Disabled",e.Success="Success",e.Irrelevant="Irrelevant",e.Unknown="Unknown"}(Ri||(Ri={})),function(e){e.CodeAttributes="CodeAttributes",e.HeadersCollection="HeadersCollection",e.PayloadCollection="PayloadCollection",e.CustomInstrumentation="CustomInstrumentation",e.UnknownType="UnknownType"}(Bi||(Bi={})),function(e){e.Column="column",e.FilePath="filePath",e.Function="function",e.LineNumber="lineNumber",e.Namespace="namespace",e.StackTrace="stacktrace"}(Mi||(Mi={})),function(e){e.HeaderKeys="headerKeys"}(Li||(Li={})),function(e){e.Java="java",e.Golang="golang"}(Pi||(Pi={}));class Ki{className;methodName;constructor(e,t){this.className=e,this.methodName=t}Verify(){return!!this.className&&!!this.methodName}toString(){return this.Verify()?`${this.className}.${this.methodName}`:"[Faulty Java Probe]"}}class Yi{packageName;functionName;receiverName;receiverMethodName;constructor(e,t,i,n){this.packageName=e,this.functionName=t||"",this.receiverName=i||"",this.receiverMethodName=n||""}Verify(){return!(!this.packageName||(this.functionName?this.receiverMethodName||this.receiverName:!this.receiverMethodName||!this.receiverName))}toString(){return this.Verify()?this.functionName?`${this.packageName}.${this.functionName}`:this.receiverName&&this.receiverMethodName?`${this.packageName}.(${this.receiverName}).${this.receiverMethodName}`:"":"[Faulty Golang Probe]"}}!function(e){e.HttpRequest="httpRequest",e.HttpResponse="httpResponse",e.DbQuery="dbQuery",e.Messaging="messaging"}(ji||(ji={})),function(e){e.Healthy="Healthy",e.Updating="Updating",e.Degraded="Degraded",e.Failed="Failed",e.Down="Down",e.Unknown="Unknown"}(Ui||(Ui={})),function(e){e.Pending="Pending",e.Running="Running",e.Succeeded="Succeeded",e.Failed="Failed",e.Unknown="Unknown"}(Wi||(Wi={})),function(e){e.ContainerCreating="ContainerCreating",e.CrashLoopBackOff="CrashLoopBackOff",e.CreateContainerError="CreateContainerError",e.CreateContainerConfigError="CreateContainerConfigError",e.ErrImagePull="ErrImagePull",e.ErrImageNeverPull="ErrImageNeverPull",e.ImagePullBackOff="ImagePullBackOff",e.InvalidImageName="InvalidImageName",e.RegistryUnavailable="RegistryUnavailable",e.NetworkNotReady="NetworkNotReady",e.Running="Running",e.Completed="Completed",e.Error="Error",e.OOMKilled="OOMKilled",e.ContainerCannotRun="ContainerCannotRun",e.DeadlineExceeded="DeadlineExceeded",e.StartError="StartError"}(Vi||(Vi={})),function(e){e.Running="Running",e.Waiting="Waiting",e.Terminated="Terminated"}(Gi||(Gi={})),function(e){e.Logs="LOGS",e.Metrics="METRICS",e.Traces="TRACES"}(qi||(qi={})),function(e){e.Logs="logs",e.Metrics="metrics",e.Traces="traces"}(Hi||(Hi={}));const Ji={[qi.Logs]:Hi.Logs,[qi.Metrics]:Hi.Metrics,[qi.Traces]:Hi.Traces},Xi={[Hi.Logs]:qi.Logs,[Hi.Metrics]:qi.Metrics,[Hi.Traces]:qi.Traces},Zi=(e,t)=>{let i=[...e];return t.namespaces?.length&&(i=i.filter(({namespace:e})=>!!t.namespaces?.find(({id:t})=>t===e))),t.kinds?.length&&(i=i.filter(({kind:e})=>!!t.kinds?.find(({id:t})=>t===e))),t.languages?.length&&(i=i.filter(({containers:e})=>!!t.languages?.find(({id:t})=>!!e?.find(({language:e})=>t===e)))),t.conditions?.length&&(i=i.filter(({conditions:e})=>!!t.conditions?.find(({id:t})=>!!e?.find(({type:e,reason:i})=>t===`${e}#${i}`)))),t.podsAgentInjectionStatus?.length&&(i=i.filter(({podsAgentInjectionStatus:e})=>!!t.podsAgentInjectionStatus?.find(({id:t})=>t===e?.reasonEnum||t===e?.message))),t.onlyErrors&&(i=i.filter(e=>!!e.conditions?.find(e=>e.status===Si.Error))),t.errors?.length&&(i=i.filter(e=>!!t.errors?.find(t=>!!e.conditions?.find(e=>e.message===t.id)))),i},Qi="https://docs.odigos.io",en="default",tn={SELECTED_DATA_STREAM:"SELECTED_DATA_STREAM",SELECTED_DATA_STREAM_WITH_PROXY:e=>`SELECTED_DATA_STREAM_${e}`,OVERVIEW_FILTERS:"OVERVIEW_FILTERS",DARK_MODE:"DARK_MODE"},nn={REQUIRED_FIELDS:"Required fields are missing",FIELD_IS_REQUIRED:"This field is required",FORBIDDEN:"Forbidden",ENTERPRISE_ONLY:(e="This")=>`${e} is an Enterprise feature. Please upgrade your plan.`,DEFINED_FOR_ALL_STREAMS:e=>`${e} are defined for all Data Streams.`,CANNOT_EDIT_RULE:"Cannot edit a system-managed instrumentation rule",CANNOT_DELETE_RULE:"Cannot delete a system-managed instrumentation rule",LATENCY_HTTP_ROUTE:'HTTP route must start with a forward slash "/"',READONLY_WARNING:"You're not allowed to create/update/delete in readonly mode",ILLEGAL_K8S_LABEL:'Must be 63 characters or less, must consist of alphanumeric characters, "-", "_", or ".", and must start & end with an alphanumeric character (e.g., my-name, 123.abc).',INVALID_VERSION:'Invalid version format, must be in the format of "major.minor.patch" (e.g. 1.0.0)'},on={NAMESPACE:"Namespace",NAME:"Name",KIND:"Kind",CONNECTION:"Connection",CONNECTIONS:"Connections",DATA_STREAM:"Data Stream",DATA_STREAMS:"Data Streams",STREAM_NAME:"Data Stream Name",NAME_YOUR_STREAM:"Name your Data Stream",NAME_YOUR_STREAM_PLACEHOLDER:"e.g. Highest priority",STREAM_DESCRIPTION:"Provide a clear and descriptive name for your pipeline to ensure its purpose is easily understood by you and your team.",STREAM_CONFIRM:"Confirm your new Data Stream",DATA_STREAM_EXISTS_WARNING:(e,t)=>`A Data Stream with this name already exists, you can still rename the current "${e}", but it will merge into the existing "${t}".`,ACTION:"Action",ACTIONS:"Actions",ADD_ACTION:"Add Action",ACTION_DETAILS:"Action Details",INSTRUMENTATION_RULE:"Instrumentation Rule",INSTRUMENTATION_RULES:"Instrumentation Rules",ADD_INSTRUMENTATION_RULE:"Add Instrumentation Rule",INSTRUMENTATION_RULE_DETAILS:"Instrumentation Rule Details",DESTINATION:"Destination",DESTINATIONS:"Destinations",ADD_DESTINATION:"Add Destination",ADD_DESTINATIONS:"Add Destinations",ADD_DESTINATION_DESCRIPTION:"Add a destination to send your telemetry data to. You can add multiple destinations.",DESTINATION_DETAILS:"Destination Details",SELECTED_DESTINATIONS:"Selected Destinations",SOURCE:"Source",SOURCES:"Sources",ADD_SOURCE:"Add Source",SOURCE_DETAILS:"Source Details",SELECT_SOURCES:"Select Sources",SELECTED_SOURCES:"Selected Sources",SELECT_SOURCES_DESCRIPTION:"Choose which sources to monitor in your pipeline.",NO_SOURCES:"No sources",NO_SOURCES_GO_BACK:"No sources selected. Please go back to select sources.",PLEASE_ADD_SOURCE:"Please add a source",NO_SOURCES_NAMESPACE:"No sources available in this namespace",TRY_SEARCH_OR_OTHER_NAMESPACE:"Try searching again or select another namespace.",PLEASE_MAKE_SURE_UNIGNORED_NAMESPACES:"Please make sure your cluster has unignored namespaces",INSTALLATION:"Installation",SUMMARY:"Summary",TYPE:"Type",NOTES:"Notes",STATUS:"Status",READONLY:"Readonly",LANGUAGE:"Language",VERSION:"Version",RUNTIME_VERSION:"Runtime Version",VERSION_PLACEHOLDER:"1.0.0",MONITORS:"Monitors",SIGNALS_FOR_PROCESSING:"Signals for Processing",MANAGED_BY_PROFILE:"Managed by Profile",TIER:"Tier",ENTERPRISE:"Enterprise",ENTERPRISE_TIER:"Enterprise Tier",COMMUNITY:"Community",COMMUNITY_TIER:"Community Tier",API_TOKEN:"API Token",API_TOKENS:"API Tokens",DESCRIBE_ODIGOS:"Describe Odigos",DESCRIBE_SOURCE:"Describe Source",DETECTED_CONTAINERS:"Detected Containers",DETECTED_CONTAINERS_DESCRIPTION:"The system automatically instruments the containers it detects with a supported programming language.",DETECTED_PROCESSES:"Detected Processes",DETECTED_PROCESSES_DESCRIPTION:"The system automatically instruments the processes it detects with a supported programming language.",CONTAINER_NAME:"Container Name",FILTERED_COUNT_TOOLTIP:"Represents filtered amount, out of total amount",SEARCH_NAMESPACES:"Search Namespaces",SEARCH_SOURCES:"Search Sources",SELECT_ALL:"Select All",ONLY_SELECTED:"Only selected",ONLY_RUNNING_INSTANCES:"Only running instances",TO_COLLECT_OTEL_DATA:"To collect OpenTelemetry data",TO_MONITOR_OTEL_DATA:"To monitor OpenTelemetry data",TO_MODIFY_OTEL_DATA:"To modify OpenTelemetry data",QUICK_BACK_TO_SUMMARY:"When you finish editing you can quickly go back to the summary.",GO_TO_SUMMARY:"Go to summary",FUTURE_APPS_TITLE:"Instrument entire namespace",FUTURE_APPS_DESCRIPTION:"When enabled, all applications in the namespace and new applications will be instrumented automatically and included in the current data stream using a Namespace Source.",OVERIDE:"Override",OVERIDDEN:"Overridden",OVERRIDE_RUNTIME_DETAILS:"Override Runtime Details",OVERRIDE_RUNTIME_WARNING:"This is an advanced configuration. If the selected programming language is incorrect, data collection may be incomplete or may not occur at all.",ACTIVE:"Active",INACTIVE:"Inactive",ENABLED:"Enabled",DISABLED:"Disabled",NO_TRACES_FOUND:"No traces found",ARE_SERVICES_INSTRUMENTED_AND_PRODUCING_TRAFFIC:"Are your services instrumented & producing traffic?",JAVA_CUSTOM_PROBES:"Java Custom Probes",GOLANG_CUSTOM_PROBES:"Golang Custom Probes",ROLLBACK_OCCURRED_MESSAGE:"Odigos detected a crash and rolled back instrumentation to protect your workload.",ROLLBACK_RECOVER:"Recover",FETCHING_NAMESPACES:"Fetching namespaces",FETCHING_NAMESPACES_SUBTITLE:"Please wait while we fetch the namespaces",ADD_SOURCES_DESCRIPTION:"Choose which sources to monitor in your pipeline.",CREATING_SOURCES:"Creating Sources...",CREATING_SOURCES_SUBTITLE:"This may take a few moments while sources are being created.",SELECT_NAMESPACE:"Select namespace from the list",SELECT_NAMESPACE_SUBTITLE:"Add namespace so you can select workloads from it.",CREATING_ACTION:"Creating action",CREATING_ACTION_SUBTITLE:"Please wait while we create the action",ADD_ACTION_DESCRIPTION:"Select an action to modify telemetry data before it's sent to destinations. Choose an action type and configure its details.",CREATING_INSTRUMENTATION_RULE:"Creating instrumentation rule",CREATING_INSTRUMENTATION_RULE_SUBTITLE:"Please wait while we create the instrumentation rule",ADD_INSTRUMENTATION_RULE_DESCRIPTION:"Define how telemetry is recorded from your application. Choose a rule type and configure the details.",CREATING_DESTINATION:"Creating destination",CREATING_DESTINATION_SUBTITLE:"Please wait while we create the destination",ADD_DESTINATION_DRAWER_DESCRIPTION:"Add backend destination you want to connect with Odigos."},rn={ADD:"Add",ADD_NEW:"Add New",NEW:"New",SELECT:"Select",CREATE:"Create",UPDATE:"Update",EDIT:"Edit",DELETE:"Delete",CANCEL:"Cancel",DONE:"Done",SAVE:"Save",BACK:"Back",NEXT:"Next",TEST:"Test",TEST_CONNECTION:"Test Connection",INSTRUMENT:"Instrument",UNINSTRUMENT:"Uninstrument"},an=(e,t)=>t?e.filter(e=>e.dataStreamNames.includes(t)||t===en&&!e.dataStreamNames.length):[],sn=(e,t="",i={})=>{for(const n in e)if(e.hasOwnProperty(n)){const o=e[n],r=t?`${t}.${n}`:n;null===o||"object"!=typeof o||Array.isArray(o)?Array.isArray(o)?o.forEach((e,t)=>{const n=`${r}[${t}]`;null!==e&&"object"==typeof e?sn(e,n,i):i[n]=e}):i[r]=o:sn(o,r,i)}return i},ln=e=>{if(!e)return"0 KB/s";const t=Math.floor(Math.log(e)/Math.log(1024));return`${(e/Math.pow(1024,t)).toFixed(0===t?0:1)} ${["Bytes/s","KB/s","MB/s","GB/s","TB/s"][t]}`},cn=e=>{if(!e)return"0 ns";if(e<1e3)return`${e.toFixed(0)} ns`;if(e<1e6){const t=e/1e3;return`${t.toFixed(t<10?2:0)} μs`}if(e<1e9){const t=e/1e6;return`${t.toFixed(t<10?2:0)} ms`}if(e<6e10){const t=e/1e9;return`${t.toFixed(t<10?2:0)} s`}if(e<36e11){const t=e/6e10;return`${t.toFixed(t<10?2:0)} m`}if(e<864e11){const t=e/36e11;return`${t.toFixed(t<10?2:0)} h`}{const t=e/864e11;return`${t.toFixed(t<10?2:0)} d`}},dn=()=>{const e=crypto.getRandomValues(new Uint8Array(16));let t=0;return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,i=>{const n=e[t%16];return t++,("1"===i?n:"0"===i?63&n|128:15&n|64).toString(16)})},pn=l=>{const c=l?.toLowerCase(),d=c?.includes(ai.Samplers),p=c===ai.Attributes;return d?e:p?t:{[si.K8sAttributes]:a,[si.AddClusterInfo]:r,[si.DeleteAttributes]:o,[si.PiiMasking]:t,[si.RenameAttributes]:n,[si.URLTemplatization]:i,[si.ErrorSampler]:e,[si.ProbabilisticSampler]:e,[si.LatencySampler]:e,[si.ServiceNameSampler]:e,[si.SpanAttributeSampler]:e}[l]||s},un=e=>{const t=e?.filter(({status:e})=>e===Si.Error),i=e?.filter(({status:e})=>e===Si.Warning),n=e?.filter(({status:e})=>e===Ai.Disabled),o=e?.filter(({status:e})=>e===Ai.Loading),r=t.length>0,a=i.length>0,s=n.length>0;return{errors:t,hasErrors:r,warnings:i,hasWarnings:a,disableds:n,hasDisableds:s,loadings:o,hasLoadings:o.length>0,priorotizedStatus:r?Si.Error:a?Si.Warning:s?Si.Info:void 0}},hn=e=>{const t=e?.reduce((e,t)=>t.instrumented?e+1:e,0);return`${t}/${e?.length||0} instrumented`},mn=e=>({[bi.Java]:k,[bi.Go]:C,[bi.JavaScript]:v,[bi.Python]:w,[bi.DotNet]:y,[bi.CSharp]:b,[bi.CPlusPlus]:f,[bi.Php]:x,[bi.Ruby]:$,[bi.Rust]:g,[bi.Swift]:m,[bi.Elixir]:h,[bi.MySql]:u,[bi.Nginx]:p,[bi.Postgres]:d,[bi.Redis]:c,[bi.Kafka]:l,[bi.Ignored]:s,[bi.Unknown]:s,[bi.Processing]:s,[bi.NoContainers]:s,[bi.NoRunningPods]:s}[e]||s),gn=e=>e?.map(({language:e})=>mn(e))||[],$n=e=>e?.map(e=>mn(e))||[],xn=e=>e.detectedLanguages?.length?$n(e.detectedLanguages):gn(e.containers),fn=(e,t)=>{const i={[zi.Alauda]:Te,[zi.AlibabaCloud]:Ae,[zi.AppDynamics]:Ee,[zi.Axiom]:Se,[zi.AzureBlob]:ke,[zi.AzureMonitor]:Ce,[zi.BetterStack]:ve,[zi.Bonree]:we,[zi.Causely]:ye,[zi.Checkly]:be,[zi.Chronosphere]:fe,[zi.ClickHouse]:xe,[zi.CloudWatch]:$e,[zi.Coralogix]:ge,[zi.Dash0]:me,[zi.Datadog]:he,[zi.Dynamic]:j,[zi.Dynatrace]:ue,[zi.ElasticApm]:pe,[zi.ElasticSearch]:de,[zi.GoogleCloud]:ce,[zi.GoogleCloudOTLP]:ce,[zi.GrafanaCloudLoki]:le,[zi.GrafanaCloudPrometheus]:le,[zi.GrafanaCloudTempo]:le,[zi.Greptime]:se,[zi.Groundcover]:ae,[zi.Honeycomb]:re,[zi.HyperDX]:oe,[zi.Instana]:ne,[zi.Jaeger]:ie,[zi.Kafka]:l,[zi.Kloudmate]:te,[zi.Last9]:ee,[zi.Lightstep]:Q,[zi.LogzIo]:Z,[zi.Loki]:X,[zi.Lumigo]:J,[zi.Middleware]:Y,[zi.NewRelic]:K,[zi.Observe]:H,[zi.Odigos]:q,[zi.OneUptime]:G,[zi.OpenObserve]:V,[zi.Opsverse]:W,[zi.Oracle]:U,[zi.OTLP]:j,[zi.OTLPHttp]:j,[zi.Prometheus]:P,[zi.Qryn]:L,[zi.QrynOss]:M,[zi.Quickwit]:B,[zi.S3]:R,[zi.Seq]:_,[zi.Signalfx]:z,[zi.Signoz]:F,[zi.Splunk]:z,[zi.SplunkSapm]:z,[zi.SplunkOtlp]:z,[zi.SumoLogic]:O,[zi.TelemetryHub]:N,[zi.Tempo]:I,[zi.Tingyun]:D,[zi.Traceloop]:T,[zi.Uptrace]:A,[zi.VictoriaMetrics]:E,[zi.VictoriaMetricsCloud]:E,[zi.XRay]:S}[e];return i&&!t?{icon:i}:{iconSrc:`https://d15jtxgb40qetw.cloudfront.net/${e}.svg`}},bn=e=>({[wi.Namespace]:Oe,[wi.Source]:Ne,[wi.Destination]:Ie,[wi.Action]:i,[wi.InstrumentationRule]:De}[e]),yn=e=>"ruleId"in e&&e.ruleId?e.ruleId:"id"in e&&e.id?e.id:"namespace"in e&&e.namespace&&"kind"in e&&e.kind&&"name"in e&&e.name?{namespace:e.namespace,name:e.name,kind:e.kind}:"name"in e&&e.name?e.name:void 0,wn=(e,t,i)=>{const{extended:n,prioritizeDisplayName:o}=i||{};let r="",a="";switch(t){case wi.InstrumentationRule:const t=e;r=t.type,a=t.ruleName;break;case wi.Source:const i=e;r=i.name,a=i.otelServiceName;break;case wi.Action:const n=e;r=n.type,a=n.name;break;case wi.Destination:const o=e;r=o.destinationType.displayName,a=o.name;break;case wi.Namespace:const s=e;r=s.name,a=s.name}return n?r+(a&&a!==r?` (${a})`:""):o&&a||r},vn=(e,t)=>{if(t===wi.Source){const t={namespace:"",name:"",kind:""};return e.split("&").forEach(e=>{const[i,n]=e.split("=");t[i]=n}),t}return e},Cn=e=>({[Bi.CodeAttributes]:Re,[Bi.CustomInstrumentation]:_e,[Bi.HeadersCollection]:Fe,[Bi.PayloadCollection]:ze,[Bi.UnknownType]:s}[e]||s),kn=e=>{const{numberOfInstances:t,containers:i}=e;if(!i)return t&&t>0?bi.Processing:bi.NoRunningPods;const n=i?.filter(e=>e.language!==bi.Ignored);if(!n.length)return bi.NoContainers;const o=n.find(e=>e.language!==bi.Unknown);return o?o.language:bi.Unknown},Sn=(e,t,i)=>(t===wi.Source?e?.sources.find(e=>e.kind===i.kind&&e.name===i.name&&e.namespace===i.namespace):e?.destinations.find(e=>e.id===i))||{throughput:0},En=e=>({[qi.Logs]:Le,[qi.Metrics]:Me,[qi.Traces]:Be}[e]),An=e=>e?{[xi.K8s]:a,[xi.Vm]:Pe}[e]:q,Tn=e=>e?{[xi.K8s]:"Kubernetes Cluster",[xi.Vm]:"Virtual Machine"}[e]:"Unknown",Dn=(e,t,i)=>{const n=e[t];return n?n.flatMap(e=>{const n=e[i],o=[];return void 0!==n&&(Array.isArray(n)?o.push(...n):o.push(n)),o.push(...Dn(e,t,i)),o}):[]},In=(e,t)=>{if(t===wi.Source){let t="";return Object.entries(e).forEach(([e,i])=>{t+=`${e}=${i}&`}),t.slice(0,-1),t}return e},Nn=(e,t,i)=>{switch(t){case Si.Default:return e.v2.colors.purple[i];case Si.Info:return e.v2.colors.blue[i];case Si.Error:return e.v2.colors.red[i];case Si.Warning:return e.v2.colors.yellow[i];case Si.Success:return e.v2.colors.green[i];case Ti.Disabled:case Ti.Unknown:return e.v2.colors.silver[i];default:return e.v2.colors.white[500]}},On=e=>{switch(e){case Ui.Updating:case Wi.Pending:case Vi.ContainerCreating:case Gi.Waiting:return Si.Info;case Ui.Healthy:case Wi.Succeeded:case Wi.Running:case Vi.Running:case Gi.Running:return Si.Success;case Ui.Degraded:return Si.Warning;case Ui.Failed:case Wi.Failed:case Vi.Error:case Vi.CrashLoopBackOff:case Vi.CreateContainerError:case Vi.CreateContainerConfigError:case Vi.ErrImagePull:case Vi.ErrImageNeverPull:case Vi.ImagePullBackOff:case Vi.InvalidImageName:case Vi.RegistryUnavailable:case Vi.NetworkNotReady:case Vi.OOMKilled:case Vi.ContainerCannotRun:case Gi.Terminated:case Vi.DeadlineExceeded:case Vi.StartError:return Si.Error;case Ui.Down:case Vi.Completed:return Ti.Disabled;case Ui.Unknown:case Wi.Unknown:default:return Ti.Unknown}},zn=(e,t)=>({[Si.Default]:i=>q({fill:Nn(t,e,"300"),...i}),[Si.Info]:i=>qe({fill:Nn(t,e,"400"),...i}),[Si.Error]:i=>Ge({fill:Nn(t,e,"500"),...i}),[Si.Warning]:i=>Ve({fill:Nn(t,e,"500"),...i}),[Si.Success]:i=>We({fill:Nn(t,e,"500"),...i}),[Ti.Disabled]:i=>Ue({fill:Nn(t,e,"400"),...i}),[Ti.Unknown]:i=>je({fill:Nn(t,e,"300"),...i})}[e]),Fn=e=>{switch(e){case Ri.Success:return Si.Success;case Ri.Error:case Ri.Failure:return Si.Error;case Ri.Notice:return Si.Warning;case Ri.Unsupported:case Ri.Unknown:return Si.Info;case Ri.Irrelevant:case Ri.Disabled:return Ai.Disabled;case Ri.Waiting:return Ai.Loading;case Ri.Pending:default:return Si.Default}},_n=(e,t)=>{const i=t.find(([t,i])=>e>=t&&(null===i||e<=i));return i?.[2]||null},Rn=({namespace:e,name:t,kind:i})=>({namespace:e,name:t,kind:i});function Bn(e,t){if(!e)return t;if("object"==typeof e)return e;try{return JSON.parse(e)}catch(e){return t}}const Mn=(e,t)=>{const i=[],n=JSON.parse(JSON.stringify(e));for(const e of n){const n=Bn(t.fields,{}),o=e.items.findIndex(e=>e.type===t.destinationType.type);-1!==o&&i.push(...e.items[o].fields.map(e=>({...e,initialValue:n[e.name]})))}return i},Ln=(e,t)=>{const i=e=>e?.some(({healthy:e})=>e.status!==Si.Success);return e?.length?e.some(({instrumentationInstances:e})=>i(e)):i(t)??!1},Pn=e=>Array.isArray(e)?!e?.length:"object"==typeof e?!Object.keys(e||{}).length:[void 0,null,""].includes(e),jn=e=>!!e&&(!(e.length>63)&&/^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$/.test(e)),Un=(e,t=0)=>{const i=(new Date).getTime();return new Date(e).getTime()-i<=t},Wn=e=>{const t=String(e).trim().toLowerCase();return["true","false","1","0"].includes(t)},Vn=(e,t=0)=>(new Date).getTime()-new Date(e).getTime()>=t,Gn=/^(\d+\.)?(\d+\.)?(\*|\d+)$/,qn=e=>Gn.test(e),Hn=e=>e?e.replace(/([a-z0-9])([A-Z])/g,"$1 $2"):"",Kn=e=>e?.map(({status:e,type:t,reason:i,message:n,lastTransitionTime:o})=>({status:e,type:Hn(t),reason:i?Hn(i):"",message:n,lastTransitionTime:o}))||[],Yn=(e,t)=>{const i=Bn(e.fields,{});return t.length?t.map(e=>({key:e.name,name:e.displayName||e.name,value:i[e.name]??null})).filter(e=>null!==e.value):Object.entries(i).map(([e,t])=>({key:e,name:e,value:t}))},Jn=e=>e?Object.keys(e).filter(t=>e[t]).map(e=>Xi[e]):[],Xn=e=>e?Object.keys(e).filter(t=>e[t].supported).map(e=>Xi[e]):[],Zn=e=>e.replace(/[^\d]/g,""),Qn=e=>{const t=String(e).trim().toLowerCase();return"true"===t||"1"===t},eo=e=>{let t="";try{const i=JSON.parse(e);t=Array.isArray(i)?i.map(e=>"object"==typeof e&&null!==e?`${e.key}: ${e.value}`:e).join(", "):"object"==typeof i&&null!==i?Object.entries(i).map(([e,t])=>`${e}: ${t}`).join(", "):e}catch(i){t=e}return t},to=e=>{if("object"!=typeof e)return e;const t=Array.isArray(e)?[]:{};return Object.keys(e).forEach(i=>{const n=e[i];if(Array.isArray(n)){const e=n.filter(e=>null!=e&&""!==e);e.length>0&&(t[i]=e.map(e=>to(e)))}else if("object"==typeof n&&null!==n){const e=to(n);Object.keys(e).length>0&&(t[i]=e)}else[void 0,null,""].includes(n)||(t[i]=n)}),t},io=(e,t=2)=>JSON.stringify(e||{},null,t),no=async(e=1e3)=>new Promise(t=>setTimeout(t,e)),oo=e=>Object.entries(e).reduce((e,[t,i])=>(e[t]="string"==typeof i?i:JSON.stringify(i),e),{}),ro=e=>{let t=e.toString().replace("v","").split("-")[0];t=t.match(/[\d.]+/)?.[0]||"";const i=t.split(".");return 1e4*parseInt(i[0]||"0",10)+parseInt(i[1]||"0",10)};var ao,so;!function(e){e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.P="p",e.Span="span"}(ao||(ao={})),function(e){e.XXXS="xxxs",e.XXS="xxs",e.XS="xs",e.S="s",e.M="m",e.L="l",e.XL="xl",e.XXL="xxl",e.XXXL="xxxl"}(so||(so={}));const lo=Rt.p`
2
2
  margin: 0;
3
3
  color: ${({$color:e,theme:t})=>e||t.v2.colors.grey[50]};
4
4
  font-family: ${({theme:e})=>e.font_family.primary};
@@ -26,7 +26,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
26
26
  text-decoration: underline;
27
27
  }
28
28
  `}
29
- `,co=({children:e,variant:t=ao.P,color:i,size:n=so.S,weight:o=400,opacity:r=1,align:a="left",lineHeight:s,transform:l,nowrap:c,underline:d,onClick:p,disabled:u,...h})=>{const m=e?.toString().split("\n")||[];return zt(lo,{as:t,$color:i,$size:n,$weight:o,$opacity:r,$align:a,$lineHeight:s,$transform:l,$nowrap:c,$underline:d,$withClick:!!p&&!u,onClick:u?void 0:p,...h,children:m.map((e,t)=>Ft(ft,{children:[e,t!==m.length-1&&zt("br",{})]},`typography-${t}-${e}`))})},po=Rt.div`
29
+ `,co=({children:e,variant:t=ao.P,color:i,size:n=so.S,weight:o=400,opacity:r=1,align:a="left",lineHeight:s,transform:l,nowrap:c,underline:d,onClick:p,disabled:u,...h})=>{const m=e?.toString().split("\n")||[];return ft(lo,{as:t,$color:i,$size:n,$weight:o,$opacity:r,$align:a,$lineHeight:s,$transform:l,$nowrap:c,$underline:d,$withClick:!!p&&!u,onClick:u?void 0:p,...h,children:m.map((e,t)=>bt(wt,{children:[e,t!==m.length-1&&ft("br",{})]},`typography-${t}-${e}`))})},po=Rt.div`
30
30
  display: flex;
31
31
  align-items: center;
32
32
  justify-content: center;
@@ -36,7 +36,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
36
36
  padding: ${({$hasLabel:e})=>e?"4px 8px":"4px"};
37
37
  border-radius: 100px;
38
38
  background-color: ${({$backgroundColor:e})=>e};
39
- `,uo=({label:e,leftIcon:t,rightIcon:i,status:n=Ti.Unknown,useSecondaryTone:o=!1,invertColors:r=!1,textSize:a,textColor:s,backgroundColor:l,minWidth:c="unset"})=>{const d=Mt(),p=e?.toString(),u=n?[Ti.Disabled].includes(n)?Nn(d,n,r?"400":"700"):[Ti.Unknown].includes(n)?Nn(d,n,"600"):Nn(d,n,r?o?"400":"300":o?"700":"500"):d.v2.colors.grey[200],h=s||(r&&![Ti.Unknown].includes(n)?u:[Ti.Disabled].includes(n)?d.v2.colors.grey[400]:[Ei.Error,Ei.Warning,Ei.Success].includes(n)?d.v2.colors.black[500]:d.v2.colors.white[500]),m=l||(r&&![Ti.Unknown].includes(n)?[Ti.Disabled].includes(n)?d.v2.colors.grey[700]:d.v2.colors.silver[600]:u);return Ft(po,{$backgroundColor:m,$minWidth:c,$hasLabel:!!p,children:[t&&zt(t,{fill:h,size:14}),p&&zt(co,{color:h,size:a||so.XXS,nowrap:!0,children:p}),i&&zt(i,{fill:h,size:14})]})},ho=Rt.div`
39
+ `,uo=({label:e,leftIcon:t,rightIcon:i,status:n=Ti.Unknown,useSecondaryTone:o=!1,invertColors:r=!1,textSize:a,textColor:s,backgroundColor:l,minWidth:c="unset"})=>{const d=Mt(),p=e?.toString(),u=n?[Ti.Disabled].includes(n)?Nn(d,n,r?"400":"700"):[Ti.Unknown].includes(n)?Nn(d,n,"600"):Nn(d,n,r?o?"400":"300":o?"700":"500"):d.v2.colors.grey[200],h=s||(r&&![Ti.Unknown].includes(n)?u:[Ti.Disabled].includes(n)?d.v2.colors.grey[400]:[Si.Error,Si.Warning,Si.Success].includes(n)?d.v2.colors.black[500]:d.v2.colors.white[500]),m=l||(r&&![Ti.Unknown].includes(n)?[Ti.Disabled].includes(n)?d.v2.colors.grey[700]:d.v2.colors.silver[600]:u);return bt(po,{$backgroundColor:m,$minWidth:c,$hasLabel:!!p,children:[t&&ft(t,{fill:h,size:14}),p&&ft(co,{color:h,size:a||so.XXS,nowrap:!0,children:p}),i&&ft(i,{fill:h,size:14})]})},ho=Rt.div`
40
40
  color: ${({$color:e,theme:t})=>e||t.text.secondary};
41
41
  font-size: ${({$size:e})=>void 0!==e?e:16}px;
42
42
  font-weight: ${({$weight:e})=>void 0!==e?e:300};
@@ -47,12 +47,12 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
47
47
  font-family: ${({theme:e,$family:t="primary"})=>e.font_family[t]};
48
48
  white-space: ${({$nowrap:e})=>e?"nowrap":"unset"};
49
49
  text-wrap: ${({$nowrap:e})=>e?"nowrap":"unset"};
50
- `,mo=e=>{const t=e.match(/<a[^>]*href="([^"]*)"[^>]*>(.*?)<\/a>/g);return t?.map(e=>{const[t,i,n]=e.split('"');return{original:e,href:i,label:n.replace("</a>","").replace(">","")}})},go=e=>{const t=e.match(/<strong[^>]*>(.*?)<\/strong>/g);return t?.map(e=>{const t=e.replace(/<strong[^>]*>/,"").replace(/<\/strong>/,"");return{original:e,label:t}})},$o=(e,t)=>{const i=mo(e);i?.forEach((t,i)=>{e=e.replace(t.original,`LINK-${i}###`)});const n=go(e);return n?.forEach((t,i)=>{e=e.replace(t.original,`STRONG-${i}###`)}),e.split(" ").map(e=>{if(e.includes("LINK-")){const[n,o]=e.split("###"),r=i?.[parseInt(n.replace("LINK-",""))];return Ft(ft,{children:[zt("a",{href:r?.href,target:"_blank",rel:"noreferrer",style:{color:t.colors.majestic_blue_soft},children:r?.label}),o?`${o} `:" "]},e)}if(e.includes("STRONG-")){const[t,i]=e.split("###"),o=n?.[parseInt(t.replace("STRONG-",""))];return Ft(ft,{children:[zt("strong",{style:{fontWeight:600},children:o?.label}),i?`${i} `:" "]},e)}return e+" "})},xo=({children:e,color:t,size:i,weight:n,align:o,family:r,opacity:a,decoration:s,transform:l,nowrap:c,...d})=>{const p=Mt(),u=bt(()=>(e?["string","number"].includes(typeof e)?e.toString():Array.isArray(e)?e.map(e=>"object"==typeof e&&Object.hasOwn(e,"props")?e.props.children:e).filter(e=>e&&["string","number"].includes(typeof e)).join(" "):"":"").split("\n"),[e]);return zt(ho,{$color:t,$size:i,$weight:n,$align:o,$family:r,$opacity:a,$decoration:s,$transform:l,$nowrap:c,...d,children:u.length?u.map((e,t)=>Ft(ft,{children:[$o(e,p),t!==u.length-1?zt("br",{}):null]},`text-${t}-${e}`)):e})},fo=Rt.div`
50
+ `,mo=e=>{const t=e.match(/<a[^>]*href="([^"]*)"[^>]*>(.*?)<\/a>/g);return t?.map(e=>{const[t,i,n]=e.split('"');return{original:e,href:i,label:n.replace("</a>","").replace(">","")}})},go=e=>{const t=e.match(/<strong[^>]*>(.*?)<\/strong>/g);return t?.map(e=>{const t=e.replace(/<strong[^>]*>/,"").replace(/<\/strong>/,"");return{original:e,label:t}})},$o=(e,t)=>{const i=mo(e);i?.forEach((t,i)=>{e=e.replace(t.original,`LINK-${i}###`)});const n=go(e);return n?.forEach((t,i)=>{e=e.replace(t.original,`STRONG-${i}###`)}),e.split(" ").map(e=>{if(e.includes("LINK-")){const[n,o]=e.split("###"),r=i?.[parseInt(n.replace("LINK-",""))];return bt(wt,{children:[ft("a",{href:r?.href,target:"_blank",rel:"noreferrer",style:{color:t.colors.majestic_blue_soft},children:r?.label}),o?`${o} `:" "]},e)}if(e.includes("STRONG-")){const[t,i]=e.split("###"),o=n?.[parseInt(t.replace("STRONG-",""))];return bt(wt,{children:[ft("strong",{style:{fontWeight:600},children:o?.label}),i?`${i} `:" "]},e)}return e+" "})},xo=({children:e,color:t,size:i,weight:n,align:o,family:r,opacity:a,decoration:s,transform:l,nowrap:c,...d})=>{const p=Mt(),u=vt(()=>(e?["string","number"].includes(typeof e)?e.toString():Array.isArray(e)?e.map(e=>"object"==typeof e&&Object.hasOwn(e,"props")?e.props.children:e).filter(e=>e&&["string","number"].includes(typeof e)).join(" "):"":"").split("\n"),[e]);return ft(ho,{$color:t,$size:i,$weight:n,$align:o,$family:r,$opacity:a,$decoration:s,$transform:l,$nowrap:c,...d,children:u.length?u.map((e,t)=>bt(wt,{children:[$o(e,p),t!==u.length-1?ft("br",{}):null]},`text-${t}-${e}`)):e})},fo=Rt.div`
51
51
  padding: 4px 0 0 0;
52
52
  `,bo=Rt(xo)`
53
53
  font-size: 12px;
54
54
  color: ${({theme:e})=>e.text.error};
55
- `,yo=({children:e})=>zt(fo,{children:zt(bo,{children:e})}),wo=Rt.div`
55
+ `,yo=({children:e})=>ft(fo,{children:ft(bo,{children:e})}),wo=Rt.div`
56
56
  position: relative;
57
57
  width: 100%;
58
58
  `,vo=Rt.div`
@@ -104,7 +104,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
104
104
  border: 1px solid ${({theme:e})=>e.colors.border};
105
105
  z-index: 9999;
106
106
  padding: 12px;
107
- `,Eo=Rt.li`
107
+ `,So=Rt.li`
108
108
  width: calc(100% - 24px);
109
109
  padding: 8px 12px;
110
110
  cursor: ${({$isList:e})=>e?"default":"pointer"};
@@ -116,7 +116,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
116
116
  &:hover {
117
117
  background: ${({theme:e,$isList:t})=>!t&&e.colors.dropdown_bg_2};
118
118
  }
119
- `,So=Rt.div`
119
+ `,Eo=Rt.div`
120
120
  width: 100%;
121
121
  `,Ao=Rt.div`
122
122
  display: flex;
@@ -143,7 +143,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
143
143
  margin: 4px 0 0 0;
144
144
  list-style: none;
145
145
  width: 100%;
146
- `,zo=(e,t)=>t?e.reduce((e,i)=>{if(i.items){const n=zo(i.items,t);n.length&&e.push({...i,items:n})}else i.label.toLowerCase().includes(t.toLowerCase())&&e.push(i);return e},[]):e,Fo=({placeholder:e="Type to search...",options:t,selectedOption:i,onOptionSelect:n,defaultText:o,onTextChange:r,style:a,disabled:s,errorMessage:l,...c})=>{const[d,p]=yt(i?.label||o||""),[u,h]=yt(zo(t,d)),[m,g]=yt(!1);yt(-1),wt(()=>h(zo(t,d)),[t]);const $=i?.icon,x=e=>{e&&(p(e.label),r?.(e.label)),g(!e),n?.(e)};return Ft(wo,{style:a,children:[Ft(vo,{$hasError:!!l,children:[$&&zt($,{}),zt(Co,{type:"text",value:d,placeholder:e,onChange:e=>{e.stopPropagation();const i=e.target.value,n=zo(t,i),o=1===n.length&&n[0].label===i?n[0]:void 0;p(i),r?.(i),h(n),x(o)},onKeyDown:e=>{["Enter"].includes(e.key)||e.stopPropagation()},disabled:s,onBlur:()=>!s&&g(!1),onFocus:()=>!s&&g(!0),...c})]}),m&&u.length?zt(ko,{children:u.map(e=>zt(_o,{option:e,onClick:x},e.type||e.label))}):null,l&&zt(yo,{children:l})]})},_o=({option:e,renderIcon:t=!0,onClick:i})=>{const n=!!e.items&&e.items.length>0,o=e.icon;return Ft(Eo,{"data-id":`option-${e.type||e.label}`,$isList:n,onMouseDown:()=>n?null:i(e),children:[o&&t&&zt(o,{}),Ft(So,{children:[Ft(Do,{children:[zt(Io,{children:e.label}),zt(No,{children:e.description})]}),n&&zt(Oo,{children:e.items?.map(e=>Ft(Ao,{children:[zt(To,{}),zt(_o,{option:e,renderIcon:!1,onClick:i})]},e.type||e.label))})]})]})},Ro=xt(e=>({activeNodeType:null,activeNodeId:null,setActiveNodeType:t=>e({activeNodeType:t}),setActiveNodeId:t=>e({activeNodeId:t})})),Bo=[{type:si.K8sAttributes,icon:pn(si.K8sAttributes),label:"Kubernetes Attributes",description:"Add dynamic k8s resource attributes to your data.",allowedSignals:[qi.Traces,qi.Metrics,qi.Logs],docsEndpoint:"/pipeline/actions/attributes/k8sattributes",docsDescription:"This action adds kubernetes related resource attributes to spans, metrics data points and log records."},{type:si.AddClusterInfo,icon:pn(si.AddClusterInfo),label:"Add Cluster Info",description:"Add static cluster-scoped attributes to your data.",allowedSignals:[qi.Traces,qi.Metrics,qi.Logs],docsEndpoint:"/pipeline/actions/attributes/addclusterinfo",docsDescription:"This action adds static resource attributes to spans, metrics data points and log records. It is useful to add cluster-wide attributes to all telemetry signals."},{type:si.DeleteAttributes,icon:pn(si.DeleteAttributes),label:"Delete Attribute",description:"Delete attributes from logs, metrics, and traces.",allowedSignals:[qi.Traces,qi.Metrics,qi.Logs],docsEndpoint:"/pipeline/actions/attributes/deleteattribute",docsDescription:"This action will delete the specified attributes from all telemetry signals that are specified in the signals field, regardless of the source, or any other condition."},{type:si.RenameAttributes,icon:pn(si.RenameAttributes),label:"Rename Attribute",description:"Rename attributes in logs, metrics, and traces.",allowedSignals:[qi.Traces,qi.Metrics,qi.Logs],docsEndpoint:"/pipeline/actions/attributes/renameattribute",docsDescription:"This action will rename the specified attributes from all telemetry signals that are specified in the signals field, regardless of the source, or any other condition."},{type:si.PiiMasking,icon:pn(si.PiiMasking),label:"PII Masking",description:"Mask PII data in your traces.",allowedSignals:[qi.Traces],docsEndpoint:"/pipeline/actions/attributes/piimasking",docsDescription:"This action processes a list of PII categories to be masked from the traces."},{type:si.URLTemplatization,icon:pn(si.URLTemplatization),label:"URL Templatization",description:"Replace dynamic URL path segments with named placeholders to reduce span cardinality.",allowedSignals:[qi.Traces],docsEndpoint:"/pipeline/actions/attributes/urltemplatization",docsDescription:"Normalizes HTTP URL paths by replacing dynamic segments (IDs, UUIDs, dates) with named placeholders (e.g. /user/1234 → /user/{id}). Reduces cardinality of http.route and span names, improving usability in telemetry backends."}],Mo=[{type:si.ErrorSampler,icon:pn(ai.Samplers),label:"Error Sampler",description:"Sample errors based on percentage.",allowedSignals:[qi.Traces],docsEndpoint:"/pipeline/actions/sampling/errorsampler",docsDescription:"This action is a Global Action that supports error sampling by filtering out non-error traces."},{type:si.LatencySampler,icon:pn(ai.Samplers),label:"Latency Sampler",description:"Add latency to your traces.",allowedSignals:[qi.Traces],docsEndpoint:"/pipeline/actions/sampling/latencysampler",docsDescription:"This action is an Endpoint Action that samples traces based on their duration for a specific service and endpoint (HTTP route) filter."},{type:si.ProbabilisticSampler,icon:pn(ai.Samplers),label:"Probabilistic Sampler",description:"Sample traces based on percentage.",allowedSignals:[qi.Traces],docsEndpoint:"/pipeline/actions/sampling/probabilisticsampler",docsDescription:"This action supports probabilistic sampling based on a configured sampling percentage applied to the TraceID."},{type:si.ServiceNameSampler,icon:pn(ai.Samplers),label:"Service Name Sampler",description:"Sample traces based on the presence of specified services within a trace.",allowedSignals:[qi.Traces],docsEndpoint:"/pipeline/actions/sampling/servicenamesampler",docsDescription:"This action supports service name sampling based on the presence of specified services within a trace."},{type:si.SpanAttributeSampler,icon:pn(ai.Samplers),label:"Span Attributes Sampler",description:"Sample traces based on the presence or value of specific attributes within a trace.",allowedSignals:[qi.Traces],docsEndpoint:"/pipeline/actions/sampling/spanattributesampler",docsDescription:"This action supports service name sampling based on the presence or value of specific attributes within a trace."}],Lo=[{label:"Attributes",icon:pn(ai.Attributes),items:Bo},{label:"Samplers",icon:pn(ai.Samplers),items:Mo}];var Po;!function(e){e.ALL="all",e.EXISTS="exists",e.DETECTED="detected",e.SELF_HOSTED="self-hosted",e.MANAGED="managed"}(Po||(Po={}));const jo={[Po.ALL]:{TITLE:"All",DESCRIPTION:"All destinations"},[Po.EXISTS]:{TITLE:"Already configured",DESCRIPTION:"These are destinations that you have already configured in other data-streams and can reuse them."},[Po.DETECTED]:{TITLE:"Detected by system",DESCRIPTION:"Odigos found these destinations in your cluster and pre-filled their details. Review and enable them to start sending data."},[Po.SELF_HOSTED]:{TITLE:"Self hosted",DESCRIPTION:"Full control and customization for advanced application monitoring."},[Po.MANAGED]:{TITLE:"Managed",DESCRIPTION:"Effortless monitoring with scalable performance management."}},Uo=[{type:Bi.CodeAttributes,icon:Cn(Bi.CodeAttributes),label:"Code Attributes",description:"Collect code attributes containing payload data to traces.",docsEndpoint:"/pipeline/rules/codeattributes",docsDescription:'The "Code Attributes" rule can be used to add code attributes containing payload data to traces.',supportedLanguages:[bi.Go,bi.Python]},{type:Bi.CustomInstrumentation,icon:Cn(Bi.CustomInstrumentation),label:"Custom Instrumentation",description:"Define custom instrumentation for specific class and methods (i.e. for Java) or explicit symbol (i.e. for Golang).",docsEndpoint:"/pipeline/rules/custominstrumentation",docsDescription:'The "Custom Instrumentation" rule can be used to instrument a specific symbol (i.e. for Golang), or a class and method combination (i.e. for Java) for detailed tracing.',supportedLanguages:[bi.Go,bi.Java]},{type:Bi.HeadersCollection,icon:Cn(Bi.HeadersCollection),label:"Headers Collection",description:"Collect span attributes containing HTTP Headers data to traces.",docsEndpoint:"/pipeline/rules/headerscollection",docsDescription:'The "Headers Collection" rule can be used to add span attributes containing HTTP Headers data to traces.',supportedLanguages:[bi.Go,bi.Java,bi.JavaScript]},{type:Bi.PayloadCollection,icon:Cn(Bi.PayloadCollection),label:"Payload Collection",description:"Collect span attributes containing payload data to traces.",docsEndpoint:"/pipeline/rules/payloadcollection",docsDescription:'The "Payload Collection" rule can be used to add span attributes containing payload data to traces.',supportedLanguages:[bi.Go]}],Wo=[{id:qi.Logs,value:"Logs"},{id:qi.Metrics,value:"Metrics"},{id:qi.Traces,value:"Traces"}],Vo={[bi.Go]:"Go",[bi.Java]:"Java",[bi.JavaScript]:"Node.js",[bi.Python]:"Python",[bi.DotNet]:".NET",[bi.CSharp]:"C#",[bi.CPlusPlus]:"C++",[bi.Php]:"PHP",[bi.Ruby]:"Ruby",[bi.Rust]:"Rust",[bi.Swift]:"Swift",[bi.Elixir]:"Elixir",[bi.MySql]:"MySQL",[bi.Nginx]:"Nginx",[bi.Postgres]:"PostgreSQL",[bi.Redis]:"Redis",[bi.Kafka]:"Kafka",[bi.Ignored]:"Ignored",[bi.Unknown]:"Unknown",[bi.Processing]:"Processing",[bi.NoContainers]:"No Containers",[bi.NoRunningPods]:"No Running Pods"},Go=[{id:bi.Go,value:Vo[bi.Go],icon:mn(bi.Go)},{id:bi.Java,value:Vo[bi.Java],icon:mn(bi.Java)},{id:bi.JavaScript,value:Vo[bi.JavaScript],icon:mn(bi.JavaScript)},{id:bi.Python,value:Vo[bi.Python],icon:mn(bi.Python)},{id:bi.Php,value:Vo[bi.Php],icon:mn(bi.Php)},{id:bi.Ruby,value:Vo[bi.Ruby],icon:mn(bi.Ruby)},{id:bi.Rust,value:Vo[bi.Rust],icon:mn(bi.Rust)},{id:bi.DotNet,value:Vo[bi.DotNet],icon:mn(bi.DotNet)},{id:bi.CSharp,value:Vo[bi.CSharp],icon:mn(bi.CSharp)},{id:bi.CPlusPlus,value:Vo[bi.CPlusPlus],icon:mn(bi.CPlusPlus)},{id:bi.Swift,value:Vo[bi.Swift],icon:mn(bi.Swift)},{id:bi.Elixir,value:Vo[bi.Elixir],icon:mn(bi.Elixir)}],qo={[bi.Go]:{community:[{id:_i.GolangCommunity,value:_i.GolangCommunity,icon:mn(bi.Go)}],enterprise:[{id:_i.GolangEnterprise,value:_i.GolangEnterprise,icon:mn(bi.Go)}]},[bi.JavaScript]:{community:[{id:_i.NodejsCommunity,value:_i.NodejsCommunity,icon:mn(bi.JavaScript)}],enterprise:[{id:_i.NodejsEnterprise,value:_i.NodejsEnterprise,icon:mn(bi.JavaScript)}]},[bi.Python]:{community:[{id:_i.PythonCommunity,value:_i.PythonCommunity,icon:mn(bi.Python)}],enterprise:[{id:_i.PythonEnterprise,value:_i.PythonEnterprise,icon:mn(bi.Python)}]},[bi.Java]:{community:[{id:_i.JavaCommunity,value:_i.JavaCommunity,icon:mn(bi.Java)}],enterprise:[{id:_i.JavaEnterprise,value:_i.JavaEnterprise,icon:mn(bi.Java)},{id:_i.JavaEbpfInstrumentations,value:_i.JavaEbpfInstrumentations,icon:mn(bi.Java)}]},[bi.DotNet]:{community:[{id:_i.DotNetCommunity,value:_i.DotNetCommunity,icon:mn(bi.DotNet)}],enterprise:[{id:_i.DotNetEnterprise,value:_i.DotNetEnterprise,icon:mn(bi.DotNet)}]},[bi.Ruby]:{community:[{id:_i.RubyCommunity,value:_i.RubyCommunity,icon:mn(bi.Ruby)}],enterprise:[{id:_i.RubyEnterprise,value:_i.RubyEnterprise,icon:mn(bi.Ruby)}]},[bi.Php]:{community:[{id:_i.PhpCommunity,value:_i.PhpCommunity,icon:mn(bi.Php)}],enterprise:[]},[bi.CSharp]:{community:[],enterprise:[{id:_i.CPlusPlusEnterprise,value:_i.CPlusPlusEnterprise,icon:mn(bi.CSharp)}]},[bi.MySql]:{community:[],enterprise:[{id:_i.MySqlEnterprise,value:_i.MySqlEnterprise,icon:mn(bi.MySql)}]},[bi.CPlusPlus]:{community:[],enterprise:[]},[bi.Rust]:{community:[],enterprise:[]},[bi.Swift]:{community:[],enterprise:[]},[bi.Elixir]:{community:[],enterprise:[]},[bi.Nginx]:{community:[],enterprise:[]},[bi.Postgres]:{community:[],enterprise:[]},[bi.Redis]:{community:[],enterprise:[]},[bi.Kafka]:{community:[],enterprise:[]},[bi.Ignored]:{community:[],enterprise:[]},[bi.Unknown]:{community:[],enterprise:[]},[bi.Processing]:{community:[],enterprise:[]},[bi.NoContainers]:{community:[],enterprise:[]},[bi.NoRunningPods]:{community:[],enterprise:[]}},Ho=6048e5,Ko=xt()(Dt(e=>({darkMode:!0,setDarkMode:t=>e({darkMode:t})}),{name:tn.DARK_MODE,storage:"undefined"!=typeof window?It(()=>localStorage):void 0})),Yo={dataStreamsLoading:!1,dataStreams:[],selectedStreamName:""},Jo=xt(e=>({...Yo,setDataStreamsLoading:t=>e({dataStreamsLoading:t}),setDataStreams:t=>e({dataStreams:t}),addDataStreams:t=>e(e=>{const i=[...e.dataStreams,...t].map(e=>[e.name,e]);return{dataStreams:Array.from(new Map(i).values())}}),removeDataStreams:t=>e(e=>({dataStreams:e.dataStreams.filter(e=>!t.find(t=>t.name===e.name))})),setSelectedStreamName:t=>e({selectedStreamName:t}),resetDataStreamStore:()=>e(Yo)})),Xo=xt(e=>({drawerType:null,drawerEntityId:null,setDrawerType:t=>e({drawerType:t}),setDrawerEntityId:t=>e({drawerEntityId:t})})),Zo=xt(e=>({namespacesLoading:!1,namespaces:[],sourcesLoading:!1,sources:[],destinationsLoading:!1,destinations:[],actionsLoading:!1,actions:[],instrumentationRulesLoading:!1,instrumentationRules:[],setEntitiesLoading:(t,i)=>{const n=t===wi.Namespace?"namespacesLoading":t===wi.Source?"sourcesLoading":t===wi.Destination?"destinationsLoading":t===wi.Action?"actionsLoading":t===wi.InstrumentationRule?"instrumentationRulesLoading":"NONE";"NONE"!==n&&e({[n]:i})},setEntities:(t,i)=>{const n=t===wi.Namespace?"namespaces":t===wi.Source?"sources":t===wi.Destination?"destinations":t===wi.Action?"actions":t===wi.InstrumentationRule?"instrumentationRules":"NONE";"NONE"!==n&&e({[n]:i})},addEntities:(t,i)=>{const n=t===wi.Namespace?"namespaces":t===wi.Source?"sources":t===wi.Destination?"destinations":t===wi.Action?"actions":t===wi.InstrumentationRule?"instrumentationRules":"NONE";"NONE"!==n&&e(e=>{const t=[...e[n]],o=new Map;return t.forEach((e,t)=>{o.set(JSON.stringify(yn(e)),t)}),i.forEach(e=>{const i=JSON.stringify(yn(e)),n=o.get(i);void 0!==n?t[n]={...t[n],...e}:(o.set(i,t.length),t.push(e))}),{[n]:t}})},removeEntities:(t,i)=>{const n=t===wi.Namespace?"namespaces":t===wi.Source?"sources":t===wi.Destination?"destinations":t===wi.Action?"actions":t===wi.InstrumentationRule?"instrumentationRules":"NONE";"NONE"!==n&&e(e=>{const o=new Set;i.forEach(e=>{const i=t===wi.Source?JSON.stringify(yn(e)):String(e);o.add(i)});const r=e[n].filter(e=>{const i=t===wi.Source?JSON.stringify(yn(e)):String(yn(e));return!o.has(i)});return{[n]:r}})},resetEntityStore:()=>{e({namespacesLoading:!1,namespaces:[],sourcesLoading:!1,sources:[],destinationsLoading:!1,destinations:[],actionsLoading:!1,actions:[],instrumentationRulesLoading:!1,instrumentationRules:[]})}})),Qo=()=>({searchText:"",statuses:[],platformTypes:[],namespaces:[],kinds:[],monitors:[],languages:[],conditions:[],podsAgentInjectionStatus:[],errors:[],onlyErrors:!1}),er=xt(e=>({searchText:"",setSearchText:t=>e({searchText:t}),statuses:[],setStatuses:t=>e({statuses:t}),platformTypes:[],setPlatformTypes:t=>e({platformTypes:t}),namespaces:[],setNamespaces:t=>e({namespaces:t}),kinds:[],setKinds:t=>e({kinds:t}),monitors:[],setMonitors:t=>e({monitors:t}),languages:[],setLanguages:t=>e({languages:t}),conditions:[],setConditions:t=>e({conditions:t}),podsAgentInjectionStatus:[],setPodsAgentInjectionStatus:t=>e({podsAgentInjectionStatus:t}),errors:[],setErrors:t=>e({errors:t}),onlyErrors:!1,setOnlyErrors:t=>e({onlyErrors:t}),setAll:t=>e(t),clearAll:()=>e({searchText:"",statuses:[],platformTypes:[],namespaces:[],kinds:[],monitors:[],languages:[],conditions:[],podsAgentInjectionStatus:[],errors:[],onlyErrors:!1}),getEmptyState:Qo})),tr=xt(e=>({currentModal:"",setCurrentModal:t=>e({currentModal:t})})),ir=xt((e,t)=>({notifications:[],addNotification:i=>{const n=new Date,o=`${n.getTime().toString()}${i.target?`#${i.target}`:""}`,{notifications:r}=t();r.some(e=>e.type===i.type&&e.title===i.title&&e.message===i.message&&!e.dismissed)||e(e=>({notifications:[{...i,id:o,time:n.toISOString(),dismissed:!1,seen:!1},...e.notifications]}))},markAsDismissed:t=>{e(e=>{const i=e.notifications.findIndex(e=>e.id===t);return-1!==i&&(e.notifications[i].dismissed=!0),{notifications:e.notifications}})},markAsSeen:t=>{e(e=>{const i=e.notifications.findIndex(e=>e.id===t);return-1!==i&&(e.notifications[i].seen=!0),{notifications:e.notifications}})},removeNotification:t=>{e(e=>{const i=e.notifications.findIndex(e=>e.id===t);return-1!==i&&e.notifications.splice(i,1),{notifications:e.notifications}})},removeNotifications:t=>{t&&e(e=>({notifications:e.notifications.filter(e=>e.id.split("#")[1]!==t)}))}}));var nr;!function(e){e.Instrumenting="instrumenting",e.Uninstrumenting="uninstrumenting",e.BulkInstrumenting="bulk-instrumenting",e.BulkUninstrumenting="bulk-uninstrumenting"}(nr||(nr={}));const or=(e,t)=>({...t?.[e]||{total:0,current:0,percentage:0}}),rr=e=>(e.total<e.current&&(e.total=e.current+1),e.percentage=Math.round(e.current/e.total*100),e),ar=xt((e,t)=>({progress:{},setProgress:(i,n)=>{const o=t(),r=or();return"number"==typeof n.total&&(r.total=n.total),"number"==typeof n.current&&(r.current=n.current),e({progress:{...o.progress,[i]:rr(r)}})},addProgress:(i,n)=>{const o=t(),r=or(i,o.progress);return r.current+=n,e({progress:{...o.progress,[i]:rr(r)}})},resetProgress:t=>e({progress:{[t]:void 0}})})),sr=xt(e=>({selectedSources:{},setSelectedSources:t=>e({selectedSources:t}),resetSelectedState:()=>e(()=>({selectedSources:{},selectedConnection:null}))})),lr={configuredSources:{},configuredFutureApps:{},configuredDestinations:[],configuredDestinationsUpdateOnly:[]},cr=(e,t)=>e.destinationType.type!==t.destinationType.type,dr=xt(e=>({...lr,setConfiguredSources:t=>e({configuredSources:t}),setConfiguredFutureApps:t=>e({configuredFutureApps:t}),setConfiguredDestinations:t=>e({configuredDestinations:t}),addConfiguredDestination:t=>e(e=>({configuredDestinations:[...e.configuredDestinations,t]})),removeConfiguredDestination:t=>e(e=>({configuredDestinations:e.configuredDestinations.filter(e=>cr(e,t))})),setConfiguredDestinationsUpdateOnly:t=>e({configuredDestinationsUpdateOnly:t}),addConfiguredDestinationUpdateOnly:t=>e(e=>{const i=[...e.configuredDestinationsUpdateOnly,t].map(e=>[e.id,e]);return{configuredDestinationsUpdateOnly:Array.from(new Map(i).values())}}),removeConfiguredDestinationUpdateOnly:t=>e(e=>({configuredDestinationsUpdateOnly:e.configuredDestinationsUpdateOnly.filter(e=>cr(e,t))})),clearStore:()=>e(()=>({...lr}))})),pr={v2:{text:{size:{xxxs:10,xxs:12,xs:14,s:16,m:20,l:24,xl:32,xxl:40,xxxl:48}},colors:{black:{500:"#151618"},white:{500:"#FFFFFF"},purple:{100:"#E1D4FF",200:"#C3AAFF",300:"#A57FFF",400:"#8854FF",500:"#6A2AFF",600:"#5925D0",700:"#4822A2",800:"#371E73",900:"#271A45"},green:{100:"#DCFDFA",200:"#B9FBF6",300:"#96FAF1",400:"#73F8ED",500:"#50F6E8",600:"#44C9BE",700:"#399D94",800:"#2D6F6A",900:"#224340"},grey:{25:"#F6F6F6",50:"#ECECED",100:"#DADADB",150:"#B8B8B8",200:"#B4B5B7",300:"#8F9093",400:"#696B6F",500:"#44464B",600:"#3A3C40",700:"#313236",800:"#282A2E",900:"#1B1B1C"},silver:{25:"#F6F6F7",50:"#EDEDEE",100:"#DADCDE",200:"#B6B8BD",300:"#91959C",400:"#6D717B",500:"#484E5A",600:"#3E424C",700:"#34383F",750:"#2C2F36",800:"#26292F",900:"#1F2125",1e3:"#1B1C1D"},red:{100:"#FFE5E7",200:"#FFCBD0",300:"#FFB0B8",400:"#FF96A1",500:"#FF7C89",600:"#D06772",700:"#A2535B",800:"#733F44",900:"#452B2D",1e3:"#2E2022"},blue:{100:"#EBF0FA",200:"#D6E1F4",300:"#ADC3EA",400:"#84A4DF",500:"#5C86D5",600:"#3368CA",700:"#2D57A6",800:"#274782",900:"#21375E",1e3:"#1C273A"},yellow:{100:"#FFFBF1",200:"#FFF7E2",300:"#FFEFC6",400:"#FFE7A9",500:"#FFDF8D",600:"#FFD770",700:"#D0B05E",800:"#A28A4C",900:"#73633A",1e3:"#453D28"},beige:{600:"#EEC990"},pink:{600:"#F576A2"},orange:{600:"#F29142"}}},colors:{majestic_blue:"#444AD9",majestic_blue_soft:"#6C7AE8",orange_og:"#FE9239",orange_soft:"#FFB160",dark_red:"#802828",darker_red:"#611F1F",darkest_red:"#281515",darkest_red_hover:"#351515",dark_green:"#2D4323"},text:{},font_family:{primary:"Inter, sans-serif",secondary:"Kode Mono, sans-serif",code:"IBM Plex Mono, monospace"}},ur={v2:pr.v2,darkMode:!0,colors:{...pr.colors,primary:"#111111",secondary:"#F9F9F9",border:"#525252",dark_grey:"#151515",translucent_bg:"#1A1A1A",dropdown_bg:"#242424",dropdown_bg_2:"#333333",warning:"#472300",error:"#431919",success:"#172013",info:"#242424",default:"#181944"},text:{white:"#FFFFFF",primary:"#111111",secondary:"#F9F9F9",grey:"#B8B8B8",dark_grey:"#8F8F8F",darker_grey:"#7A7A7A",light_grey:"#CCD0D2",dark_button:"#0A1824",warning:"#E9CF35",warning_secondary:"#FFA349",error:"#EF7676",error_secondary:"#DB5151",success:"#81AF65",success_secondary:"#51DB51",info:"#B8B8B8",info_secondary:"#CCDDDD",default:"#AABEF7",default_secondary:"#8CBEFF"},font_family:pr.font_family},hr={v2:pr.v2,darkMode:!1,colors:{...pr.colors,primary:"#EEEEEE",secondary:"#060606",border:"#ADADAD",dark_grey:"#EAEAEA",translucent_bg:"#E5E5E5",dropdown_bg:"#DBDBDB",dropdown_bg_2:"#CCCCCC",warning:"#F6F092",error:"#FACECE",success:"#C8DEB8",info:"#E0E0E0",default:"#CAD9FB"},text:{white:"#FFFFFF",primary:"#EEEEEE",secondary:"#060606",grey:"#474747",dark_grey:"#707070",darker_grey:"#858585",light_grey:"#332F2D",dark_button:"#F5E7DB",warning:"#A56F12",warning_secondary:"#CA9416",error:"#B63A3A",error_secondary:"#DB5151",success:"#4E763A",success_secondary:"#67964C",info:"#525252",info_secondary:"#7A7A7A",default:"#444AD9",default_secondary:"#6C7AE8"},font_family:pr.font_family},mr=e=>e?ur:hr;var gr=Object.freeze({__proto__:null,baseTheme:pr,darkModeTheme:ur,getTheme:mr,lightModeTheme:hr});Nt('@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");@import url("https://fonts.googleapis.com/css2?family=Kode+Mono:wght@100;200;300;400;500;600;700&display=swap");@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;700&display=swap");@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");*{-ms-overflow-style:none;scrollbar-width:none}::-webkit-scrollbar{display:none}*{animation-duration:.3s;animation-fill-mode:forwards;transition:all .3s}input{all:unset}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:focus,input:-webkit-autofill:hover{-webkit-transition:all 50000s ease-in-out 0s;transition:all 50000s ease-in-out 0s}');const $r=({children:e})=>{const{darkMode:t}=Ko();return zt(Lt,{theme:mr(t),children:e})},xr={100:"FF","099":"FC","098":"FA","097":"F7","096":"F5","095":"F2","094":"F0","093":"ED","092":"EB","091":"E8","090":"E6","089":"E3","088":"E0","087":"DE","086":"DB","085":"D9","084":"D6","083":"D4","082":"D1","081":"CF","080":"CC","079":"C9","078":"C7","077":"C4","076":"C2","075":"BF","074":"BD","073":"BA","072":"B8","071":"B5","070":"B3","069":"B0","068":"AD","067":"AB","066":"A8","065":"A6","064":"A3","063":"A1","062":"9E","061":"9C","060":"99","059":"96","058":"94","057":"91","056":"8F","055":"8C","054":"8A","053":"87","052":"85","051":"82","050":"80","049":"7D","048":"7A","047":"78","046":"75","045":"73","044":"70","043":"6E","042":"6B","041":"69","040":"66","039":"63","038":"61","037":"5E","036":"5C","035":"59","034":"57","033":"54","032":"52","031":"4F","030":"4D","029":"4A","028":"47","027":"45","026":"42","025":"40","024":"3D","023":"3B","022":"38","021":"36","020":"33","019":"30","018":"2E","017":"2B","016":"29","015":"26","014":"24","013":"21","012":"1F","011":"1C","010":"1A","009":"17","008":"14","007":"12","006":"0F","005":"0D","004":"0A","003":"08","002":"05","001":"03","000":"00"};var fr=Object.freeze({__proto__:null,hex:xr});const br={in:{left:Pt`
146
+ `,zo=(e,t)=>t?e.reduce((e,i)=>{if(i.items){const n=zo(i.items,t);n.length&&e.push({...i,items:n})}else i.label.toLowerCase().includes(t.toLowerCase())&&e.push(i);return e},[]):e,Fo=({placeholder:e="Type to search...",options:t,selectedOption:i,onOptionSelect:n,defaultText:o,onTextChange:r,style:a,disabled:s,errorMessage:l,...c})=>{const[d,p]=Ct(i?.label||o||""),[u,h]=Ct(zo(t,d)),[m,g]=Ct(!1);Ct(-1),kt(()=>h(zo(t,d)),[t]);const $=i?.icon,x=e=>{e&&(p(e.label),r?.(e.label)),g(!e),n?.(e)};return bt(wo,{style:a,children:[bt(vo,{$hasError:!!l,children:[$&&ft($,{}),ft(Co,{type:"text",value:d,placeholder:e,onChange:e=>{e.stopPropagation();const i=e.target.value,n=zo(t,i),o=1===n.length&&n[0].label===i?n[0]:void 0;p(i),r?.(i),h(n),x(o)},onKeyDown:e=>{["Enter"].includes(e.key)||e.stopPropagation()},disabled:s,onBlur:()=>!s&&g(!1),onFocus:()=>!s&&g(!0),...c})]}),m&&u.length?ft(ko,{children:u.map(e=>ft(_o,{option:e,onClick:x},e.type||e.label))}):null,l&&ft(yo,{children:l})]})},_o=({option:e,renderIcon:t=!0,onClick:i})=>{const n=!!e.items&&e.items.length>0,o=e.icon;return bt(So,{"data-id":`option-${e.type||e.label}`,$isList:n,onMouseDown:()=>n?null:i(e),children:[o&&t&&ft(o,{}),bt(Eo,{children:[bt(Do,{children:[ft(Io,{children:e.label}),ft(No,{children:e.description})]}),n&&ft(Oo,{children:e.items?.map(e=>bt(Ao,{children:[ft(To,{}),ft(_o,{option:e,renderIcon:!1,onClick:i})]},e.type||e.label))})]})]})},Ro=xt(e=>({activeNodeType:null,activeNodeId:null,setActiveNodeType:t=>e({activeNodeType:t}),setActiveNodeId:t=>e({activeNodeId:t})})),Bo=[{type:si.K8sAttributes,icon:pn(si.K8sAttributes),label:"Kubernetes Attributes",description:"Add dynamic k8s resource attributes to your data.",allowedSignals:[qi.Traces,qi.Metrics,qi.Logs],docsEndpoint:"/pipeline/actions/attributes/k8sattributes",docsDescription:"This action adds kubernetes related resource attributes to spans, metrics data points and log records."},{type:si.AddClusterInfo,icon:pn(si.AddClusterInfo),label:"Add Cluster Info",description:"Add static cluster-scoped attributes to your data.",allowedSignals:[qi.Traces,qi.Metrics,qi.Logs],docsEndpoint:"/pipeline/actions/attributes/addclusterinfo",docsDescription:"This action adds static resource attributes to spans, metrics data points and log records. It is useful to add cluster-wide attributes to all telemetry signals."},{type:si.DeleteAttributes,icon:pn(si.DeleteAttributes),label:"Delete Attribute",description:"Delete attributes from logs, metrics, and traces.",allowedSignals:[qi.Traces,qi.Metrics,qi.Logs],docsEndpoint:"/pipeline/actions/attributes/deleteattribute",docsDescription:"This action will delete the specified attributes from all telemetry signals that are specified in the signals field, regardless of the source, or any other condition."},{type:si.RenameAttributes,icon:pn(si.RenameAttributes),label:"Rename Attribute",description:"Rename attributes in logs, metrics, and traces.",allowedSignals:[qi.Traces,qi.Metrics,qi.Logs],docsEndpoint:"/pipeline/actions/attributes/renameattribute",docsDescription:"This action will rename the specified attributes from all telemetry signals that are specified in the signals field, regardless of the source, or any other condition."},{type:si.PiiMasking,icon:pn(si.PiiMasking),label:"PII Masking",description:"Mask PII data in your traces.",allowedSignals:[qi.Traces],docsEndpoint:"/pipeline/actions/attributes/piimasking",docsDescription:"This action processes a list of PII categories to be masked from the traces."},{type:si.URLTemplatization,icon:pn(si.URLTemplatization),label:"URL Templatization",description:"Replace dynamic URL path segments with named placeholders to reduce span cardinality.",allowedSignals:[qi.Traces],docsEndpoint:"/pipeline/actions/attributes/urltemplatization",docsDescription:"Normalizes HTTP URL paths by replacing dynamic segments (IDs, UUIDs, dates) with named placeholders (e.g. /user/1234 → /user/{id}). Reduces cardinality of http.route and span names, improving usability in telemetry backends."}],Mo=[{type:si.ErrorSampler,icon:pn(ai.Samplers),label:"Error Sampler",description:"Sample errors based on percentage.",allowedSignals:[qi.Traces],docsEndpoint:"/pipeline/actions/sampling/errorsampler",docsDescription:"This action is a Global Action that supports error sampling by filtering out non-error traces."},{type:si.LatencySampler,icon:pn(ai.Samplers),label:"Latency Sampler",description:"Add latency to your traces.",allowedSignals:[qi.Traces],docsEndpoint:"/pipeline/actions/sampling/latencysampler",docsDescription:"This action is an Endpoint Action that samples traces based on their duration for a specific service and endpoint (HTTP route) filter."},{type:si.ProbabilisticSampler,icon:pn(ai.Samplers),label:"Probabilistic Sampler",description:"Sample traces based on percentage.",allowedSignals:[qi.Traces],docsEndpoint:"/pipeline/actions/sampling/probabilisticsampler",docsDescription:"This action supports probabilistic sampling based on a configured sampling percentage applied to the TraceID."},{type:si.ServiceNameSampler,icon:pn(ai.Samplers),label:"Service Name Sampler",description:"Sample traces based on the presence of specified services within a trace.",allowedSignals:[qi.Traces],docsEndpoint:"/pipeline/actions/sampling/servicenamesampler",docsDescription:"This action supports service name sampling based on the presence of specified services within a trace."},{type:si.SpanAttributeSampler,icon:pn(ai.Samplers),label:"Span Attributes Sampler",description:"Sample traces based on the presence or value of specific attributes within a trace.",allowedSignals:[qi.Traces],docsEndpoint:"/pipeline/actions/sampling/spanattributesampler",docsDescription:"This action supports service name sampling based on the presence or value of specific attributes within a trace."}],Lo=[{label:"Attributes",icon:pn(ai.Attributes),items:Bo},{label:"Samplers",icon:pn(ai.Samplers),items:Mo}];var Po;!function(e){e.ALL="all",e.EXISTS="exists",e.DETECTED="detected",e.SELF_HOSTED="self-hosted",e.MANAGED="managed"}(Po||(Po={}));const jo={[Po.ALL]:{TITLE:"All",DESCRIPTION:"All destinations"},[Po.EXISTS]:{TITLE:"Already configured",DESCRIPTION:"These are destinations that you have already configured in other data-streams and can reuse them."},[Po.DETECTED]:{TITLE:"Detected by system",DESCRIPTION:"Odigos found these destinations in your cluster and pre-filled their details. Review and enable them to start sending data."},[Po.SELF_HOSTED]:{TITLE:"Self hosted",DESCRIPTION:"Full control and customization for advanced application monitoring."},[Po.MANAGED]:{TITLE:"Managed",DESCRIPTION:"Effortless monitoring with scalable performance management."}},Uo=[{type:Bi.CodeAttributes,icon:Cn(Bi.CodeAttributes),label:"Code Attributes",description:"Collect code attributes containing payload data to traces.",docsEndpoint:"/pipeline/rules/codeattributes",docsDescription:'The "Code Attributes" rule can be used to add code attributes containing payload data to traces.',supportedLanguages:[bi.Go,bi.Python]},{type:Bi.CustomInstrumentation,icon:Cn(Bi.CustomInstrumentation),label:"Custom Instrumentation",description:"Define custom instrumentation for specific class and methods (i.e. for Java) or explicit symbol (i.e. for Golang).",docsEndpoint:"/pipeline/rules/custominstrumentation",docsDescription:'The "Custom Instrumentation" rule can be used to instrument a specific symbol (i.e. for Golang), or a class and method combination (i.e. for Java) for detailed tracing.',supportedLanguages:[bi.Go,bi.Java]},{type:Bi.HeadersCollection,icon:Cn(Bi.HeadersCollection),label:"Headers Collection",description:"Collect span attributes containing HTTP Headers data to traces.",docsEndpoint:"/pipeline/rules/headerscollection",docsDescription:'The "Headers Collection" rule can be used to add span attributes containing HTTP Headers data to traces.',supportedLanguages:[bi.Go,bi.Java,bi.JavaScript]},{type:Bi.PayloadCollection,icon:Cn(Bi.PayloadCollection),label:"Payload Collection",description:"Collect span attributes containing payload data to traces.",docsEndpoint:"/pipeline/rules/payloadcollection",docsDescription:'The "Payload Collection" rule can be used to add span attributes containing payload data to traces.',supportedLanguages:[bi.Go]}],Wo=[{id:qi.Logs,value:"Logs"},{id:qi.Metrics,value:"Metrics"},{id:qi.Traces,value:"Traces"}],Vo={[bi.Go]:"Go",[bi.Java]:"Java",[bi.JavaScript]:"Node.js",[bi.Python]:"Python",[bi.DotNet]:".NET",[bi.CSharp]:"C#",[bi.CPlusPlus]:"C++",[bi.Php]:"PHP",[bi.Ruby]:"Ruby",[bi.Rust]:"Rust",[bi.Swift]:"Swift",[bi.Elixir]:"Elixir",[bi.MySql]:"MySQL",[bi.Nginx]:"Nginx",[bi.Postgres]:"PostgreSQL",[bi.Redis]:"Redis",[bi.Kafka]:"Kafka",[bi.Ignored]:"Ignored",[bi.Unknown]:"Unknown",[bi.Processing]:"Processing",[bi.NoContainers]:"No Containers",[bi.NoRunningPods]:"No Running Pods"},Go=[{id:bi.Go,value:Vo[bi.Go],icon:mn(bi.Go)},{id:bi.Java,value:Vo[bi.Java],icon:mn(bi.Java)},{id:bi.JavaScript,value:Vo[bi.JavaScript],icon:mn(bi.JavaScript)},{id:bi.Python,value:Vo[bi.Python],icon:mn(bi.Python)},{id:bi.Php,value:Vo[bi.Php],icon:mn(bi.Php)},{id:bi.Ruby,value:Vo[bi.Ruby],icon:mn(bi.Ruby)},{id:bi.Rust,value:Vo[bi.Rust],icon:mn(bi.Rust)},{id:bi.DotNet,value:Vo[bi.DotNet],icon:mn(bi.DotNet)},{id:bi.CSharp,value:Vo[bi.CSharp],icon:mn(bi.CSharp)},{id:bi.CPlusPlus,value:Vo[bi.CPlusPlus],icon:mn(bi.CPlusPlus)},{id:bi.Swift,value:Vo[bi.Swift],icon:mn(bi.Swift)},{id:bi.Elixir,value:Vo[bi.Elixir],icon:mn(bi.Elixir)}],qo={[bi.Go]:{community:[{id:_i.GolangCommunity,value:_i.GolangCommunity,icon:mn(bi.Go)}],enterprise:[{id:_i.GolangEnterprise,value:_i.GolangEnterprise,icon:mn(bi.Go)}]},[bi.JavaScript]:{community:[{id:_i.NodejsCommunity,value:_i.NodejsCommunity,icon:mn(bi.JavaScript)}],enterprise:[{id:_i.NodejsEnterprise,value:_i.NodejsEnterprise,icon:mn(bi.JavaScript)}]},[bi.Python]:{community:[{id:_i.PythonCommunity,value:_i.PythonCommunity,icon:mn(bi.Python)}],enterprise:[{id:_i.PythonEnterprise,value:_i.PythonEnterprise,icon:mn(bi.Python)}]},[bi.Java]:{community:[{id:_i.JavaCommunity,value:_i.JavaCommunity,icon:mn(bi.Java)}],enterprise:[{id:_i.JavaEnterprise,value:_i.JavaEnterprise,icon:mn(bi.Java)},{id:_i.JavaEbpfInstrumentations,value:_i.JavaEbpfInstrumentations,icon:mn(bi.Java)}]},[bi.DotNet]:{community:[{id:_i.DotNetCommunity,value:_i.DotNetCommunity,icon:mn(bi.DotNet)}],enterprise:[{id:_i.DotNetEnterprise,value:_i.DotNetEnterprise,icon:mn(bi.DotNet)}]},[bi.Ruby]:{community:[{id:_i.RubyCommunity,value:_i.RubyCommunity,icon:mn(bi.Ruby)}],enterprise:[{id:_i.RubyEnterprise,value:_i.RubyEnterprise,icon:mn(bi.Ruby)}]},[bi.Php]:{community:[{id:_i.PhpCommunity,value:_i.PhpCommunity,icon:mn(bi.Php)}],enterprise:[]},[bi.CSharp]:{community:[],enterprise:[{id:_i.CPlusPlusEnterprise,value:_i.CPlusPlusEnterprise,icon:mn(bi.CSharp)}]},[bi.MySql]:{community:[],enterprise:[{id:_i.MySqlEnterprise,value:_i.MySqlEnterprise,icon:mn(bi.MySql)}]},[bi.CPlusPlus]:{community:[],enterprise:[]},[bi.Rust]:{community:[],enterprise:[]},[bi.Swift]:{community:[],enterprise:[]},[bi.Elixir]:{community:[],enterprise:[]},[bi.Nginx]:{community:[],enterprise:[]},[bi.Postgres]:{community:[],enterprise:[]},[bi.Redis]:{community:[],enterprise:[]},[bi.Kafka]:{community:[],enterprise:[]},[bi.Ignored]:{community:[],enterprise:[]},[bi.Unknown]:{community:[],enterprise:[]},[bi.Processing]:{community:[],enterprise:[]},[bi.NoContainers]:{community:[],enterprise:[]},[bi.NoRunningPods]:{community:[],enterprise:[]}},Ho=6048e5,Ko=xt()(Ot(e=>({darkMode:!0,setDarkMode:t=>e({darkMode:t})}),{name:tn.DARK_MODE,storage:"undefined"!=typeof window?zt(()=>localStorage):void 0})),Yo={dataStreamsLoading:!1,dataStreams:[],selectedStreamName:""},Jo=xt(e=>({...Yo,setDataStreamsLoading:t=>e({dataStreamsLoading:t}),setDataStreams:t=>e({dataStreams:t}),addDataStreams:t=>e(e=>{const i=[...e.dataStreams,...t].map(e=>[e.name,e]);return{dataStreams:Array.from(new Map(i).values())}}),removeDataStreams:t=>e(e=>({dataStreams:e.dataStreams.filter(e=>!t.find(t=>t.name===e.name))})),setSelectedStreamName:t=>e({selectedStreamName:t}),resetDataStreamStore:()=>e(Yo)})),Xo=xt(e=>({drawerType:null,drawerEntityId:null,setDrawerType:t=>e({drawerType:t}),setDrawerEntityId:t=>e({drawerEntityId:t})})),Zo=xt(e=>({namespacesLoading:!1,namespaces:[],sourcesLoading:!1,sources:[],destinationsLoading:!1,destinations:[],actionsLoading:!1,actions:[],instrumentationRulesLoading:!1,instrumentationRules:[],setEntitiesLoading:(t,i)=>{const n=t===wi.Namespace?"namespacesLoading":t===wi.Source?"sourcesLoading":t===wi.Destination?"destinationsLoading":t===wi.Action?"actionsLoading":t===wi.InstrumentationRule?"instrumentationRulesLoading":"NONE";"NONE"!==n&&e({[n]:i})},setEntities:(t,i)=>{const n=t===wi.Namespace?"namespaces":t===wi.Source?"sources":t===wi.Destination?"destinations":t===wi.Action?"actions":t===wi.InstrumentationRule?"instrumentationRules":"NONE";"NONE"!==n&&e({[n]:i})},addEntities:(t,i)=>{const n=t===wi.Namespace?"namespaces":t===wi.Source?"sources":t===wi.Destination?"destinations":t===wi.Action?"actions":t===wi.InstrumentationRule?"instrumentationRules":"NONE";"NONE"!==n&&e(e=>{const t=[...e[n]],o=new Map;return t.forEach((e,t)=>{o.set(JSON.stringify(yn(e)),t)}),i.forEach(e=>{const i=JSON.stringify(yn(e)),n=o.get(i);void 0!==n?t[n]={...t[n],...e}:(o.set(i,t.length),t.push(e))}),{[n]:t}})},removeEntities:(t,i)=>{const n=t===wi.Namespace?"namespaces":t===wi.Source?"sources":t===wi.Destination?"destinations":t===wi.Action?"actions":t===wi.InstrumentationRule?"instrumentationRules":"NONE";"NONE"!==n&&e(e=>{const o=new Set;i.forEach(e=>{const i=t===wi.Source?JSON.stringify(yn(e)):String(e);o.add(i)});const r=e[n].filter(e=>{const i=t===wi.Source?JSON.stringify(yn(e)):String(yn(e));return!o.has(i)});return{[n]:r}})},resetEntityStore:()=>{e({namespacesLoading:!1,namespaces:[],sourcesLoading:!1,sources:[],destinationsLoading:!1,destinations:[],actionsLoading:!1,actions:[],instrumentationRulesLoading:!1,instrumentationRules:[]})}})),Qo=()=>({searchText:"",statuses:[],platformTypes:[],namespaces:[],kinds:[],monitors:[],languages:[],conditions:[],podsAgentInjectionStatus:[],errors:[],onlyErrors:!1}),er=xt(e=>({searchText:"",setSearchText:t=>e({searchText:t}),statuses:[],setStatuses:t=>e({statuses:t}),platformTypes:[],setPlatformTypes:t=>e({platformTypes:t}),namespaces:[],setNamespaces:t=>e({namespaces:t}),kinds:[],setKinds:t=>e({kinds:t}),monitors:[],setMonitors:t=>e({monitors:t}),languages:[],setLanguages:t=>e({languages:t}),conditions:[],setConditions:t=>e({conditions:t}),podsAgentInjectionStatus:[],setPodsAgentInjectionStatus:t=>e({podsAgentInjectionStatus:t}),errors:[],setErrors:t=>e({errors:t}),onlyErrors:!1,setOnlyErrors:t=>e({onlyErrors:t}),setAll:t=>e(t),clearAll:()=>e({searchText:"",statuses:[],platformTypes:[],namespaces:[],kinds:[],monitors:[],languages:[],conditions:[],podsAgentInjectionStatus:[],errors:[],onlyErrors:!1}),getEmptyState:Qo})),tr=xt(e=>({currentModal:"",setCurrentModal:t=>e({currentModal:t})})),ir=xt((e,t)=>({notifications:[],addNotification:i=>{const n=new Date,o=`${n.getTime().toString()}${i.target?`#${i.target}`:""}`,{notifications:r}=t();r.some(e=>e.type===i.type&&e.title===i.title&&e.message===i.message&&!e.dismissed)||e(e=>({notifications:[{...i,id:o,time:n.toISOString(),dismissed:!1,seen:!1},...e.notifications]}))},markAsDismissed:t=>{e(e=>{const i=e.notifications.findIndex(e=>e.id===t);return-1!==i&&(e.notifications[i].dismissed=!0),{notifications:e.notifications}})},markAsSeen:t=>{e(e=>{const i=e.notifications.findIndex(e=>e.id===t);return-1!==i&&(e.notifications[i].seen=!0),{notifications:e.notifications}})},removeNotification:t=>{e(e=>{const i=e.notifications.findIndex(e=>e.id===t);return-1!==i&&e.notifications.splice(i,1),{notifications:e.notifications}})},removeNotifications:t=>{t&&e(e=>({notifications:e.notifications.filter(e=>e.id.split("#")[1]!==t)}))}}));var nr;!function(e){e.Instrumenting="instrumenting",e.Uninstrumenting="uninstrumenting",e.BulkInstrumenting="bulk-instrumenting",e.BulkUninstrumenting="bulk-uninstrumenting"}(nr||(nr={}));const or=(e,t)=>({...t?.[e]||{total:0,current:0,percentage:0}}),rr=e=>(e.total<e.current&&(e.total=e.current+1),e.percentage=Math.round(e.current/e.total*100),e),ar=xt((e,t)=>({progress:{},setProgress:(i,n)=>{const o=t(),r=or();return"number"==typeof n.total&&(r.total=n.total),"number"==typeof n.current&&(r.current=n.current),e({progress:{...o.progress,[i]:rr(r)}})},addProgress:(i,n)=>{const o=t(),r=or(i,o.progress);return r.current+=n,e({progress:{...o.progress,[i]:rr(r)}})},resetProgress:t=>e({progress:{[t]:void 0}})})),sr=xt(e=>({selectedSources:{},setSelectedSources:t=>e({selectedSources:t}),resetSelectedState:()=>e(()=>({selectedSources:{},selectedConnection:null}))})),lr={configuredSources:{},configuredFutureApps:{},configuredDestinations:[],configuredDestinationsUpdateOnly:[]},cr=(e,t)=>e.destinationType.type!==t.destinationType.type,dr=xt(e=>({...lr,setConfiguredSources:t=>e({configuredSources:t}),setConfiguredFutureApps:t=>e({configuredFutureApps:t}),setConfiguredDestinations:t=>e({configuredDestinations:t}),addConfiguredDestination:t=>e(e=>({configuredDestinations:[...e.configuredDestinations,t]})),removeConfiguredDestination:t=>e(e=>({configuredDestinations:e.configuredDestinations.filter(e=>cr(e,t))})),setConfiguredDestinationsUpdateOnly:t=>e({configuredDestinationsUpdateOnly:t}),addConfiguredDestinationUpdateOnly:t=>e(e=>{const i=[...e.configuredDestinationsUpdateOnly,t].map(e=>[e.id,e]);return{configuredDestinationsUpdateOnly:Array.from(new Map(i).values())}}),removeConfiguredDestinationUpdateOnly:t=>e(e=>({configuredDestinationsUpdateOnly:e.configuredDestinationsUpdateOnly.filter(e=>cr(e,t))})),clearStore:()=>e(()=>({...lr}))})),pr={v2:{text:{size:{xxxs:10,xxs:12,xs:14,s:16,m:20,l:24,xl:32,xxl:40,xxxl:48}},colors:{black:{500:"#151618"},white:{500:"#FFFFFF"},purple:{100:"#E1D4FF",200:"#C3AAFF",300:"#A57FFF",400:"#8854FF",500:"#6A2AFF",600:"#5925D0",700:"#4822A2",800:"#371E73",900:"#271A45"},green:{100:"#DCFDFA",200:"#B9FBF6",300:"#96FAF1",400:"#73F8ED",500:"#50F6E8",600:"#44C9BE",700:"#399D94",800:"#2D6F6A",900:"#224340"},grey:{25:"#F6F6F6",50:"#ECECED",100:"#DADADB",150:"#B8B8B8",200:"#B4B5B7",300:"#8F9093",400:"#696B6F",500:"#44464B",600:"#3A3C40",700:"#313236",800:"#282A2E",900:"#1B1B1C"},silver:{25:"#F6F6F7",50:"#EDEDEE",100:"#DADCDE",200:"#B6B8BD",300:"#91959C",400:"#6D717B",500:"#484E5A",600:"#3E424C",700:"#34383F",750:"#2C2F36",800:"#26292F",900:"#1F2125",1e3:"#1B1C1D"},red:{100:"#FFE5E7",200:"#FFCBD0",300:"#FFB0B8",400:"#FF96A1",500:"#FF7C89",600:"#D06772",700:"#A2535B",800:"#733F44",900:"#452B2D",1e3:"#2E2022"},blue:{100:"#EBF0FA",200:"#D6E1F4",300:"#ADC3EA",400:"#84A4DF",500:"#5C86D5",600:"#3368CA",700:"#2D57A6",800:"#274782",900:"#21375E",1e3:"#1C273A"},yellow:{100:"#FFFBF1",200:"#FFF7E2",300:"#FFEFC6",400:"#FFE7A9",500:"#FFDF8D",600:"#FFD770",700:"#D0B05E",800:"#A28A4C",900:"#73633A",1e3:"#453D28"},beige:{600:"#EEC990"},pink:{600:"#F576A2"},orange:{600:"#F29142"}}},colors:{majestic_blue:"#444AD9",majestic_blue_soft:"#6C7AE8",orange_og:"#FE9239",orange_soft:"#FFB160",dark_red:"#802828",darker_red:"#611F1F",darkest_red:"#281515",darkest_red_hover:"#351515",dark_green:"#2D4323"},text:{},font_family:{primary:"Inter, sans-serif",secondary:"Kode Mono, sans-serif",code:"IBM Plex Mono, monospace"}},ur={v2:pr.v2,darkMode:!0,colors:{...pr.colors,primary:"#111111",secondary:"#F9F9F9",border:"#525252",dark_grey:"#151515",translucent_bg:"#1A1A1A",dropdown_bg:"#242424",dropdown_bg_2:"#333333",warning:"#472300",error:"#431919",success:"#172013",info:"#242424",default:"#181944"},text:{white:"#FFFFFF",primary:"#111111",secondary:"#F9F9F9",grey:"#B8B8B8",dark_grey:"#8F8F8F",darker_grey:"#7A7A7A",light_grey:"#CCD0D2",dark_button:"#0A1824",warning:"#E9CF35",warning_secondary:"#FFA349",error:"#EF7676",error_secondary:"#DB5151",success:"#81AF65",success_secondary:"#51DB51",info:"#B8B8B8",info_secondary:"#CCDDDD",default:"#AABEF7",default_secondary:"#8CBEFF"},font_family:pr.font_family},hr={v2:pr.v2,darkMode:!1,colors:{...pr.colors,primary:"#EEEEEE",secondary:"#060606",border:"#ADADAD",dark_grey:"#EAEAEA",translucent_bg:"#E5E5E5",dropdown_bg:"#DBDBDB",dropdown_bg_2:"#CCCCCC",warning:"#F6F092",error:"#FACECE",success:"#C8DEB8",info:"#E0E0E0",default:"#CAD9FB"},text:{white:"#FFFFFF",primary:"#EEEEEE",secondary:"#060606",grey:"#474747",dark_grey:"#707070",darker_grey:"#858585",light_grey:"#332F2D",dark_button:"#F5E7DB",warning:"#A56F12",warning_secondary:"#CA9416",error:"#B63A3A",error_secondary:"#DB5151",success:"#4E763A",success_secondary:"#67964C",info:"#525252",info_secondary:"#7A7A7A",default:"#444AD9",default_secondary:"#6C7AE8"},font_family:pr.font_family},mr=e=>e?ur:hr;var gr=Object.freeze({__proto__:null,baseTheme:pr,darkModeTheme:ur,getTheme:mr,lightModeTheme:hr});Ft('@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");@import url("https://fonts.googleapis.com/css2?family=Kode+Mono:wght@100;200;300;400;500;600;700&display=swap");@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;700&display=swap");@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");*{-ms-overflow-style:none;scrollbar-width:none}::-webkit-scrollbar{display:none}*{animation-duration:.3s;animation-fill-mode:forwards;transition:all .3s}input{all:unset}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:focus,input:-webkit-autofill:hover{-webkit-transition:all 50000s ease-in-out 0s;transition:all 50000s ease-in-out 0s}');const $r=({children:e})=>{const{darkMode:t}=Ko();return ft(Lt,{theme:mr(t),children:e})},xr={100:"FF","099":"FC","098":"FA","097":"F7","096":"F5","095":"F2","094":"F0","093":"ED","092":"EB","091":"E8","090":"E6","089":"E3","088":"E0","087":"DE","086":"DB","085":"D9","084":"D6","083":"D4","082":"D1","081":"CF","080":"CC","079":"C9","078":"C7","077":"C4","076":"C2","075":"BF","074":"BD","073":"BA","072":"B8","071":"B5","070":"B3","069":"B0","068":"AD","067":"AB","066":"A8","065":"A6","064":"A3","063":"A1","062":"9E","061":"9C","060":"99","059":"96","058":"94","057":"91","056":"8F","055":"8C","054":"8A","053":"87","052":"85","051":"82","050":"80","049":"7D","048":"7A","047":"78","046":"75","045":"73","044":"70","043":"6E","042":"6B","041":"69","040":"66","039":"63","038":"61","037":"5E","036":"5C","035":"59","034":"57","033":"54","032":"52","031":"4F","030":"4D","029":"4A","028":"47","027":"45","026":"42","025":"40","024":"3D","023":"3B","022":"38","021":"36","020":"33","019":"30","018":"2E","017":"2B","016":"29","015":"26","014":"24","013":"21","012":"1F","011":"1C","010":"1A","009":"17","008":"14","007":"12","006":"0F","005":"0D","004":"0A","003":"08","002":"05","001":"03","000":"00"};var fr=Object.freeze({__proto__:null,hex:xr});const br={in:{left:Pt`
147
147
  from { transform: translateX(-100%); }
148
148
  to { transform: translateX(0); }
149
149
  `,right:Pt`
@@ -217,7 +217,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
217
217
  to {
218
218
  opacity: 0;
219
219
  }
220
- `};var kr=Object.freeze({__proto__:null,fade:Cr,ping:wr,progress:yr,shimmer:vr,slide:br});const Er=Rt.span`
220
+ `};var kr=Object.freeze({__proto__:null,fade:Cr,ping:wr,progress:yr,shimmer:vr,slide:br});const Sr=Rt.span`
221
221
  display: flex;
222
222
  align-items: center;
223
223
  justify-content: center;
@@ -237,7 +237,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
237
237
  white-space: nowrap;
238
238
 
239
239
  ${({theme:e,$filled:t,$status:i,$clickable:n})=>n&&`&:hover {\n cursor: pointer;\n background-color: ${i?e.colors[i]+xr["020"]:t?e.colors.majestic_blue_soft:e.colors.secondary+xr["020"]};\n }`}
240
- `,Sr=({label:e,filled:t,status:i,withIcon:n,onClick:o})=>{const r=Mt(),a=i&&n?zn(i,r):null;return Ft(Er,{$filled:t,$status:i,$clickable:!!o,onClick:o,children:[!!a&&zt(a,{}),e]})},Ar=Rt.div`
240
+ `,Er=({label:e,filled:t,status:i,withIcon:n,onClick:o})=>{const r=Mt(),a=i&&n?zn(i,r):null;return bt(Sr,{$filled:t,$status:i,$clickable:!!o,onClick:o,children:[!!a&&ft(a,{}),e]})},Ar=Rt.div`
241
241
  height: fit-content;
242
242
  border: 2px solid transparent;
243
243
  padding: 2px;
@@ -323,7 +323,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
323
323
  }
324
324
  `:""}
325
325
  `}
326
- `,Ir=({children:e,variant:t="primary",onClick:i,...n})=>{const o=vt(null);return zt(Ar,{$variant:t,children:zt(Dr,{ref:o,$variant:t,onClick:e=>{i&&i(e),o.current?.blur()},...n,children:e})})},Nr=e=>{function t(){return void 0===e?{}:ii(e)}const[i,n]=yt(t()),[o,r]=yt({}),a=(e,t)=>Object.entries(e).every(([e,i])=>Array.isArray(i)?i.length===t[e].length&&i.every((i,n)=>a(i,t[e][n])):"object"==typeof i&&null!==i?a(i,t[e]):i===t[e]),s=bt(()=>void 0!==e&&!a(e,i),[e,i]);return wt(()=>{const o=t();void 0!==e&&"{}"===JSON.stringify(i)&&"{}"!==JSON.stringify(o)&&n(o)},[e,i]),{formData:i,formErrors:o,areFormValuesEqual:a,isFormDirty:s,handleFormChange:(e,t,i)=>{if(e){const i=e.toString().split(".");1===i.length?n(i=>({...i,[e]:t})):n(e=>{const n=ii(e);let o=n;for(let e=0;e<i.length-1;e++){const t=i[e];o[t]&&"object"==typeof o[t]||(o[t]={}),o=o[t]}return o[i[i.length-1]]=t,n})}else i&&n({...i})},handleErrorChange:(e,t,i)=>{e?r(i=>({...i,[e]:t})):i&&r({...i})},resetFormData:e=>{n(e||t()),r({})}}},Or={type:"",name:"",notes:"",signals:[],disabled:!1,fields:{clusterAttributes:null,overwriteExistingValues:null,renames:null,attributeNamesToDelete:null,piiCategories:null,fallbackSamplingRatio:null,samplingPercentage:null,endpointsFilters:null,servicesNameFilters:null,attributeFilters:null,urlTemplatizationRulesGroups:null}},zr=()=>{const{addNotification:e}=ir(),{formData:t,formErrors:i,handleFormChange:n,handleErrorChange:o,resetFormData:r}=Nr(Or);return{formData:t,formErrors:i,handleFormChange:n,resetFormData:r,validateForm:i=>{const n={};let r=!0;if(Object.entries(t).forEach(([e,t])=>{switch(e){case"type":case"signals":Pn(t)&&(n[e]=nn.FIELD_IS_REQUIRED)}}),t.type===si.URLTemplatization){const e=t.fields?.urlTemplatizationRulesGroups;if(e)for(const t of e)if(t.templatizationRules?.some(e=>!e.template?.trim())){n.fields=nn.FIELD_IS_REQUIRED;break}}return r=!Object.values(n).length,!r&&i?.withAlert&&e({type:Ei.Warning,title:i.alertTitle,message:nn.REQUIRED_FIELDS,hideFromHistory:!0}),o(void 0,void 0,n),r},loadFormWithDrawerItem:({type:e,signals:t,name:i,notes:o,disabled:r,fields:a})=>{const s={...ii(Or),type:e,signals:t,name:i,notes:o,disabled:r};Object.entries(a).forEach(([e,t])=>{if(t)switch(e){case li.LabelsAttributes:case li.AnnotationsAttributes:s.fields||(s.fields={}),s.fields[e]=(i=t)&&Array.isArray(i)?i.map(e=>!e.fromSources?.length&&e.from?{...e,fromSources:[e.from]}:e):i;break;case li.CollectContainerAttributes:case li.CollectReplicaSetAttributes:case li.CollectWorkloadId:case li.CollectClusterId:case li.ClusterAttributes:case li.OverwriteExistingValues:case li.AttributeNamesToDelete:case li.Renames:case li.PiiCategories:case li.FallbackSamplingRatio:case li.SamplingPercentage:case li.EndpointsFilters:case li.ServicesNameFilters:case li.AttributeFilters:case li.UrlTemplatizationRulesGroups:s.fields||(s.fields={}),s.fields[e]=t}var i}),n(void 0,void 0,s)}}},Fr=e=>{wt(()=>{if(e){const e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}}},[e])},_r=()=>{const{setCurrentModal:e}=tr(),{setDrawerType:t,setDrawerEntityId:i}=Xo(),{setActiveNodeType:n,setActiveNodeId:o,activeNodeId:r}=Ro();return{onClickNode:(a,s)=>{const{id:l,type:c,data:{id:d,type:p}}=s;switch(r===l?(n(null),o(null)):(n(c),o(l)),p){case wi.Source:case wi.Destination:case wi.Action:case wi.InstrumentationRule:t(p),i(d);break;case Oi.AddSource:e(wi.Source);break;case Oi.AddDestination:e(wi.Destination);break;case Oi.AddAction:e(wi.Action);break;case Oi.AddRule:e(wi.InstrumentationRule)}}}},Rr=()=>{const{setDrawerType:e,setDrawerEntityId:t}=Xo(),{markAsDismissed:i,markAsSeen:n}=ir();return{onClickNotification:(o,r)=>{const{id:a,crdType:s,target:l}=o,{dismissToast:c}=r||{};if(s&&l)switch(s){case wi.InstrumentationRule:e(wi.InstrumentationRule),t(vn(l,wi.InstrumentationRule));break;case wi.Source:case"InstrumentationConfig":case"InstrumentationInstance":e(wi.Source),t(vn(l,wi.Source));break;case wi.Action:e(wi.Action),t(vn(l,wi.Action));break;case wi.Destination:case"Destination":e(wi.Destination),t(vn(l,wi.Destination))}n(a),c&&i(a)}}},Br=()=>{const e=vt(null),[t,i]=yt(0),[n,o]=yt(0);return wt(()=>{const t=()=>{if(e.current){const{width:t,height:n}=e.current.getBoundingClientRect();i(t),o(n)}};return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[]),{containerRef:e,containerWidth:t,containerHeight:n}};var Mr;!function(e){e[e.XS=16]="XS",e[e.S=18]="S",e[e.M=24]="M",e[e.L=32]="L"}(Mr||(Mr={}));const Lr=Rt.div`
326
+ `,Ir=({children:e,variant:t="primary",onClick:i,...n})=>{const o=St(null);return ft(Ar,{$variant:t,children:ft(Dr,{ref:o,$variant:t,onClick:e=>{i&&i(e),o.current?.blur()},...n,children:e})})},Nr=e=>{function t(){return void 0===e?{}:ii(e)}const[i,n]=Ct(t()),[o,r]=Ct({}),a=(e,t)=>Object.entries(e).every(([e,i])=>Array.isArray(i)?i.length===t[e].length&&i.every((i,n)=>a(i,t[e][n])):"object"==typeof i&&null!==i?a(i,t[e]):i===t[e]),s=vt(()=>void 0!==e&&!a(e,i),[e,i]);return kt(()=>{const o=t();void 0!==e&&"{}"===JSON.stringify(i)&&"{}"!==JSON.stringify(o)&&n(o)},[e,i]),{formData:i,formErrors:o,areFormValuesEqual:a,isFormDirty:s,handleFormChange:(e,t,i)=>{if(e){const i=e.toString().split(".");1===i.length?n(i=>({...i,[e]:t})):n(e=>{const n=ii(e);let o=n;for(let e=0;e<i.length-1;e++){const t=i[e];o[t]&&"object"==typeof o[t]||(o[t]={}),o=o[t]}return o[i[i.length-1]]=t,n})}else i&&n({...i})},handleErrorChange:(e,t,i)=>{e?r(i=>({...i,[e]:t})):i&&r({...i})},resetFormData:e=>{n(e||t()),r({})}}},Or={type:"",name:"",notes:"",signals:[],disabled:!1,fields:{clusterAttributes:null,overwriteExistingValues:null,renames:null,attributeNamesToDelete:null,piiCategories:null,fallbackSamplingRatio:null,samplingPercentage:null,endpointsFilters:null,servicesNameFilters:null,attributeFilters:null,urlTemplatizationRulesGroups:null}},zr=()=>{const{addNotification:e}=ir(),{formData:t,formErrors:i,handleFormChange:n,handleErrorChange:o,resetFormData:r}=Nr(Or);return{formData:t,formErrors:i,handleFormChange:n,resetFormData:r,validateForm:i=>{const n={};let r=!0;if(Object.entries(t).forEach(([e,t])=>{switch(e){case"type":case"signals":Pn(t)&&(n[e]=nn.FIELD_IS_REQUIRED)}}),t.type===si.URLTemplatization){const e=t.fields?.urlTemplatizationRulesGroups;if(e)for(const t of e)if(t.templatizationRules?.some(e=>!e.template?.trim())){n.fields=nn.FIELD_IS_REQUIRED;break}}return r=!Object.values(n).length,!r&&i?.withAlert&&e({type:Si.Warning,title:i.alertTitle,message:nn.REQUIRED_FIELDS,hideFromHistory:!0}),o(void 0,void 0,n),r},loadFormWithDrawerItem:({type:e,signals:t,name:i,notes:o,disabled:r,fields:a})=>{const s={...ii(Or),type:e,signals:t,name:i,notes:o,disabled:r};Object.entries(a).forEach(([e,t])=>{if(t)switch(e){case li.LabelsAttributes:case li.AnnotationsAttributes:s.fields||(s.fields={}),s.fields[e]=(i=t)&&Array.isArray(i)?i.map(e=>!e.fromSources?.length&&e.from?{...e,fromSources:[e.from]}:e):i;break;case li.CollectContainerAttributes:case li.CollectReplicaSetAttributes:case li.CollectWorkloadId:case li.CollectClusterId:case li.ClusterAttributes:case li.OverwriteExistingValues:case li.AttributeNamesToDelete:case li.Renames:case li.PiiCategories:case li.FallbackSamplingRatio:case li.SamplingPercentage:case li.EndpointsFilters:case li.ServicesNameFilters:case li.AttributeFilters:case li.UrlTemplatizationRulesGroups:s.fields||(s.fields={}),s.fields[e]=t}var i}),n(void 0,void 0,s)}}},Fr=e=>{kt(()=>{if(e){const e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}}},[e])},_r=()=>{const{setCurrentModal:e}=tr(),{setDrawerType:t,setDrawerEntityId:i}=Xo(),{setActiveNodeType:n,setActiveNodeId:o,activeNodeId:r}=Ro();return{onClickNode:(a,s)=>{const{id:l,type:c,data:{id:d,type:p}}=s;switch(r===l?(n(null),o(null)):(n(c),o(l)),p){case wi.Source:case wi.Destination:case wi.Action:case wi.InstrumentationRule:t(p),i(d);break;case Oi.AddSource:e(wi.Source);break;case Oi.AddDestination:e(wi.Destination);break;case Oi.AddAction:e(wi.Action);break;case Oi.AddRule:e(wi.InstrumentationRule)}}}},Rr=()=>{const{setDrawerType:e,setDrawerEntityId:t}=Xo(),{markAsDismissed:i,markAsSeen:n}=ir();return{onClickNotification:(o,r)=>{const{id:a,crdType:s,target:l}=o,{dismissToast:c}=r||{};if(s&&l)switch(s){case wi.InstrumentationRule:e(wi.InstrumentationRule),t(vn(l,wi.InstrumentationRule));break;case wi.Source:case"InstrumentationConfig":case"InstrumentationInstance":e(wi.Source),t(vn(l,wi.Source));break;case wi.Action:e(wi.Action),t(vn(l,wi.Action));break;case wi.Destination:case"Destination":e(wi.Destination),t(vn(l,wi.Destination))}n(a),c&&i(a)}}},Br=()=>{const e=St(null),[t,i]=Ct(0),[n,o]=Ct(0);return kt(()=>{const t=()=>{if(e.current){const{width:t,height:n}=e.current.getBoundingClientRect();i(t),o(n)}};return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[]),{containerRef:e,containerWidth:t,containerHeight:n}};var Mr;!function(e){e[e.XS=16]="XS",e[e.S=18]="S",e[e.M=24]="M",e[e.L=32]="L"}(Mr||(Mr={}));const Lr=Rt.div`
327
327
  width: ${({$size:e})=>1.5*e}px;
328
328
  height: ${({$size:e})=>1.5*e}px;
329
329
  display: flex;
@@ -334,7 +334,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
334
334
  &:hover {
335
335
  background: ${({theme:e})=>e.v2.colors.silver[900]};
336
336
  }
337
- `,Pr=({icon:e,size:t=Mr.S,onClick:i,disabled:n})=>zt(Lr,{$size:t,$disabled:n,onClick:e=>{i&&!n&&(e.stopPropagation(),i(e))},children:zt(e,{size:t})}),jr=({onDone:e}={})=>{const[t,i]=yt(!1),[n,o]=yt(-1),r=Ct(async(n,r)=>{if(!t){if(i(!0),void 0!==r&&o(r),navigator?.clipboard&&navigator.clipboard.writeText)try{await navigator.clipboard.writeText(n)}catch(e){}else{const e=document.createElement("textarea");e.value=n,document.body.appendChild(e),e.select();try{document.execCommand("copy")}catch(e){}document.body.removeChild(e)}e?.(),setTimeout(()=>{i(!1),o(-1)},1e3)}},[t,e]);return{CopyButton:Ct(({value:e,size:i})=>zt(Pr,{icon:t?He:Ke,size:i,onClick:()=>r(e)}),[t]),isCopied:t,copiedIndex:n,clickCopy:r}},Ur=e=>{const{addNotification:t}=ir(),{formData:i,handleFormChange:n,formErrors:o,handleErrorChange:r,resetFormData:a}=Nr(e);return{formData:i,formErrors:o,handleFormChange:n,resetFormData:a,validateForm:e=>{const n={};let o=!0;return i.name?jn(i.name)?n.name=void 0:(o=!1,n.name=nn.ILLEGAL_K8S_LABEL):(o=!1,n.name=nn.FIELD_IS_REQUIRED),!o&&e?.withAlert&&t({type:Ei.Warning,title:e.alertTitle,message:nn.REQUIRED_FIELDS,hideFromHistory:!0}),r(void 0,void 0,n),o},loadFormWithDrawerItem:({name:t})=>{const i={...ii(e),name:t};n(void 0,void 0,i)}}},Wr={type:"",name:"",exportedSignals:{logs:!1,metrics:!1,traces:!1},fields:[],disabled:!1},Vr=e=>{const{supportedSignals:t,preLoadedFields:i}=e||{},{addNotification:n}=ir(),{formData:o,formErrors:r,handleFormChange:a,handleErrorChange:s,resetFormData:l}=Nr(Wr),[c,d]=yt([]),[p,u]=yt([]);return wt(()=>{var e;u(c?(e=c,e.filter(e=>!!e).map(e=>{const{name:t,componentType:i,componentProperties:n,displayName:o,initialValue:r,renderCondition:a}=e;if(i===Ci.Dropdown){const e=Bn(n,{}),s=Array.isArray(e.values)?e.values.map(e=>({id:e,value:e})):Object.entries(e.values).map(([e,t])=>({id:e,value:t}));return{name:t,componentType:i,title:o,value:r,placeholder:e.placeholder||"Select an option",options:s,renderCondition:a,...e}}return{name:t,componentType:i,title:o,value:r,renderCondition:a,...Bn(n,{})}})).map(e=>{if(i){const t="string"==typeof i?Bn(i,{}):i;if(e.name in t)return{...e,value:t[e.name]}}return e}):[])},[c,i]),wt(()=>{if(p){const e=p.map(e=>({key:e.name,value:e.value}));a("fields",e)}},[p]),wt(()=>{if(t&&0===Jn(o.exportedSignals).length){const{logs:e,metrics:i,traces:n}=t;a("exportedSignals",{logs:e.supported,metrics:i.supported,traces:n.supported})}},[t,o.exportedSignals]),{formData:o,formErrors:r,handleFormChange:a,resetFormData:l,validateForm:e=>{const t={};let i=!0;return p.forEach(({name:e,value:n,required:o})=>{o&&!n&&(i=!1,t[e]=nn.FIELD_IS_REQUIRED)}),!i&&e?.withAlert&&n({type:Ei.Warning,title:e.alertTitle,message:nn.REQUIRED_FIELDS,hideFromHistory:!0}),s(void 0,void 0,t),i},loadFormWithDrawerItem:({destinationType:{type:e},name:t,disabled:i,exportedSignals:n,fields:o})=>{const r={...ii(Wr),type:e,name:t,disabled:i,exportedSignals:n,fields:Object.entries(Bn(o,{})).map(([e,t])=>({key:e,value:t}))};return a(void 0,void 0,r),r},yamlFields:c,setYamlFields:d,dynamicFields:p,setDynamicFields:u}},Gr={ruleName:"",notes:"",disabled:!1,workloads:null,instrumentationLibraries:null,payloadCollection:{[ji.HttpRequest]:null,[ji.HttpResponse]:null,[ji.DbQuery]:null,[ji.Messaging]:null},codeAttributes:{[Mi.Column]:null,[Mi.FilePath]:null,[Mi.Function]:null,[Mi.LineNumber]:null,[Mi.Namespace]:null,[Mi.StackTrace]:null},headersCollection:null,customInstrumentations:{[Pi.Java]:null,[Pi.Golang]:null}},qr=()=>{const{formData:e,formErrors:t,handleFormChange:i,handleErrorChange:n,resetFormData:o}=Nr(Gr);return{formData:e,formErrors:t,handleFormChange:i,resetFormData:o,validateForm:()=>(n(void 0,void 0,{}),!0),loadFormWithDrawerItem:({ruleName:e,notes:t,disabled:n,payloadCollection:o,codeAttributes:r,headersCollection:a,customInstrumentations:s})=>{const l={...ii(Gr),ruleName:e,notes:t,disabled:n};o&&(l.payloadCollection={[ji.HttpRequest]:o[ji.HttpRequest]?{}:null,[ji.HttpResponse]:o[ji.HttpResponse]?{}:null,[ji.DbQuery]:o[ji.DbQuery]?{}:null,[ji.Messaging]:o[ji.Messaging]?{}:null}),r&&(l.codeAttributes={[Mi.Column]:r[Mi.Column]||null,[Mi.FilePath]:r[Mi.FilePath]||null,[Mi.Function]:r[Mi.Function]||null,[Mi.LineNumber]:r[Mi.LineNumber]||null,[Mi.Namespace]:r[Mi.Namespace]||null,[Mi.StackTrace]:r[Mi.StackTrace]||null}),a&&(l.headersCollection=a),s&&(l.customInstrumentations={[Pi.Java]:s[Pi.Java]||null,[Pi.Golang]:s[Pi.Golang]||null}),i(void 0,void 0,l)}}},Hr=({active:e,key:t,withAltKey:i,withCtrlKey:n,withShiftKey:o,withMetaKey:r},a)=>(wt(()=>{const s=s=>{e&&t===s.key&&(!i||i&&s.altKey)&&(!n||n&&s.ctrlKey)&&(!o||o&&s.shiftKey)&&(!r||r&&s.metaKey)&&(s.preventDefault(),s.stopPropagation(),a(s))};return window.addEventListener("keydown",s),()=>{window.removeEventListener("keydown",s)}},[t,e,i,n,o,r,a]),null),Kr=(e,t)=>{wt(()=>{const i=i=>{e.current&&!e.current.contains(i.target)&&t()};return document.addEventListener("mousedown",i),document.addEventListener("touchstart",i),()=>{document.removeEventListener("mousedown",i),document.removeEventListener("touchstart",i)}},[e,t])},Yr=({defaultClientHeight:e=0,defaultClientwidth:t=0,onClickOutside:i}={})=>{const n=vt(null),[o,r]=yt(!1),[a,s]=yt({top:0,left:0});return Kr(n,()=>{o&&(r(!1),i?.())}),{popupRef:n,popupOpen:o,setPopupOpen:r,popupPosition:a,handlePosition:(i,o)=>{const{innerWidth:r,innerHeight:a}=window;let l=o,c=i;l>=a/2&&(l+=-(n.current?.clientHeight||e)),c>=r/2&&(c+=-(n.current?.clientWidth||t)),s({top:l,left:c})}}},Jr=()=>({getItemSS:(e,t)=>{const i=sessionStorage.getItem(e);return i?Bn(i,t):t},setItemSS:(e,t)=>{sessionStorage.setItem(e,JSON.stringify(t))},removeItemSS:e=>{sessionStorage.removeItem(e)}}),Xr={otelServiceName:"",currentStreamName:""},Zr=()=>{const{formData:e,formErrors:t,handleFormChange:i,handleErrorChange:n,resetFormData:o}=Nr(Xr);return{formData:e,formErrors:t,handleFormChange:i,resetFormData:o,validateForm:()=>(n(void 0,void 0,{}),!0),loadFormWithDrawerItem:({otelServiceName:e,name:t})=>{const n={...ii(Xr),otelServiceName:e||t||""};i(void 0,void 0,n)}}},Qr=(e,t,i)=>{const n=!!e.dataStreamNames?.length||!!e.currentStreamName?.length,o=n&&e.dataStreamNames?.includes(t)||e.currentStreamName===t,r=e.selected&&(!n||o)||!1;return{namespace:e.namespace,name:e.name,kind:e.kind,selected:r,numberOfInstances:e.numberOfInstances}},ea=(e,t,i)=>({...Qr(e,t),currentStreamName:t}),ta=(e,t,i)=>{const n="boolean"==typeof i,o=e.dataStreamNames?.includes(t),r=(n?i:e.selected)||!1;return{namespace:e.name,selected:!(!o&&!n)&&r,currentStreamName:t}},ia=e=>{const{fetchNamespacesWithWorkloads:t}=e,{selectedStreamName:i}=Jo(),{namespaces:n,addEntities:o}=Zo(),[r,a]=yt(!1),[s,l]=yt({}),[c,d]=yt(!1),[p,u]=yt(""),[h,m]=yt({}),[g,$]=yt({}),[x,f]=yt(""),[b,y]=yt(wi.Source),[w,v]=yt(!1),[C,k]=yt(!1),E=bt(()=>{const e=(e,t)=>!x||b!==t||b===t&&e.toLowerCase().includes(x),t={};return Object.entries(g).filter(([t])=>e(t,wi.Namespace)).forEach(([i,n])=>{const o=n.filter(t=>e(t.name,wi.Source)&&(!w||t.selected)&&(e=>!C||(e.numberOfInstances||0)>0)(t));(!x||x&&(b===wi.Namespace||b===wi.Source&&o.length))&&(t[i]=o)}),t},[g,x,b,w,C]);return wt(()=>{(async()=>{a(!0);const e=await t();a(!1);const n=e.data;if(!n?.length)return;const r=[...n].sort((e,t)=>e.name.localeCompare(t.name)),s={},c={},d={};for(const e of r){const t=[...e.sources||[]].sort((e,t)=>e.name.localeCompare(t.name));s[e.name]=t.map(e=>Qr(e,i)),c[e.name]=t.map(e=>ea(e,i)),d[e.name]=ta(e,i)}o(wi.Namespace,n.map(({sources:e,...t})=>t));const{configuredSources:p,configuredFutureApps:u}=dr.getState();Object.entries(p).forEach(([e,t])=>{c[e]&&t.forEach(t=>{const i=c[e].findIndex(e=>e.name===t.name&&e.kind===t.kind);-1!==i&&(c[e][i]={...c[e][i],selected:t.selected,currentStreamName:t.currentStreamName})})}),Object.entries(u).forEach(([e,t])=>{d[e]&&(d[e]=t)}),l(s),$(c),m(d)})()},[i]),{loading:r,availableSources:s,filteredNamespacesAndSources:E,getApiSourcesPayload:()=>{const e={};return Object.entries(g).forEach(([t,i])=>{i.forEach(i=>{const n=s[t]?.find(e=>e.name===i.name&&e.kind===i.kind);n?.selected!==i.selected&&(e[t]||(e[t]=[]),e[t].push(i))})}),e},getApiFutureAppsPayload:()=>{const e={};return Object.entries(h).forEach(([t,o])=>{const r=n?.find(e=>e.name===t);(o.selected&&!r?.dataStreamNames?.includes(i)||!o.selected&&r?.dataStreamNames?.includes(i))&&(e[t]=o)}),e},selectedNamespace:p,onSelectNamespace:(e,t)=>{if(n.find(t=>t.name===e)){const n="boolean"==typeof t;u(t=>t!==e||n?e:""),n&&($(n=>({...n,[e]:(n[e]||[]).map(e=>({...e,selected:t,currentStreamName:i}))})),d(!1))}},selectedAllNamespaces:c,onSelectAllNamespaces:e=>{d(e),$(t=>{const n={};for(const[o,r]of Object.entries(t))n[o]=r.map(t=>({...t,selected:e,currentStreamName:i}));return n})},selectedSources:g,onSelectSource:(e,t)=>{const n=t||p;if(!n)return;const o=[...g[n]||[]],r=o.findIndex(({name:t,kind:i})=>t===e.name&&i===e.kind);if(-1!==r){const e={...o[r],selected:!o[r].selected,currentStreamName:i};o[r]=e}else o.push({...e,selected:!0,currentStreamName:i});$(e=>({...e,[n]:o})),d(!1)},selectedFutureApps:h,onSelectFutureApps:(e,t)=>{const o=t||p;if(!o)return;const r=n.find(e=>e.name===t);r&&m(t=>({...t,[o]:ta(r,i,e)}))},searchText:x,setSearchText:f,searchBy:b,setSearchBy:y,showSelectedOnly:w,setShowSelectedOnly:v,showRunningOnly:C,setShowRunningOnly:k}};try{Tt.addDefaultLocale(Ot)}catch(e){}const na=()=>{const e=vt(new Tt(Ot.locale));return{formatTimeAgo:Ct(t=>{try{return"string"==typeof t&&(t=t.replace("t","T").replace("z","Z")),e.current.format(new Date(t))}catch(e){return"-"}},[])}},oa=Rt.div`
337
+ `,Pr=({icon:e,size:t=Mr.S,onClick:i,disabled:n})=>ft(Lr,{$size:t,$disabled:n,onClick:e=>{i&&!n&&(e.stopPropagation(),i(e))},children:ft(e,{size:t})}),jr=({onDone:e}={})=>{const[t,i]=Ct(!1),[n,o]=Ct(-1),r=Et(async(n,r)=>{if(!t){if(i(!0),void 0!==r&&o(r),navigator?.clipboard&&navigator.clipboard.writeText)try{await navigator.clipboard.writeText(n)}catch(e){}else{const e=document.createElement("textarea");e.value=n,document.body.appendChild(e),e.select();try{document.execCommand("copy")}catch(e){}document.body.removeChild(e)}e?.(),setTimeout(()=>{i(!1),o(-1)},1e3)}},[t,e]);return{CopyButton:Et(({value:e,size:i})=>ft(Pr,{icon:t?He:Ke,size:i,onClick:()=>r(e)}),[t]),isCopied:t,copiedIndex:n,clickCopy:r}},Ur=e=>{const{addNotification:t}=ir(),{formData:i,handleFormChange:n,formErrors:o,handleErrorChange:r,resetFormData:a}=Nr(e);return{formData:i,formErrors:o,handleFormChange:n,resetFormData:a,validateForm:e=>{const n={};let o=!0;return i.name?jn(i.name)?n.name=void 0:(o=!1,n.name=nn.ILLEGAL_K8S_LABEL):(o=!1,n.name=nn.FIELD_IS_REQUIRED),!o&&e?.withAlert&&t({type:Si.Warning,title:e.alertTitle,message:nn.REQUIRED_FIELDS,hideFromHistory:!0}),r(void 0,void 0,n),o},loadFormWithDrawerItem:({name:t})=>{const i={...ii(e),name:t};n(void 0,void 0,i)}}},Wr={type:"",name:"",exportedSignals:{logs:!1,metrics:!1,traces:!1},fields:[],disabled:!1},Vr=e=>{const{supportedSignals:t,preLoadedFields:i}=e||{},{addNotification:n}=ir(),{formData:o,formErrors:r,handleFormChange:a,handleErrorChange:s,resetFormData:l}=Nr(Wr),[c,d]=Ct([]),[p,u]=Ct([]);return kt(()=>{var e;u(c?(e=c,e.filter(e=>!!e).map(e=>{const{name:t,componentType:i,componentProperties:n,displayName:o,initialValue:r,renderCondition:a}=e;if(i===Ci.Dropdown){const e=Bn(n,{}),s=Array.isArray(e.values)?e.values.map(e=>({id:e,value:e})):Object.entries(e.values).map(([e,t])=>({id:e,value:t}));return{name:t,componentType:i,title:o,value:r,placeholder:e.placeholder||"Select an option",options:s,renderCondition:a,...e}}return{name:t,componentType:i,title:o,value:r,renderCondition:a,...Bn(n,{})}})).map(e=>{if(i){const t="string"==typeof i?Bn(i,{}):i;if(e.name in t)return{...e,value:t[e.name]}}return e}):[])},[c,i]),kt(()=>{if(p){const e=p.map(e=>({key:e.name,value:e.value}));a("fields",e)}},[p]),kt(()=>{if(t&&0===Jn(o.exportedSignals).length){const{logs:e,metrics:i,traces:n}=t;a("exportedSignals",{logs:e.supported,metrics:i.supported,traces:n.supported})}},[t,o.exportedSignals]),{formData:o,formErrors:r,handleFormChange:a,resetFormData:l,validateForm:e=>{const t={};let i=!0;return p.forEach(({name:e,value:n,required:o})=>{o&&!n&&(i=!1,t[e]=nn.FIELD_IS_REQUIRED)}),!i&&e?.withAlert&&n({type:Si.Warning,title:e.alertTitle,message:nn.REQUIRED_FIELDS,hideFromHistory:!0}),s(void 0,void 0,t),i},loadFormWithDrawerItem:({destinationType:{type:e},name:t,disabled:i,exportedSignals:n,fields:o})=>{const r={...ii(Wr),type:e,name:t,disabled:i,exportedSignals:n,fields:Object.entries(Bn(o,{})).map(([e,t])=>({key:e,value:t}))};return a(void 0,void 0,r),r},yamlFields:c,setYamlFields:d,dynamicFields:p,setDynamicFields:u}},Gr={ruleName:"",notes:"",disabled:!1,workloads:null,instrumentationLibraries:null,payloadCollection:{[ji.HttpRequest]:null,[ji.HttpResponse]:null,[ji.DbQuery]:null,[ji.Messaging]:null},codeAttributes:{[Mi.Column]:null,[Mi.FilePath]:null,[Mi.Function]:null,[Mi.LineNumber]:null,[Mi.Namespace]:null,[Mi.StackTrace]:null},headersCollection:null,customInstrumentations:{[Pi.Java]:null,[Pi.Golang]:null}},qr=()=>{const{formData:e,formErrors:t,handleFormChange:i,handleErrorChange:n,resetFormData:o}=Nr(Gr);return{formData:e,formErrors:t,handleFormChange:i,resetFormData:o,validateForm:()=>(n(void 0,void 0,{}),!0),loadFormWithDrawerItem:({ruleName:e,notes:t,disabled:n,payloadCollection:o,codeAttributes:r,headersCollection:a,customInstrumentations:s})=>{const l={...ii(Gr),ruleName:e,notes:t,disabled:n};o&&(l.payloadCollection={[ji.HttpRequest]:o[ji.HttpRequest]?{}:null,[ji.HttpResponse]:o[ji.HttpResponse]?{}:null,[ji.DbQuery]:o[ji.DbQuery]?{}:null,[ji.Messaging]:o[ji.Messaging]?{}:null}),r&&(l.codeAttributes={[Mi.Column]:r[Mi.Column]||null,[Mi.FilePath]:r[Mi.FilePath]||null,[Mi.Function]:r[Mi.Function]||null,[Mi.LineNumber]:r[Mi.LineNumber]||null,[Mi.Namespace]:r[Mi.Namespace]||null,[Mi.StackTrace]:r[Mi.StackTrace]||null}),a&&(l.headersCollection=a),s&&(l.customInstrumentations={[Pi.Java]:s[Pi.Java]||null,[Pi.Golang]:s[Pi.Golang]||null}),i(void 0,void 0,l)}}},Hr=({active:e,key:t,withAltKey:i,withCtrlKey:n,withShiftKey:o,withMetaKey:r},a)=>(kt(()=>{const s=s=>{e&&t===s.key&&(!i||i&&s.altKey)&&(!n||n&&s.ctrlKey)&&(!o||o&&s.shiftKey)&&(!r||r&&s.metaKey)&&(s.preventDefault(),s.stopPropagation(),a(s))};return window.addEventListener("keydown",s),()=>{window.removeEventListener("keydown",s)}},[t,e,i,n,o,r,a]),null),Kr=(e,t)=>{kt(()=>{const i=i=>{e.current&&!e.current.contains(i.target)&&t()};return document.addEventListener("mousedown",i),document.addEventListener("touchstart",i),()=>{document.removeEventListener("mousedown",i),document.removeEventListener("touchstart",i)}},[e,t])},Yr=({defaultClientHeight:e=0,defaultClientwidth:t=0,onClickOutside:i}={})=>{const n=St(null),[o,r]=Ct(!1),[a,s]=Ct({top:0,left:0});return Kr(n,()=>{o&&(r(!1),i?.())}),{popupRef:n,popupOpen:o,setPopupOpen:r,popupPosition:a,handlePosition:(i,o)=>{const{innerWidth:r,innerHeight:a}=window;let l=o,c=i;l>=a/2&&(l+=-(n.current?.clientHeight||e)),c>=r/2&&(c+=-(n.current?.clientWidth||t)),s({top:l,left:c})}}},Jr=()=>({getItemSS:(e,t)=>{const i=sessionStorage.getItem(e);return i?Bn(i,t):t},setItemSS:(e,t)=>{sessionStorage.setItem(e,JSON.stringify(t))},removeItemSS:e=>{sessionStorage.removeItem(e)}}),Xr={otelServiceName:"",currentStreamName:""},Zr=()=>{const{formData:e,formErrors:t,handleFormChange:i,handleErrorChange:n,resetFormData:o}=Nr(Xr);return{formData:e,formErrors:t,handleFormChange:i,resetFormData:o,validateForm:()=>(n(void 0,void 0,{}),!0),loadFormWithDrawerItem:({otelServiceName:e,name:t})=>{const n={...ii(Xr),otelServiceName:e||t||""};i(void 0,void 0,n)}}},Qr=Tt({platformType:xi.K8s,tier:$i.Community,version:"v0.0.0"}),ea=({children:e,platformType:t,tier:i,version:n})=>{const o=vt(()=>({platformType:t,tier:i,version:n}),[t,i,n]);return ft(Qr.Provider,{value:o,children:e})},ta=(e,t)=>!t||ro(e)>=ro(t),ia=e=>{const t=At(Qr),i=ta(t.version,e),n=t.platformType===xi.Vm;return{...t,isVersionSupported:i,isVm:n}},na=Tt({formType:void 0}),oa=({children:e,formType:t})=>{const i=vt(()=>({formType:t}),[t]);return ft(na.Provider,{value:i,children:e})},ra=()=>At(na),aa=new Set([Fi.StaticPod]),sa=e=>{const t=e.workloads.filter(({selected:e})=>e).length,i=e.workloads.length;return{selectedCount:t,isAllSourced:t>0&&t===i,isSomeSourced:t>0&&t<i,isFutureApps:e.selected||!1}},la=(e,t,i)=>{if(t&&!e.name.toLowerCase().includes(t.toLowerCase()))return!1;if(i.showOnlySelected){const{isAllSourced:t,isSomeSourced:i,isFutureApps:n}=sa(e);return t||i||n}return!0},ca=(e,t,i)=>!(t&&!e.name.toLowerCase().includes(t.toLowerCase()))&&(!i.showOnlySelected||e.selected),da=(e,t,i)=>{const n=!!e.dataStreamNames?.length||!!e.currentStreamName?.length,o=n&&e.dataStreamNames?.includes(t)||e.currentStreamName===t,r=e.selected&&(!n||o)||!1;return{namespace:e.namespace,name:e.name,kind:e.kind,selected:r,numberOfInstances:e.numberOfInstances}},pa=(e,t,i)=>({...da(e,t),currentStreamName:t}),ua=(e,t,i)=>{const n="boolean"==typeof i,o=e.dataStreamNames?.includes(t),r=(n?i:e.selected)||!1;return{namespace:e.name,selected:!(!o&&!n)&&r,currentStreamName:t}},ha=e=>{const{fetchNamespacesWithWorkloads:t}=e,{tier:i}=ia(),n=e=>i!==$i.Onprem&&aa.has(e),{selectedStreamName:o}=Jo(),{namespaces:r,addEntities:a}=Zo(),[s,l]=Ct(!1),[c,d]=Ct({}),[p,u]=Ct(!1),[h,m]=Ct(""),[g,$]=Ct({}),[x,f]=Ct({}),[b,y]=Ct(""),[w,v]=Ct(wi.Source),[C,k]=Ct(!1),[S,E]=Ct(!1),A=vt(()=>{const e=(e,t)=>!b||w!==t||w===t&&e.toLowerCase().includes(b),t={};return Object.entries(x).filter(([t])=>e(t,wi.Namespace)).forEach(([i,n])=>{const o=n.filter(t=>e(t.name,wi.Source)&&(!C||t.selected)&&(e=>!S||(e.numberOfInstances||0)>0)(t));(!b||b&&(w===wi.Namespace||w===wi.Source&&o.length))&&(t[i]=o)}),t},[x,b,w,C,S]);return kt(()=>{(async()=>{l(!0);const e=await t();l(!1);const i=e.data;if(!i?.length)return;const n=[...i].sort((e,t)=>e.name.localeCompare(t.name)),r={},s={},c={};for(const e of n){const t=[...e.sources||[]].sort((e,t)=>e.name.localeCompare(t.name));r[e.name]=t.map(e=>da(e,o)),s[e.name]=t.map(e=>pa(e,o)),c[e.name]=ua(e,o)}a(wi.Namespace,i.map(({sources:e,...t})=>t));const{configuredSources:p,configuredFutureApps:u}=dr.getState();Object.entries(p).forEach(([e,t])=>{s[e]&&t.forEach(t=>{const i=s[e].findIndex(e=>e.name===t.name&&e.kind===t.kind);-1!==i&&(s[e][i]={...s[e][i],selected:t.selected,currentStreamName:t.currentStreamName})})}),Object.entries(u).forEach(([e,t])=>{c[e]&&(c[e]=t)}),d(r),f(s),$(c)})()},[o]),{loading:s,availableSources:c,filteredNamespacesAndSources:A,getApiSourcesPayload:()=>{const e={};return Object.entries(x).forEach(([t,i])=>{i.forEach(i=>{const n=c[t]?.find(e=>e.name===i.name&&e.kind===i.kind);n?.selected!==i.selected&&(e[t]||(e[t]=[]),e[t].push(i))})}),e},getApiFutureAppsPayload:()=>{const e={};return Object.entries(g).forEach(([t,i])=>{const n=r?.find(e=>e.name===t);(i.selected&&!n?.dataStreamNames?.includes(o)||!i.selected&&n?.dataStreamNames?.includes(o))&&(e[t]=i)}),e},selectedNamespace:h,onSelectNamespace:(e,t)=>{if(r.find(t=>t.name===e)){const i="boolean"==typeof t;m(t=>t!==e||i?e:""),i&&(f(i=>({...i,[e]:(i[e]||[]).map(e=>t&&n(e.kind)?e:{...e,selected:t,currentStreamName:o})})),u(!1))}},selectedAllNamespaces:p,onSelectAllNamespaces:e=>{u(e),f(t=>{const i={};for(const[r,a]of Object.entries(t))i[r]=a.map(t=>e&&n(t.kind)?t:{...t,selected:e,currentStreamName:o});return i})},selectedSources:x,onSelectSource:(e,t)=>{const i=t||h;if(!i)return;if(n(e.kind))return;const r=[...x[i]||[]],a=r.findIndex(({name:t,kind:i})=>t===e.name&&i===e.kind);if(-1!==a){const e={...r[a],selected:!r[a].selected,currentStreamName:o};r[a]=e}else r.push({...e,selected:!0,currentStreamName:o});f(e=>({...e,[i]:r})),u(!1)},selectedFutureApps:g,onSelectFutureApps:(e,t)=>{const i=t||h;if(!i)return;const n=r.find(e=>e.name===t);n&&$(t=>({...t,[i]:ua(n,o,e)}))},searchText:b,setSearchText:y,searchBy:w,setSearchBy:v,showSelectedOnly:C,setShowSelectedOnly:k,showRunningOnly:S,setShowRunningOnly:E}};try{Nt.addDefaultLocale(_t)}catch(e){}const ma=()=>{const e=St(new Nt(_t.locale));return{formatTimeAgo:Et(t=>{try{return"string"==typeof t&&(t=t.replace("t","T").replace("z","Z")),e.current.format(new Date(t))}catch(e){return"-"}},[])}},ga=Rt.div`
338
338
  flex: 1;
339
339
  align-self: stretch;
340
340
  display: flex;
@@ -342,7 +342,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
342
342
  gap: 24px;
343
343
  padding: 24px 24px 0 24px;
344
344
  overflow-x: scroll;
345
- `,ra=Rt.div`
345
+ `,$a=Rt.div`
346
346
  position: relative;
347
347
 
348
348
  // inherit all the properties of the parent (PageContent)
@@ -352,7 +352,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
352
352
  flex-direction: inherit;
353
353
  gap: inherit;
354
354
  overflow-x: inherit;
355
- `,aa=Rt.div`
355
+ `,xa=Rt.div`
356
356
  display: flex;
357
357
  flex-direction: row;
358
358
  flex-wrap: ${({$wrap:e="unset"})=>e};
@@ -363,7 +363,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
363
363
  height: ${({$height:e})=>e||"unset"};
364
364
  margin: ${({$margin:e="unset"})=>e};
365
365
  padding: ${({$padding:e="unset"})=>e};
366
- `,sa=Rt.div`
366
+ `,fa=Rt.div`
367
367
  display: flex;
368
368
  flex-direction: column;
369
369
  flex-wrap: ${({$wrap:e="unset"})=>e};
@@ -374,18 +374,18 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
374
374
  height: ${({$height:e})=>e||"unset"};
375
375
  margin: ${({$margin:e="unset"})=>e};
376
376
  padding: ${({$padding:e="unset"})=>e};
377
- `,la=Rt(sa)`
377
+ `,ba=Rt(fa)`
378
378
  width: ${({$width:e})=>e||"100%"};
379
379
  height: ${({$height:e})=>e||"unset"};
380
380
  padding: ${({$padding:e})=>e||"unset"};
381
381
  align-items: center;
382
382
  justify-content: center;
383
- `,ca=Rt.div`
383
+ `,ya=Rt.div`
384
384
  display: flex;
385
385
  flex-direction: column;
386
386
  padding: 12px;
387
387
  overflow-y: scroll;
388
- `,da=Rt.div`
388
+ `,wa=Rt.div`
389
389
  position: ${({$relativeToParent:e})=>e?"absolute":"fixed"};
390
390
  top: 0;
391
391
  left: 0;
@@ -394,27 +394,27 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
394
394
  z-index: 1000;
395
395
  background: rgba(0, 0, 0, 0.6);
396
396
  backdrop-filter: blur(2px);
397
- `,pa=Rt.div`
397
+ `,va=Rt.div`
398
398
  width: 800px;
399
399
  min-height: ${({$minHeight:e})=>e||"unset"};
400
400
  height: ${({$isNotModal:e})=>e?"fit-content":"calc(100vh - 350px)"};
401
401
  margin: ${({$isNotModal:e})=>e?"64px 0 0 0":"64px 7vw 32px 7vw"};
402
402
  padding: 0 2px;
403
403
  overflow-y: scroll;
404
- `,ua=Rt(sa)`
404
+ `,Ca=Rt(fa)`
405
405
  max-width: ${({$maxWidth:e})=>e||"unset"};
406
406
  width: 100%;
407
- `,ha=Rt(aa)`
407
+ `,ka=Rt(xa)`
408
408
  gap: 16px;
409
409
  padding: 16px;
410
- `,ma=Rt.div`
410
+ `,Sa=Rt.div`
411
411
  width: 100%;
412
412
  max-height: ${({$maxHeight:e})=>e||"unset"};
413
413
  overflow-y: auto;
414
- `,ga=Rt.div`
414
+ `,Ea=Rt.div`
415
415
  width: ${({$width:e})=>e||"unset"};
416
416
  height: ${({$height:e})=>e||"unset"};
417
- `,$a=Rt.div`
417
+ `,Aa=Rt.div`
418
418
  position: fixed;
419
419
  top: 50%;
420
420
  left: 50%;
@@ -426,26 +426,26 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
426
426
  border-radius: 40px;
427
427
  box-shadow: ${({theme:e})=>{const t=e.colors.primary+xr["010"];return`0px 1px 1px 0px ${t}, 0px 2px 2px 0px ${t}, 0px 5px 5px 0px ${t}, 0px 10px 10px 0px ${t}, 0px 0px 8px 0px ${t}`}};
428
428
  animation-name: ${br.in.center};
429
- `,xa=Rt.div`
429
+ `,Ta=Rt.div`
430
430
  display: flex;
431
431
  justify-content: space-between;
432
432
  align-items: center;
433
433
  height: 80px;
434
434
  border-bottom: 1px solid ${({theme:e})=>e.colors.border};
435
435
  padding: 0 24px;
436
- `,fa=Rt.div`
436
+ `,Da=Rt.div`
437
437
  cursor: pointer;
438
438
  display: flex;
439
439
  align-items: center;
440
440
  gap: 8px;
441
- `,ba=Rt.div`
441
+ `,Ia=Rt.div`
442
442
  display: flex;
443
443
  align-items: center;
444
444
  gap: 8px;
445
- `,ya=Rt(la)`
445
+ `,Na=Rt(ba)`
446
446
  min-width: 350px;
447
447
  min-height: 150px;
448
- `,wa=Rt.div`
448
+ `,Oa=Rt.div`
449
449
  position: absolute;
450
450
  left: 50%;
451
451
  transform: translateX(-50%);
@@ -454,24 +454,24 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
454
454
  justify-content: center;
455
455
  width: 100%;
456
456
  pointer-events: none;
457
- `,va=Rt(xo)`
457
+ `,za=Rt(xo)`
458
458
  text-transform: uppercase;
459
459
  font-family: ${({theme:e})=>e.font_family.secondary};
460
460
  pointer-events: auto;
461
- `,Ca=Rt(xo)`
461
+ `,Fa=Rt(xo)`
462
462
  text-transform: uppercase;
463
463
  font-weight: 500;
464
464
  font-size: 14px;
465
465
  font-family: ${({theme:e})=>e.font_family.secondary};
466
466
  text-decoration: underline;
467
467
  cursor: pointer;
468
- `,ka=({isOpen:e,noOverlay:t,header:i,actionComponent:n,onClose:o,children:r,closeOnEscape:a=!0})=>(Hr({key:"Escape",active:e&&a},()=>o()),Fr(e),e?Gt.createPortal(Ft(_t,{children:[zt(da,{hidden:!e,onClick:o,style:{opacity:t?0:1}}),Ft($a,{"data-id":"modal"+(i?`-${i.title.replaceAll(" ","-")}`:""),children:[i&&Ft(xa,{children:[Ft(fa,{onClick:o,children:[zt(Ye,{}),zt(Ca,{children:"Cancel"})]}),zt(wa,{children:zt(va,{children:i.title})}),zt(ba,{children:n})]}),zt(ya,{children:r})]})]}),document.body):null),Ea=Rt.div`
468
+ `,_a=({isOpen:e,noOverlay:t,header:i,actionComponent:n,onClose:o,children:r,closeOnEscape:a=!0})=>(Hr({key:"Escape",active:e&&a},()=>o()),Fr(e),e?Gt.createPortal(bt(yt,{children:[ft(wa,{hidden:!e,onClick:o,style:{opacity:t?0:1}}),bt(Aa,{"data-id":"modal"+(i?`-${i.title.replaceAll(" ","-")}`:""),children:[i&&bt(Ta,{children:[bt(Da,{onClick:o,children:[ft(Ye,{}),ft(Fa,{children:"Cancel"})]}),ft(Oa,{children:ft(za,{children:i.title})}),ft(Ia,{children:n})]}),ft(Na,{children:r})]})]}),document.body):null),Ra=Rt.div`
469
469
  width: ${({$orientation:e,$thickness:t,$length:i})=>"vertical"===e?`${t}px`:i||"100%"};
470
470
  height: ${({$orientation:e,$thickness:t,$length:i})=>"horizontal"===e?`${t}px`:i||"100%"};
471
471
  margin: ${({$orientation:e,$margin:t})=>t||("horizontal"===e?"8px 0":"0 8px")};
472
472
  background-color: ${({$type:e,theme:t})=>(e?t.text[e]:t.colors.border)+xr["050"]};
473
473
  opacity: ${({$opacity:e})=>e||1};
474
- `,Sa=({orientation:e="horizontal",type:t,thickness:i=1,length:n,margin:o,opacity:r})=>zt(Ea,{$orientation:e,$type:t,$thickness:i,$length:n,$margin:o,$opacity:r}),Aa=Rt.div`
474
+ `,Ba=({orientation:e="horizontal",type:t,thickness:i=1,length:n,margin:o,opacity:r})=>ft(Ra,{$orientation:e,$type:t,$thickness:i,$length:n,$margin:o,$opacity:r}),Ma=Rt.div`
475
475
  position: absolute;
476
476
  ${({$top:e})=>void 0!==e&&`top: ${e}px;`}
477
477
  ${({$bottom:e})=>void 0!==e&&`bottom: ${e}px;`}
@@ -486,25 +486,25 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
486
486
  width: ${({$width:e})=>void 0!==e?e:"unset"};
487
487
 
488
488
  ${({$asPortal:e,$withPointerEvents:t})=>e&&!t&&"pointer-events: none;"}
489
- `,Ta=Rt.div`
489
+ `,La=Rt.div`
490
490
  padding: ${({$padding:e})=>void 0!==e?e:"12px"};
491
491
  border-bottom: 1px solid ${({theme:e})=>e.colors.border};
492
- `,Da=Rt.div`
492
+ `,Pa=Rt.div`
493
493
  padding: ${({$padding:e})=>void 0!==e?e:"12px"};
494
- `,Ia=Rt.div`
494
+ `,ja=Rt.div`
495
495
  padding: ${({$padding:e})=>void 0!==e?e:"12px"};
496
496
  border-top: 1px solid ${({theme:e})=>e.colors.border};
497
- `,Na=kt(({isOpen:e,asPortal:t,...i},n)=>{const o=bt(()=>{const{children:e,top:o,bottom:r,left:a,right:s,borderRadius:l,padding:c,maxWidth:d,width:p,header:u,footer:h,withPointerEvents:m,...g}=i;return Ft(Aa,{ref:n,$top:o,$bottom:r,$left:a,$right:s,$borderRadius:l,$padding:c,$maxWidth:d,$width:p,$asPortal:t,$withPointerEvents:m,...g,children:[u&&zt(Ta,{$padding:c,children:u}),zt(Da,{$padding:c,children:e}),h&&zt(Ia,{$padding:c,children:h})]})},[n,i,t]);return e?t?Gt.createPortal(o,document.body):o:null});Na.displayName=Na.name;const Oa=Rt.div`
497
+ `,Ua=Dt(({isOpen:e,asPortal:t,...i},n)=>{const o=vt(()=>{const{children:e,top:o,bottom:r,left:a,right:s,borderRadius:l,padding:c,maxWidth:d,width:p,header:u,footer:h,withPointerEvents:m,...g}=i;return bt(Ma,{ref:n,$top:o,$bottom:r,$left:a,$right:s,$borderRadius:l,$padding:c,$maxWidth:d,$width:p,$asPortal:t,$withPointerEvents:m,...g,children:[u&&ft(La,{$padding:c,children:u}),ft(Pa,{$padding:c,children:e}),h&&ft(ja,{$padding:c,children:h})]})},[n,i,t]);return e?t?Gt.createPortal(o,document.body):o:null});Ua.displayName=Ua.name;const Wa=Rt.div`
498
498
  width: fit-content;
499
499
  position: relative;
500
500
  display: flex;
501
501
  align-items: center;
502
502
  gap: 4px;
503
503
  cursor: help;
504
- `,za=Rt(xo)`
504
+ `,Va=Rt(xo)`
505
505
  word-break: break-word;
506
506
  white-space: pre-wrap;
507
- `,Fa=({withIcon:e,titleIcon:t,title:i,text:n,timestamp:o,children:r})=>{const a=Mt(),{popupRef:s,popupOpen:l,setPopupOpen:c,popupPosition:d,handlePosition:p}=Yr({defaultClientHeight:40,defaultClientwidth:Math.min(7.5*(n?.length||0),300)}),u=bt(()=>!!mo(n||"")?.length,[n]),h=e=>{const{type:t,clientX:i,clientY:n}=e;u?p(d.left||i,d.top||n):p(i,n),c("mouseleave"!==t)};return n?Ft(Oa,{onMouseEnter:h,onMouseMove:h,onMouseLeave:h,children:[r,e&&zt(je,{fill:a.v2.colors.silver[200]}),Ft(Na,{ref:s,isOpen:l,top:d.top,left:d.left,asPortal:!0,withPointerEvents:u,onMouseEnter:u?h:void 0,maxWidth:"270px",borderRadius:"16px",padding:"8px 12px",children:[(!!t||!!i)&&Ft(aa,{style:{marginBottom:"4px"},$gap:4,children:[t&&zt(t,{size:12,fill:a.text.secondary},"icon"),i&&zt(xo,{size:12,color:a.text.secondary,children:i},"title")]}),zt(za,{size:12,color:a.text.info,children:n}),!!o&&zt(xo,{size:10,color:a.text.darker_grey,family:"secondary",style:{marginTop:"8px"},children:new Date(o).toLocaleString()})]})]}):zt(_t,{children:r})},_a=Rt.button`
507
+ `,Ga=({withIcon:e,titleIcon:t,title:i,text:n,timestamp:o,children:r})=>{const a=Mt(),{popupRef:s,popupOpen:l,setPopupOpen:c,popupPosition:d,handlePosition:p}=Yr({defaultClientHeight:40,defaultClientwidth:Math.min(7.5*(n?.length||0),300)}),u=vt(()=>!!mo(n||"")?.length,[n]),h=e=>{const{type:t,clientX:i,clientY:n}=e;u?p(d.left||i,d.top||n):p(i,n),c("mouseleave"!==t)};return n?bt(Wa,{onMouseEnter:h,onMouseMove:h,onMouseLeave:h,children:[r,e&&ft(je,{fill:a.v2.colors.silver[200]}),bt(Ua,{ref:s,isOpen:l,top:d.top,left:d.left,asPortal:!0,withPointerEvents:u,onMouseEnter:u?h:void 0,maxWidth:"270px",borderRadius:"16px",padding:"8px 12px",children:[(!!t||!!i)&&bt(xa,{style:{marginBottom:"4px"},$gap:4,children:[t&&ft(t,{size:12,fill:a.text.secondary},"icon"),i&&ft(xo,{size:12,color:a.text.secondary,children:i},"title")]}),ft(Va,{size:12,color:a.text.info,children:n}),!!o&&ft(xo,{size:10,color:a.text.darker_grey,family:"secondary",style:{marginTop:"8px"},children:new Date(o).toLocaleString()})]})]}):ft(yt,{children:r})},qa=Rt.button`
508
508
  position: relative;
509
509
  width: ${({$size:e})=>e}px;
510
510
  height: ${({$size:e})=>e}px;
@@ -518,7 +518,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
518
518
  &:hover {
519
519
  background-color: ${({theme:e,$backgroundColor:t})=>t?t+xr["070"]:e.colors.dropdown_bg_2};
520
520
  }
521
- `,Ra=Rt.div`
521
+ `,Ha=Rt.div`
522
522
  position: absolute;
523
523
  top: ${({$size:e})=>e/5}px;
524
524
  right: ${({$size:e})=>e/5}px;
@@ -535,7 +535,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
535
535
  background-color: ${({theme:e,$color:t})=>t||e.colors.secondary};
536
536
  animation: ${wr} 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
537
537
  }
538
- `,Ba=({children:e,onClick:t,tooltip:i,size:n=36,withPing:o,pingColor:r,withBorder:a,backgroundColor:s,...l})=>zt(Fa,{text:i,children:Ft(_a,{$size:n,$withBorder:a,$backgroundColor:s,onClick:t,...l,children:[o&&zt(Ra,{$size:n,$color:r}),e]})}),Ma=Rt.div`
538
+ `,Ka=({children:e,onClick:t,tooltip:i,size:n=36,withPing:o,pingColor:r,withBorder:a,backgroundColor:s,...l})=>ft(Ga,{text:i,children:bt(qa,{$size:n,$withBorder:a,$backgroundColor:s,onClick:t,...l,children:[o&&ft(Ha,{$size:n,$color:r}),e]})}),Ya=Rt.div`
539
539
  position: relative;
540
540
  &.animated {
541
541
  overflow: hidden;
@@ -543,7 +543,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
543
543
  border-radius: 32px;
544
544
  animation: ${({$isLeaving:e})=>e?br.out.bottom:br.in.bottom} ${({$duration:e})=>e/10}ms forwards;
545
545
  }
546
- `,La=Rt.div`
546
+ `,Ja=Rt.div`
547
547
  position: absolute;
548
548
  bottom: -1px;
549
549
  left: 0;
@@ -553,7 +553,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
553
553
  border-radius: 32px;
554
554
  background-color: ${({$type:e,theme:t})=>t.text[e]};
555
555
  animation: ${yr.out} ${({$duration:e})=>""+(e-e/10)}ms forwards;
556
- `,Pa=Rt.div`
556
+ `,Xa=Rt.div`
557
557
  display: flex;
558
558
  align-items: center;
559
559
  flex: 1;
@@ -561,20 +561,20 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
561
561
  padding: 0 12px;
562
562
  border-radius: 32px;
563
563
  background-color: ${({$type:e,theme:t})=>t.colors[e]};
564
- `,ja=Rt.div`
564
+ `,Za=Rt.div`
565
565
  display: flex;
566
566
  align-items: center;
567
567
  margin: 0 auto 0 0;
568
568
  padding: 8px 0;
569
569
  max-width: ${({$withAction:e,$overrideMaxWidth:t})=>t||(e?"400px":"500px")};
570
570
  min-height: 12px;
571
- `,Ua=Rt(xo)`
571
+ `,Qa=Rt(xo)`
572
572
  font-size: 14px;
573
573
  color: ${({$type:e,theme:t})=>t.text[e]};
574
- `,Wa=Rt(xo)`
574
+ `,es=Rt(xo)`
575
575
  color: ${({$type:e,theme:t})=>t.text[e]};
576
576
  font-size: 12px;
577
- `,Va=Rt(aa)``,Ga=Rt(xo)`
577
+ `,ts=Rt(xa)``,is=Rt(xo)`
578
578
  text-transform: uppercase;
579
579
  text-decoration: underline;
580
580
  font-size: 12px;
@@ -585,34 +585,34 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
585
585
  transform: scale(1.1);
586
586
  transition: transform 0.3s;
587
587
  }
588
- `,qa=({type:e,icon:t,title:i,message:n,action:o,onClose:r,duration:a=5e3,overrideMaxWidth:s,style:l})=>{const c=Mt(),[d,p]=yt(!1),u=vt(null),h=vt(null),m=e=>{r&&(p(!0),r({asSeen:e?.asSeen}))};wt(()=>(u.current=setTimeout(()=>m({asSeen:!1}),a),()=>{u.current&&clearTimeout(u.current)}),[a]);const g=t||zn(e,c);return Ft(Ma,{className:r?"animated":"",$duration:a,$isLeaving:d,onMouseEnter:()=>{u.current&&clearTimeout(u.current),h.current&&(h.current.style.animationPlayState="paused")},onMouseLeave:()=>{if(h.current){const e=h.current.offsetWidth/h.current.parentElement.offsetWidth*a;u.current=setTimeout(()=>m({asSeen:!1}),e),h.current.style.animationPlayState="running"}},children:[Ft(Pa,{"data-id":"toast",$type:e,style:l,children:[zt(g,{fill:c.text[e]}),Ft(ja,{$withAction:!!o,$overrideMaxWidth:s,children:[i&&zt(Ua,{$type:e,children:i}),i&&n&&zt(Sa,{orientation:"vertical",type:e}),n&&zt(Wa,{$type:e,children:n})]}),(!!o||!!r)&&Ft(Va,{children:[o&&zt(Ga,{"data-id":"toast-action",onClick:o.onClick,children:o.label}),r&&zt(Ba,{"data-id":"toast-close",onClick:()=>m({asSeen:!0}),children:zt(Ye,{size:12})})]})]}),r&&zt(La,{ref:h,$duration:a,$type:e})]})},Ha=Rt.div`
588
+ `,ns=({type:e,icon:t,title:i,message:n,action:o,onClose:r,duration:a=5e3,overrideMaxWidth:s,style:l})=>{const c=Mt(),[d,p]=Ct(!1),u=St(null),h=St(null),m=e=>{r&&(p(!0),r({asSeen:e?.asSeen}))};kt(()=>(u.current=setTimeout(()=>m({asSeen:!1}),a),()=>{u.current&&clearTimeout(u.current)}),[a]);const g=t||zn(e,c);return bt(Ya,{className:r?"animated":"",$duration:a,$isLeaving:d,onMouseEnter:()=>{u.current&&clearTimeout(u.current),h.current&&(h.current.style.animationPlayState="paused")},onMouseLeave:()=>{if(h.current){const e=h.current.offsetWidth/h.current.parentElement.offsetWidth*a;u.current=setTimeout(()=>m({asSeen:!1}),e),h.current.style.animationPlayState="running"}},children:[bt(Xa,{"data-id":"toast",$type:e,style:l,children:[ft(g,{fill:c.text[e]}),bt(Za,{$withAction:!!o,$overrideMaxWidth:s,children:[i&&ft(Qa,{$type:e,children:i}),i&&n&&ft(Ba,{orientation:"vertical",type:e}),n&&ft(es,{$type:e,children:n})]}),(!!o||!!r)&&bt(ts,{children:[o&&ft(is,{"data-id":"toast-action",onClick:o.onClick,children:o.label}),r&&ft(Ka,{"data-id":"toast-close",onClick:()=>m({asSeen:!0}),children:ft(Ye,{size:12})})]})]}),r&&ft(Ja,{ref:h,$duration:a,$type:e})]})},os=Rt.div`
589
589
  padding: 24px 32px;
590
- `,Ka=Rt.div`
590
+ `,rs=Rt.div`
591
591
  padding: ${({$withNote:e})=>e?"12px 0px":"12px 0px 32px 0"};
592
- `,Ya=Rt(xo)`
592
+ `,as=Rt(xo)`
593
593
  font-size: 20px;
594
594
  line-height: 28px;
595
- `,Ja=Rt(xo)`
595
+ `,ss=Rt(xo)`
596
596
  color: ${({theme:e})=>e.text.grey};
597
597
  width: 416px;
598
598
  font-style: normal;
599
599
  font-weight: 300;
600
600
  line-height: 24px;
601
- `,Xa=Rt.div`
601
+ `,ls=Rt.div`
602
602
  display: flex;
603
603
  justify-content: space-between;
604
604
  gap: 12px;
605
- `,Za=Rt(Ir)`
605
+ `,cs=Rt(Ir)`
606
606
  width: 250px;
607
- `,Qa=Rt.div`
607
+ `,ds=Rt.div`
608
608
  margin-bottom: 12px;
609
- `,es=({isOpen:e,noOverlay:t,title:i="",description:n="",note:o,approveButton:r,denyButton:a,closeOnEscape:s=!0})=>{Hr({key:"Enter",active:e&&s},()=>r.onClick());const l=()=>a.onClick();return zt(ka,{isOpen:e,noOverlay:t,onClose:l,children:Ft(Ha,{children:[zt(Ya,{children:i}),zt(Ka,{$withNote:!!o,children:zt(Ja,{children:n})}),!!o&&zt(Qa,{children:zt(qa,{type:o.type,title:o.title,message:o.message})}),Ft(Xa,{children:[zt(Za,{"data-id":"approve",variant:r.variant||"primary",onClick:()=>r.onClick(),children:r.text}),zt(Za,{"data-id":"deny",variant:a.variant||"secondary",onClick:l,children:a.text})]})]})})},ts=({isOpen:e,noOverlay:t,name:i,onApprove:n,onDeny:o})=>zt(es,{isOpen:e,noOverlay:t,title:"Cancel"+(i?` ${i}`:""),description:"Are you sure you want to cancel?",approveButton:{text:"Confirm",variant:Ei.Warning,onClick:n},denyButton:{text:"Go Back",onClick:o}}),is=Rt.div`
609
+ `,ps=({isOpen:e,noOverlay:t,title:i="",description:n="",note:o,approveButton:r,denyButton:a,closeOnEscape:s=!0})=>{Hr({key:"Enter",active:e&&s},()=>r.onClick());const l=()=>a.onClick();return ft(_a,{isOpen:e,noOverlay:t,onClose:l,children:bt(os,{children:[ft(as,{children:i}),ft(rs,{$withNote:!!o,children:ft(ss,{children:n})}),!!o&&ft(ds,{children:ft(ns,{type:o.type,title:o.title,message:o.message})}),bt(ls,{children:[ft(cs,{"data-id":"approve",variant:r.variant||"primary",onClick:()=>r.onClick(),children:r.text}),ft(cs,{"data-id":"deny",variant:a.variant||"secondary",onClick:l,children:a.text})]})]})})},us=({isOpen:e,noOverlay:t,name:i,onApprove:n,onDeny:o})=>ft(ps,{isOpen:e,noOverlay:t,title:"Cancel"+(i?` ${i}`:""),description:"Are you sure you want to cancel?",approveButton:{text:"Confirm",variant:Si.Warning,onClick:n},denyButton:{text:"Go Back",onClick:o}}),hs=Rt.div`
610
610
  display: flex;
611
611
  align-items: center;
612
612
  gap: 8px;
613
613
  cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
614
614
  opacity: ${({$disabled:e})=>e?.6:1};
615
- `,ns=Rt.div`
615
+ `,ms=Rt.div`
616
616
  width: 18px;
617
617
  height: 18px;
618
618
  border-radius: 6px;
@@ -626,9 +626,9 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
626
626
  &:hover {
627
627
  border: 1px solid ${({theme:e})=>e.colors.secondary};
628
628
  }
629
- `,os=({title:e,titleColor:t,tooltip:i,value:n=!1,partiallyChecked:o=!1,onChange:r,disabled:a,style:s,errorMessage:l,allowPropagation:c=!1})=>{const d=Mt(),[p,u]=yt(n);return wt(()=>u(n),[n]),Ft(sa,{children:[Ft(is,{"data-id":"checkbox"+(e?`-${e}`:""),$disabled:a,onClick:e=>{a||(c||e.stopPropagation(),r?r(!!o||!p):u(e=>!!o||!e))},style:s,children:[zt(ns,{$isChecked:p,$isPartiallyChecked:o,$disabled:a,children:o?zt(Je,{fill:d.text.white}):p?zt(He,{fill:d.text.white}):null}),e&&zt(Fa,{text:i,withIcon:!0,children:zt(xo,{size:12,color:t||d.text.grey,style:{maxWidth:"90%"},children:e})})]}),!!l&&zt(yo,{children:l})]})},rs=Rt(aa)`
629
+ `,gs=({title:e,titleColor:t,tooltip:i,value:n=!1,partiallyChecked:o=!1,onChange:r,disabled:a,style:s,errorMessage:l,allowPropagation:c=!1})=>{const d=Mt(),[p,u]=Ct(n);return kt(()=>u(n),[n]),bt(fa,{children:[bt(hs,{"data-id":"checkbox"+(e?`-${e}`:""),$disabled:a,onClick:e=>{a||(c||e.stopPropagation(),r?r(!!o||!p):u(e=>!!o||!e))},style:s,children:[ft(ms,{$isChecked:p,$isPartiallyChecked:o,$disabled:a,children:o?ft(Je,{fill:d.text.white}):p?ft(He,{fill:d.text.white}):null}),e&&ft(Ga,{text:i,withIcon:!0,children:ft(xo,{size:12,color:t||d.text.grey,style:{maxWidth:"90%"},children:e})})]}),!!l&&ft(yo,{children:l})]})},$s=Rt(xa)`
630
630
  gap: 0;
631
- `,as=Rt.button`
631
+ `,xs=Rt.button`
632
632
  padding: 4px 8px;
633
633
  background-color: ${({theme:e,$selected:t})=>t?e.colors.dropdown_bg_2:"transparent"};
634
634
  border-radius: ${({$position:e})=>"left"===e?"32px 0px 0px 32px":"right"===e?"0px 32px 32px 0px":"0"};
@@ -640,22 +640,22 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
640
640
  &:hover {
641
641
  border: 1px solid ${({theme:e})=>e.colors.secondary};
642
642
  }
643
- `,ss=({isPrettyMode:e,setIsPrettyMode:t})=>Ft(rs,{children:[zt(as,{$position:"left",$selected:e,onClick:()=>t(!0),children:zt(Xe,{})}),zt(as,{$position:"right",$selected:!e,onClick:()=>t(!1),children:zt(Ze,{})})]}),ls=Rt.table`
643
+ `,fs=({isPrettyMode:e,setIsPrettyMode:t})=>bt($s,{children:[ft(xs,{$position:"left",$selected:e,onClick:()=>t(!0),children:ft(Xe,{})}),ft(xs,{$position:"right",$selected:!e,onClick:()=>t(!1),children:ft(Ze,{})})]}),bs=Rt.table`
644
644
  border-collapse: collapse;
645
645
  font-family: ${({theme:e})=>e.font_family.primary};
646
- `,cs=Rt.tbody``,ds=Rt.tr`
646
+ `,ys=Rt.tbody``,ws=Rt.tr`
647
647
  td:first-child {
648
648
  padding-left: 0 !important;
649
649
  }
650
650
  td:last-child {
651
651
  padding-right: 0 !important;
652
652
  }
653
- `,ps=Rt.td`
653
+ `,vs=Rt.td`
654
654
  vertical-align: top;
655
655
  padding: 4px 6px;
656
- `,us=Rt(xo)`
656
+ `,Cs=Rt(xo)`
657
657
  white-space: nowrap;
658
- `,hs=Rt.span`
658
+ `,ks=Rt.span`
659
659
  white-space: ${({$noWrap:e})=>e?"nowrap":"pre-wrap"};
660
660
  overflow-wrap: break-word;
661
661
  word-break: break-word;
@@ -663,38 +663,38 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
663
663
  /* Fallback for older browsers */
664
664
  -ms-word-break: break-all;
665
665
  font-size: 12px;
666
- `,ms=({language:e,code:t,theme:i,flatten:n,pretty:o})=>{const{darkMode:r}=Mt(),a=i?Kt[i]:r?Kt.palenight:Kt.vsLight;let s="";if("json"===e){const e=Bn(t,{}),i=to(e);s=io(n?sn(i):i)}else s=t;return o&&"json"===e?zt(gs,{darkMode:r,str:s}):zt(Ht,{theme:a||(r?Kt.palenight:Kt.vsLight),language:e,code:s,children:({getLineProps:e,getTokenProps:t,tokens:i})=>zt("pre",{children:i.map((i,n)=>zt("div",{...e({line:i}),children:i.map((e,i)=>zt(hs,{...t({token:e})},`line-${n}-token-${i}`))},`line-${n}`))})})},gs=({darkMode:e,str:t})=>{const i=Mt(),n=(e,t)=>{const n=new Array(e).fill(e=>Ft(ds,{...e,children:[zt(ps,{}),zt(ps,{})]}));return zt(ft,{children:n.map((e,n)=>zt(e,{style:0===n?{borderBottom:`1px solid ${i.colors.border}`}:{}},`empty-row-${t}-${n}`))})};return zt(Ht,{theme:e?Kt.palenight:Kt.vsLight,language:"json",code:t,children:({getLineProps:e,getTokenProps:t,tokens:o})=>zt(ls,{children:zt(cs,{children:o.map((o,r)=>{const a=(e=>{const t=["punctuation","plain","operator"];return e.filter(e=>!t.includes(e.types[0])).map(({types:e,content:t})=>{const i=[...e],n=["property","string"].includes(i[0])?t.replace(/"/g,""):t;return"string"===i[0]&&(["true","false"].includes(n.split("@")[0])&&(i[0]="boolean"),n.split("@")[0].match(/^[0-9]+$/)&&(i[0]="number")),{types:i,content:n}})})(o),s=e({line:a});return 1===a.length&&"property"===a[0].types[0]?Ft(ft,{children:[n(2,r),Ft(ds,{...s,children:[zt(ps,{children:zt(us,{children:a[0].content})}),zt(ps,{})]})]},`line-${r}`):2===a.length?zt(ds,{...s,children:a.map((e,n)=>{const{text:o,components:a}=((e,t)=>{const[i,...n]=e.split("@");return{text:i,components:n?.map((e,i)=>{if(!e.includes("="))return null;const[n,o]=e.split("=");switch(n){case"tooltip":return zt(Fa,{withIcon:!0,text:o},`${n}-${o}-${i}`);case"status":if("none"===o)return zt("div",{style:{width:16,height:16}},`${n}-${o}-${i}`);let e=zn(o,t);return e||(e=zn(Ei.Warning,t)),zt(e,{},`${n}-${o}-${i}`);default:return null}})?.filter(e=>!!e)||[]}})(e.content,i),s=0===n;return zt(ps,{children:Ft(aa,{children:[zt(aa,{children:a}),zt(hs,{$noWrap:s,...t({token:e}),children:o})]})},`line-${r}-token-${n}`)})},`line-${r}`):(a.length,null)})})})})},$s={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function xs(e){if("number"==typeof e)return{value:e,unit:"px"};let t;const i=(e.match(/^[0-9.]*/)||"").toString();t=i.includes(".")?parseFloat(i):parseInt(i,10);const n=(e.match(/[^0-9]*$/)||"").toString();return $s[n]?{value:t,unit:n}:{value:t,unit:"px"}}function fs(e){const t=xs(e);return`${t.value}${t.unit}`}const bs=(()=>{const e="react-spinners-FadeLoader-fade";if("undefined"==typeof window||!window.document)return e;const t=document.createElement("style");document.head.appendChild(t);const i=t.sheet,n=`\n @keyframes ${e} {\n 50% {opacity: 0.3} 100% {opacity: 1}\n }\n `;return i&&i.insertRule(n,0),e})(),ys=({loading:e=!0,color:t,scale:i=1,speedMultiplier:n=1,cssOverride:o={},style:r={},...a})=>{const s=Mt(),l=t||s.text.secondary;if(!e)return null;const{value:c}=xs(2),d=c+4.2,p=d/2+d/5.5,u=4*d*i,h={position:"relative",width:`${u}px`,height:`${u}px`,scale:i,...r,...o},m=(e,t)=>({position:"absolute",width:fs(1.5),height:fs(4),borderRadius:fs(2),backgroundColor:l,transition:"2s",animationFillMode:"both",animation:`${bs} ${1.2/n}s ${.12*e}s infinite ease-in-out`,transform:`translate(-50%, -50%) rotate(${t}deg)`});return Ft("span",{style:h,...a,children:[zt("span",{style:{...m(1,0),top:`calc(50% + ${d}px)`,left:"50%"}}),zt("span",{style:{...m(2,-45),top:`calc(50% + ${p}px)`,left:`calc(50% + ${p}px)`}}),zt("span",{style:{...m(3,90),top:"50%",left:`calc(50% + ${d}px)`}}),zt("span",{style:{...m(4,45),top:`calc(50% + ${-1*p}px)`,left:`calc(50% + ${p}px)`}}),zt("span",{style:{...m(5,0),top:`calc(50% + ${-1*d}px)`,left:"50%"}}),zt("span",{style:{...m(6,-45),top:`calc(50% + ${-1*p}px)`,left:`calc(50% + ${-1*p}px)`}}),zt("span",{style:{...m(7,90),top:"50%",left:`calc(50% + ${-1*d}px)`}}),zt("span",{style:{...m(8,45),top:`calc(50% + ${p}px)`,left:`calc(50% + ${-1*p}px)`}})]})},ws=Rt.div`
666
+ `,Ss=({language:e,code:t,theme:i,flatten:n,pretty:o})=>{const{darkMode:r}=Mt(),a=i?Kt[i]:r?Kt.palenight:Kt.vsLight;let s="";if("json"===e){const e=Bn(t,{}),i=to(e);s=io(n?sn(i):i)}else s=t;return o&&"json"===e?ft(Es,{darkMode:r,str:s}):ft(Ht,{theme:a||(r?Kt.palenight:Kt.vsLight),language:e,code:s,children:({getLineProps:e,getTokenProps:t,tokens:i})=>ft("pre",{children:i.map((i,n)=>ft("div",{...e({line:i}),children:i.map((e,i)=>ft(ks,{...t({token:e})},`line-${n}-token-${i}`))},`line-${n}`))})})},Es=({darkMode:e,str:t})=>{const i=Mt(),n=(e,t)=>{const n=new Array(e).fill(e=>bt(ws,{...e,children:[ft(vs,{}),ft(vs,{})]}));return ft(wt,{children:n.map((e,n)=>ft(e,{style:0===n?{borderBottom:`1px solid ${i.colors.border}`}:{}},`empty-row-${t}-${n}`))})};return ft(Ht,{theme:e?Kt.palenight:Kt.vsLight,language:"json",code:t,children:({getLineProps:e,getTokenProps:t,tokens:o})=>ft(bs,{children:ft(ys,{children:o.map((o,r)=>{const a=(e=>{const t=["punctuation","plain","operator"];return e.filter(e=>!t.includes(e.types[0])).map(({types:e,content:t})=>{const i=[...e],n=["property","string"].includes(i[0])?t.replace(/"/g,""):t;return"string"===i[0]&&(["true","false"].includes(n.split("@")[0])&&(i[0]="boolean"),n.split("@")[0].match(/^[0-9]+$/)&&(i[0]="number")),{types:i,content:n}})})(o),s=e({line:a});return 1===a.length&&"property"===a[0].types[0]?bt(wt,{children:[n(2,r),bt(ws,{...s,children:[ft(vs,{children:ft(Cs,{children:a[0].content})}),ft(vs,{})]})]},`line-${r}`):2===a.length?ft(ws,{...s,children:a.map((e,n)=>{const{text:o,components:a}=((e,t)=>{const[i,...n]=e.split("@");return{text:i,components:n?.map((e,i)=>{if(!e.includes("="))return null;const[n,o]=e.split("=");switch(n){case"tooltip":return ft(Ga,{withIcon:!0,text:o},`${n}-${o}-${i}`);case"status":if("none"===o)return ft("div",{style:{width:16,height:16}},`${n}-${o}-${i}`);let e=zn(o,t);return e||(e=zn(Si.Warning,t)),ft(e,{},`${n}-${o}-${i}`);default:return null}})?.filter(e=>!!e)||[]}})(e.content,i),s=0===n;return ft(vs,{children:bt(xa,{children:[ft(xa,{children:a}),ft(ks,{$noWrap:s,...t({token:e}),children:o})]})},`line-${r}-token-${n}`)})},`line-${r}`):(a.length,null)})})})})},As={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function Ts(e){if("number"==typeof e)return{value:e,unit:"px"};let t;const i=(e.match(/^[0-9.]*/)||"").toString();t=i.includes(".")?parseFloat(i):parseInt(i,10);const n=(e.match(/[^0-9]*$/)||"").toString();return As[n]?{value:t,unit:n}:{value:t,unit:"px"}}function Ds(e){const t=Ts(e);return`${t.value}${t.unit}`}const Is=(()=>{const e="react-spinners-FadeLoader-fade";if("undefined"==typeof window||!window.document)return e;const t=document.createElement("style");document.head.appendChild(t);const i=t.sheet,n=`\n @keyframes ${e} {\n 50% {opacity: 0.3} 100% {opacity: 1}\n }\n `;return i&&i.insertRule(n,0),e})(),Ns=({loading:e=!0,color:t,scale:i=1,speedMultiplier:n=1,cssOverride:o={},style:r={},...a})=>{const s=Mt(),l=t||s.text.secondary;if(!e)return null;const{value:c}=Ts(2),d=c+4.2,p=d/2+d/5.5,u=4*d*i,h={position:"relative",width:`${u}px`,height:`${u}px`,scale:i,...r,...o},m=(e,t)=>({position:"absolute",width:Ds(1.5),height:Ds(4),borderRadius:Ds(2),backgroundColor:l,transition:"2s",animationFillMode:"both",animation:`${Is} ${1.2/n}s ${.12*e}s infinite ease-in-out`,transform:`translate(-50%, -50%) rotate(${t}deg)`});return bt("span",{style:h,...a,children:[ft("span",{style:{...m(1,0),top:`calc(50% + ${d}px)`,left:"50%"}}),ft("span",{style:{...m(2,-45),top:`calc(50% + ${p}px)`,left:`calc(50% + ${p}px)`}}),ft("span",{style:{...m(3,90),top:"50%",left:`calc(50% + ${d}px)`}}),ft("span",{style:{...m(4,45),top:`calc(50% + ${-1*p}px)`,left:`calc(50% + ${p}px)`}}),ft("span",{style:{...m(5,0),top:`calc(50% + ${-1*d}px)`,left:"50%"}}),ft("span",{style:{...m(6,-45),top:`calc(50% + ${-1*p}px)`,left:`calc(50% + ${-1*p}px)`}}),ft("span",{style:{...m(7,90),top:"50%",left:`calc(50% + ${-1*d}px)`}}),ft("span",{style:{...m(8,45),top:`calc(50% + ${p}px)`,left:`calc(50% + ${-1*p}px)`}})]})},Os=Rt.div`
667
667
  margin: ${({$align:e})=>"right"===e?"auto 6px auto auto":"left"===e?"auto auto auto 6px":"auto"};
668
668
  display: flex;
669
669
  align-items: center;
670
670
  justify-content: center;
671
- `,vs=({extend:e,size:t=14,align:i="center"})=>zt(ws,{$align:i,children:zt(Qe,{size:t,rotate:e?180:0})}),Cs=Rt.div`
671
+ `,zs=({extend:e,size:t=14,align:i="center"})=>ft(Os,{$align:i,children:ft(Qe,{size:t,rotate:e?180:0})}),Fs=Rt.div`
672
672
  border-radius: 24px;
673
- background-color: ${({theme:e,$status:t})=>t===Ei.Error?e.text.error+xr["010"]:t===Ei.Warning?e.text.warning+xr["010"]:e.colors.secondary+xr["005"]};
673
+ background-color: ${({theme:e,$status:t})=>t===Si.Error?e.text.error+xr["010"]:t===Si.Warning?e.text.warning+xr["010"]:e.colors.secondary+xr["005"]};
674
674
  &:hover {
675
- background-color: ${({theme:e,$status:t})=>t===Ei.Error?e.text.error+xr["020"]:t===Ei.Warning?e.text.warning+xr["020"]:e.colors.secondary+xr["010"]};
675
+ background-color: ${({theme:e,$status:t})=>t===Si.Error?e.text.error+xr["020"]:t===Si.Warning?e.text.warning+xr["020"]:e.colors.secondary+xr["010"]};
676
676
  }
677
677
  cursor: pointer;
678
678
  transition: background 0.3s;
679
- `,ks=Rt.div`
679
+ `,_s=Rt.div`
680
680
  display: flex;
681
681
  align-items: center;
682
682
  gap: 12px;
683
683
  padding: 12px 18px;
684
- `,Es=Rt.div`
684
+ `,Rs=Rt.div`
685
685
  display: flex;
686
686
  flex-direction: column;
687
687
  gap: 8px;
688
688
  padding: 6px 18px 12px 18px;
689
- `,Ss=Rt.div`
689
+ `,Bs=Rt.div`
690
690
  display: flex;
691
691
  align-items: center;
692
692
  gap: 12px;
693
- `,As=Rt(xo)`
693
+ `,Ms=Rt(xo)`
694
694
  white-space: nowrap;
695
- `,Ts=Rt(sa)`
695
+ `,Ls=Rt(fa)`
696
696
  width: 16px;
697
- `,Ds=({conditions:e,headerLabelError:t="Something Failed",headerLabelWarning:i="Something isn't right",headerLabelSuccess:n="Everything Successful"})=>{const o=Mt(),[r,a]=yt(!1),s=bt(()=>Kn(e),[e]),{errors:l,hasErrors:c,warnings:d,hasWarnings:p,hasDisableds:u,hasLoadings:h}=bt(()=>un(s),[s]);wt(()=>{a(c||p||u)},[c,p,u]);const m=(!s.length||h)&&!c&&!p&&!u,g=c?Ei.Error:p?Ei.Warning:u?Ei.Info:Ei.Success,$=zn(g,o),x=c?t:p||u?i:m?"Loading...":n,f=c?o.text.error:p?o.text.warning:o.text.info,b=`(${c?l.length:p?d.length:s.length}/${s.length})`,y=c?o.text.error_secondary:p?o.text.warning_secondary:o.text.info_secondary,w=Ct(()=>a(e=>!e),[]);return Ft(Cs,{onClick:w,$status:g,children:[Ft(ks,{children:[zt(m?ys:$,{}),zt(xo,{color:f,size:14,children:x}),zt(xo,{color:y,size:12,family:"secondary",children:b}),zt(vs,{extend:r,align:"right"})]}),r&&zt(Es,{children:s.map(({status:e,type:t,reason:i,message:n,lastTransitionTime:r},a)=>{const s=e===Ai.Loading?()=>zt(ys,{scale:.8}):e===Ai.Disabled?zn(Ei.Info,o):zn(e,o),l=e===Ai.Disabled?o.text.info:e===Ei.Error?o.text.error:e===Ei.Warning?o.text.warning:o.text.info,c=e===Ai.Disabled?o.text.info_secondary:e===Ei.Error?o.text.error_secondary:e===Ei.Warning?o.text.warning_secondary:o.text.info_secondary;return Ft(Ss,{children:[zt(Ts,{children:zt(s,{})}),Ft(aa,{$gap:12,style:{width:"100%",justifyContent:"space-between"},children:[Ft(xo,{color:l,size:12,children:[zt(As,{color:c,size:12,weight:700,children:t}),n||i]}),zt(As,{color:l,size:12,children:new Date(r).toLocaleString()})]})]},`condition-${a}`)})})]})},Is=Rt.div`
697
+ `,Ps=({conditions:e,headerLabelError:t="Something Failed",headerLabelWarning:i="Something isn't right",headerLabelSuccess:n="Everything Successful"})=>{const o=Mt(),[r,a]=Ct(!1),s=vt(()=>Kn(e),[e]),{errors:l,hasErrors:c,warnings:d,hasWarnings:p,hasDisableds:u,hasLoadings:h}=vt(()=>un(s),[s]);kt(()=>{a(c||p||u)},[c,p,u]);const m=(!s.length||h)&&!c&&!p&&!u,g=c?Si.Error:p?Si.Warning:u?Si.Info:Si.Success,$=zn(g,o),x=c?t:p||u?i:m?"Loading...":n,f=c?o.text.error:p?o.text.warning:o.text.info,b=`(${c?l.length:p?d.length:s.length}/${s.length})`,y=c?o.text.error_secondary:p?o.text.warning_secondary:o.text.info_secondary,w=Et(()=>a(e=>!e),[]);return bt(Fs,{onClick:w,$status:g,children:[bt(_s,{children:[ft(m?Ns:$,{}),ft(xo,{color:f,size:14,children:x}),ft(xo,{color:y,size:12,family:"secondary",children:b}),ft(zs,{extend:r,align:"right"})]}),r&&ft(Rs,{children:s.map(({status:e,type:t,reason:i,message:n,lastTransitionTime:r},a)=>{const s=e===Ai.Loading?()=>ft(Ns,{scale:.8}):e===Ai.Disabled?zn(Si.Info,o):zn(e,o),l=e===Ai.Disabled?o.text.info:e===Si.Error?o.text.error:e===Si.Warning?o.text.warning:o.text.info,c=e===Ai.Disabled?o.text.info_secondary:e===Si.Error?o.text.error_secondary:e===Si.Warning?o.text.warning_secondary:o.text.info_secondary;return bt(Bs,{children:[ft(Ls,{children:ft(s,{})}),bt(xa,{$gap:12,style:{width:"100%",justifyContent:"space-between"},children:[bt(xo,{color:l,size:12,children:[ft(Ms,{color:c,size:12,weight:700,children:t}),n||i]}),ft(Ms,{color:l,size:12,children:new Date(r).toLocaleString()})]})]},`condition-${a}`)})})]})},js=Rt.div`
698
698
  display: flex;
699
699
  align-items: center;
700
700
  gap: ${({$size:e})=>e/3}px;
@@ -703,13 +703,13 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
703
703
  border-radius: 360px;
704
704
  border: ${({$withBorder:e,$status:t,theme:i})=>e?`1px solid ${i.text[t]+xr["050"]}`:"none"};
705
705
  background: ${({$withBackground:e,$status:t,theme:i})=>e?`linear-gradient(90deg, transparent 0%, ${i.text[t]+xr["030"]} 100%)`:"transparent"};
706
- `,Ns=Rt.div`
706
+ `,Us=Rt.div`
707
707
  display: flex;
708
708
  align-items: center;
709
- `,Os=Rt.div`
709
+ `,Ws=Rt.div`
710
710
  display: flex;
711
711
  align-items: center;
712
- `,zs=({title:e,subtitle:t,status:i=Ei.Default,forceIcon:n,withIcon:o,withBorder:r,withBackground:a,width:s,size:l=12,family:c="secondary",nowrap:d=!1})=>{const p=Mt(),u=[Ai.Loading,Ai.Disabled].includes(i)?Ei.Info:i,h=n?()=>zt(n,{size:l+2,fill:p.text[u]}):i===Ai.Loading?()=>zt(ys,{scale:.8}):()=>zn(u,p)?.({size:l+2});return Ft(Is,{$status:u,$width:s,$size:l,$withIcon:o,$withBorder:r,$withBackground:a,children:[o&&zt(Ns,{children:zt(h,{})}),(!!e||!!t)&&Ft(Os,{children:[!!e&&zt(xo,{size:l,family:c,color:p.text[u],nowrap:d,children:e}),!!e&&!!t&&zt(Sa,{orientation:"vertical",length:l-2+"px",type:u}),!!t&&zt(xo,{size:l-2,family:c,color:p.text[`${u}_secondary`],nowrap:d,children:t})]})]})},Fs=({label:e,onClick:t,variant:i="tertiary",textProps:n,...o})=>{const r=Mt();return Ft(Ir,{onClick:t,variant:i,...o,children:[zt(et,{fill:"primary"===i?r.text.primary:r.text.info}),zt(xo,{size:14,family:"secondary",decoration:"underline",color:"primary"===i?r.text.primary:void 0,...n,children:e||rn.ADD})]})},_s=Rt(aa)`
712
+ `,Vs=({title:e,subtitle:t,status:i=Si.Default,forceIcon:n,withIcon:o,withBorder:r,withBackground:a,width:s,size:l=12,family:c="secondary",nowrap:d=!1})=>{const p=Mt(),u=[Ai.Loading,Ai.Disabled].includes(i)?Si.Info:i,h=n?()=>ft(n,{size:l+2,fill:p.text[u]}):i===Ai.Loading?()=>ft(Ns,{scale:.8}):()=>zn(u,p)?.({size:l+2});return bt(js,{$status:u,$width:s,$size:l,$withIcon:o,$withBorder:r,$withBackground:a,children:[o&&ft(Us,{children:ft(h,{})}),(!!e||!!t)&&bt(Ws,{children:[!!e&&ft(xo,{size:l,family:c,color:p.text[u],nowrap:d,children:e}),!!e&&!!t&&ft(Ba,{orientation:"vertical",length:l-2+"px",type:u}),!!t&&ft(xo,{size:l-2,family:c,color:p.text[`${u}_secondary`],nowrap:d,children:t})]})]})},Gs=({label:e,onClick:t,variant:i="tertiary",textProps:n,...o})=>{const r=Mt();return bt(Ir,{onClick:t,variant:i,...o,children:[ft(et,{fill:"primary"===i?r.text.primary:r.text.info}),ft(xo,{size:14,family:"secondary",decoration:"underline",color:"primary"===i?r.text.primary:void 0,...n,children:e||rn.ADD})]})},qs=Rt(xa)`
713
713
  width: 100%;
714
714
  border-radius: 8px;
715
715
  background-color: ${({theme:e})=>e.colors.secondary+xr["010"]};
@@ -720,7 +720,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
720
720
  width: 100%;
721
721
  padding-left: 12px;
722
722
  }
723
- `,Rs=({value:e,callbackCopyDone:t})=>{const{clickCopy:i,isCopied:n}=jr();return Ft(_s,{children:[zt("pre",{children:e}),zt(Ba,{onClick:n=>{n.stopPropagation(),i(e),t?.()},tooltip:n?"Copied!":"Copy",children:zt(n?He:Ke,{})})]})},Bs=({label:e,onClick:t,variant:i="tertiary",...n})=>{const o=Mt();return Ft(Ir,{onClick:t,variant:i,...n,children:[zt(tt,{fill:"primary"===i?o.text.primary:o.text.info}),zt(xo,{size:14,family:"secondary",decoration:"underline",color:"primary"===i?o.text.primary:void 0,children:e||rn.EDIT})]})},Ms=({onClick:e})=>zt(qa,{type:Ei.Default,icon:qe,message:on.QUICK_BACK_TO_SUMMARY,action:{label:on.GO_TO_SUMMARY,onClick:e}}),Ls=Rt(xo)`
723
+ `,Hs=({value:e,callbackCopyDone:t})=>{const{clickCopy:i,isCopied:n}=jr();return bt(qs,{children:[ft("pre",{children:e}),ft(Ka,{onClick:n=>{n.stopPropagation(),i(e),t?.()},tooltip:n?"Copied!":"Copy",children:ft(n?He:Ke,{})})]})},Ks=({label:e,onClick:t,variant:i="tertiary",...n})=>{const o=Mt();return bt(Ir,{onClick:t,variant:i,...n,children:[ft(tt,{fill:"primary"===i?o.text.primary:o.text.info}),ft(xo,{size:14,family:"secondary",decoration:"underline",color:"primary"===i?o.text.primary:void 0,children:e||rn.EDIT})]})},Ys=({onClick:e})=>ft(ns,{type:Si.Default,icon:qe,message:on.QUICK_BACK_TO_SUMMARY,action:{label:on.GO_TO_SUMMARY,onClick:e}}),Js=Rt(xo)`
724
724
  max-width: ${({$maxWidth:e})=>e?`${e}px`:"unset"};
725
725
  white-space: nowrap;
726
726
  overflow-x: auto;
@@ -730,7 +730,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
730
730
  content: '';
731
731
  display: block;
732
732
  }
733
- `,Ps=({maxWidth:e,text:t,textSize:i=16,textColor:n})=>{const[o,r]=yt(!1),a=vt(null);return wt(()=>{if(a.current){const{clientWidth:t}=a.current;r(t<1.05*(e-i)&&t>.95*(e-i))}},[e,i,t]),Ft(aa,{$gap:0,children:[t&&zt(Fa,{text:o?t:void 0,children:zt(Ls,{ref:a,$maxWidth:e-i,size:i,color:n,children:t})}),o&&zt(Ls,{$maxWidth:i,size:i,color:n,children:"..."})]})},js=({src:e="",alt:t="",size:i=16})=>{const[n,o]=yt(!1);return e&&!n?zt("img",{src:e,alt:t,width:i,height:i,onError:()=>o(!0)}):zt(s,{size:i})},Us=Rt.div`
733
+ `,Xs=({maxWidth:e,text:t,textSize:i=16,textColor:n})=>{const[o,r]=Ct(!1),a=St(null);return kt(()=>{if(a.current){const{clientWidth:t}=a.current;r(t<1.05*(e-i)&&t>.95*(e-i))}},[e,i,t]),bt(xa,{$gap:0,children:[t&&ft(Ga,{text:o?t:void 0,children:ft(Js,{ref:a,$maxWidth:e-i,size:i,color:n,children:t})}),o&&ft(Js,{$maxWidth:i,size:i,color:n,children:"..."})]})},Zs=({src:e="",alt:t="",size:i=16})=>{const[n,o]=Ct(!1);return e&&!n?ft("img",{src:e,alt:t,width:i,height:i,onError:()=>o(!0)}):ft(s,{size:i})},Qs=Rt.div`
734
734
  display: flex;
735
735
  align-items: center;
736
736
  justify-content: center;
@@ -738,7 +738,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
738
738
  height: ${({$size:e})=>e}px;
739
739
  border-radius: 8px;
740
740
  background: ${({$status:e,theme:t})=>{const i=t.colors[e||"dropdown_bg_2"];return`linear-gradient(180deg, ${i} 0%, ${i+xr["030"]} 100%)`}};
741
- `,Ws=({icon:e,src:t="",alt:i="",status:n,size:o=36})=>zt(Us,{$status:n,$size:o,children:t?zt(js,{src:t,alt:i,size:o-12}):zt(e||s,{size:o-12})}),Vs=Rt.div`
741
+ `,el=({icon:e,src:t="",alt:i="",status:n,size:o=36})=>ft(Qs,{$status:n,$size:o,children:t?ft(Zs,{src:t,alt:i,size:o-12}):ft(e||s,{size:o-12})}),tl=Rt.div`
742
742
  position: relative;
743
743
  display: flex;
744
744
  flex-wrap: wrap;
@@ -746,7 +746,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
746
746
  justify-content: center;
747
747
  width: ${({$size:e})=>e}px;
748
748
  height: ${({$size:e})=>e}px;
749
- `,Gs=Rt.div`
749
+ `,il=Rt.div`
750
750
  position: absolute;
751
751
  top: ${({$top:e})=>e}px;
752
752
  left: ${({$left:e})=>e}px;
@@ -759,9 +759,9 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
759
759
  border-radius: 100%;
760
760
  border: 1px solid ${({theme:e,$status:t})=>(t?e.text[t]:e.colors.border)+xr["030"]};
761
761
  background: ${({$status:e,theme:t})=>{const i=t.colors[e||"dropdown_bg_2"];return`linear-gradient(180deg, ${i} 0%, ${i+xr["030"]} 100%)`}};
762
- `,qs=({icons:e=[],iconSrcs:t=[],status:i,size:n=36,id:o})=>{const r=Mt(),a=1===e.length||1===t.length?n-12:n/2.7;if(t.length>0)return zt(qs,{icons:t.map(e=>()=>zt(js,{src:e,size:a})),status:i,size:n,id:o});if(1===e.length)return zt(Ws,{icon:e[0],status:i,size:n});const s=t=>e.length<=2?.5*a:0===t||1===t?0:1.15*a,l=e=>0===e?0:1===e?1.15*a:1.15*a*.5;return zt(Vs,{$status:i,$size:n,children:e.map((t,n)=>n>2?null:zt(Gs,{$status:i,$size:1.5*a,$top:s(n),$left:l(n),$zIndex:n+1,children:2===n&&e.length>3?Ft(xo,{family:"secondary",color:r.text.dark_grey,size:.8*a,children:["+",e.length-2]}):zt(t,{size:a})},`icon-${o}-${n}`))})},Hs=Wo.map(({id:e})=>e),Ks=({monitors:e=Hs,withTooltips:t,withLabels:i,size:n=12,color:o})=>{const r=Mt(),a=o||r.text.grey;return zt(aa,{$gap:i?n:n/2,children:e.map(e=>{const o=Zt(e.toLowerCase()),r=Sn(e);return r?zt(Fa,{text:t?o:"",children:Ft(aa,{$gap:n/3,children:[zt(r,{size:i?n+2:n,fill:a}),i&&zt(xo,{size:n,color:a,children:o})]})},e):null})})},Ys=Rt.div`
762
+ `,nl=({icons:e=[],iconSrcs:t=[],status:i,size:n=36,id:o})=>{const r=Mt(),a=1===e.length||1===t.length?n-12:n/2.7;if(t.length>0)return ft(nl,{icons:t.map(e=>()=>ft(Zs,{src:e,size:a})),status:i,size:n,id:o});if(1===e.length)return ft(el,{icon:e[0],status:i,size:n});const s=t=>e.length<=2?.5*a:0===t||1===t?0:1.15*a,l=e=>0===e?0:1===e?1.15*a:1.15*a*.5;return ft(tl,{$status:i,$size:n,children:e.map((t,n)=>n>2?null:ft(il,{$status:i,$size:1.5*a,$top:s(n),$left:l(n),$zIndex:n+1,children:2===n&&e.length>3?bt(xo,{family:"secondary",color:r.text.dark_grey,size:.8*a,children:["+",e.length-2]}):ft(t,{size:a})},`icon-${o}-${n}`))})},ol=Wo.map(({id:e})=>e),rl=({monitors:e=ol,withTooltips:t,withLabels:i,size:n=12,color:o})=>{const r=Mt(),a=o||r.text.grey;return ft(xa,{$gap:i?n:n/2,children:e.map(e=>{const o=Zt(e.toLowerCase()),r=En(e);return r?ft(Ga,{text:t?o:"",children:bt(xa,{$gap:n/3,children:[ft(r,{size:i?n+2:n,fill:a}),i&&ft(xo,{size:n,color:a,children:o})]})},e):null})})},al=Rt.div`
763
763
  visibility: hidden;
764
- `,Js=Rt.div`
764
+ `,sl=Rt.div`
765
765
  display: flex;
766
766
  flex-direction: column;
767
767
  align-self: stretch;
@@ -775,60 +775,60 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
775
775
  &:hover {
776
776
  cursor: pointer;
777
777
  background-color: ${i||(t?e.text[t]+xr["020"]:e.colors.secondary+xr["010"])};
778
- ${Ys} {
778
+ ${al} {
779
779
  visibility: visible;
780
780
  }
781
781
  }
782
- `:`\n &:hover {\n ${Ys} {\n visibility: visible;\n }\n }\n `}
783
- `,Xs=Rt.div`
782
+ `:`\n &:hover {\n ${al} {\n visibility: visible;\n }\n }\n `}
783
+ `,ll=Rt.div`
784
784
  display: flex;
785
785
  align-items: center;
786
786
  gap: 8px;
787
787
  margin-left: auto;
788
- `,Zs=Rt(xo)`
788
+ `,cl=Rt(xo)`
789
789
  margin-right: 16px;
790
- `,Qs=Rt(xo)`
790
+ `,dl=Rt(xo)`
791
791
  font-size: 10px;
792
792
  color: ${({theme:e})=>e.text.grey};
793
- `,el=({title:e,subTitle:t,hoverText:i,onClick:n,renderActions:o,iconProps:{icon:r,icons:a,iconSrc:s,iconSrcs:l}={},visualProps:{status:c,faded:d,bgColor:p,bgColorHover:u,monitors:h,monitorsWithLabels:m,componentsUnderTitles:g}={},checkboxProps:{withCheckbox:$,isCheckboxDisabled:x,isChecked:f,isLoading:b,onCheckboxChange:y}={},extendableProps:{withExtend:w,isExtended:v,renderExtended:C}={},...k})=>{const E=Mt(),[S,A]=yt(v||!1),[T,D]=yt(0),I=vt(null),N=vt(null),O=vt(null);return wt(()=>{if(I.current){const e=I.current.clientWidth,t=N.current?.clientWidth||0;D(e-(($?125:85)+t))}},[$]),Ft(Js,{ref:I,$status:c,$faded:d,$bgColor:p,$bgColorHover:u,$withClick:!!n,onClick:n,...k,children:[Ft(aa,{$gap:8,children:[Ft(aa,{$gap:16,children:[b?zt(ys,{}):$?zt(os,{value:f,onChange:y,disabled:x}):null,a?.length||l?.length?zt(qs,{icons:a,iconSrcs:l,status:c,id:`${e}-${t}`}):r||s?zt(Ws,{icon:r,src:s,status:c}):null]}),Ft(sa,{$gap:4,children:[e&&zt(Ps,{maxWidth:T,text:e,textSize:14}),Ft(aa,{$gap:4,children:[t&&zt(Ps,{maxWidth:T-(O.current?.clientWidth||0),text:t,textSize:10,textColor:E.text.grey}),h&&h.length>0&&Ft(aa,{$gap:4,ref:O,children:[t&&zt(Qs,{children:"•"}),zt(Ks,{monitors:h,withLabels:m,size:10})]})]}),g&&g.length>0?zt(aa,{$gap:4,children:g?.map((e,t)=>zt(ft,{children:e},`componentsUnderTitles-${t}`))}):null]}),Ft(Xs,{ref:N,children:[!!i&&zt(Ys,{children:zt(Zs,{size:14,family:"secondary",children:i})}),o&&o(),w&&Ft(ft,{children:[zt(Sa,{orientation:"vertical",length:"16px",margin:"0 2px"}),zt(Ba,{onClick:()=>A(e=>!e),children:zt(vs,{extend:S})})]})]})]}),S&&C&&Ft(sa,{children:[zt(Sa,{margin:"16px 0"}),C()]})]})},tl=Rt(aa)`
793
+ `,pl=({title:e,subTitle:t,hoverText:i,onClick:n,renderActions:o,iconProps:{icon:r,icons:a,iconSrc:s,iconSrcs:l}={},visualProps:{status:c,faded:d,bgColor:p,bgColorHover:u,monitors:h,monitorsWithLabels:m,componentsUnderTitles:g}={},checkboxProps:{withCheckbox:$,isCheckboxDisabled:x,isChecked:f,isLoading:b,onCheckboxChange:y}={},extendableProps:{withExtend:w,isExtended:v,renderExtended:C}={},...k})=>{const S=Mt(),[E,A]=Ct(v||!1),[T,D]=Ct(0),I=St(null),N=St(null),O=St(null);return kt(()=>{if(I.current){const e=I.current.clientWidth,t=N.current?.clientWidth||0;D(e-(($?125:85)+t))}},[$]),bt(sl,{ref:I,$status:c,$faded:d,$bgColor:p,$bgColorHover:u,$withClick:!!n,onClick:n,...k,children:[bt(xa,{$gap:8,children:[bt(xa,{$gap:16,children:[b?ft(Ns,{}):$?ft(gs,{value:f,onChange:y,disabled:x}):null,a?.length||l?.length?ft(nl,{icons:a,iconSrcs:l,status:c,id:`${e}-${t}`}):r||s?ft(el,{icon:r,src:s,status:c}):null]}),bt(fa,{$gap:4,children:[e&&ft(Xs,{maxWidth:T,text:e,textSize:14}),bt(xa,{$gap:4,children:[t&&ft(Xs,{maxWidth:T-(O.current?.clientWidth||0),text:t,textSize:10,textColor:S.text.grey}),h&&h.length>0&&bt(xa,{$gap:4,ref:O,children:[t&&ft(dl,{children:"•"}),ft(rl,{monitors:h,withLabels:m,size:10})]})]}),g&&g.length>0?ft(xa,{$gap:4,children:g?.map((e,t)=>ft(wt,{children:e},`componentsUnderTitles-${t}`))}):null]}),bt(ll,{ref:N,children:[!!i&&ft(al,{children:ft(cl,{size:14,family:"secondary",children:i})}),o&&o(),w&&bt(wt,{children:[ft(Ba,{orientation:"vertical",length:"16px",margin:"0 2px"}),ft(Ka,{onClick:()=>A(e=>!e),children:ft(zs,{extend:E})})]})]})]}),E&&C&&bt(fa,{children:[ft(Ba,{margin:"16px 0"}),C()]})]})},ul=Rt(xa)`
794
794
  width: 100%;
795
795
  justify-content: space-between;
796
- `,il=Rt(xo)`
796
+ `,hl=Rt(xo)`
797
797
  font-size: 12px;
798
798
  color: ${({theme:e})=>e.text.grey};
799
- `,nl=Rt(xo)`
799
+ `,ml=Rt(xo)`
800
800
  font-size: 10px;
801
801
  color: ${({theme:e})=>e.text.darker_grey};
802
- `,ol=Rt.div`
802
+ `,gl=Rt.div`
803
803
  display: flex;
804
804
  align-items: center;
805
805
  gap: 8px;
806
806
  margin-left: auto;
807
- `,rl=Rt(xo)`
807
+ `,$l=Rt(xo)`
808
808
  font-size: 12px;
809
809
  text-align: right;
810
- `,al=({title:e,subTitle:t,tooltip:i,value:n})=>Ft(tl,{children:[zt(sa,{$gap:4,children:Ft(Fa,{text:i||"",children:[e&&zt(il,{children:e},"title"),t&&zt(nl,{children:t},"subtitle")]})}),zt(ol,{children:n?.status?zt(zs,{status:"transitioning"===n.status?Ai.Loading:n.status,title:n.text||n.status,withBorder:!0,withIcon:!0}):zt(rl,{children:n?.text||"-"})})]}),sl=Rt(sa)`
810
+ `,xl=({title:e,subTitle:t,tooltip:i,value:n})=>bt(ul,{children:[ft(fa,{$gap:4,children:bt(Ga,{text:i||"",children:[e&&ft(hl,{children:e},"title"),t&&ft(ml,{children:t},"subtitle")]})}),ft(gl,{children:n?.status?ft(Vs,{status:"transitioning"===n.status?Ai.Loading:n.status,title:n.text||n.status,withBorder:!0,withIcon:!0}):ft($l,{children:n?.text||"-"})})]}),fl=Rt(fa)`
811
811
  width: 100%;
812
- `,ll=({containerName:e,actualDevices:t,started:i,ready:n,instrumentationInstances:o})=>{const r=bt(()=>{const e=[];return i?.name&&e.push(zt(zs,{status:Wn(i.value)?Qn(i.value)?Ei.Success:Ei.Error:Ei.Default,title:i.name,withIcon:!0,withBorder:!0,size:8},"started")),n?.name&&e.push(zt(zs,{status:Wn(n.value)?Qn(n.value)?Ei.Success:Ei.Error:Ei.Default,title:n.name,withIcon:!0,withBorder:!0,size:8},"ready")),e},[i?.name,i?.value,n?.name,n?.value]);return zt(el,{title:e.value,subTitle:o.length?`${o.length} Instrumented Processes`:void 0,visualProps:{componentsUnderTitles:r},renderActions:()=>zt(zs,{status:Ei.Info,title:"Instrumentation Device",subtitle:t.value&&"[]"!==t.value?t.value:"none",withBorder:!0}),extendableProps:{isExtended:!!o.length,renderExtended:()=>zt(sl,{$gap:24,children:o.map((e,t)=>Ft(sl,{$gap:8,children:[zt(al,{title:`Instrumented Process #${t+1}`,subTitle:e.message?.value||"",value:{status:e.healthy.status,text:e.healthy.status===Ei.Success?"healthy":"unhealthy"}}),e.identifyingAttributes?.map(({name:e,value:t})=>zt(al,{title:e,subTitle:"",value:{text:t,status:void 0}},`describe-${e}-${t}`))]},`process-${t}`))})}})},cl=({title:e="Data not found",subTitle:t})=>{const i=Mt().v2.colors.grey[400];return Ft(la,{children:[Ft(aa,{$gap:8,children:[zt(it,{fill:i}),zt(co,{size:so.XS,color:i,align:"center",children:e})]}),t&&zt(co,{size:so.XXS,color:i,align:"center",children:t})]})},dl=Rt(sa)`
812
+ `,bl=({containerName:e,actualDevices:t,started:i,ready:n,instrumentationInstances:o})=>{const r=vt(()=>{const e=[];return i?.name&&e.push(ft(Vs,{status:Wn(i.value)?Qn(i.value)?Si.Success:Si.Error:Si.Default,title:i.name,withIcon:!0,withBorder:!0,size:8},"started")),n?.name&&e.push(ft(Vs,{status:Wn(n.value)?Qn(n.value)?Si.Success:Si.Error:Si.Default,title:n.name,withIcon:!0,withBorder:!0,size:8},"ready")),e},[i?.name,i?.value,n?.name,n?.value]);return ft(pl,{title:e.value,subTitle:o.length?`${o.length} Instrumented Processes`:void 0,visualProps:{componentsUnderTitles:r},renderActions:()=>ft(Vs,{status:Si.Info,title:"Instrumentation Device",subtitle:t.value&&"[]"!==t.value?t.value:"none",withBorder:!0}),extendableProps:{isExtended:!!o.length,renderExtended:()=>ft(fl,{$gap:24,children:o.map((e,t)=>bt(fl,{$gap:8,children:[ft(xl,{title:`Instrumented Process #${t+1}`,subTitle:e.message?.value||"",value:{status:e.healthy.status,text:e.healthy.status===Si.Success?"healthy":"unhealthy"}}),e.identifyingAttributes?.map(({name:e,value:t})=>ft(xl,{title:e,subTitle:"",value:{text:t,status:void 0}},`describe-${e}-${t}`))]},`process-${t}`))})}})},yl=({title:e="Data not found",subTitle:t})=>{const i=Mt().v2.colors.grey[400];return bt(ba,{children:[bt(xa,{$gap:8,children:[ft(it,{fill:i}),ft(co,{size:so.XS,color:i,align:"center",children:e})]}),t&&ft(co,{size:so.XXS,color:i,align:"center",children:t})]})},wl=Rt(fa)`
813
813
  max-width: 300px;
814
814
  padding: 12px;
815
815
  border-radius: 12px;
816
816
  background-color: ${({theme:e})=>e.colors.dropdown_bg};
817
817
  justify-content: center;
818
- `,pl=Et(({id:e,data:t})=>{const{title:i,subTitle:n}=t;return zt(dl,{"data-id":e,children:zt(cl,{title:i,subTitle:n})})});pl.displayName=pl.name;const ul=Rt.div`
818
+ `,vl=It(({id:e,data:t})=>{const{title:i,subTitle:n}=t;return ft(wl,{"data-id":e,children:ft(yl,{title:i,subTitle:n})})});vl.displayName=vl.name;const Cl=Rt.div`
819
819
  padding: 6px;
820
820
  border-radius: 12px;
821
821
  background-color: ${({theme:e})=>e.colors.dropdown_bg};
822
822
  cursor: pointer;
823
- `,hl=Rt.div`
823
+ `,kl=Rt.div`
824
824
  position: relative;
825
- `,ml=Rt(aa)`
825
+ `,Sl=Rt(xa)`
826
826
  position: absolute;
827
827
  bottom: -24px;
828
828
  left: 50%;
829
829
  transform: translateX(-50%);
830
830
  gap: 4px;
831
- `,gl=Rt.div`
831
+ `,El=Rt.div`
832
832
  position: absolute;
833
833
  bottom: 100%;
834
834
  left: 100%;
@@ -837,12 +837,12 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
837
837
  border-radius: 16px;
838
838
  border: 1px solid ${({theme:e})=>e.colors.border};
839
839
  background-color: ${({theme:e})=>e.colors.dropdown_bg};
840
- `,$l=({title:e,value:t})=>{const i=Mt();return Ft(aa,{$justifyContent:"space-between",children:[zt(xo,{size:12,color:i.text.info,children:e}),zt(xo,{size:12,family:"secondary",children:t})]})},xl=Et(({id:e,data:t})=>{const{id:i,status:n,title:o,icons:r,serviceMapEntry:a}=t,{activeNodeType:s,activeNodeId:l}=Ro(),c=Mt(),d=n===Ei.Error?zn(n,c):null;return Ft(_t,{children:[zt(jt,{type:"source",position:Ut.Bottom,style:{visibility:"hidden"}}),zt(jt,{type:"target",position:Ut.Top,style:{visibility:"hidden"}}),Ft(hl,{"data-id":e,children:[zt(ul,{children:zt(qs,{id:i,icons:r,status:n})}),Ft(ml,{children:[d&&zt(d,{}),zt(Ps,{maxWidth:100,text:o})]}),s===Ii.MapItem&&l===e&&Ft(gl,{children:[Ft(aa,{$gap:12,children:[zt(qs,{id:i,icons:r,status:n}),zt(xo,{size:20,children:o})]}),a&&a.services.length>0?a.services.map(({serviceName:e,requests:t,dateTime:n})=>Ft("div",{children:[zt(Sa,{}),zt($l,{title:"Connected Service",value:e}),zt($l,{title:"Outgoing Requests",value:t}),zt($l,{title:"Last Requested At",value:new Date(n).toLocaleString()})]},`from-${i}-to-${e}`)):Ft(_t,{children:[zt(Sa,{}),zt(cl,{title:"No outgoing connections",subTitle:" "})]})]})]})]})});xl.displayName=xl.name;const fl=Rt.div`
840
+ `,Al=({title:e,value:t})=>{const i=Mt();return bt(xa,{$justifyContent:"space-between",children:[ft(xo,{size:12,color:i.text.info,children:e}),ft(xo,{size:12,family:"secondary",children:t})]})},Tl=It(({id:e,data:t})=>{const{id:i,status:n,title:o,icons:r,serviceMapEntry:a}=t,{activeNodeType:s,activeNodeId:l}=Ro(),c=Mt(),d=n===Si.Error?zn(n,c):null;return bt(yt,{children:[ft(jt,{type:"source",position:Ut.Bottom,style:{visibility:"hidden"}}),ft(jt,{type:"target",position:Ut.Top,style:{visibility:"hidden"}}),bt(kl,{"data-id":e,children:[ft(Cl,{children:ft(nl,{id:i,icons:r,status:n})}),bt(Sl,{children:[d&&ft(d,{}),ft(Xs,{maxWidth:100,text:o})]}),s===Ii.MapItem&&l===e&&bt(El,{children:[bt(xa,{$gap:12,children:[ft(nl,{id:i,icons:r,status:n}),ft(xo,{size:20,children:o})]}),a&&a.services.length>0?a.services.map(({serviceName:e,requests:t,dateTime:n})=>bt("div",{children:[ft(Ba,{}),ft(Al,{title:"Connected Service",value:e}),ft(Al,{title:"Outgoing Requests",value:t}),ft(Al,{title:"Last Requested At",value:new Date(n).toLocaleString()})]},`from-${i}-to-${e}`)):bt(yt,{children:[ft(Ba,{}),ft(yl,{title:"No outgoing connections",subTitle:" "})]})]})]})]})});Tl.displayName=Tl.name;const Dl=Rt.div`
841
841
  height: 100%;
842
842
  .react-flow__attribution {
843
843
  visibility: hidden;
844
844
  }
845
- `,bl=Rt.div`
845
+ `,Il=Rt.div`
846
846
  button {
847
847
  padding: 8px;
848
848
  margin: 8px;
@@ -856,13 +856,13 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
856
856
  background-color: ${({theme:e})=>e.colors.dropdown_bg_2};
857
857
  }
858
858
  }
859
- `,yl={[Ii.MapItem]:xl,[Ii.NoData]:pl},wl=({nodes:e,edges:t,onNodesChange:i,onEdgesChange:n,fitView:o=!1,zoomOnScroll:r=!1})=>{const{onClickNode:a}=_r(),{setActiveNodeType:s,setActiveNodeId:l}=Ro();return zt(fl,{children:zt(Wt,{fitView:o,zoomOnScroll:r,nodes:e,nodeTypes:yl,edges:t,onNodeClick:a,onNodesChange:e=>{setTimeout(()=>i(e),0)},onEdgesChange:e=>{setTimeout(()=>n(e),0)},onBlur:()=>{s(null),l(null)},onlyRenderVisibleElements:!0,children:zt(bl,{children:zt(Vt,{position:"bottom-right",orientation:"horizontal",showInteractive:!1,showZoom:!0,showFitView:!0,fitViewOptions:{duration:300,padding:.02,includeHiddenNodes:!0}})})})})},vl=At({platformType:xi.K8s,tier:$i.Community,version:"v0.0.0"}),Cl=({children:e,platformType:t,tier:i,version:n})=>{const o=bt(()=>({platformType:t,tier:i,version:n}),[t,i,n]);return zt(vl.Provider,{value:o,children:e})},kl=(e,t)=>!t||ro(e)>=ro(t),El=e=>{const t=St(vl),i=kl(t.version,e),n=t.platformType===xi.Vm;return{...t,isVersionSupported:i,isVm:n}},Sl=At({formType:void 0}),Al=({children:e,formType:t})=>{const i=bt(()=>({formType:t}),[t]);return zt(Sl.Provider,{value:i,children:e})},Tl=()=>St(Sl),Dl=Rt.div`
859
+ `,Nl={[Ii.MapItem]:Tl,[Ii.NoData]:vl},Ol=({nodes:e,edges:t,onNodesChange:i,onEdgesChange:n,fitView:o=!1,zoomOnScroll:r=!1})=>{const{onClickNode:a}=_r(),{setActiveNodeType:s,setActiveNodeId:l}=Ro();return ft(Dl,{children:ft(Wt,{fitView:o,zoomOnScroll:r,nodes:e,nodeTypes:Nl,edges:t,onNodeClick:a,onNodesChange:e=>{setTimeout(()=>i(e),0)},onEdgesChange:e=>{setTimeout(()=>n(e),0)},onBlur:()=>{s(null),l(null)},onlyRenderVisibleElements:!0,children:ft(Il,{children:ft(Vt,{position:"bottom-right",orientation:"horizontal",showInteractive:!1,showZoom:!0,showFitView:!0,fitViewOptions:{duration:300,padding:.02,includeHiddenNodes:!0}})})})})},zl=Rt.div`
860
860
  display: flex;
861
861
 
862
862
  align-items: center;
863
863
  gap: 6px;
864
864
  margin-bottom: 4px;
865
- `,Il=Rt(xo)`
865
+ `,Fl=Rt(xo)`
866
866
  font-size: 14px;
867
867
  opacity: 0.8;
868
868
  line-height: 22px;
@@ -870,16 +870,16 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
870
870
  white-space: nowrap;
871
871
  text-overflow: ellipsis;
872
872
  color: ${({$status:e,theme:t})=>e?t.text[e]:t.text.secondary};
873
- `,Nl=Rt(xo)`
873
+ `,_l=Rt(xo)`
874
874
  font-size: 12px;
875
875
  color: ${({theme:e})=>e.text.darker_grey};
876
876
  opacity: 0.8;
877
- `,Ol=({title:e,required:t,tooltip:i,style:n,status:o})=>e?zt(Dl,{style:n,children:Ft(Fa,{text:i,withIcon:!0,children:[zt(Il,{$status:o,children:e}),!t&&zt(Nl,{children:"(optional)"})]})}):null,zl=Rt.div`
877
+ `,Rl=({title:e,required:t,tooltip:i,style:n,status:o})=>e?ft(zl,{style:n,children:bt(Ga,{text:i,withIcon:!0,children:[ft(Fl,{$status:o,children:e}),!t&&ft(_l,{children:"(optional)"})]})}):null,Bl=Rt.div`
878
878
  display: flex;
879
879
  flex-direction: column;
880
880
  position: relative;
881
881
  width: 100%;
882
- `,Fl=Rt.div`
882
+ `,Ml=Rt.div`
883
883
  width: 100%;
884
884
  display: flex;
885
885
  align-items: center;
@@ -905,7 +905,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
905
905
  &:focus-within {
906
906
  border-color: ${({theme:e})=>e.colors.secondary};
907
907
  }
908
- `,_l=Rt.input`
908
+ `,Ll=Rt.input`
909
909
  padding-left: ${({$hasIcon:e})=>e?"0":"16px"};
910
910
  flex: 1;
911
911
  min-width: 150px;
@@ -934,13 +934,13 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
934
934
  -webkit-appearance: none;
935
935
  margin: 0;
936
936
  }
937
- `,Rl=Rt.div`
937
+ `,Pl=Rt.div`
938
938
  display: flex;
939
939
  align-items: center;
940
940
  margin-left: 12px;
941
- `,Bl=Rt(Rl)`
941
+ `,jl=Rt(Pl)`
942
942
  cursor: pointer;
943
- `,Ml=Rt.button`
943
+ `,Ul=Rt.button`
944
944
  background-color: ${({theme:e})=>e.colors.primary};
945
945
  border: none;
946
946
  color: ${({theme:e})=>e.text.secondary};
@@ -955,15 +955,15 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
955
955
  background-color: ${({theme:e})=>e.colors.border};
956
956
  cursor: not-allowed;
957
957
  }
958
- `,Ll=({icon:e,buttonLabel:t,onButtonClick:i,hasError:n,errorMessage:o,title:r,tooltip:a,required:s,value:l,onChange:c,type:d=ki.Text,name:p,status:u,...h})=>{const m=Mt(),g=d===ki.Password,[$,x]=yt(!1);return Ft(zl,{children:[zt(Ol,{title:r,required:s,tooltip:a,status:u}),Ft(Fl,{$disabled:h.disabled,$hasError:n||!!o,$isActive:!!h.autoFocus,$status:u,children:[g?zt(Bl,{onClick:()=>x(e=>!e),children:zt($?nt:ot,{size:14,fill:m.text.grey})}):e?zt(Rl,{children:zt(e,{size:14,fill:m.text.grey})}):null,zt(_l,{"data-id":p,type:$||d===ki.Number?ki.Text:d,$hasIcon:!!e||g,name:p,value:l,onChange:e=>{e.stopPropagation(),d===ki.Number&&(e.target.value=Zn(e.target.value)),c?.(e)},onKeyDown:e=>{["Enter"].includes(e.key)||e.stopPropagation()},...h}),t&&i&&zt(Ml,{onClick:i,disabled:h.disabled,children:t})]}),!!o&&zt(yo,{children:o})]})},Pl=Rt.div`
958
+ `,Wl=({icon:e,buttonLabel:t,onButtonClick:i,hasError:n,errorMessage:o,title:r,tooltip:a,required:s,value:l,onChange:c,type:d=ki.Text,name:p,status:u,...h})=>{const m=Mt(),g=d===ki.Password,[$,x]=Ct(!1);return bt(Bl,{children:[ft(Rl,{title:r,required:s,tooltip:a,status:u}),bt(Ml,{$disabled:h.disabled,$hasError:n||!!o,$isActive:!!h.autoFocus,$status:u,children:[g?ft(jl,{onClick:()=>x(e=>!e),children:ft($?nt:ot,{size:14,fill:m.text.grey})}):e?ft(Pl,{children:ft(e,{size:14,fill:m.text.grey})}):null,ft(Ll,{"data-id":p,type:$||d===ki.Number?ki.Text:d,$hasIcon:!!e||g,name:p,value:l,onChange:e=>{e.stopPropagation(),d===ki.Number&&(e.target.value=Zn(e.target.value)),c?.(e)},onKeyDown:e=>{["Enter"].includes(e.key)||e.stopPropagation()},...h}),t&&i&&ft(Ul,{onClick:i,disabled:h.disabled,children:t})]}),!!o&&ft(yo,{children:o})]})},Vl=Rt.div`
959
959
  display: flex;
960
960
  flex-direction: column;
961
961
  min-width: 120px;
962
962
  width: 100%;
963
963
  opacity: ${({$disabled:e})=>e?.5:1};
964
- `,jl=Rt.div`
964
+ `,Gl=Rt.div`
965
965
  position: relative;
966
- `,Ul=Rt.div`
966
+ `,ql=Rt.div`
967
967
  display: flex;
968
968
  align-items: center;
969
969
  justify-content: space-between;
@@ -989,14 +989,14 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
989
989
  &:hover {
990
990
  border-color: ${({$isMulti:e,$hasSelections:t,$disabled:i,theme:n})=>i?"auto":e&&t?n.colors.border:n.colors.secondary};
991
991
  }
992
- `,Wl=Rt.div`
992
+ `,Hl=Rt.div`
993
993
  display: flex;
994
994
  align-items: center;
995
995
  gap: 4px;
996
- `,Vl=({options:e,value:t,onSelect:i,onDeselect:n,title:o,tooltip:r,placeholder:a,disabled:s=!1,isMulti:l=!1,showSearch:c=!1,required:d=!1,errorMessage:p,hasError:u=!1,status:h})=>{const[m,g]=yt(!1),[$,x]=yt(!1),f=vt(null);Kr(f,()=>g(!1));const b=()=>{(()=>{if(f.current){const e=f.current.getBoundingClientRect().bottom+300>window.innerHeight;x(e)}})(),g(e=>!e)},y=Array.isArray(t)?t.length:0;return Ft(Pl,{$disabled:s,children:[zt(Ol,{title:o,required:d,tooltip:r,status:h}),Ft(jl,{ref:f,children:[Ft(Ul,{$isOpen:m,$isMulti:l,$hasSelections:!!Array.isArray(t)&&!!t.length,$hasError:!!p||u,$status:h,$disabled:s,onClick:()=>!s&&b(),children:[zt(Kl,{value:t,placeholder:a,onDeselect:n}),Ft(Wl,{children:[l&&zt(Sr,{label:y,filled:!!y}),zt(vs,{extend:m})]})]}),m&&zt(Xl,{openUpwards:$,options:e,value:t,onSelect:e=>{i?.(e),l||b()},onDeselect:e=>{n?.(e),l||b()},isMulti:l,showSearch:c})]}),!!p&&zt(yo,{children:p})]})},Gl=Rt(Wl)`
996
+ `,Kl=({options:e,value:t,onSelect:i,onDeselect:n,title:o,tooltip:r,placeholder:a,disabled:s=!1,isMulti:l=!1,showSearch:c=!1,required:d=!1,errorMessage:p,hasError:u=!1,status:h})=>{const[m,g]=Ct(!1),[$,x]=Ct(!1),f=St(null);Kr(f,()=>g(!1));const b=()=>{(()=>{if(f.current){const e=f.current.getBoundingClientRect().bottom+300>window.innerHeight;x(e)}})(),g(e=>!e)},y=Array.isArray(t)?t.length:0;return bt(Vl,{$disabled:s,children:[ft(Rl,{title:o,required:d,tooltip:r,status:h}),bt(Gl,{ref:f,children:[bt(ql,{$isOpen:m,$isMulti:l,$hasSelections:!!Array.isArray(t)&&!!t.length,$hasError:!!p||u,$status:h,$disabled:s,onClick:()=>!s&&b(),children:[ft(Zl,{value:t,placeholder:a,onDeselect:n}),bt(Hl,{children:[l&&ft(Er,{label:y,filled:!!y}),ft(zs,{extend:m})]})]}),m&&ft(tc,{openUpwards:$,options:e,value:t,onSelect:e=>{i?.(e),l||b()},onDeselect:e=>{n?.(e),l||b()},isMulti:l,showSearch:c})]}),!!p&&ft(yo,{children:p})]})},Yl=Rt(Hl)`
997
997
  max-width: calc(100% - 50px);
998
998
  overflow-x: auto;
999
- `,ql=Rt(xo)`
999
+ `,Jl=Rt(xo)`
1000
1000
  display: flex;
1001
1001
  align-items: center;
1002
1002
  gap: 2px;
@@ -1011,7 +1011,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1011
1011
  transition: transform 0.3s;
1012
1012
  }
1013
1013
  }
1014
- `,Hl=Rt(xo)``,Kl=({value:e,placeholder:t,onDeselect:i})=>{const n=Mt();return Array.isArray(e)?e.length?zt(Gl,{children:e.map(e=>Ft(ql,{size:14,children:[e.value,zt(Sa,{orientation:"vertical",length:"10px",margin:"0 4px"}),zt(Ye,{size:12,onClick:t=>{t.stopPropagation(),i?.(e)}})]},`multi-label-${e.id}`))}):zt(Hl,{size:14,color:n.text.darker_grey,children:t}):zt(Hl,{size:14,color:e?.value?void 0:n.text.darker_grey,children:e?.value||t})},Yl=Rt.div`
1014
+ `,Xl=Rt(xo)``,Zl=({value:e,placeholder:t,onDeselect:i})=>{const n=Mt();return Array.isArray(e)?e.length?ft(Yl,{children:e.map(e=>bt(Jl,{size:14,children:[e.value,ft(Ba,{orientation:"vertical",length:"10px",margin:"0 4px"}),ft(Ye,{size:12,onClick:t=>{t.stopPropagation(),i?.(e)}})]},`multi-label-${e.id}`))}):ft(Xl,{size:14,color:n.text.darker_grey,children:t}):ft(Xl,{size:14,color:e?.value?void 0:n.text.darker_grey,children:e?.value||t})},Ql=Rt.div`
1015
1015
  position: absolute;
1016
1016
  ${({$openUpwards:e})=>e?"bottom":"top"}: calc(100% + 8px);
1017
1017
  left: 0;
@@ -1026,11 +1026,11 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1026
1026
  background-color: ${({theme:e})=>e.colors.dropdown_bg_2};
1027
1027
  border: 1px solid ${({theme:e})=>e.colors.border};
1028
1028
  border-radius: 24px;
1029
- `,Jl=Rt.div`
1029
+ `,ec=Rt.div`
1030
1030
  display: flex;
1031
1031
  flex-direction: column;
1032
1032
  align-items: center;
1033
- `,Xl=({openUpwards:e,options:t,value:i,onSelect:n,onDeselect:o,isMulti:r,showSearch:a})=>{const[s,l]=yt(""),c=t.filter(e=>e.value?.toLowerCase().includes(s?.toLowerCase()));return Ft(Yl,{$openUpwards:e,children:[a&&Ft(Jl,{children:[zt(Ll,{placeholder:"Search...",icon:rt,value:s,onChange:e=>l(e.target.value)}),zt(Sa,{thickness:1,margin:"8px 0 0 0"})]}),0===c.length?zt(cl,{subTitle:a&&s?void 0:" "}):c.map((e,t)=>zt(Ql,{option:e,value:i,isMulti:r,onSelect:n,onDeselect:o},`dropdown-option-${e.id||t}`))]})},Zl=Rt.div`
1033
+ `,tc=({openUpwards:e,options:t,value:i,onSelect:n,onDeselect:o,isMulti:r,showSearch:a})=>{const[s,l]=Ct(""),c=t.filter(e=>e.value?.toLowerCase().includes(s?.toLowerCase()));return bt(Ql,{$openUpwards:e,children:[a&&bt(ec,{children:[ft(Wl,{placeholder:"Search...",icon:rt,value:s,onChange:e=>l(e.target.value)}),ft(Ba,{thickness:1,margin:"8px 0 0 0"})]}),0===c.length?ft(yl,{subTitle:a&&s?void 0:" "}):c.map((e,t)=>ft(nc,{option:e,value:i,isMulti:r,onSelect:n,onDeselect:o},`dropdown-option-${e.id||t}`))]})},ic=Rt.div`
1034
1034
  padding: 8px 12px;
1035
1035
  cursor: pointer;
1036
1036
  display: flex;
@@ -1041,21 +1041,21 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1041
1041
  &.selected {
1042
1042
  background: ${({theme:e})=>e.colors.majestic_blue+xr["024"]};
1043
1043
  }
1044
- `,Ql=({option:e,value:t,isMulti:i,onSelect:n,onDeselect:o})=>{const r=Mt(),a=Array.isArray(t)?!!t?.find(t=>t.id===e.id):t?.id===e.id,s=t=>t?n?.(e):o?.(e);return i?zt(Zl,{className:a?"selected":"",onClick:()=>s(!a),children:zt(os,{title:e.value||"",titleColor:r.text.secondary,value:a,onChange:s,style:{width:"100%"}})}):Ft(Zl,{className:a?"selected":"",onClick:()=>a?o?.(e):n?.(e),children:[Ft(aa,{$gap:8,children:[e.icon&&zt(e.icon,{}),zt(xo,{size:14,children:e.value})]}),a&&zt(He,{})]})},ec=Rt(sa)`
1044
+ `,nc=({option:e,value:t,isMulti:i,onSelect:n,onDeselect:o})=>{const r=Mt(),a=Array.isArray(t)?!!t?.find(t=>t.id===e.id):t?.id===e.id,s=t=>t?n?.(e):o?.(e);return i?ft(ic,{className:a?"selected":"",onClick:()=>s(!a),children:ft(gs,{title:e.value||"",titleColor:r.text.secondary,value:a,onChange:s,style:{width:"100%"}})}):bt(ic,{className:a?"selected":"",onClick:()=>a?o?.(e):n?.(e),children:[bt(xa,{$gap:8,children:[e.icon&&ft(e.icon,{}),ft(xo,{size:14,children:e.value})]}),a&&ft(He,{})]})},oc=Rt(fa)`
1045
1045
  gap: 12px;
1046
- `,tc=Rt(aa)`
1046
+ `,rc=Rt(xa)`
1047
1047
  width: 100%;
1048
1048
  gap: 12px;
1049
1049
  align-items: flex-end;
1050
- `,ic=({clientX:e=0,flipX:t,clientY:i=0,flipY:n,isOpen:o,onClose:r,onSave:a,withDelete:s,onDelete:l,title:c,titleTooltip:d,warning:p,children:u})=>{const h=Mt(),{popupRef:m,popupPosition:g,handlePosition:$}=Yr({onClickOutside:r});return Hr({key:"Enter",active:o},a),wt(()=>$(e,i),[e,i]),0===g.top&&0!==i||0===g.left&&0!==e?null:zt(Na,{ref:m,isOpen:o,top:n?void 0:g.top,bottom:n?g.top:void 0,left:t?void 0:g.left,right:t?g.left:void 0,padding:"24px",children:Ft(ec,{children:[zt(Fa,{text:d,withIcon:!0,children:zt(xo,{size:14,children:c})}),Ft(tc,{children:[u,Ft(aa,{$gap:6,children:[zt(Ba,{withBorder:!0,onClick:r,tooltip:"Cancel",children:zt(Ye,{})}),zt(Ba,{withBorder:!0,backgroundColor:h.colors.secondary,onClick:a,tooltip:"Save",children:zt(He,{fill:h.text.primary})}),s&&zt(Ba,{onClick:l,tooltip:"Undo",children:zt(at,{})})]})]}),p&&zt(qa,{type:Ei.Warning,message:p})]})})},nc=Rt.div`
1050
+ `,ac=({clientX:e=0,flipX:t,clientY:i=0,flipY:n,isOpen:o,onClose:r,onSave:a,withDelete:s,onDelete:l,title:c,titleTooltip:d,warning:p,children:u})=>{const h=Mt(),{popupRef:m,popupPosition:g,handlePosition:$}=Yr({onClickOutside:r});return Hr({key:"Enter",active:o},a),kt(()=>$(e,i),[e,i]),0===g.top&&0!==i||0===g.left&&0!==e?null:ft(Ua,{ref:m,isOpen:o,top:n?void 0:g.top,bottom:n?g.top:void 0,left:t?void 0:g.left,right:t?g.left:void 0,padding:"24px",children:bt(oc,{children:[ft(Ga,{text:d,withIcon:!0,children:ft(xo,{size:14,children:c})}),bt(rc,{children:[u,bt(xa,{$gap:6,children:[ft(Ka,{withBorder:!0,onClick:r,tooltip:"Cancel",children:ft(Ye,{})}),ft(Ka,{withBorder:!0,backgroundColor:h.colors.secondary,onClick:a,tooltip:"Save",children:ft(He,{fill:h.text.primary})}),s&&ft(Ka,{onClick:l,tooltip:"Undo",children:ft(at,{})})]})]}),p&&ft(ns,{type:Si.Warning,message:p})]})})},sc=Rt.div`
1051
1051
  position: relative;
1052
- `,oc=({defaultLanguage:e=bi.Unknown,defaultVersion:t="",defaultOtelDistroName:i=null,handleSave:n})=>{const{tier:o}=El(),{addNotification:r}=ir(),{formData:a,handleFormChange:s,resetFormData:l}=Nr({language:e,version:t,otelDistroName:i}),[c,d]=yt(!1),p=()=>{d(!1),l()},u=bt(()=>{if(!a.language)return[];const e=qo[a.language].community,t=o===$i.Onprem?qo[a.language].enterprise:[];return e.concat(t)},[a.language,o]);return Ft(nc,{children:[zt(Ba,{tooltip:on.OVERRIDE_RUNTIME_DETAILS,size:32,onClick:()=>{d(!0)},children:zt(tt,{})}),zt(ic,{flipX:!0,clientX:36,isOpen:c,onClose:p,onSave:async()=>{!a.version||qn(a.version)?(await n({...a}),p()):r({type:Ei.Warning,message:nn.INVALID_VERSION,hideFromHistory:!0})},withDelete:!0,onDelete:async()=>{await n({language:null,version:"",otelDistroName:null}),p()},title:on.OVERRIDE_RUNTIME_DETAILS,warning:on.OVERRIDE_RUNTIME_WARNING,children:Ft(sa,{$gap:12,children:[Ft(aa,{$gap:12,children:[zt(Vl,{title:on.LANGUAGE,options:Go,value:Go.find(e=>e.id===a.language),onSelect:e=>{s("language",e.id),s("version",""),s("otelDistroName",null)},required:!0}),zt(Ll,{title:on.RUNTIME_VERSION,placeholder:on.VERSION_PLACEHOLDER,value:a.version,onChange:e=>s("version",e.target.value),required:!1})]}),a.language&&zt(Vl,{title:"Otel Distro Name",options:u,value:u.find(e=>e.id===a.otelDistroName),onSelect:e=>s("otelDistroName",e.id),required:!1})]})})]})},rc=Rt(aa)`
1052
+ `,lc=({defaultLanguage:e=bi.Unknown,defaultVersion:t="",defaultOtelDistroName:i=null,handleSave:n})=>{const{tier:o}=ia(),{addNotification:r}=ir(),{formData:a,handleFormChange:s,resetFormData:l}=Nr({language:e,version:t,otelDistroName:i}),[c,d]=Ct(!1),p=()=>{d(!1),l()},u=vt(()=>{if(!a.language)return[];const e=qo[a.language].community,t=o===$i.Onprem?qo[a.language].enterprise:[];return e.concat(t)},[a.language,o]);return bt(sc,{children:[ft(Ka,{tooltip:on.OVERRIDE_RUNTIME_DETAILS,size:32,onClick:()=>{d(!0)},children:ft(tt,{})}),ft(ac,{flipX:!0,clientX:36,isOpen:c,onClose:p,onSave:async()=>{!a.version||qn(a.version)?(await n({...a}),p()):r({type:Si.Warning,message:nn.INVALID_VERSION,hideFromHistory:!0})},withDelete:!0,onDelete:async()=>{await n({language:null,version:"",otelDistroName:null}),p()},title:on.OVERRIDE_RUNTIME_DETAILS,warning:on.OVERRIDE_RUNTIME_WARNING,children:bt(fa,{$gap:12,children:[bt(xa,{$gap:12,children:[ft(Kl,{title:on.LANGUAGE,options:Go,value:Go.find(e=>e.id===a.language),onSelect:e=>{s("language",e.id),s("version",""),s("otelDistroName",null)},required:!0}),ft(Wl,{title:on.RUNTIME_VERSION,placeholder:on.VERSION_PLACEHOLDER,value:a.version,onChange:e=>s("version",e.target.value),required:!1})]}),a.language&&ft(Kl,{title:"Otel Distro Name",options:u,value:u.find(e=>e.id===a.otelDistroName),onSelect:e=>s("otelDistroName",e.id),required:!1})]})})]})},cc=Rt(xa)`
1053
1053
  width: 100%;
1054
1054
  justify-content: center;
1055
- `,ac=({containerName:e,language:t,runtimeVersion:i,overriden:n,instrumented:o,instrumentationMessage:r,otelDistroName:a,callbackRuntimeOverride:s})=>{const l=Mt(),c=o?Ei.Success:r?Ei.Info:Ei.Warning,d=o?Si.INSTRUMENTED:r?Si.NOT_INSTRUMENTED:Si.INSTRUMENTING;return zt(el,{title:e,subTitle:`${t?Vo[t]:"no runtime info"}`+(i?` • Runtime Version: ${i}`:""),iconProps:{icon:mn(t)},extendableProps:{isExtended:!!r,renderExtended:()=>zt(rc,{children:zt(xo,{size:12,family:"secondary",color:l.text.info,children:Hn(r)})})},renderActions:()=>Ft(_t,{children:[zt(zs,{status:c,title:d,subtitle:a||void 0,withIcon:!0,withBorder:!0}),n&&zt(zs,{status:Ei.Default,forceIcon:st,title:on.OVERIDDEN,withIcon:!0,withBorder:!0}),s&&zt(oc,{defaultLanguage:t,defaultVersion:i,defaultOtelDistroName:a,handleSave:t=>s({...t,containerName:e})})]})})},sc=Rt.tr`
1055
+ `,dc=({containerName:e,language:t,runtimeVersion:i,overriden:n,instrumented:o,instrumentationMessage:r,otelDistroName:a,callbackRuntimeOverride:s})=>{const l=Mt(),c=o?Si.Success:r?Si.Info:Si.Warning,d=o?Ei.INSTRUMENTED:r?Ei.NOT_INSTRUMENTED:Ei.INSTRUMENTING;return ft(pl,{title:e,subTitle:`${t?Vo[t]:"no runtime info"}`+(i?` • Runtime Version: ${i}`:""),iconProps:{icon:mn(t)},extendableProps:{isExtended:!!r,renderExtended:()=>ft(cc,{children:ft(xo,{size:12,family:"secondary",color:l.text.info,children:Hn(r)})})},renderActions:()=>bt(yt,{children:[ft(Vs,{status:c,title:d,subtitle:a||void 0,withIcon:!0,withBorder:!0}),n&&ft(Vs,{status:Si.Default,forceIcon:st,title:on.OVERIDDEN,withIcon:!0,withBorder:!0}),s&&ft(lc,{defaultLanguage:t,defaultVersion:i,defaultOtelDistroName:a,handleSave:t=>s({...t,containerName:e})})]})})},pc=Rt.tr`
1056
1056
  cursor: ${({$withHover:e})=>e?"pointer":"default"};
1057
1057
  opacity: ${({$faded:e})=>e?.5:1};
1058
- `,lc=Rt.td`
1058
+ `,uc=Rt.td`
1059
1059
  position: relative;
1060
1060
  width: fit-content;
1061
1061
  padding: 16px 8px 16px ${({$isFirst:e})=>e?"16px":"8px"};
@@ -1063,7 +1063,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1063
1063
  font-family: ${({theme:e})=>e.font_family.primary};
1064
1064
  font-size: 14px;
1065
1065
  white-space: nowrap;
1066
- `,cc=Rt(xo)`
1066
+ `,hc=Rt(xo)`
1067
1067
  font-size: 14px;
1068
1068
  color: ${({$color:e,theme:t})=>e??t.text.secondary};
1069
1069
  line-height: 16px;
@@ -1076,7 +1076,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1076
1076
  display: -webkit-box;
1077
1077
  -webkit-line-clamp: 2;
1078
1078
  -webkit-box-orient: vertical;
1079
- `,dc=Rt.div`
1079
+ `,mc=Rt.div`
1080
1080
  position: absolute;
1081
1081
  top: 0;
1082
1082
  left: 0;
@@ -1085,56 +1085,56 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1085
1085
  height: ${({$height:e})=>e}px;
1086
1086
  border-radius: 16px;
1087
1087
  background-color: ${({theme:e,$hovered:t,$status:i})=>t?i?e.text[i]+xr["020"]:e.colors.majestic_blue+xr["030"]:i?e.text[i]+xr["010"]:e.colors.secondary+xr["005"]};
1088
- `,pc=({index:e,columns:t,cells:i,onClick:n,status:o,faded:r})=>{const{containerRef:a,containerHeight:s,containerWidth:l}=Br(),[c,d]=yt(!1);return zt(sc,{ref:a,onMouseEnter:()=>!!n&&d(!0),onMouseLeave:()=>!!n&&d(!1),onClick:()=>!!n&&n(),$withHover:!!n,$faded:r,children:t.map(({key:t},n)=>{const r=i.find(({columnKey:e})=>e===t);if(!r)return null;const{value:a,textColor:d,withTooltip:p,icon:u,component:h}=r;return Ft(lc,{$isFirst:0===n,children:[u?zt(Ws,{icon:u}):h?zt(h,{}):zt(Fa,{text:p&&a?String(a):"",children:zt(cc,{$color:d,children:Pn(a)?"-":a})}),0===n&&zt(dc,{$height:s,$width:l,$top:s*e,$hovered:c,$status:o})]},`table-row-${t}-${a}-${e}-${n}`)})})},uc=Rt.div`
1088
+ `,gc=({index:e,columns:t,cells:i,onClick:n,status:o,faded:r})=>{const{containerRef:a,containerHeight:s,containerWidth:l}=Br(),[c,d]=Ct(!1);return ft(pc,{ref:a,onMouseEnter:()=>!!n&&d(!0),onMouseLeave:()=>!!n&&d(!1),onClick:()=>!!n&&n(),$withHover:!!n,$faded:r,children:t.map(({key:t},n)=>{const r=i.find(({columnKey:e})=>e===t);if(!r)return null;const{value:a,textColor:d,withTooltip:p,icon:u,component:h}=r;return bt(uc,{$isFirst:0===n,children:[u?ft(el,{icon:u}):h?ft(h,{}):ft(Ga,{text:p&&a?String(a):"",children:ft(hc,{$color:d,children:Pn(a)?"-":a})}),0===n&&ft(mc,{$height:s,$width:l,$top:s*e,$hovered:c,$status:o})]},`table-row-${t}-${a}-${e}-${n}`)})})},$c=Rt.div`
1089
1089
  width: 100%;
1090
- `,hc=Rt.table`
1090
+ `,xc=Rt.table`
1091
1091
  position: relative;
1092
1092
  z-index: 0;
1093
1093
  width: 100%;
1094
1094
  border-collapse: separate;
1095
1095
  border-spacing: 0 12px;
1096
- `,mc=Rt.thead`
1096
+ `,fc=Rt.thead`
1097
1097
  // only supported with "border-collapse: collapse;"
1098
1098
  // border-top: 1px solid ${({theme:e})=>e.colors.dropdown_bg_2};
1099
1099
  // border-bottom: 1px solid ${({theme:e})=>e.colors.dropdown_bg_2};
1100
- `,gc=Rt.th`
1100
+ `,bc=Rt.th`
1101
1101
  // only required with "border-collapse: separate;"
1102
1102
  border-top: 1px solid ${({theme:e})=>e.colors.dropdown_bg_2};
1103
1103
  border-bottom: 1px solid ${({theme:e})=>e.colors.dropdown_bg_2};
1104
1104
 
1105
1105
  padding: 8px;
1106
- `,$c=Rt(aa)`
1106
+ `,yc=Rt(xa)`
1107
1107
  cursor: pointer;
1108
1108
  &:hover {
1109
1109
  * {
1110
1110
  color: ${({theme:e})=>e.text.secondary};
1111
1111
  }
1112
1112
  }
1113
- `,xc=Rt(xo)`
1113
+ `,wc=Rt(xo)`
1114
1114
  color: ${({theme:e})=>e.text.darker_grey};
1115
1115
  font-family: ${({theme:e})=>e.font_family.secondary};
1116
1116
  text-transform: uppercase;
1117
1117
  font-size: 12px;
1118
1118
  font-weight: 500;
1119
1119
  text-wrap: nowrap;
1120
- `,fc=Rt.tbody``,bc=({columns:e,rows:t})=>{const[i,n]=yt(gi.Ascending),[o,r]=yt("name"),a=Ct(e=>{o===e?n(e=>e===gi.Ascending?gi.Descending:gi.Ascending):(r(e),n(gi.Ascending))},[o]),s=bt(()=>{const n=(e,t)=>e.cells.find(({columnKey:e})=>e===t)?.value??null;return(o?[...t].sort((e,t)=>{const r=n(e,o),a=n(t,o);return(i===gi.Ascending?1:-1)*((e,t)=>"number"==typeof e&&"number"==typeof t?e-t:"string"==typeof e&&"string"==typeof t?e.localeCompare(t):"boolean"==typeof e&&"boolean"==typeof t?e===t?0:e?1:-1:String(e).localeCompare(String(t)))(r,a)}):t).map(({status:t,faded:i,cells:n,onClick:o},r)=>zt(pc,{index:r,columns:e,cells:n,onClick:o,status:t,faded:i},`row-${r}`))},[e,t,o,i]);return zt(uc,{children:Ft(hc,{children:[zt(mc,{children:zt("tr",{children:e.map(({key:e,title:t,sortable:i})=>zt(gc,{children:i?Ft($c,{onClick:()=>a(e),children:[zt(lt,{}),zt(xc,{children:t})]}):zt(xc,{children:t})},`column-${e}`))})}),zt(fc,{children:s})]})})};var yc;!function(e){e.Code="code",e.Table="table",e.Badge="badge",e.Loader="loader",e.Divider="divider",e.Monitors="monitors",e.CopyText="copy-text",e.ActiveStatus="active-status"}(yc||(yc={}));const wc=Rt.div`
1120
+ `,vc=Rt.tbody``,Cc=({columns:e,rows:t})=>{const[i,n]=Ct(gi.Ascending),[o,r]=Ct("name"),a=Et(e=>{o===e?n(e=>e===gi.Ascending?gi.Descending:gi.Ascending):(r(e),n(gi.Ascending))},[o]),s=vt(()=>{const n=(e,t)=>e.cells.find(({columnKey:e})=>e===t)?.value??null;return(o?[...t].sort((e,t)=>{const r=n(e,o),a=n(t,o);return(i===gi.Ascending?1:-1)*((e,t)=>"number"==typeof e&&"number"==typeof t?e-t:"string"==typeof e&&"string"==typeof t?e.localeCompare(t):"boolean"==typeof e&&"boolean"==typeof t?e===t?0:e?1:-1:String(e).localeCompare(String(t)))(r,a)}):t).map(({status:t,faded:i,cells:n,onClick:o},r)=>ft(gc,{index:r,columns:e,cells:n,onClick:o,status:t,faded:i},`row-${r}`))},[e,t,o,i]);return ft($c,{children:bt(xc,{children:[ft(fc,{children:ft("tr",{children:e.map(({key:e,title:t,sortable:i})=>ft(bc,{children:i?bt(yc,{onClick:()=>a(e),children:[ft(lt,{}),ft(wc,{children:t})]}):ft(wc,{children:t})},`column-${e}`))})}),ft(vc,{children:s})]})})};var kc;!function(e){e.Code="code",e.Table="table",e.Badge="badge",e.Loader="loader",e.Divider="divider",e.Monitors="monitors",e.CopyText="copy-text",e.ActiveStatus="active-status"}(kc||(kc={}));const Sc=Rt.div`
1121
1121
  display: flex;
1122
1122
  flex-wrap: wrap;
1123
1123
  gap: 16px 32px;
1124
1124
  width: 100%;
1125
- `,vc=Rt.div`
1125
+ `,Ec=Rt.div`
1126
1126
  display: flex;
1127
1127
  flex-direction: column;
1128
1128
  gap: 2px;
1129
1129
  width: ${({$width:e})=>e};
1130
- `,Cc=Rt(xo)`
1130
+ `,Ac=Rt(xo)`
1131
1131
  color: ${({theme:e})=>e.text.grey};
1132
1132
  font-size: 10px;
1133
1133
  line-height: 16px;
1134
- `,kc=Rt(xo)`
1134
+ `,Tc=Rt(xo)`
1135
1135
  font-size: 12px;
1136
1136
  white-space: pre-wrap;
1137
- `,Ec=({data:e})=>zt(wc,{children:e?.map(({type:e,title:t,titleIcon:i,tooltip:n,value:o},r)=>Ft(vc,{$width:e&&[yc.Code,yc.Table].includes(e)?"inherit":e&&[yc.Loader,yc.Divider,yc.CopyText].includes(e)?"100%":"unset",children:[zt(Fa,{text:n,withIcon:!0,children:Ft(aa,{$alignItems:"center",$gap:4,children:[i&&zt(i,{size:14}),!!t&&zt(Cc,{transform:"capitalize",children:t})]})}),zt(Sc,{type:e,value:o})]},`data-field-${t||(o?JSON.stringify(o):r)}`))}),Sc=({type:e,value:t})=>{const i=Mt();switch(e){case yc.Divider:return zt(Sa,{length:"100%",margin:"0"});case yc.Loader:return zt(la,{children:zt(ys,{scale:1.2})});case yc.Monitors:return zt(Ks,{monitors:t?.split(", ")||[],withLabels:!0,color:i.colors.secondary});case yc.Badge:{const{label:e,filled:i,...n}=Bn(t,{label:"-",filled:!1});return zt(Sr,{label:e,filled:i,...n})}case yc.Code:{const{language:e,code:i,...n}=Bn(t,{language:"",code:""});return zt(ms,{language:e,code:i,...n})}case yc.Table:{const{columns:e,rows:i,...n}=Bn(t,{columns:[],rows:[{status:void 0,cells:[]}]});return zt(bc,{columns:e,rows:i,...n})}case yc.ActiveStatus:return zt(zs,{status:"true"==t?Ei.Success:Ei.Error,title:"true"==t?on.ENABLED:on.DISABLED,size:10,withIcon:!0,withBorder:!0});case yc.CopyText:{const e="string"==typeof t?t:JSON.stringify(t);return zt(Rs,{value:e})}default:return zt(kc,{children:eo("string"==typeof t?t||"-":"")})}},Ac=Rt.div`
1137
+ `,Dc=({data:e})=>ft(Sc,{children:e?.map(({type:e,title:t,titleIcon:i,tooltip:n,value:o},r)=>bt(Ec,{$width:e&&[kc.Code,kc.Table].includes(e)?"inherit":e&&[kc.Loader,kc.Divider,kc.CopyText].includes(e)?"100%":"unset",children:[ft(Ga,{text:n,withIcon:!0,children:bt(xa,{$alignItems:"center",$gap:4,children:[i&&ft(i,{size:14}),!!t&&ft(Ac,{transform:"capitalize",children:t})]})}),ft(Ic,{type:e,value:o})]},`data-field-${t||(o?JSON.stringify(o):r)}`))}),Ic=({type:e,value:t})=>{const i=Mt();switch(e){case kc.Divider:return ft(Ba,{length:"100%",margin:"0"});case kc.Loader:return ft(ba,{children:ft(Ns,{scale:1.2})});case kc.Monitors:return ft(rl,{monitors:t?.split(", ")||[],withLabels:!0,color:i.colors.secondary});case kc.Badge:{const{label:e,filled:i,...n}=Bn(t,{label:"-",filled:!1});return ft(Er,{label:e,filled:i,...n})}case kc.Code:{const{language:e,code:i,...n}=Bn(t,{language:"",code:""});return ft(Ss,{language:e,code:i,...n})}case kc.Table:{const{columns:e,rows:i,...n}=Bn(t,{columns:[],rows:[{status:void 0,cells:[]}]});return ft(Cc,{columns:e,rows:i,...n})}case kc.ActiveStatus:return ft(Vs,{status:"true"==t?Si.Success:Si.Error,title:"true"==t?on.ENABLED:on.DISABLED,size:10,withIcon:!0,withBorder:!0});case kc.CopyText:{const e="string"==typeof t?t:JSON.stringify(t);return ft(Hs,{value:e})}default:return ft(Tc,{children:eo("string"==typeof t?t||"-":"")})}},Nc=Rt.div`
1138
1138
  display: flex;
1139
1139
  flex-direction: column;
1140
1140
  align-items: flex-start;
@@ -1145,27 +1145,27 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1145
1145
  border: 1px solid ${({theme:e})=>e.colors.border};
1146
1146
  background-color: ${({theme:e,$hovered:t})=>t?e.colors.secondary+xr["010"]:"transparent"};
1147
1147
  transition: background-color 0.3s;
1148
- `,Tc=Rt.div`
1148
+ `,Oc=Rt.div`
1149
1149
  width: 100%;
1150
1150
  display: flex;
1151
1151
  flex-direction: column;
1152
1152
  gap: 4px;
1153
1153
  cursor: ${({$clickable:e})=>e?"pointer":"default"};
1154
- `,Dc=Rt(xo)`
1154
+ `,zc=Rt(xo)`
1155
1155
  width: 100%;
1156
1156
  display: flex;
1157
1157
  align-items: center;
1158
1158
  gap: 8px;
1159
1159
  font-size: 16px;
1160
- `,Ic=Rt(xo)`
1160
+ `,Fc=Rt(xo)`
1161
1161
  font-size: 12px;
1162
1162
  color: ${({theme:e})=>e.text.grey};
1163
- `,Nc=Rt(aa)`
1163
+ `,_c=Rt(xa)`
1164
1164
  margin-left: auto;
1165
1165
  gap: 8px;
1166
- `,Oc=({title:e="Details",titleBadge:t,titleIcon:i,description:n,action:o,withExtend:r,initialExtended:a=!1,data:s,children:l})=>{const[c,d]=yt(a),[p,u]=yt(!1);return Ft(Ac,{$hovered:p,children:[e||i||n||o?Ft(Tc,{$clickable:r||!1,onClick:()=>r&&d(e=>!e),onMouseEnter:()=>r&&u(!0),onMouseLeave:()=>r&&u(!1),children:[Ft(aa,{children:[Ft(aa,{$alignItems:"center",$gap:8,children:[i&&zt(aa,{$alignItems:"center",children:zt(i,{size:20})}),!!e&&zt(Dc,{transform:"capitalize",children:e}),t===Ai.Loading?zt(ys,{}):void 0!==t&&zt(Sr,{label:t})]}),(!!o||r)&&Ft(Nc,{children:["function"==typeof o?zt(o,{hovered:p}):o,r&&zt(vs,{extend:c})]})]}),!!n&&zt(Ic,{children:n})]}):null,(!r||r&&c)&&(l||zt(Ec,{data:s}))]})},zc=Rt.div`
1166
+ `,Rc=({title:e="Details",titleBadge:t,titleIcon:i,description:n,action:o,withExtend:r,initialExtended:a=!1,data:s,children:l})=>{const[c,d]=Ct(a),[p,u]=Ct(!1);return bt(Nc,{$hovered:p,children:[e||i||n||o?bt(Oc,{$clickable:r||!1,onClick:()=>r&&d(e=>!e),onMouseEnter:()=>r&&u(!0),onMouseLeave:()=>r&&u(!1),children:[bt(xa,{children:[bt(xa,{$alignItems:"center",$gap:8,children:[i&&ft(xa,{$alignItems:"center",children:ft(i,{size:20})}),!!e&&ft(zc,{transform:"capitalize",children:e}),t===Ai.Loading?ft(Ns,{}):void 0!==t&&ft(Er,{label:t})]}),(!!o||r)&&bt(_c,{children:["function"==typeof o?ft(o,{hovered:p}):o,r&&ft(zs,{extend:c})]})]}),!!n&&ft(Fc,{children:n})]}):null,(!r||r&&c)&&(l||ft(Dc,{data:s}))]})},Bc=Rt.div`
1167
1167
  visibility: hidden;
1168
- `,Fc=Rt(aa)`
1168
+ `,Mc=Rt(xa)`
1169
1169
  align-self: stretch;
1170
1170
  width: calc(100% - 32px);
1171
1171
  padding: 16px;
@@ -1175,58 +1175,58 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1175
1175
  &:hover {
1176
1176
  cursor: pointer;
1177
1177
  background-color: ${e.colors.secondary+xr["010"]};
1178
- ${zc} {
1178
+ ${Bc} {
1179
1179
  visibility: visible;
1180
1180
  }
1181
1181
  }
1182
- `:`\n &:hover {\n ${zc} {\n visibility: visible;\n }\n }\n `}
1183
- `,_c=Rt(aa)`
1182
+ `:`\n &:hover {\n ${Bc} {\n visibility: visible;\n }\n }\n `}
1183
+ `,Lc=Rt(xa)`
1184
1184
  margin-left: auto;
1185
1185
  gap: 8px;
1186
- `,Rc=Rt(xo)`
1186
+ `,Pc=Rt(xo)`
1187
1187
  font-size: 10px;
1188
1188
  color: ${({theme:e})=>e.text.grey};
1189
- `,Bc=({title:e,subTitle:t,icons:i,iconSrcs:n,onClick:o,renderActions:r})=>{const a=Mt(),[s,l]=yt(0),c=vt(null),d=vt(null);return wt(()=>{if(c.current){const e=c.current.clientWidth,t=d.current?.clientWidth||0;l(e-(85+t))}},[]),Ft(Fc,{ref:c,$gap:8,$withClick:!!o,onClick:o,children:[zt(qs,{id:`${e}-${t}`,icons:i,iconSrcs:n}),e&&zt(Ps,{maxWidth:s/2,text:e,textSize:14}),e&&t&&zt(Rc,{children:"•"}),t&&zt(Ps,{maxWidth:s/2,text:t,textSize:10,textColor:a.text.grey}),zt(_c,{ref:d,children:r&&Ft(_t,{children:[zt(Sa,{orientation:"vertical",length:"24px",margin:"0"}),r()]})})]})},Mc=({isOpen:e,noOverlay:t,name:i,type:n,isLastItem:o,onApprove:r,onDeny:a})=>{const s=n===wi.Source?"uninstrument":"delete";return zt(es,{isOpen:e,noOverlay:t,title:`${s.charAt(0).toUpperCase()+s.substring(1)}${i?` ${i}`:""}`,description:`Are you sure you want to ${s}?`,note:o?{type:Ei.Warning,title:`You're about to ${s} the last ${n||i}`,message:""}:void 0,approveButton:{text:"Confirm",variant:"danger",onClick:r},denyButton:{text:"Go Back",onClick:a}})},Lc=Rt(Ir)`
1189
+ `,jc=({title:e,subTitle:t,icons:i,iconSrcs:n,onClick:o,renderActions:r})=>{const a=Mt(),[s,l]=Ct(0),c=St(null),d=St(null);return kt(()=>{if(c.current){const e=c.current.clientWidth,t=d.current?.clientWidth||0;l(e-(85+t))}},[]),bt(Mc,{ref:c,$gap:8,$withClick:!!o,onClick:o,children:[ft(nl,{id:`${e}-${t}`,icons:i,iconSrcs:n}),e&&ft(Xs,{maxWidth:s/2,text:e,textSize:14}),e&&t&&ft(Pc,{children:"•"}),t&&ft(Xs,{maxWidth:s/2,text:t,textSize:10,textColor:a.text.grey}),ft(Lc,{ref:d,children:r&&bt(yt,{children:[ft(Ba,{orientation:"vertical",length:"24px",margin:"0"}),r()]})})]})},Uc=({isOpen:e,noOverlay:t,name:i,type:n,isLastItem:o,onApprove:r,onDeny:a})=>{const s=n===wi.Source?"uninstrument":"delete";return ft(ps,{isOpen:e,noOverlay:t,title:`${s.charAt(0).toUpperCase()+s.substring(1)}${i?` ${i}`:""}`,description:`Are you sure you want to ${s}?`,note:o?{type:Si.Warning,title:`You're about to ${s} the last ${n||i}`,message:""}:void 0,approveButton:{text:"Confirm",variant:"danger",onClick:r},denyButton:{text:"Go Back",onClick:a}})},Wc=Rt(Ir)`
1190
1190
  display: flex;
1191
1191
  align-items: center;
1192
1192
  justify-content: center;
1193
1193
  font-size: 14px;
1194
1194
  gap: 6px;
1195
1195
  min-width: 100px;
1196
- `,Pc=({endpoint:e="/",variant:t="secondary"})=>Ft(Lc,{variant:t,onClick:()=>window.open(`https://docs.odigos.io${e}`,"_blank","noopener noreferrer"),children:[zt(ct,{size:18}),"Docs"]}),jc=Rt(aa)`
1196
+ `,Vc=({endpoint:e="/",variant:t="secondary"})=>bt(Wc,{variant:t,onClick:()=>window.open(`https://docs.odigos.io${e}`,"_blank","noopener noreferrer"),children:[ft(ct,{size:18}),"Docs"]}),Gc=Rt(xa)`
1197
1197
  border-bottom: ${({$hideBorder:e,theme:t})=>e?"none":`1px solid ${t.colors.border}`};
1198
- `,Uc=Rt.div`
1198
+ `,qc=Rt.div`
1199
1199
  display: flex;
1200
1200
  align-items: center;
1201
1201
  border-bottom: 2px solid ${({theme:e,$selected:t})=>t?e.colors.majestic_blue:"transparent"};
1202
1202
  cursor: pointer;
1203
- `,Wc=Rt(xo)`
1203
+ `,Hc=Rt(xo)`
1204
1204
  padding: 12px;
1205
1205
  font-size: 14px;
1206
1206
  color: ${({theme:e,$selected:t})=>t?e.text.secondary:e.text.grey};
1207
- `,Vc=({tabs:e,hideBorder:t=!1})=>e?.length?zt(jc,{$hideBorder:t,children:e.map(({label:e,icon:t,onClick:i,selected:n})=>Ft(Uc,{onClick:i,$selected:n,children:[zt(Wc,{$selected:n,children:e}),t&&zt(t,{})]},`tab-${e}`))}):null,Gc=Rt.section`
1207
+ `,Kc=({tabs:e,hideBorder:t=!1})=>e?.length?ft(Gc,{$hideBorder:t,children:e.map(({label:e,icon:t,onClick:i,selected:n})=>bt(qc,{onClick:i,$selected:n,children:[ft(Hc,{$selected:n,children:e}),t&&ft(t,{})]},`tab-${e}`))}):null,Yc=Rt.section`
1208
1208
  padding: 0px 32px;
1209
1209
  border-bottom: 1px solid ${({theme:e})=>e.colors.border};
1210
- `,qc=Rt.div`
1210
+ `,Jc=Rt.div`
1211
1211
  height: 76px;
1212
1212
  display: flex;
1213
1213
  justify-content: space-between;
1214
1214
  flex-shrink: 0;
1215
1215
  align-self: stretch;
1216
- `,Hc=Rt.div`
1216
+ `,Xc=Rt.div`
1217
1217
  display: flex;
1218
1218
  align-items: center;
1219
1219
  gap: ${({$gap:e})=>e||16}px;
1220
- `,Kc=Rt(xo)`
1220
+ `,Zc=Rt(xo)`
1221
1221
  font-size: 18px;
1222
1222
  line-height: 26px;
1223
1223
  max-width: ${({$maxWidth:e})=>e};
1224
1224
  overflow: hidden;
1225
1225
  white-space: nowrap;
1226
1226
  text-overflow: ellipsis;
1227
- `,Yc=Rt(Ir)`
1227
+ `,Qc=Rt(Ir)`
1228
1228
  gap: 8px;
1229
- `,Jc=Rt(Ir)``,Xc=({onClose:e,width:t,icons:i,iconSrcs:n,title:o,titleTooltip:r,replaceTitleWith:a,actions:s,actionButtons:l=[],tabs:c})=>Ft(Gc,{children:[Ft(qc,{children:[Ft(Hc,{children:[i?.length||n?.length?zt(qs,{icons:i,iconSrcs:n,id:`drawer-header-${o}`}):null,("function"==typeof a?zt(a,{}):a||null)||zt(Fa,{text:r||o,withIcon:!!r,children:o&&zt(Kc,{$maxWidth:`calc(${t} ${s||l.length?"/ 5":"- 192px"})`,children:o})})]}),Ft(Hc,{$gap:2,children:[s,l.map((e,t)=>zt(Yc,{...e},`header-action-button-${t}`)),zt(Jc,{"data-id":"drawer-close",variant:"secondary",onClick:e,children:zt(Ye,{size:12})})]})]}),zt(Vc,{tabs:c,hideBorder:!0})]}),Zc=Rt.div`
1229
+ `,ed=Rt(Ir)``,td=({onClose:e,width:t,icons:i,iconSrcs:n,title:o,titleTooltip:r,replaceTitleWith:a,actions:s,actionButtons:l=[],tabs:c})=>bt(Yc,{children:[bt(Jc,{children:[bt(Xc,{children:[i?.length||n?.length?ft(nl,{icons:i,iconSrcs:n,id:`drawer-header-${o}`}):null,("function"==typeof a?ft(a,{}):a||null)||ft(Ga,{text:r||o,withIcon:!!r,children:o&&ft(Zc,{$maxWidth:`calc(${t} ${s||l.length?"/ 5":"- 192px"})`,children:o})})]}),bt(Xc,{$gap:2,children:[s,l.map((e,t)=>ft(Qc,{...e},`header-action-button-${t}`)),ft(ed,{"data-id":"drawer-close",variant:"secondary",onClick:e,children:ft(Ye,{size:12})})]})]}),ft(Kc,{tabs:c,hideBorder:!0})]}),id=Rt.div`
1230
1230
  display: flex;
1231
1231
  justify-content: space-between;
1232
1232
  gap: 8px;
@@ -1235,16 +1235,16 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1235
1235
  background-color: ${({theme:e})=>e.colors.translucent_bg};
1236
1236
  transform: translateY(100%);
1237
1237
  animation-name: ${br.in.bottom};
1238
- `,Qc=Rt(aa)`
1238
+ `,nd=Rt(xa)`
1239
1239
  margin-right: auto;
1240
- `,ed=Rt(aa)`
1240
+ `,od=Rt(xa)`
1241
1241
  margin: 0 auto;
1242
- `,td=Rt(aa)`
1242
+ `,rd=Rt(xa)`
1243
1243
  margin-left: auto;
1244
- `,id=Rt(Ir)`
1244
+ `,ad=Rt(Ir)`
1245
1245
  min-width: 140px;
1246
1246
  font-size: 14px;
1247
- `,nd=({isOpen:e,leftButtons:t=[],centerButtons:i=[],rightButtons:n=[]})=>e?Ft(Zc,{children:[zt(Qc,{children:t.map((e,t)=>zt(id,{...e},`footer-left-button-${t}`))}),zt(ed,{children:i.map((e,t)=>zt(id,{...e},`footer-center-button-${t}`))}),zt(td,{children:n.map((e,t)=>zt(id,{...e},`footer-right-button-${t}`))})]}):null,od=Rt.div`
1247
+ `,sd=({isOpen:e,leftButtons:t=[],centerButtons:i=[],rightButtons:n=[]})=>e?bt(id,{children:[ft(nd,{children:t.map((e,t)=>ft(ad,{...e},`footer-left-button-${t}`))}),ft(od,{children:i.map((e,t)=>ft(ad,{...e},`footer-center-button-${t}`))}),ft(rd,{children:n.map((e,t)=>ft(ad,{...e},`footer-right-button-${t}`))})]}):null,ld=Rt.div`
1248
1248
  position: fixed;
1249
1249
  top: 0;
1250
1250
  bottom: 0;
@@ -1255,36 +1255,36 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1255
1255
  box-shadow: 0 2px 10px ${({theme:e})=>e.colors.primary+xr["010"]};
1256
1256
  overflow-y: auto;
1257
1257
  animation-name: ${({$position:e})=>br.in[e]};
1258
- `,rd=Rt.div`
1258
+ `,cd=Rt.div`
1259
1259
  display: flex;
1260
1260
  flex-direction: column;
1261
1261
  height: 100%;
1262
- `,ad=Rt.div`
1262
+ `,dd=Rt.div`
1263
1263
  flex-grow: 1;
1264
1264
  padding: 24px 32px;
1265
1265
  overflow-y: auto;
1266
- `,sd=({isOpen:e,onClose:t,closeOnEscape:i=!0,position:n="right",width:o="300px",children:r,header:a,footer:s})=>(Hr({key:"Escape",active:e&&i},()=>t()),Fr(e),e?Gt.createPortal(Ft(_t,{children:[zt(da,{hidden:!e,onClick:t}),zt(od,{"data-id":"drawer",$position:n,$width:o,children:Ft(rd,{children:[zt(Xc,{onClose:t,width:o,...a}),zt(ad,{children:r}),zt(nd,{...s})]})})]}),document.body):null),ld=({error:e})=>{const t=Mt(),i={container:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",color:t.text.error,fontFamily:t.font_family.primary},errorMessage:{padding:10,borderRadius:5,whiteSpace:"pre-wrap",background:t.colors.error},errorStack:{whiteSpace:"pre-wrap",fontSize:"12px"},errorStackWrapper:{textAlign:"left",marginTop:10},infoText:{marginTop:100,color:t.text.secondary,fontSize:"14px"}};return Ft("div",{style:i.container,children:[zt("h2",{children:"Something went wrong!"}),zt("pre",{style:i.errorMessage,children:e?.message||"Unknown Error"}),Ft("details",{style:i.errorStackWrapper,children:[zt("summary",{children:"Stack Trace"}),zt("pre",{style:i.errorStack,children:e?.stack||"Unknown Stack"})]}),zt("p",{style:i.infoText,children:"Try refreshing the page or contact support"}),zt(Ir,{variant:"secondary",onClick:()=>window.location.reload(),style:{fontSize:"1rem"},children:"Reload"})]})},cd=({children:e})=>zt(Yt,{FallbackComponent:({error:e,...t})=>zt($r,{children:zt(ld,{...t,error:e})}),children:e}),dd=Rt(aa)`
1266
+ `,pd=({isOpen:e,onClose:t,closeOnEscape:i=!0,position:n="right",width:o="300px",children:r,header:a,footer:s})=>(Hr({key:"Escape",active:e&&i},()=>t()),Fr(e),e?Gt.createPortal(bt(yt,{children:[ft(wa,{hidden:!e,onClick:t}),ft(ld,{"data-id":"drawer",$position:n,$width:o,children:bt(cd,{children:[ft(td,{onClose:t,width:o,...a}),ft(dd,{children:r}),ft(sd,{...s})]})})]}),document.body):null),ud=({error:e})=>{const t=Mt(),i={container:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",color:t.text.error,fontFamily:t.font_family.primary},errorMessage:{padding:10,borderRadius:5,whiteSpace:"pre-wrap",background:t.colors.error},errorStack:{whiteSpace:"pre-wrap",fontSize:"12px"},errorStackWrapper:{textAlign:"left",marginTop:10},infoText:{marginTop:100,color:t.text.secondary,fontSize:"14px"}};return bt("div",{style:i.container,children:[ft("h2",{children:"Something went wrong!"}),ft("pre",{style:i.errorMessage,children:e?.message||"Unknown Error"}),bt("details",{style:i.errorStackWrapper,children:[ft("summary",{children:"Stack Trace"}),ft("pre",{style:i.errorStack,children:e?.stack||"Unknown Stack"})]}),ft("p",{style:i.infoText,children:"Try refreshing the page or contact support"}),ft(Ir,{variant:"secondary",onClick:()=>window.location.reload(),style:{fontSize:"1rem"},children:"Reload"})]})},hd=({children:e})=>ft(Yt,{FallbackComponent:({error:e,...t})=>ft($r,{children:ft(ud,{...t,error:e})}),children:e}),md=Rt(xa)`
1267
1267
  position: relative;
1268
1268
  width: calc(100% - 24px);
1269
1269
  padding: 12px;
1270
1270
  background-color: ${({theme:e})=>e.colors.dark_grey};
1271
1271
  border-bottom: 1px solid ${({theme:e})=>e.colors.border+xr["050"]};
1272
- `,pd=Rt(aa)`
1272
+ `,gd=Rt(xa)`
1273
1273
  margin-right: auto;
1274
1274
  margin-left: 32px;
1275
1275
  gap: 12px;
1276
- `,ud=Rt(aa)`
1276
+ `,$d=Rt(xa)`
1277
1277
  margin-left: auto;
1278
1278
  margin-right: 32px;
1279
1279
  gap: 12px;
1280
- `,hd=Rt(aa)`
1280
+ `,xd=Rt(xa)`
1281
1281
  position: absolute;
1282
1282
  left: 50%;
1283
1283
  transform: translateX(-50%);
1284
1284
  gap: 12px;
1285
- `,md=({left:e=[],center:t=[],right:i=[]})=>Ft(dd,{children:[zt(pd,{children:e.map((e,t)=>e&&zt(ft,{children:e},t))}),zt(hd,{children:t.map((e,t)=>e&&zt(ft,{children:e},t))}),zt(ud,{children:i.map((e,t)=>e&&zt(ft,{children:e},t))})]}),gd=Rt(xo)`
1285
+ `,fd=({left:e=[],center:t=[],right:i=[]})=>bt(md,{children:[ft(gd,{children:e.map((e,t)=>e&&ft(wt,{children:e},t))}),ft(xd,{children:t.map((e,t)=>e&&ft(wt,{children:e},t))}),ft($d,{children:i.map((e,t)=>e&&ft(wt,{children:e},t))})]}),bd=Rt(xo)`
1286
1286
  color: ${({theme:e})=>e.text.grey};
1287
- `,$d=({icon:e,title:t,badge:i,badgeTooltip:n,loading:o})=>Ft(aa,{$gap:6,children:[e&&zt(e,{}),zt(gd,{size:14,children:t}),void 0!==i&&zt(Fa,{text:n,children:zt(Sr,{label:i})}),o&&zt(ys,{})]}),xd=Rt.div`
1287
+ `,yd=({icon:e,title:t,badge:i,badgeTooltip:n,loading:o})=>bt(xa,{$gap:6,children:[e&&ft(e,{}),ft(bd,{size:14,children:t}),void 0!==i&&ft(Ga,{text:n,children:ft(Er,{label:i})}),o&&ft(Ns,{})]}),wd=Rt.div`
1288
1288
  width: fit-content;
1289
1289
  height: fit-content;
1290
1290
  padding: 4px;
@@ -1296,7 +1296,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1296
1296
  flex-direction: ${({$orientation:e,$flip:t})=>("horizontal"===e?"row":"column")+(t?"-reverse":"")};
1297
1297
  align-items: center;
1298
1298
  justify-content: center;
1299
- `,fd=Rt.div`
1299
+ `,vd=Rt.div`
1300
1300
  width: 32px;
1301
1301
  height: 32px;
1302
1302
 
@@ -1309,63 +1309,63 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1309
1309
  justify-content: center;
1310
1310
 
1311
1311
  cursor: pointer;
1312
- `,bd=({orientation:e="vertical",flip:t,mainIcons:i,subIcons:n})=>Ft(xd,{$orientation:e,$flip:t,children:[i.map(({icon:e,selected:t,onClick:i,tooltip:n},o)=>zt(Fa,{text:n,children:zt(fd,{$selected:t,onClick:i,children:zt(e,{size:20})})},`main-nav-icon-${o}`)),!!i.length&&!!n.length&&zt(Sa,{orientation:"vertical"===e?"horizontal":"vertical",margin:"0",length:"20px"}),n.map(({icon:e,selected:t,onClick:i,tooltip:n},o)=>zt(Fa,{text:n,children:zt(fd,{$selected:t,onClick:i,children:zt(e,{size:20})})},`sub-nav-icon-${o}`))]}),yd=Rt.div`
1312
+ `,Cd=({orientation:e="vertical",flip:t,mainIcons:i,subIcons:n})=>bt(wd,{$orientation:e,$flip:t,children:[i.map(({icon:e,selected:t,onClick:i,tooltip:n},o)=>ft(Ga,{text:n,children:ft(vd,{$selected:t,onClick:i,children:ft(e,{size:20})})},`main-nav-icon-${o}`)),!!i.length&&!!n.length&&ft(Ba,{orientation:"vertical"===e?"horizontal":"vertical",margin:"0",length:"20px"}),n.map(({icon:e,selected:t,onClick:i,tooltip:n},o)=>ft(Ga,{text:n,children:ft(vd,{$selected:t,onClick:i,children:ft(e,{size:20})})},`sub-nav-icon-${o}`))]}),kd=Rt.div`
1313
1313
  display: flex;
1314
1314
  flex-direction: column;
1315
1315
  width: 100%;
1316
- `,wd=Rt.div`
1316
+ `,Sd=Rt.div`
1317
1317
  display: flex;
1318
1318
  flex-direction: column;
1319
1319
  gap: 8px;
1320
- `,vd=Rt.div`
1320
+ `,Ed=Rt.div`
1321
1321
  display: flex;
1322
1322
  align-items: center;
1323
1323
  gap: 16px;
1324
- `,Cd=Rt(Ba)`
1324
+ `,Ad=Rt(Ka)`
1325
1325
  cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
1326
1326
  opacity: ${({$disabled:e})=>e?.5:1};
1327
- `,kd=({initialValues:e=[],value:t,onChange:i,title:n,tooltip:o,required:r,errorMessage:a})=>{const[s,l]=yt(t||e);wt(()=>{s.length||l([""])},[]);const c=s.filter(e=>!!e.trim()),d=vt(JSON.stringify(c));wt(()=>{const e=JSON.stringify(c);d.current!==e&&(d.current=e,i&&i(c))},[c]);const p=(e,t)=>{l(i=>{const n=[...i];return n[t]=e,n})},u=s.length<=1,h=s.some(e=>""===e.trim()),m=u&&h;return Ft(yd,{children:[zt(Ol,{title:n,required:r,tooltip:o}),zt(wd,{children:s.map((e,t)=>{const i=t===s.length-1;return Ft(vd,{children:[zt(Ll,{value:e,onChange:e=>p(e.target.value,t),hasError:!!a,autoFocus:Pn(e)&&!u&&i}),t===s.length-1&&zt(Cd,{withBorder:!0,size:30,$disabled:h,onClick:h?void 0:()=>{l(e=>{const t=[...e];return t.push(""),t})},children:zt(et,{})}),zt(Cd,{size:30,$disabled:m,onClick:m?void 0:()=>(e=>{u?p("",e):l(t=>t.filter((t,i)=>i!==e))})(t),children:zt(at,{})})]},`input-list-${t}`)})}),!!a&&zt(yo,{children:a})]})},Ed=({col:e,colIdx:t,row:i,rowIdx:n,rowsLength:o,maxWidth:r,handleChange:a,errorMessage:s,limitFieldsPerRow:l})=>{const{keyName:c,title:d,tooltip:p,placeholder:u,required:h,type:m,componentType:g,options:$,renderCondition:x}=e,f=i[c];return x&&!x(i)?null:zt("td",{style:{maxWidth:r,padding:"4px 6px 4px 0"},children:(()=>{switch(g){case Ci.Dropdown:const e=$?.find(e=>e.id===f);return zt(Vl,{title:l?d:void 0,tooltip:l?p:void 0,placeholder:u,required:h,options:$||[],value:e,onSelect:e=>a(c,e.id,n),onDeselect:()=>a(c,"",n),hasError:!!s&&(!h||h&&Pn(f))});case"multi-dropdown":const i=Array.isArray(f)&&$?.filter(e=>f.includes(e.id))||[];return zt(Vl,{title:l?d:void 0,tooltip:l?p:void 0,placeholder:u,required:h,options:$||[],value:i,isMulti:!0,onSelect:e=>{const t=[...Array.isArray(f)?f:[],e.id];a(c,t,n)},onDeselect:e=>{const t=(Array.isArray(f)?f:[]).filter(t=>t!==e.id);a(c,t,n)},hasError:!!s&&(!h||h&&Pn(f))});default:const g=o>1&&n===o-1&&0===t&&Pn(f);return zt(Ll,{title:l?d:void 0,tooltip:l?p:void 0,placeholder:u,type:m,required:h,autoFocus:g,value:f,onChange:({target:{value:e}})=>a(c,e,n),style:{maxWidth:r,paddingLeft:10},hasError:!!s&&(!h||h&&Pn(f))})}})()},`input-table-${n}-${c}`)},Sd=Rt.div`
1327
+ `,Td=({initialValues:e=[],value:t,onChange:i,title:n,tooltip:o,required:r,errorMessage:a})=>{const[s,l]=Ct(t||e);kt(()=>{s.length||l([""])},[]);const c=s.filter(e=>!!e.trim()),d=St(JSON.stringify(c));kt(()=>{const e=JSON.stringify(c);d.current!==e&&(d.current=e,i&&i(c))},[c]);const p=(e,t)=>{l(i=>{const n=[...i];return n[t]=e,n})},u=s.length<=1,h=s.some(e=>""===e.trim()),m=u&&h;return bt(kd,{children:[ft(Rl,{title:n,required:r,tooltip:o}),ft(Sd,{children:s.map((e,t)=>{const i=t===s.length-1;return bt(Ed,{children:[ft(Wl,{value:e,onChange:e=>p(e.target.value,t),hasError:!!a,autoFocus:Pn(e)&&!u&&i}),t===s.length-1&&ft(Ad,{withBorder:!0,size:30,$disabled:h,onClick:h?void 0:()=>{l(e=>{const t=[...e];return t.push(""),t})},children:ft(et,{})}),ft(Ad,{size:30,$disabled:m,onClick:m?void 0:()=>(e=>{u?p("",e):l(t=>t.filter((t,i)=>i!==e))})(t),children:ft(at,{})})]},`input-list-${t}`)})}),!!a&&ft(yo,{children:a})]})},Dd=({col:e,colIdx:t,row:i,rowIdx:n,rowsLength:o,maxWidth:r,handleChange:a,errorMessage:s,limitFieldsPerRow:l})=>{const{keyName:c,title:d,tooltip:p,placeholder:u,required:h,type:m,componentType:g,options:$,renderCondition:x}=e,f=i[c];return x&&!x(i)?null:ft("td",{style:{maxWidth:r,padding:"4px 6px 4px 0"},children:(()=>{switch(g){case Ci.Dropdown:const e=$?.find(e=>e.id===f);return ft(Kl,{title:l?d:void 0,tooltip:l?p:void 0,placeholder:u,required:h,options:$||[],value:e,onSelect:e=>a(c,e.id,n),onDeselect:()=>a(c,"",n),hasError:!!s&&(!h||h&&Pn(f))});case"multi-dropdown":const i=Array.isArray(f)&&$?.filter(e=>f.includes(e.id))||[];return ft(Kl,{title:l?d:void 0,tooltip:l?p:void 0,placeholder:u,required:h,options:$||[],value:i,isMulti:!0,onSelect:e=>{const t=[...Array.isArray(f)?f:[],e.id];a(c,t,n)},onDeselect:e=>{const t=(Array.isArray(f)?f:[]).filter(t=>t!==e.id);a(c,t,n)},hasError:!!s&&(!h||h&&Pn(f))});default:const g=o>1&&n===o-1&&0===t&&Pn(f);return ft(Wl,{title:l?d:void 0,tooltip:l?p:void 0,placeholder:u,type:m,required:h,autoFocus:g,value:f,onChange:({target:{value:e}})=>a(c,e,n),style:{maxWidth:r,paddingLeft:10},hasError:!!s&&(!h||h&&Pn(f))})}})()},`input-table-${n}-${c}`)},Id=Rt.div`
1328
1328
  display: flex;
1329
1329
  flex-direction: column;
1330
1330
  width: 100%;
1331
- `,Ad=Rt.button`
1331
+ `,Nd=Rt.button`
1332
1332
  margin-top: ${({$marginTop:e})=>e};
1333
1333
  background: none;
1334
1334
  border: none;
1335
1335
  cursor: ${({disabled:e})=>e?"not-allowed":"pointer"};
1336
1336
  opacity: ${({disabled:e})=>e?.5:1};
1337
- `,Td=({columns:e,initialValues:t=[],value:i,onChange:n,errorMessage:o,limitFieldsPerRow:r,title:a=""})=>{const[s,l]=yt({}),[c,d]=yt(i||t),p=bt(()=>new Map(e.map(e=>[e.keyName,e])),[e]);wt(()=>{if(!c.length){const t={};e.forEach(({keyName:e})=>t[e]=""),l(t),d([t])}},[]);const u=c.filter(e=>{for(const[t,i]of Object.entries(e)){const n=p.get(t);if((!n?.renderCondition||n.renderCondition(e))&&n?.required&&Pn(i))return!1}return!0}),h=vt(JSON.stringify(u)),m=u.length!==c.length,g=`${Math.floor(640/((r||e.length)+.4))}px`;wt(()=>{const e=JSON.stringify(u);h.current!==e&&(h.current=e,n&&n(u))},[u]);const $=(e,t,i)=>{d(n=>{const o=ii(n);return o[i][e]=t,o})},x=bt(()=>{if(r){const t=[];for(let i=0;;i+=r){const n=e.slice(i,i+r);if(!n.length)break;t.push(n)}return t}return[e]},[r,e]);return Ft(Sd,{children:[zt(Ol,{title:a}),Ft("table",{style:{borderCollapse:"collapse"},children:[!r&&zt("thead",{children:Ft("tr",{children:[e.map(({title:e,tooltip:t,required:i})=>zt("th",{style:{maxWidth:g},children:zt(Ol,{title:e,required:i,tooltip:t})},`input-table-head-${e}`)),zt("th",{})]})}),zt("tbody",{children:c.map((t,i)=>Ft(ft,{children:[r&&i>0?zt("tr",{children:zt("td",{colSpan:x.length,children:zt(Sa,{})})}):null,x.map((n,a)=>Ft("tr",{children:[n.map((e,n)=>zt(Ed,{col:e,colIdx:n,row:t,rowIdx:i,rowsLength:c.length,maxWidth:g,limitFieldsPerRow:r,errorMessage:o,handleChange:$},`input-table-row-${i}-col-${n}`)),0===a&&zt("td",{children:zt(Ad,{$marginTop:r?"24px":"0",onClick:()=>{return t=i,void(c.length>1?d(e=>e.filter((e,i)=>i!==t)):e.forEach(({keyName:e,type:i})=>$(e,i===ki.Number?"0":"",t)));var t},children:zt(at,{})})})]},`input-table-matrix-${i}-${a}`))]},`input-table-row-${i}`))})]}),!!o&&zt(yo,{children:o}),zt(Fs,{onClick:()=>{d(e=>{const t=ii(e);return t.push(ii(s)),t})},disabled:m})]})},Dd=Rt.div`
1337
+ `,Od=({columns:e,initialValues:t=[],value:i,onChange:n,errorMessage:o,limitFieldsPerRow:r,title:a=""})=>{const[s,l]=Ct({}),[c,d]=Ct(i||t),p=vt(()=>new Map(e.map(e=>[e.keyName,e])),[e]);kt(()=>{if(!c.length){const t={};e.forEach(({keyName:e})=>t[e]=""),l(t),d([t])}},[]);const u=c.filter(e=>{for(const[t,i]of Object.entries(e)){const n=p.get(t);if((!n?.renderCondition||n.renderCondition(e))&&n?.required&&Pn(i))return!1}return!0}),h=St(JSON.stringify(u)),m=u.length!==c.length,g=`${Math.floor(640/((r||e.length)+.4))}px`;kt(()=>{const e=JSON.stringify(u);h.current!==e&&(h.current=e,n&&n(u))},[u]);const $=(e,t,i)=>{d(n=>{const o=ii(n);return o[i][e]=t,o})},x=vt(()=>{if(r){const t=[];for(let i=0;;i+=r){const n=e.slice(i,i+r);if(!n.length)break;t.push(n)}return t}return[e]},[r,e]);return bt(Id,{children:[ft(Rl,{title:a}),bt("table",{style:{borderCollapse:"collapse"},children:[!r&&ft("thead",{children:bt("tr",{children:[e.map(({title:e,tooltip:t,required:i})=>ft("th",{style:{maxWidth:g},children:ft(Rl,{title:e,required:i,tooltip:t})},`input-table-head-${e}`)),ft("th",{})]})}),ft("tbody",{children:c.map((t,i)=>bt(wt,{children:[r&&i>0?ft("tr",{children:ft("td",{colSpan:x.length,children:ft(Ba,{})})}):null,x.map((n,a)=>bt("tr",{children:[n.map((e,n)=>ft(Dd,{col:e,colIdx:n,row:t,rowIdx:i,rowsLength:c.length,maxWidth:g,limitFieldsPerRow:r,errorMessage:o,handleChange:$},`input-table-row-${i}-col-${n}`)),0===a&&ft("td",{children:ft(Nd,{$marginTop:r?"24px":"0",onClick:()=>{return t=i,void(c.length>1?d(e=>e.filter((e,i)=>i!==t)):e.forEach(({keyName:e,type:i})=>$(e,i===ki.Number?"0":"",t)));var t},children:ft(at,{})})})]},`input-table-matrix-${i}-${a}`))]},`input-table-row-${i}`))})]}),!!o&&ft(yo,{children:o}),ft(Gs,{onClick:()=>{d(e=>{const t=ii(e);return t.push(ii(s)),t})},disabled:m})]})},zd=Rt.div`
1338
1338
  display: flex;
1339
1339
  flex-direction: column;
1340
1340
  width: 100%;
1341
- `,Id=Rt.div`
1341
+ `,Fd=Rt.div`
1342
1342
  display: flex;
1343
1343
  flex-direction: column;
1344
1344
  gap: 8px;
1345
- `,Nd=Rt.div`
1345
+ `,_d=Rt.div`
1346
1346
  display: flex;
1347
1347
  align-items: center;
1348
1348
  gap: 8px;
1349
- `,Od=Rt.div`
1349
+ `,Rd=Rt.div`
1350
1350
  width: 100%;
1351
1351
  max-width: ${({$maxWidth:e})=>e?`${e}px`:"unset"};
1352
- `,zd=Rt(Ba)`
1352
+ `,Bd=Rt(Ka)`
1353
1353
  cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
1354
1354
  opacity: ${({$disabled:e})=>e?.5:1};
1355
- `,Fd={key:"",value:""},_d=({initialKeyValuePairs:e=[],value:t,onChange:i,title:n,tooltip:o,disabled:r,required:a,errorMessage:s,keyPlaceholder:l="Key",valuePlaceholder:c="Value",inputMaxWidth:d=300})=>{const[p,u]=yt(t||e);wt(()=>{p.length||u([{...Fd}])},[]);const h=p.filter(({key:e,value:t})=>!Pn(e.trim())&&!Pn(t.trim())),m=vt(JSON.stringify(h));wt(()=>{const e=JSON.stringify(h);m.current!==e&&(m.current=e,i&&i(h))},[h]);const g=(e,t,i)=>{u(n=>{const o=[...n];return o[i][e]=t,o})},$=p.length<=1,x=r||p.some(({key:e,value:t})=>""===e.trim()||""===t.trim()),f=r||$&&x;return Ft(Dd,{children:[zt(Ol,{title:n,required:a,tooltip:o}),zt(Id,{children:p.map(({key:e,value:t},i)=>Ft(Nd,{children:[zt(Od,{$maxWidth:d,children:zt(Ll,{placeholder:l,disabled:r,value:e,onChange:e=>g("key",e.target.value,i),hasError:!!s&&(!a||a&&!e),autoFocus:Pn(t)&&!$&&i===p.length-1})}),zt(Od,{$maxWidth:i===p.length-1?d-38:d,children:zt(Ll,{placeholder:c,disabled:r,value:t,onChange:e=>g("value",e.target.value,i),hasError:!!s&&(!a||a&&Pn(t)),autoFocus:!1})}),i===p.length-1&&zt(zd,{withBorder:!0,size:30,$disabled:x,onClick:x?void 0:()=>{u(e=>{const t=[...e];return t.push({...Fd}),t})},children:zt(et,{})}),zt(zd,{size:30,$disabled:f,onClick:f?void 0:()=>(e=>{$?(g("key","",e),g("value","",e)):u(t=>t.filter((t,i)=>i!==e))})(i),children:zt(at,{})})]},`key-value-input-list-${i}`))}),!!s&&zt(yo,{children:s})]})},Rd=Pt`
1355
+ `,Md={key:"",value:""},Ld=({initialKeyValuePairs:e=[],value:t,onChange:i,title:n,tooltip:o,disabled:r,required:a,errorMessage:s,keyPlaceholder:l="Key",valuePlaceholder:c="Value",inputMaxWidth:d=300})=>{const[p,u]=Ct(t||e);kt(()=>{p.length||u([{...Md}])},[]);const h=p.filter(({key:e,value:t})=>!Pn(e.trim())&&!Pn(t.trim())),m=St(JSON.stringify(h));kt(()=>{const e=JSON.stringify(h);m.current!==e&&(m.current=e,i&&i(h))},[h]);const g=(e,t,i)=>{u(n=>{const o=[...n];return o[i][e]=t,o})},$=p.length<=1,x=r||p.some(({key:e,value:t})=>""===e.trim()||""===t.trim()),f=r||$&&x;return bt(zd,{children:[ft(Rl,{title:n,required:a,tooltip:o}),ft(Fd,{children:p.map(({key:e,value:t},i)=>bt(_d,{children:[ft(Rd,{$maxWidth:d,children:ft(Wl,{placeholder:l,disabled:r,value:e,onChange:e=>g("key",e.target.value,i),hasError:!!s&&(!a||a&&!e),autoFocus:Pn(t)&&!$&&i===p.length-1})}),ft(Rd,{$maxWidth:i===p.length-1?d-38:d,children:ft(Wl,{placeholder:c,disabled:r,value:t,onChange:e=>g("value",e.target.value,i),hasError:!!s&&(!a||a&&Pn(t)),autoFocus:!1})}),i===p.length-1&&ft(Bd,{withBorder:!0,size:30,$disabled:x,onClick:x?void 0:()=>{u(e=>{const t=[...e];return t.push({...Md}),t})},children:ft(et,{})}),ft(Bd,{size:30,$disabled:f,onClick:f?void 0:()=>(e=>{$?(g("key","",e),g("value","",e)):u(t=>t.filter((t,i)=>i!==e))})(i),children:ft(at,{})})]},`key-value-input-list-${i}`))}),!!s&&ft(yo,{children:s})]})},Pd=Pt`
1356
1356
  0% {
1357
1357
  background-position: 0% 50%;
1358
1358
  }
1359
1359
  100% {
1360
1360
  background-position: 100% 50%;
1361
1361
  }
1362
- `,Bd=Rt(xo)`
1362
+ `,jd=Rt(xo)`
1363
1363
  background: ${({$textColor:e,$stripColor:t})=>`linear-gradient(45deg, ${e} 0%, ${e} 40%, ${t} 50%, ${e} 60%, ${e} 100%)`};
1364
1364
  background-size: 250% 100%; /* Expand background to allow movement */
1365
1365
  background-clip: text;
1366
1366
  color: transparent;
1367
- animation: ${Rd} 1s reverse linear infinite;
1368
- `,Md=({children:e="Loading...",textColor:t,stripColor:i,...n})=>{const o=Mt(),r=t||o.v2.colors.white[500],a=i||o.v2.colors.black[500];return zt(Bd,{$textColor:r,$stripColor:a,...n,children:e})},Ld=Rt.div`
1367
+ animation: ${Pd} 1s reverse linear infinite;
1368
+ `,Ud=({children:e="Loading...",textColor:t,stripColor:i,...n})=>{const o=Mt(),r=t||o.v2.colors.white[500],a=i||o.v2.colors.black[500];return ft(jd,{$textColor:r,$stripColor:a,...n,children:e})},Wd=Rt.div`
1369
1369
  display: flex;
1370
1370
  flex-direction: ${({$isVertical:e})=>e?"column":"row"};
1371
1371
  gap: ${({$isVertical:e})=>e?"12px":"24px"};
@@ -1374,17 +1374,17 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1374
1374
  border-radius: 32px;
1375
1375
  padding: 8px;
1376
1376
  `}
1377
- `,Pd=(e,t)=>!t?.length||!!t?.find(t=>t===e),jd=({isVertical:e,title:t="Monitors",required:i,errorMessage:n,allowedSignals:o,selectedSignals:r,setSelectedSignals:a})=>{const[s,l]=yt(1===r.length),c=vt(JSON.stringify(r));return wt(()=>{const e=r;e.length||Wo.forEach(({id:t})=>{Pd(t,o)&&e.push(t)});const t=JSON.stringify(e);return c.current!==t&&(c.current=t,a(e),l(1===e.length)),()=>{c.current=""}},[o]),Ft("div",{children:[t&&zt(Ol,{title:t,required:i}),zt(Ld,{$isVertical:e,$hasError:!!n,children:Wo.map(e=>{const t=Pd(e.id,o),i=((e,t)=>!!t?.find(t=>t===e))(e.id,r);return t?zt(os,{title:e.value,disabled:!t||s&&i,value:i,onChange:t=>((e,t)=>{const i=e,n=t?[...r,i]:r.filter(e=>e!==i);a(n),l(1===n.length)})(e.id,t)},e.id):null})}),!!n&&zt(yo,{children:n})]})},Ud=Rt.div`
1377
+ `,Vd=(e,t)=>!t?.length||!!t?.find(t=>t===e),Gd=({isVertical:e,title:t="Monitors",required:i,errorMessage:n,allowedSignals:o,selectedSignals:r,setSelectedSignals:a})=>{const[s,l]=Ct(1===r.length),c=St(JSON.stringify(r));return kt(()=>{const e=r;e.length||Wo.forEach(({id:t})=>{Vd(t,o)&&e.push(t)});const t=JSON.stringify(e);return c.current!==t&&(c.current=t,a(e),l(1===e.length)),()=>{c.current=""}},[o]),bt("div",{children:[t&&ft(Rl,{title:t,required:i}),ft(Wd,{$isVertical:e,$hasError:!!n,children:Wo.map(e=>{const t=Vd(e.id,o),i=((e,t)=>!!t?.find(t=>t===e))(e.id,r);return t?ft(gs,{title:e.value,disabled:!t||s&&i,value:i,onChange:t=>((e,t)=>{const i=e,n=t?[...r,i]:r.filter(e=>e!==i);a(n),l(1===n.length)})(e.id,t)},e.id):null})}),!!n&&ft(yo,{children:n})]})},qd=Rt.div`
1378
1378
  display: flex;
1379
1379
  gap: 8px;
1380
1380
  align-items: center;
1381
- `,Wd=Rt(Ir)`
1381
+ `,Hd=Rt(Ir)`
1382
1382
  display: flex;
1383
1383
  align-items: center;
1384
1384
  justify-content: center;
1385
1385
  gap: 8px;
1386
1386
  min-width: 90px;
1387
- `,Vd=({buttons:e})=>{const t=Mt(),i=({button:t,index:i})=>e.length>1&&0===i&&(t.icon||t.iconSrc),n=({button:e,rotate:i})=>e.icon?zt(e.icon,{size:14,rotate:i,fill:t.text[e.variant||"secondary"]}):e.iconSrc?zt("img",{src:e.iconSrc,alt:e.label,width:8,height:12}):null;return zt(Ud,{children:e.map((e,t)=>zt(Fa,{text:e.tooltip||"",children:Ft(Wd,{variant:e.variant||"secondary",onClick:e.onClick,disabled:e.disabled,children:[i({button:e,index:t})&&n({button:e,rotate:0}),e.label,!i({button:e,index:t})&&n({button:e,rotate:180})]},t)},t))})},Gd=Rt.div`
1387
+ `,Kd=({buttons:e})=>{const t=Mt(),i=({button:t,index:i})=>e.length>1&&0===i&&(t.icon||t.iconSrc),n=({button:e,rotate:i})=>e.icon?ft(e.icon,{size:14,rotate:i,fill:t.text[e.variant||"secondary"]}):e.iconSrc?ft("img",{src:e.iconSrc,alt:e.label,width:8,height:12}):null;return ft(qd,{children:e.map((e,t)=>ft(Ga,{text:e.tooltip||"",children:bt(Hd,{variant:e.variant||"secondary",onClick:e.onClick,disabled:e.disabled,children:[i({button:e,index:t})&&n({button:e,rotate:0}),e.label,!i({button:e,index:t})&&n({button:e,rotate:180})]},t)},t))})},Yd=Rt.div`
1388
1388
  width: 100%;
1389
1389
  height: 100%;
1390
1390
 
@@ -1392,26 +1392,26 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1392
1392
  animation: none !important;
1393
1393
  transition: none !important;
1394
1394
  }
1395
- `,qd=({width:e="100%",height:t="100%",gap:i=0,elements:n,noAnimation:o=!1,onTopIndexChange:r})=>{const a=vt(null),s=bt(()=>i?n.map((e,t)=>zt("div",{style:{paddingBottom:i},children:e},`scroll-y-item-${t}`)):n,[n,i]),l=Ct(e=>{if(!r||!a.current)return;const t=a.current.findItemIndex(e);r(t)},[r]),c=zt(Xt,{ref:a,style:{width:e,height:t},onScroll:r?l:void 0,children:s});return o?zt(Gd,{children:c}):c},Hd=Rt.div`
1395
+ `,Jd=({width:e="100%",height:t="100%",gap:i=0,elements:n,noAnimation:o=!1,onTopIndexChange:r})=>{const a=St(null),s=vt(()=>i?n.map((e,t)=>ft("div",{style:{paddingBottom:i},children:e},`scroll-y-item-${t}`)):n,[n,i]),l=Et(e=>{if(!r||!a.current)return;const t=a.current.findItemIndex(e);r(t)},[r]),c=ft(Xt,{ref:a,style:{width:e,height:t},onScroll:r?l:void 0,children:s});return o?ft(Yd,{children:c}):c},Xd=Rt.div`
1396
1396
  display: flex;
1397
1397
  justify-content: space-between;
1398
1398
  align-items: center;
1399
1399
  gap: 16px;
1400
- `,Kd=Rt.div`
1400
+ `,Zd=Rt.div`
1401
1401
  display: flex;
1402
1402
  flex-direction: column;
1403
1403
  gap: 4px;
1404
- `,Yd=Rt.div`
1404
+ `,Qd=Rt.div`
1405
1405
  display: flex;
1406
1406
  align-items: center;
1407
1407
  gap: 8px;
1408
- `,Jd=Rt(xo)``,Xd=Rt(xo)``,Zd=({title:e,description:t,badgeLabel:i,icon:n,actionButton:o,size:r="medium"})=>{const a="small"===r?16:"medium"===r?20:24,s="small"===r?12:"medium"===r?14:16;return Ft(Hd,{children:[Ft(Kd,{children:[Ft(Yd,{children:[n&&zt(n,{size:a}),zt(Jd,{weight:300,size:a,children:e}),void 0!==i&&zt(Sr,{label:i,filled:!!i})]}),zt(Xd,{weight:200,opacity:.8,size:s,children:t})]}),o&&zt("div",{children:o})]})},Qd=Rt.div`
1408
+ `,ep=Rt(xo)``,tp=Rt(xo)``,ip=({title:e,description:t,badgeLabel:i,icon:n,actionButton:o,size:r="medium"})=>{const a="small"===r?16:"medium"===r?20:24,s="small"===r?12:"medium"===r?14:16;return bt(Xd,{children:[bt(Zd,{children:[bt(Qd,{children:[n&&ft(n,{size:a}),ft(ep,{weight:300,size:a,children:e}),void 0!==i&&ft(Er,{label:i,filled:!!i})]}),ft(tp,{weight:200,opacity:.8,size:s,children:t})]}),o&&ft("div",{children:o})]})},np=Rt.div`
1409
1409
  position: relative;
1410
1410
  gap: 0;
1411
1411
  z-index: 0;
1412
1412
  display: grid;
1413
1413
  grid-template-columns: repeat(${({$count:e})=>e}, 1fr);
1414
- `,ep=Rt.button`
1414
+ `,op=Rt.button`
1415
1415
  flex: 1;
1416
1416
  display: flex;
1417
1417
  align-items: center;
@@ -1425,7 +1425,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1425
1425
  &:hover {
1426
1426
  border: 1px solid ${({theme:e})=>e.colors.secondary};
1427
1427
  }
1428
- `,tp=Rt.div`
1428
+ `,rp=Rt.div`
1429
1429
  position: absolute;
1430
1430
  top: ${({$y:e})=>e}px;
1431
1431
  left: ${({$x:e})=>e}px;
@@ -1435,7 +1435,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1435
1435
  background-color: ${({theme:e,$bgColor:t})=>t||e.colors.dropdown_bg_2};
1436
1436
  border-radius: ${({$isFirstItem:e,$isLastItem:t})=>e?"32px 0px 0px 32px":t?"0px 32px 32px 0px":"0"};
1437
1437
  transition: all 0.3s;
1438
- `,ip=({options:e=[],selected:t,setSelected:i})=>{const n=e.findIndex(e=>e.value===t),[o,r]=yt(e[n]?.selectedBgColor||""),[a,s]=yt({width:0,height:0}),[l,c]=yt({x:0,y:0}),d=vt(null);return wt(()=>{d.current&&(s({width:d.current.offsetWidth,height:d.current.offsetHeight}),c({x:d.current.offsetWidth*n,y:0}))},[t,n]),Ft(Qd,{$count:e.length,children:[e.map(({icon:n,label:o,value:a,selectedBgColor:s,selectedTextColor:l},c)=>{const p=t===a;return Ft(ep,{ref:p?d:void 0,$isFirstItem:0===c,$isLastItem:c===e.length-1,onClick:()=>{i(a),r(s||"")},children:[n&&zt(n,{}),o&&zt(xo,{size:12,family:"secondary",decoration:"underline",color:p?l:void 0,children:o})]},`segment-${o||c}-${a}`)}),zt(tp,{$bgColor:o,$width:a.width,$height:a.height,$x:l.x,$y:l.y,$isFirstItem:0===n,$isLastItem:n===e.length-1})]})},np=Rt(Ir)`
1438
+ `,ap=({options:e=[],selected:t,setSelected:i})=>{const n=e.findIndex(e=>e.value===t),[o,r]=Ct(e[n]?.selectedBgColor||""),[a,s]=Ct({width:0,height:0}),[l,c]=Ct({x:0,y:0}),d=St(null);return kt(()=>{d.current&&(s({width:d.current.offsetWidth,height:d.current.offsetHeight}),c({x:d.current.offsetWidth*n,y:0}))},[t,n]),bt(np,{$count:e.length,children:[e.map(({icon:n,label:o,value:a,selectedBgColor:s,selectedTextColor:l},c)=>{const p=t===a;return bt(op,{ref:p?d:void 0,$isFirstItem:0===c,$isLastItem:c===e.length-1,onClick:()=>{i(a),r(s||"")},children:[n&&ft(n,{}),o&&ft(xo,{size:12,family:"secondary",decoration:"underline",color:p?l:void 0,children:o})]},`segment-${o||c}-${a}`)}),ft(rp,{$bgColor:o,$width:a.width,$height:a.height,$x:l.x,$y:l.y,$isFirstItem:0===n,$isLastItem:n===e.length-1})]})},sp=Rt(Ir)`
1439
1439
  gap: 8px;
1440
1440
  text-transform: none;
1441
1441
  text-decoration: none;
@@ -1449,71 +1449,71 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1449
1449
  &.selected {
1450
1450
  background-color: ${({theme:e})=>e.colors.majestic_blue+xr["030"]};
1451
1451
  }
1452
- `,op=Rt(xo)`
1452
+ `,lp=Rt(xo)`
1453
1453
  white-space: nowrap;
1454
1454
  overflow: hidden;
1455
1455
  text-overflow: ellipsis;
1456
1456
  font-size: 14px;
1457
- `,rp=({label:e,onClick:t,icon:i,iconSrc:n,badgeLabel:o,badgeFilled:r,isSelected:a,withBorder:s,color:l,hoverColor:c,style:d})=>{const p=Mt();return Ft(np,{onClick:t,className:a?"selected":"not-selected",$withBorder:s,$color:l,$hoverColor:c,style:d,children:[i&&zt("div",{children:zt(i,{fill:p.text.info})}),n&&zt("div",{children:zt("img",{src:n,alt:"",width:16,height:16})}),zt(op,{children:e}),a&&zt("div",{children:zt(He,{fill:p.colors.majestic_blue_soft})}),void 0!==o&&zt(Sr,{label:o,filled:r||a})]})},ap=Rt.div`
1457
+ `,cp=({label:e,onClick:t,icon:i,iconSrc:n,badgeLabel:o,badgeFilled:r,isSelected:a,withBorder:s,color:l,hoverColor:c,style:d})=>{const p=Mt();return bt(sp,{onClick:t,className:a?"selected":"not-selected",$withBorder:s,$color:l,$hoverColor:c,style:d,children:[i&&ft("div",{children:ft(i,{fill:p.text.info})}),n&&ft("div",{children:ft("img",{src:n,alt:"",width:16,height:16})}),ft(lp,{children:e}),a&&ft("div",{children:ft(He,{fill:p.colors.majestic_blue_soft})}),void 0!==o&&ft(Er,{label:o,filled:r||a})]})},dp=Rt.div`
1458
1458
  display: flex;
1459
1459
  flex-direction: column;
1460
1460
  gap: 16px;
1461
1461
  ${({$maxWidth:e})=>e&&`max-width: ${e};`}
1462
- `,sp=Rt.div`
1462
+ `,pp=Rt.div`
1463
1463
  display: flex;
1464
1464
  align-items: center;
1465
1465
  gap: 16px;
1466
- `,lp=Rt.div`
1466
+ `,up=Rt.div`
1467
1467
  width: 50px;
1468
1468
  height: 50px;
1469
1469
  border-radius: 8px;
1470
1470
  background: ${({theme:e})=>`linear-gradient(90deg, ${e.colors.dropdown_bg_2} 25%, ${e.colors.dropdown_bg_2} 50%, ${e.colors.border} 75%)`};
1471
1471
  background-size: 200% 100%;
1472
1472
  animation: ${vr} 10s infinite linear;
1473
- `,cp=Rt(sa)`
1473
+ `,hp=Rt(fa)`
1474
1474
  flex: 1;
1475
1475
  gap: 12px;
1476
- `,dp=Rt.div`
1476
+ `,mp=Rt.div`
1477
1477
  width: ${({$width:e})=>e};
1478
1478
  height: 16px;
1479
1479
  background: ${({theme:e})=>`linear-gradient(90deg, ${e.colors.dropdown_bg_2} 25%, ${e.colors.dropdown_bg_2} 50%, ${e.colors.border} 75%)`};
1480
1480
  background-size: 200% 100%;
1481
1481
  animation: ${vr} 1.5s infinite linear;
1482
1482
  border-radius: 4px;
1483
- `,pp=({size:e=5,maxWidth:t})=>zt(ap,{$maxWidth:t,children:[...Array(e)].map((e,t)=>Ft(sp,{children:[zt(lp,{}),Ft(cp,{children:[zt(dp,{$width:"80%"}),zt(dp,{$width:"100%"})]})]},t))});var up;!function(e){e.Active="active",e.Disabled="disabled",e.Finished="finish"}(up||(up={}));const hp=Rt.div`
1483
+ `,gp=({size:e=5,maxWidth:t})=>ft(dp,{$maxWidth:t,children:[...Array(e)].map((e,t)=>bt(pp,{children:[ft(up,{}),bt(hp,{children:[ft(mp,{$width:"80%"}),ft(mp,{$width:"100%"})]})]},t))});var $p;!function(e){e.Active="active",e.Disabled="disabled",e.Finished="finish"}($p||($p={}));const xp=Rt.div`
1484
1484
  display: flex;
1485
1485
  flex-direction: column;
1486
1486
  gap: 32px;
1487
- `,mp=Rt.div`
1487
+ `,fp=Rt.div`
1488
1488
  display: flex;
1489
1489
  gap: 16px;
1490
1490
  padding: 8px;
1491
- opacity: ${({$state:e})=>e===up.Active?1:e===up.Disabled?.5:.8};
1491
+ opacity: ${({$state:e})=>e===$p.Active?1:e===$p.Disabled?.5:.8};
1492
1492
  transition: all 0.3s;
1493
- `,gp=Rt(aa)`
1493
+ `,bp=Rt(xa)`
1494
1494
  justify-content: center;
1495
1495
  width: 24px;
1496
1496
  height: 24px;
1497
1497
  border-radius: 32px;
1498
- border: ${({theme:e,$state:t})=>t===up.Disabled?`1px dashed ${e.text.dark_grey}`:`1px solid ${e.colors.secondary}`};
1499
- opacity: ${({$state:e})=>e===up.Finished?.8:1};
1500
- `,$p=Rt(sa)`
1498
+ border: ${({theme:e,$state:t})=>t===$p.Disabled?`1px dashed ${e.text.dark_grey}`:`1px solid ${e.colors.secondary}`};
1499
+ opacity: ${({$state:e})=>e===$p.Finished?.8:1};
1500
+ `,yp=Rt(fa)`
1501
1501
  justify-content: center;
1502
1502
  gap: 8px;
1503
- `,xp=Rt(xo)``,fp=Rt(xo)``,bp=({data:e,currentStep:t=0})=>{const[i,n]=yt([]);return wt(()=>{n(e.map((e,i)=>i<t-1?{...e,state:up.Finished,subtitle:e.subtitle||Ei.Success}:i===t-1?{...e,state:up.Active,subtitle:""}:{...e,state:up.Disabled,subtitle:""}))},[t,e]),zt(hp,{children:i.map((e,t)=>Ft(mp,{$state:e.state,children:[zt(gp,{$state:e.state,children:[up.Active,up.Disabled].includes(e.state)?zt(xo,{size:12,children:e.stepNumber}):e.state===up.Finished?zt(He,{size:20}):null}),Ft($p,{children:[zt(xp,{family:"secondary",children:e.title}),e.subtitle&&zt(fp,{size:10,weight:300,children:e.subtitle})]})]},t))})},yp=Rt(aa)`
1503
+ `,wp=Rt(xo)``,vp=Rt(xo)``,Cp=({data:e,currentStep:t=0})=>{const[i,n]=Ct([]);return kt(()=>{n(e.map((e,i)=>i<t-1?{...e,state:$p.Finished,subtitle:e.subtitle||Si.Success}:i===t-1?{...e,state:$p.Active,subtitle:""}:{...e,state:$p.Disabled,subtitle:""}))},[t,e]),ft(xp,{children:i.map((e,t)=>bt(fp,{$state:e.state,children:[ft(bp,{$state:e.state,children:[$p.Active,$p.Disabled].includes(e.state)?ft(xo,{size:12,children:e.stepNumber}):e.state===$p.Finished?ft(He,{size:20}):null}),bt(yp,{children:[ft(wp,{family:"secondary",children:e.title}),e.subtitle&&ft(vp,{size:10,weight:300,children:e.subtitle})]})]},t))})},kp=Rt(xa)`
1504
1504
  width: fit-content;
1505
1505
  gap: 6px;
1506
1506
  padding: 6px 12px;
1507
1507
  border-radius: 360px;
1508
1508
  background-color: ${({$type:e,theme:t})=>t.colors[e]};
1509
- `,wp=Rt(xo)`
1509
+ `,Sp=Rt(xo)`
1510
1510
  color: ${({$type:e,theme:t})=>t.text[e]};
1511
- `,vp=({type:e=Ei.Info,icon:t,title:i,size:n,family:o,children:r,...a})=>Ft(yp,{$type:e,children:[t&&zt(t,{}),zt(wp,{$type:e,size:n||12,family:o||"secondary",...a,children:r||i})]}),Cp=Rt.div`
1511
+ `,Ep=({type:e=Si.Info,icon:t,title:i,size:n,family:o,children:r,...a})=>bt(kp,{$type:e,children:[t&&ft(t,{}),ft(Sp,{$type:e,size:n||12,family:o||"secondary",...a,children:r||i})]}),Ap=Rt.div`
1512
1512
  display: flex;
1513
1513
  flex-direction: column;
1514
1514
  position: relative;
1515
1515
  width: 100%;
1516
- `,kp=Rt.div`
1516
+ `,Tp=Rt.div`
1517
1517
  width: 100%;
1518
1518
  display: flex;
1519
1519
  align-items: center;
@@ -1541,7 +1541,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1541
1541
  &:focus-within {
1542
1542
  border-color: ${({theme:e})=>e.colors.secondary};
1543
1543
  }
1544
- `,Ep=Rt.textarea`
1544
+ `,Dp=Rt.textarea`
1545
1545
  flex: 1;
1546
1546
  border: none;
1547
1547
  outline: none;
@@ -1565,13 +1565,13 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1565
1565
  background-color: ${({theme:e})=>e.colors.border};
1566
1566
  cursor: not-allowed;
1567
1567
  }
1568
- `,Sp=({errorMessage:e,title:t,tooltip:i,required:n,onChange:o,name:r,...a})=>{const s=vt(null),l=e=>{s.current&&(s.current.style.height="auto",e&&(s.current.style.height=`${s.current.scrollHeight}px`))};return Ft(Cp,{children:[zt(Ol,{title:t,required:n,tooltip:i}),zt(kp,{$disabled:a.disabled,$hasError:!!e,$isActive:!!a.autoFocus,children:zt(Ep,{ref:s,"data-id":r,name:r,onFocus:()=>l(!0),onBlur:()=>l(!1),onChange:e=>{e.stopPropagation(),l(!0),o?.(e)},onKeyDown:e=>{e.stopPropagation()},...a})}),!!e&&zt(yo,{children:e})]})},Ap=Rt.div`
1568
+ `,Ip=({errorMessage:e,title:t,tooltip:i,required:n,onChange:o,name:r,...a})=>{const s=St(null),l=e=>{s.current&&(s.current.style.height="auto",e&&(s.current.style.height=`${s.current.scrollHeight}px`))};return bt(Ap,{children:[ft(Rl,{title:t,required:n,tooltip:i}),ft(Tp,{$disabled:a.disabled,$hasError:!!e,$isActive:!!a.autoFocus,children:ft(Dp,{ref:s,"data-id":r,name:r,onFocus:()=>l(!0),onBlur:()=>l(!1),onChange:e=>{e.stopPropagation(),l(!0),o?.(e)},onKeyDown:e=>{e.stopPropagation()},...a})}),!!e&&ft(yo,{children:e})]})},Np=Rt.div`
1569
1569
  display: flex;
1570
1570
  align-items: center;
1571
1571
  gap: 12px;
1572
1572
  cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
1573
1573
  opacity: ${({$disabled:e})=>e?.6:1};
1574
- `,Tp=Rt.div`
1574
+ `,Op=Rt.div`
1575
1575
  width: 24px;
1576
1576
  height: 12px;
1577
1577
  border: 1px ${({$isActive:e,theme:t})=>e?`solid ${t.colors.majestic_blue}`:`dashed ${t.text.grey}`};
@@ -1593,11 +1593,11 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1593
1593
  transform: ${({$isActive:e})=>e?"translateX(12px)":"translateX(0)"};
1594
1594
  transition: background-color 0.3s, transform 0.3s;
1595
1595
  }
1596
- `,Dp=({title:e,tooltip:t,initialValue:i=!1,onChange:n,disabled:o,allowPropagation:r=!1,flipHorizontally:a})=>{const[s,l]=yt(i);return wt(()=>l(i),[i]),Ft(Ap,{$disabled:o,onClick:e=>{o||(r||e.stopPropagation(),n?n(!s):l(e=>!e))},children:[!a&&zt(Tp,{$disabled:o,$isActive:s}),(e||t)&&zt(Fa,{text:t,withIcon:!0,children:e&&zt(xo,{size:14,children:e})}),a&&zt(Tp,{$disabled:o,$isActive:s})]})};var Ip={v:"5.12.1",fr:60,ip:0,op:80,w:220,h:620,nm:"Odigos - Trace Loader",ddd:0,assets:[{id:"comp_0",nm:"moving lines-5",fr:60,layers:[{ddd:0,ind:1,ty:4,nm:"moving lines-5",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[6.097,.571,0],ix:2,l:2},a:{a:0,k:[-.046,-149.04,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-.055,-173.88],[.095,546.629]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.976470588235,.976470588235,.976470588235,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:6,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[85.714,85.714],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.757],y:[.459]},o:{x:[.441],y:[0]},t:2.4,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:18.172,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:36.174,s:[85.889]},{t:51,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.757],y:[.582]},o:{x:[.441],y:[0]},t:0,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:12.174,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:30.174,s:[85.889]},{t:45,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:51,st:-26,ct:1,bm:0}]},{id:"comp_1",nm:"moving lines-4",fr:60,layers:[{ddd:0,ind:1,ty:4,nm:"moving lines-4",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[5.475,.571,0],ix:2,l:2},a:{a:0,k:[.144,-156.04,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[.167,-182.047],[.314,547.797]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.976470588235,.976470588235,.976470588235,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:6,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[85.714,85.714],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.757],y:[.459]},o:{x:[.441],y:[0]},t:17.9,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:38.055,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:61.053,s:[85.889]},{t:80,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.757],y:[.582]},o:{x:[.441],y:[0]},t:0,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:15.553,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:38.555,s:[85.889]},{t:57.5,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:80,st:-26,ct:1,bm:0}]},{id:"comp_2",nm:"moving lines-3",fr:60,layers:[{ddd:0,ind:1,ty:4,nm:"moving lines-3",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[5.841,.571,0],ix:2,l:2},a:{a:0,k:[.324,-150.04,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[.382,-175.047],[-.051,538.464]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.976470588235,.976470588235,.976470588235,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:6,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[85.714,85.714],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.757],y:[.459]},o:{x:[.441],y:[0]},t:6,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:23.525,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:43.525,s:[85.889]},{t:60,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.757],y:[.582]},o:{x:[.441],y:[0]},t:0,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:13.525,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:33.525,s:[85.889]},{t:50,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:60,st:-26,ct:1,bm:0}]}],layers:[{ddd:0,ind:1,ty:0,nm:"moving lines-5",refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[213,1,0],ix:2,l:2},a:{a:0,k:[6,0,0],ix:1,l:2},s:{a:0,k:[100,99.4,100],ix:6,l:2}},ao:0,w:12,h:619,ip:-22,op:29,st:-22,ct:1,bm:0},{ddd:0,ind:2,ty:0,nm:"moving lines-5",refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[213,1,0],ix:2,l:2},a:{a:0,k:[6,0,0],ix:1,l:2},s:{a:0,k:[100,99.4,100],ix:6,l:2}},ao:0,w:12,h:619,ip:56,op:107,st:56,ct:1,bm:0},{ddd:0,ind:3,ty:0,nm:"moving lines-5",refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[213,1,0],ix:2,l:2},a:{a:0,k:[6,0,0],ix:1,l:2},s:{a:0,k:[100,99.4,100],ix:6,l:2}},ao:0,w:12,h:619,ip:22,op:73,st:22,ct:1,bm:0},{ddd:0,ind:4,ty:0,nm:"moving lines-4",refId:"comp_1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[110.5,1,0],ix:2,l:2},a:{a:0,k:[5.5,0,0],ix:1,l:2},s:{a:0,k:[100,98.2,100],ix:6,l:2}},ao:0,w:11,h:627,ip:-65,op:15,st:-65,ct:1,bm:0},{ddd:0,ind:5,ty:0,nm:"moving lines-4",refId:"comp_1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[110.5,1,0],ix:2,l:2},a:{a:0,k:[5.5,0,0],ix:1,l:2},s:{a:0,k:[100,98.2,100],ix:6,l:2}},ao:0,w:11,h:627,ip:14,op:94,st:14,ct:1,bm:0},{ddd:0,ind:6,ty:0,nm:"moving lines-3",refId:"comp_2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[7,1,0],ix:2,l:2},a:{a:0,k:[5.5,0,0],ix:1,l:2},s:{a:0,k:[100,100.4,100],ix:6,l:2}},ao:0,w:11,h:613,ip:2,op:62,st:2,ct:1,bm:0},{ddd:0,ind:7,ty:0,nm:"moving lines-3",refId:"comp_2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[7,1,0],ix:2,l:2},a:{a:0,k:[5.5,0,0],ix:1,l:2},s:{a:0,k:[100,100.4,100],ix:6,l:2}},ao:0,w:11,h:613,ip:-36,op:20,st:-40,ct:1,bm:0},{ddd:0,ind:8,ty:0,nm:"moving lines-3",refId:"comp_2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[7,1,0],ix:2,l:2},a:{a:0,k:[5.5,0,0],ix:1,l:2},s:{a:0,k:[100,100.4,100],ix:6,l:2}},ao:0,w:11,h:613,ip:39,op:99,st:39,ct:1,bm:0},{ddd:0,ind:9,ty:4,nm:"Vector :M",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[110,309.736,0],ix:2,l:2},a:{a:0,k:[308.5,313.236,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[205.677,618.844],[205.677,4.807]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[411.428,618.822],[411.333,4.99]],c:!1},ix:2},nm:"Path 6",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[308.5,618.796],[308.5,5.145]],c:!1},ix:2},nm:"Path 7",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.975244164467,.975244164467,.975244164467,.639999985695],ix:3},o:{a:0,k:64,ix:4},w:{a:0,k:1,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 7",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:0,op:684,st:0,ct:1,bm:0}],markers:[],props:{}};const Np=Rt.div`
1596
+ `,zp=({title:e,tooltip:t,initialValue:i=!1,onChange:n,disabled:o,allowPropagation:r=!1,flipHorizontally:a})=>{const[s,l]=Ct(i);return kt(()=>l(i),[i]),bt(Np,{$disabled:o,onClick:e=>{o||(r||e.stopPropagation(),n?n(!s):l(e=>!e))},children:[!a&&ft(Op,{$disabled:o,$isActive:s}),(e||t)&&ft(Ga,{text:t,withIcon:!0,children:e&&ft(xo,{size:14,children:e})}),a&&ft(Op,{$disabled:o,$isActive:s})]})};var Fp={v:"5.12.1",fr:60,ip:0,op:80,w:220,h:620,nm:"Odigos - Trace Loader",ddd:0,assets:[{id:"comp_0",nm:"moving lines-5",fr:60,layers:[{ddd:0,ind:1,ty:4,nm:"moving lines-5",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[6.097,.571,0],ix:2,l:2},a:{a:0,k:[-.046,-149.04,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[-.055,-173.88],[.095,546.629]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.976470588235,.976470588235,.976470588235,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:6,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[85.714,85.714],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.757],y:[.459]},o:{x:[.441],y:[0]},t:2.4,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:18.172,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:36.174,s:[85.889]},{t:51,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.757],y:[.582]},o:{x:[.441],y:[0]},t:0,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:12.174,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:30.174,s:[85.889]},{t:45,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:51,st:-26,ct:1,bm:0}]},{id:"comp_1",nm:"moving lines-4",fr:60,layers:[{ddd:0,ind:1,ty:4,nm:"moving lines-4",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[5.475,.571,0],ix:2,l:2},a:{a:0,k:[.144,-156.04,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[.167,-182.047],[.314,547.797]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.976470588235,.976470588235,.976470588235,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:6,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[85.714,85.714],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.757],y:[.459]},o:{x:[.441],y:[0]},t:17.9,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:38.055,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:61.053,s:[85.889]},{t:80,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.757],y:[.582]},o:{x:[.441],y:[0]},t:0,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:15.553,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:38.555,s:[85.889]},{t:57.5,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:80,st:-26,ct:1,bm:0}]},{id:"comp_2",nm:"moving lines-3",fr:60,layers:[{ddd:0,ind:1,ty:4,nm:"moving lines-3",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[5.841,.571,0],ix:2,l:2},a:{a:0,k:[.324,-150.04,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[.382,-175.047],[-.051,538.464]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.976470588235,.976470588235,.976470588235,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:6,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[85.714,85.714],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.757],y:[.459]},o:{x:[.441],y:[0]},t:6,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:23.525,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:43.525,s:[85.889]},{t:60,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.757],y:[.582]},o:{x:[.441],y:[0]},t:0,s:[0]},{i:{x:[.574],y:[.569]},o:{x:[.451],y:[.436]},t:13.525,s:[23.624]},{i:{x:[.571],y:[1]},o:{x:[.173],y:[.635]},t:33.525,s:[85.889]},{t:50,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:60,st:-26,ct:1,bm:0}]}],layers:[{ddd:0,ind:1,ty:0,nm:"moving lines-5",refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[213,1,0],ix:2,l:2},a:{a:0,k:[6,0,0],ix:1,l:2},s:{a:0,k:[100,99.4,100],ix:6,l:2}},ao:0,w:12,h:619,ip:-22,op:29,st:-22,ct:1,bm:0},{ddd:0,ind:2,ty:0,nm:"moving lines-5",refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[213,1,0],ix:2,l:2},a:{a:0,k:[6,0,0],ix:1,l:2},s:{a:0,k:[100,99.4,100],ix:6,l:2}},ao:0,w:12,h:619,ip:56,op:107,st:56,ct:1,bm:0},{ddd:0,ind:3,ty:0,nm:"moving lines-5",refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[213,1,0],ix:2,l:2},a:{a:0,k:[6,0,0],ix:1,l:2},s:{a:0,k:[100,99.4,100],ix:6,l:2}},ao:0,w:12,h:619,ip:22,op:73,st:22,ct:1,bm:0},{ddd:0,ind:4,ty:0,nm:"moving lines-4",refId:"comp_1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[110.5,1,0],ix:2,l:2},a:{a:0,k:[5.5,0,0],ix:1,l:2},s:{a:0,k:[100,98.2,100],ix:6,l:2}},ao:0,w:11,h:627,ip:-65,op:15,st:-65,ct:1,bm:0},{ddd:0,ind:5,ty:0,nm:"moving lines-4",refId:"comp_1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[110.5,1,0],ix:2,l:2},a:{a:0,k:[5.5,0,0],ix:1,l:2},s:{a:0,k:[100,98.2,100],ix:6,l:2}},ao:0,w:11,h:627,ip:14,op:94,st:14,ct:1,bm:0},{ddd:0,ind:6,ty:0,nm:"moving lines-3",refId:"comp_2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[7,1,0],ix:2,l:2},a:{a:0,k:[5.5,0,0],ix:1,l:2},s:{a:0,k:[100,100.4,100],ix:6,l:2}},ao:0,w:11,h:613,ip:2,op:62,st:2,ct:1,bm:0},{ddd:0,ind:7,ty:0,nm:"moving lines-3",refId:"comp_2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[7,1,0],ix:2,l:2},a:{a:0,k:[5.5,0,0],ix:1,l:2},s:{a:0,k:[100,100.4,100],ix:6,l:2}},ao:0,w:11,h:613,ip:-36,op:20,st:-40,ct:1,bm:0},{ddd:0,ind:8,ty:0,nm:"moving lines-3",refId:"comp_2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[7,1,0],ix:2,l:2},a:{a:0,k:[5.5,0,0],ix:1,l:2},s:{a:0,k:[100,100.4,100],ix:6,l:2}},ao:0,w:11,h:613,ip:39,op:99,st:39,ct:1,bm:0},{ddd:0,ind:9,ty:4,nm:"Vector :M",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[110,309.736,0],ix:2,l:2},a:{a:0,k:[308.5,313.236,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[205.677,618.844],[205.677,4.807]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[411.428,618.822],[411.333,4.99]],c:!1},ix:2},nm:"Path 6",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[308.5,618.796],[308.5,5.145]],c:!1},ix:2},nm:"Path 7",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.975244164467,.975244164467,.975244164467,.639999985695],ix:3},o:{a:0,k:64,ix:4},w:{a:0,k:1,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 7",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:0,op:684,st:0,ct:1,bm:0}],markers:[],props:{}};const _p=Rt.div`
1597
1597
  width: ${({$width:e})=>e}px;
1598
1598
  height: ${({$height:e})=>e}px;
1599
1599
  position: relative;
1600
- `,Op=({width:e=620})=>{const{darkMode:t}=Mt(),i=e/(620/220);return zt(Np,{$width:e,$height:i,children:zt(Jt,{autoplay:!0,loop:!0,animationData:Ip,style:{width:i,height:e,transform:"rotate(-90deg)",position:"absolute",top:-(i-i/10),left:i-i/10,filter:t?"invert(0)":"invert(1)"}})})};var zp,Fp;!function(e){e.Primary="primary",e.Secondary="secondary",e.Text="text"}(zp||(zp={})),function(e){e.S="small",e.M="medium",e.L="large"}(Fp||(Fp={}));const _p=Rt.button`
1600
+ `,Rp=({width:e=620})=>{const{darkMode:t}=Mt(),i=e/(620/220);return ft(_p,{$width:e,$height:i,children:ft(Jt,{autoplay:!0,loop:!0,animationData:Fp,style:{width:i,height:e,transform:"rotate(-90deg)",position:"absolute",top:-(i-i/10),left:i-i/10,filter:t?"invert(0)":"invert(1)"}})})};var Bp,Mp;!function(e){e.Primary="primary",e.Secondary="secondary",e.Text="text"}(Bp||(Bp={})),function(e){e.S="small",e.M="medium",e.L="large"}(Mp||(Mp={}));const Lp=Rt.button`
1601
1601
  display: flex;
1602
1602
  align-items: center;
1603
1603
  justify-content: center;
@@ -1607,14 +1607,14 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1607
1607
  `}
1608
1608
  border: none;
1609
1609
  border-radius: 6px;
1610
- ${({$size:e,$hasLabel:t})=>e===Fp.S?Bt`
1610
+ ${({$size:e,$hasLabel:t})=>e===Mp.S?Bt`
1611
1611
  height: 32px;
1612
1612
  ${t?Bt`
1613
1613
  padding: 8px 16px;
1614
1614
  `:Bt`
1615
1615
  width: 32px;
1616
1616
  `}
1617
- `:e===Fp.M?Bt`
1617
+ `:e===Mp.M?Bt`
1618
1618
  height: 38px;
1619
1619
  ${t?Bt`
1620
1620
  padding: 8px 18px;
@@ -1639,7 +1639,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1639
1639
  ${({$withShadow:e})=>e?Bt`
1640
1640
  box-shadow: 0 0 11px 0 rgba(0, 0, 0, 0.32);
1641
1641
  `:""}
1642
- ${({$variant:e})=>e===zp.Primary?Bt`
1642
+ ${({$variant:e})=>e===Bp.Primary?Bt`
1643
1643
  background-color: ${({theme:e})=>e.v2.colors.purple[500]};
1644
1644
  &:hover {
1645
1645
  background-color: ${({theme:e})=>e.v2.colors.purple[600]};
@@ -1647,7 +1647,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1647
1647
  &:active {
1648
1648
  background-color: ${({theme:e})=>e.v2.colors.purple[700]};
1649
1649
  }
1650
- `:e===zp.Secondary?Bt`
1650
+ `:e===Bp.Secondary?Bt`
1651
1651
  background-color: ${({theme:e})=>e.v2.colors.silver[750]};
1652
1652
  &:hover {
1653
1653
  background-color: ${({theme:e})=>e.v2.colors.silver[600]};
@@ -1655,7 +1655,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1655
1655
  &:active {
1656
1656
  background-color: ${({theme:e})=>e.v2.colors.silver[500]};
1657
1657
  }
1658
- `:e===zp.Text?Bt`
1658
+ `:e===Bp.Text?Bt`
1659
1659
  background-color: transparent;
1660
1660
  &:hover {
1661
1661
  background-color: ${({theme:e})=>e.v2.colors.silver[800]};
@@ -1665,7 +1665,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1665
1665
  }
1666
1666
  `:""}
1667
1667
  }
1668
- `,Rp=kt(({label:e,leftIcon:t,rightIcon:i,variant:n=zp.Primary,size:o=Fp.M,iconSize:r,loading:a,fullWidth:s,withShadow:l,textColor:c,disabled:d,onClick:p,...u},h)=>{const m=Mt(),g=r||(o===Fp.L?18:16),$=o===Fp.L?so.S:so.XS,x=c||(d?m.v2.colors.grey[400]:m.v2.colors.white[500]),[f,b]=yt(!1),y=Ct(async e=>{e.stopPropagation(),b(!0),await(p?.(e)),b(!1)},[p]);return zt(_p,{ref:h,$variant:n,$size:o,$fullWidth:s,$withShadow:l,$hasLabel:!!e,disabled:d,onClick:a||f?void 0:y,...u,children:a||f?e?zt(Md,{size:m.v2.text.size[$],textColor:x}):zt(ys,{}):Ft(_t,{children:[t&&zt(t,{size:g,fill:x}),e?zt(co,{size:$,weight:500,color:x,nowrap:!0,children:e}):null,i&&zt(i,{size:g,fill:x})]})})});Rp.displayName=Rp.name;const Bp=Rt.button`
1668
+ `,Pp=Dt(({label:e,leftIcon:t,rightIcon:i,variant:n=Bp.Primary,size:o=Mp.M,iconSize:r,loading:a,fullWidth:s,withShadow:l,textColor:c,disabled:d,onClick:p,...u},h)=>{const m=Mt(),g=r||(o===Mp.L?18:16),$=o===Mp.L?so.S:so.XS,x=c||(d?m.v2.colors.grey[400]:m.v2.colors.white[500]),[f,b]=Ct(!1),y=Et(async e=>{e.stopPropagation(),b(!0),await(p?.(e)),b(!1)},[p]);return ft(Lp,{ref:h,$variant:n,$size:o,$fullWidth:s,$withShadow:l,$hasLabel:!!e,disabled:d,onClick:a||f?void 0:y,...u,children:a||f?e?ft(Ud,{size:m.v2.text.size[$],textColor:x}):ft(Ns,{}):bt(yt,{children:[t&&ft(t,{size:g,fill:x}),e?ft(co,{size:$,weight:500,color:x,nowrap:!0,children:e}):null,i&&ft(i,{size:g,fill:x})]})})});Pp.displayName=Pp.name;const jp=Rt.button`
1669
1669
  width: 100%;
1670
1670
  padding: 0;
1671
1671
  padding-right: 12px;
@@ -1686,7 +1686,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1686
1686
  cursor: not-allowed;
1687
1687
  opacity: 0.5;
1688
1688
  }
1689
- `,Mp=Rt.div`
1689
+ `,Up=Rt.div`
1690
1690
  width: ${({$hasIcon:e})=>e?"56px":"0"};
1691
1691
  height: 56px;
1692
1692
  display: flex;
@@ -1697,13 +1697,13 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1697
1697
  `:Bt`
1698
1698
  background-color: ${({theme:e})=>e.v2.colors.silver[700]};
1699
1699
  `}
1700
- `,Lp=Rt.div`
1700
+ `,Wp=Rt.div`
1701
1701
  width: ${({$hasIcon:e})=>e?"calc(100% - 56px)":"100%"};
1702
1702
  display: flex;
1703
1703
  justify-content: space-between;
1704
1704
  align-items: center;
1705
1705
  gap: 8px;
1706
- `,Pp=({label:e,icon:t,loading:i,disabled:n,onClick:o})=>{const[r,a]=yt(!1);return Ft(Bp,{$hovered:r,type:"button",disabled:n||i,onClick:o,onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),children:[zt(Mp,{$hovered:r,$hasIcon:!!t,children:t&&zt(t,{size:36})}),Ft(Lp,{$hasIcon:!!t,children:[i?zt(Md,{size:16}):zt(co,{variant:ao.Span,align:"center",children:e}),zt(dt,{rotate:90,size:24})]})]})},jp=({buttons:e})=>zt(sa,{$gap:12,children:e.map(e=>zt(Pp,{...e},e.label))}),Up=Rt.div`
1706
+ `,Vp=({label:e,icon:t,loading:i,disabled:n,onClick:o})=>{const[r,a]=Ct(!1);return bt(jp,{$hovered:r,type:"button",disabled:n||i,onClick:o,onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),children:[ft(Up,{$hovered:r,$hasIcon:!!t,children:t&&ft(t,{size:36})}),bt(Wp,{$hasIcon:!!t,children:[i?ft(Ud,{size:16}):ft(co,{variant:ao.Span,align:"center",children:e}),ft(dt,{rotate:90,size:24})]})]})},Gp=({buttons:e})=>ft(fa,{$gap:12,children:e.map(e=>ft(Vp,{...e},e.label))}),qp=Rt.div`
1707
1707
  display: flex;
1708
1708
  align-items: center;
1709
1709
  flex-wrap: wrap;
@@ -1711,13 +1711,13 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1711
1711
  padding: 4px 12px;
1712
1712
  border-radius: 12px;
1713
1713
  background-color: ${({theme:e})=>e.v2.colors.silver[800]};
1714
- `,Wp=Rt.div`
1714
+ `,Hp=Rt.div`
1715
1715
  width: calc(${({$cellsPerRow:e})=>100/e+"%"} - 16px);
1716
1716
  margin: 8px;
1717
1717
  display: flex;
1718
1718
  flex-direction: column;
1719
1719
  gap: 4px;
1720
- `,Vp=({cellsPerRow:e,items:t})=>{const i=Mt(),{CopyButton:n}=jr();return zt(Up,{children:t.map(({id:o,title:r,label:a,withCopy:s,badge:l})=>Ft(Wp,{$cellsPerRow:e||t.length,children:[zt(co,{size:so.XXXS,color:i.v2.colors.silver[200],nowrap:!0,children:r}),Ft(aa,{$gap:4,children:[l&&zt(uo,{...l}),a&&zt(co,{size:so.XS,nowrap:!0,children:a}),s&&zt(n,{value:a||l?.label?.toString()||"",size:Mr.XS})]})]},o))})};var Gp;!function(e){e.S="s",e.L="l"}(Gp||(Gp={}));const qp=Rt.div`
1720
+ `,Kp=({cellsPerRow:e,items:t})=>{const i=Mt(),{CopyButton:n}=jr();return ft(qp,{children:t.map(({id:o,title:r,label:a,withCopy:s,badge:l})=>bt(Hp,{$cellsPerRow:e||t.length,children:[ft(co,{size:so.XXXS,color:i.v2.colors.silver[200],nowrap:!0,children:r}),bt(xa,{$gap:4,children:[l&&ft(uo,{...l}),a&&ft(co,{size:so.XS,nowrap:!0,children:a}),s&&ft(n,{value:a||l?.label?.toString()||"",size:Mr.XS})]})]},o))})};var Yp;!function(e){e.S="s",e.L="l"}(Yp||(Yp={}));const Jp=Rt.div`
1721
1721
  display: flex;
1722
1722
  align-items: center;
1723
1723
  gap: 2px;
@@ -1725,13 +1725,13 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1725
1725
  border-radius: 8px;
1726
1726
  border: 1px solid ${({theme:e})=>e.v2.colors.grey[500]};
1727
1727
  background-color: ${({theme:e})=>e.v2.colors.silver[700]};
1728
- `,Hp=Rt.button`
1728
+ `,Xp=Rt.button`
1729
1729
  flex: 1;
1730
1730
  display: flex;
1731
1731
  align-items: center;
1732
1732
  justify-content: center;
1733
1733
  gap: 8px;
1734
- padding: ${({$size:e})=>e===Gp.S?"4px 8px":"8px 16px"};
1734
+ padding: ${({$size:e})=>e===Yp.S?"4px 8px":"8px 16px"};
1735
1735
  border-radius: 6px;
1736
1736
  border: none;
1737
1737
  box-shadow: ${({$isSelected:e})=>e?"0 0 11px 0 rgba(0, 0, 0, 0.32)":"none"};
@@ -1746,7 +1746,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1746
1746
  background-color: ${t?i||n.v2.colors.black[500]:n.v2.colors.silver[800]};
1747
1747
  }
1748
1748
  `}
1749
- `,Kp=({size:e=Gp.L,options:t=[],selected:i,setSelected:n,disabled:o})=>{const r=Mt(),a=o?r.v2.colors.grey[400]:r.v2.colors.white[500],s=e===Gp.S?so.XXS:so.XS,l=e===Gp.S?400:500;return zt(qp,{$count:t.length,children:t.map(({value:t,label:r,icon:c,selectedBgColor:d},p)=>Ft(Hp,{onClick:()=>!o&&n(t),$size:e,$disabled:o,$isSelected:i===t,$selectedBgColor:d,children:[c&&zt(c,{fill:a}),r&&zt(co,{size:s,weight:l,color:a,nowrap:!0,children:r})]},`segment-${r||p}-${t}`))})},Yp=Rt.div`
1749
+ `,Zp=({size:e=Yp.L,options:t=[],selected:i,setSelected:n,disabled:o})=>{const r=Mt(),a=o?r.v2.colors.grey[400]:r.v2.colors.white[500],s=e===Yp.S?so.XXS:so.XS,l=e===Yp.S?400:500;return ft(Jp,{$count:t.length,children:t.map(({value:t,label:r,icon:c,selectedBgColor:d},p)=>bt(Xp,{onClick:()=>!o&&n(t),$size:e,$disabled:o,$isSelected:i===t,$selectedBgColor:d,children:[c&&ft(c,{fill:a}),r&&ft(co,{size:s,weight:l,color:a,nowrap:!0,children:r})]},`segment-${r||p}-${t}`))})},Qp=Rt.div`
1750
1750
  box-sizing: border-box !important;
1751
1751
  width: ${({$width:e})=>e??"fit-content"};
1752
1752
  padding: ${({$withSegment:e})=>e?"2px 2px 2px 12px":"6px 12px"};
@@ -1760,7 +1760,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1760
1760
  border: none;
1761
1761
  border-radius: 6px;
1762
1762
  background: ${({$isHovered:e,$isActive:t,theme:i})=>e||t?i.v2.colors.silver[700]:i.v2.colors.silver[800]};
1763
- `,Jp=Rt.input`
1763
+ `,eu=Rt.input`
1764
1764
  min-width: 0;
1765
1765
  flex: 1;
1766
1766
  font-family: ${({theme:e})=>e.font_family.primary};
@@ -1777,28 +1777,28 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1777
1777
  overflow: hidden;
1778
1778
  text-overflow: ellipsis;
1779
1779
  white-space: nowrap;
1780
- `,Xp=({value:e,onChange:t,placeholder:i,width:n,segment:o})=>{const r=Mt(),[a,s]=yt(!1),[l,c]=yt(!1),[d,p]=yt(!1),u=a?r.v2.colors.white[500]:r.v2.colors.silver[200],h=!!o?.options?.length,m=bt(()=>{if(h)return o?.options.find(e=>e.value===o.selected)?.label},[h,o?.options,o?.selected]),g=bt(()=>i||(h&&m?`Search by ${m.toLowerCase()}`:"Search..."),[i,h,m]);return Ft(Yp,{$width:n,$withSegment:h,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),$isHovered:l&&!d,$isActive:a,children:[zt(rt,{size:18,fill:u}),zt(Jp,{"data-id":"search",name:"search",type:"text",placeholder:g,value:e,onChange:e=>{e.stopPropagation(),t(e.target.value)},onFocus:()=>s(!0),onBlur:()=>s(!1),$textColor:u}),h&&zt("div",{style:{flexShrink:0},onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),children:zt(Kp,{options:o.options,selected:o.selected,setSelected:o.setSelected,size:Gp.S})})]})};var Zp;!function(e){e.S="small",e.L="large"}(Zp||(Zp={}));const Qp=Rt.div`
1780
+ `,tu=({value:e,onChange:t,placeholder:i,width:n,segment:o})=>{const r=Mt(),[a,s]=Ct(!1),[l,c]=Ct(!1),[d,p]=Ct(!1),u=a?r.v2.colors.white[500]:r.v2.colors.silver[200],h=!!o?.options?.length,m=vt(()=>{if(h)return o?.options.find(e=>e.value===o.selected)?.label},[h,o?.options,o?.selected]),g=vt(()=>i||(h&&m?`Search by ${m.toLowerCase()}`:"Search..."),[i,h,m]);return bt(Qp,{$width:n,$withSegment:h,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),$isHovered:l&&!d,$isActive:a,children:[ft(rt,{size:18,fill:u}),ft(eu,{"data-id":"search",name:"search",type:"text",placeholder:g,value:e,onChange:e=>{e.stopPropagation(),t(e.target.value)},onFocus:()=>s(!0),onBlur:()=>s(!1),$textColor:u}),h&&ft("div",{style:{flexShrink:0},onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),children:ft(Zp,{options:o.options,selected:o.selected,setSelected:o.setSelected,size:Yp.S})})]})};var iu;!function(e){e.S="small",e.L="large"}(iu||(iu={}));const nu=Rt.div`
1781
1781
  width: fit-content;
1782
1782
  display: flex;
1783
1783
  align-items: center;
1784
1784
  gap: 8px;
1785
1785
  cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
1786
- `,eu=Rt.div`
1787
- width: ${({$size:e})=>e===Zp.S?"16px":"20px"};
1788
- height: ${({$size:e})=>e===Zp.S?"16px":"20px"};
1786
+ `,ou=Rt.div`
1787
+ width: ${({$size:e})=>e===iu.S?"16px":"20px"};
1788
+ height: ${({$size:e})=>e===iu.S?"16px":"20px"};
1789
1789
  display: flex;
1790
1790
  align-items: center;
1791
1791
  justify-content: center;
1792
1792
  border-radius: 4px;
1793
1793
  border: 1px solid ${({$borderColor:e})=>e};
1794
1794
  background-color: ${({$backgroundColor:e})=>e};
1795
- `,tu=({label:e,tooltip:t,size:i=Zp.L,disabled:n,partiallyChecked:o,value:r,onChange:a})=>{const s=Mt(),[l,c]=yt(!1),d=o||r,p=i===Zp.S?12:16,u=n?s.v2.colors.grey[400]:s.v2.colors.white[500],h=d?"transparent":n?s.v2.colors.grey[700]:l?s.v2.colors.silver[400]:s.v2.colors.silver[600],m=n?s.v2.colors.grey[600]:d?s.v2.colors.purple[500]:s.v2.colors.silver[900];return Ft(Qp,{"data-id":"checkbox"+(e?`-${e}`:""),onClick:e=>{e.stopPropagation(),n||a(!!o||!r)},$disabled:n,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),children:[zt(eu,{$size:i,$borderColor:h,$backgroundColor:m,children:o?zt(Je,{size:p,fill:u}):r?zt(He,{size:p,fill:u}):null}),e&&zt(Fa,{text:t,withIcon:!0,children:zt(co,{size:i===Zp.S?so.XXS:so.XS,nowrap:!0,children:e})})]})},iu=Rt.div`
1795
+ `,ru=({label:e,tooltip:t,size:i=iu.L,disabled:n,partiallyChecked:o,value:r,onChange:a})=>{const s=Mt(),[l,c]=Ct(!1),d=o||r,p=i===iu.S?12:16,u=n?s.v2.colors.grey[400]:s.v2.colors.white[500],h=d?"transparent":n?s.v2.colors.grey[700]:l?s.v2.colors.silver[400]:s.v2.colors.silver[600],m=n?s.v2.colors.grey[600]:d?s.v2.colors.purple[500]:s.v2.colors.silver[900];return bt(nu,{"data-id":"checkbox"+(e?`-${e}`:""),onClick:e=>{e.stopPropagation(),n||a(!!o||!r)},$disabled:n,onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),children:[ft(ou,{$size:i,$borderColor:h,$backgroundColor:m,children:o?ft(Je,{size:p,fill:u}):r?ft(He,{size:p,fill:u}):null}),e&&ft(Ga,{text:t,withIcon:!0,children:ft(co,{size:i===iu.S?so.XXS:so.XS,nowrap:!0,children:e})})]})},au=Rt.div`
1796
1796
  display: flex;
1797
1797
  flex-direction: ${({$direction:e})=>e===mi.Horizontal?"row":"column"};
1798
1798
  gap: ${({$direction:e})=>e===mi.Horizontal?16:8}px;
1799
- `,nu=({direction:e=mi.Vertical,title:t,size:i,disabled:n,withSelectAll:o,options:r,values:a,setValues:s})=>{const l=i===Zp.S?so.XXS:so.XS,c=bt(()=>r.every(e=>a[e.id]),[r,a]),d=bt(()=>r.some(e=>a[e.id])&&r.some(e=>!a[e.id]),[r,a]),p=(e,t)=>{s(i=>{const n={...i};return e?n[e]=t:r.forEach(e=>n[e.id]=t),n})};return Ft(iu,{$direction:e,children:[t&&o?zt(tu,{label:t,partiallyChecked:d,value:c,onChange:e=>p("",e),size:i}):t&&!o?zt(co,{size:l,children:t}):null,r.map(e=>zt(tu,{...e,value:a[e.id],onChange:t=>p(e.id,t),disabled:n,size:i},`${t}-checkbox-${e.id}`))]})};var ou,ru;!function(e){e.Left="left",e.Right="right"}(ou||(ou={})),function(e){e.Top="top",e.Bottom="bottom"}(ru||(ru={}));const au=Rt.div`
1799
+ `,su=({direction:e=mi.Vertical,title:t,size:i,disabled:n,withSelectAll:o,options:r,values:a,setValues:s})=>{const l=i===iu.S?so.XXS:so.XS,c=vt(()=>r.every(e=>a[e.id]),[r,a]),d=vt(()=>r.some(e=>a[e.id])&&r.some(e=>!a[e.id]),[r,a]),p=(e,t)=>{s(i=>{const n={...i};return e?n[e]=t:r.forEach(e=>n[e.id]=t),n})};return bt(au,{$direction:e,children:[t&&o?ft(ru,{label:t,partiallyChecked:d,value:c,onChange:e=>p("",e),size:i}):t&&!o?ft(co,{size:l,children:t}):null,r.map(e=>ft(ru,{...e,value:a[e.id],onChange:t=>p(e.id,t),disabled:n,size:i},`${t}-checkbox-${e.id}`))]})};var lu,cu;!function(e){e.Left="left",e.Right="right"}(lu||(lu={})),function(e){e.Top="top",e.Bottom="bottom"}(cu||(cu={}));const du=Rt.div`
1800
1800
  position: relative;
1801
- `,su=Rt.div`
1801
+ `,pu=Rt.div`
1802
1802
  display: flex;
1803
1803
  flex-direction: column;
1804
1804
  gap: 0;
@@ -1812,9 +1812,9 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1812
1812
 
1813
1813
  position: absolute;
1814
1814
  ${({$alignX:e})=>`${e}: 0;`}
1815
- ${({$alignY:e,$withOffsetY:t})=>`${e===ru.Bottom?"top":"bottom"}: ${t?"calc(100% + 8px)":"0"};`}
1815
+ ${({$alignY:e,$withOffsetY:t})=>`${e===cu.Bottom?"top":"bottom"}: ${t?"calc(100% + 8px)":"0"};`}
1816
1816
  z-index: 1;
1817
- `,lu=Rt.div`
1817
+ `,uu=Rt.div`
1818
1818
  display: flex;
1819
1819
  flex-direction: column;
1820
1820
  gap: 0;
@@ -1822,7 +1822,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1822
1822
  width: 100%;
1823
1823
  max-height: ${({$maxHeight:e})=>e||"230px"};
1824
1824
  overflow-y: auto;
1825
- `,cu=Rt.div`
1825
+ `,hu=Rt.div`
1826
1826
  display: flex;
1827
1827
  align-items: center;
1828
1828
  gap: 8px;
@@ -1838,14 +1838,14 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1838
1838
  background-color: ${({theme:e})=>e.v2.colors.grey[700]};
1839
1839
  }
1840
1840
  `}
1841
- `,du=({defaultOpen:e,alignX:t,alignY:i,items:n,selectedIds:o,setSelectedIds:r,withMultiSelect:a,withSearch:s,fullWidth:l,maxHeight:c,buttonProps:d,iconButtonProps:p,children:u})=>{const h=Mt(),m=!!d||!!p||!!u,[g,$]=yt(e??!m),[x,f]=yt({x:t||ou.Left,y:i||ru.Bottom}),b=e=>{$(e=>!e),f({x:t||(e.clientX>window.innerWidth/2?ou.Right:ou.Left),y:i||(e.clientY>window.innerHeight/2?ru.Top:ru.Bottom)})},y=e=>{r(a?o.includes(e)?o.filter(t=>t!==e):[...o,e]:[e]),m&&!a&&$(!1)},w=vt(null);Kr(w,()=>$(!1));const[v,C]=yt(""),k=bt(()=>v?n.filter(e=>e?.label?.toLowerCase().includes(v.toLowerCase())):n,[n.length,v]);return Ft(au,{ref:w,children:[d&&zt(Rp,{...d,fullWidth:l,rightIcon:g?pt:ut,onClick:b}),p&&zt(Pr,{...p,onClick:b}),"function"==typeof u?u({ChevronIcon:g?pt:ut,handleClick:b}):u,g&&Ft(su,{$alignX:x.x,$alignY:x.y,$fullWidth:l,$withOffsetY:m,children:[s&&zt(Xp,{value:v,onChange:C,width:"100%"}),zt(lu,{$maxHeight:c,children:k.map(e=>{if(!e)return null;const{id:t,label:i,icon:n,withCheckbox:r}=e,a=o.includes(t);return Ft(cu,{$selected:a&&!r,onClick:()=>y(t),children:[r&&zt(tu,{value:a,onChange:()=>y(t)}),n&&zt(n,{size:14,fill:h.v2.colors.white[500]}),zt(co,{size:so.XS,nowrap:!0,children:i})]},t)})}),a&&zt(Rp,{label:"Done",onClick:()=>$(!1)})]})]})};var pu;!function(e){e.Button="button",e.ButtonDropData="button-drop-data"}(pu||(pu={}));const uu=({onAnyClick:e,actions:t})=>zt(aa,{$gap:8,$alignItems:"center",children:t?.map(t=>{if(!t)return null;switch(t.type){case pu.Button:return zt(Rp,{...t.buttonProps,onClick:i=>{t.buttonProps?.onClick?.(i),e?.()}},t.id);case pu.ButtonDropData:return zt(du,{...t.dropDataProps,items:t.dropDataProps?.items??[],withMultiSelect:!1,selectedIds:[],setSelectedIds:i=>{t.buttonProps?.onClick?.(i[0]),e?.()},buttonProps:t.buttonProps},t.id);default:return null}})}),hu=Rt.div`
1841
+ `,mu=({defaultOpen:e,alignX:t,alignY:i,items:n,selectedIds:o,setSelectedIds:r,withMultiSelect:a,withSearch:s,fullWidth:l,maxHeight:c,buttonProps:d,iconButtonProps:p,children:u})=>{const h=Mt(),m=!!d||!!p||!!u,[g,$]=Ct(e??!m),[x,f]=Ct({x:t||lu.Left,y:i||cu.Bottom}),b=e=>{$(e=>!e),f({x:t||(e.clientX>window.innerWidth/2?lu.Right:lu.Left),y:i||(e.clientY>window.innerHeight/2?cu.Top:cu.Bottom)})},y=e=>{r(a?o.includes(e)?o.filter(t=>t!==e):[...o,e]:[e]),m&&!a&&$(!1)},w=St(null);Kr(w,()=>$(!1));const[v,C]=Ct(""),k=vt(()=>v?n.filter(e=>e?.label?.toLowerCase().includes(v.toLowerCase())):n,[n.length,v]);return bt(du,{ref:w,children:[d&&ft(Pp,{...d,fullWidth:l,rightIcon:g?pt:ut,onClick:b}),p&&ft(Pr,{...p,onClick:b}),"function"==typeof u?u({ChevronIcon:g?pt:ut,handleClick:b}):u,g&&bt(pu,{$alignX:x.x,$alignY:x.y,$fullWidth:l,$withOffsetY:m,children:[s&&ft(tu,{value:v,onChange:C,width:"100%"}),ft(uu,{$maxHeight:c,children:k.map(e=>{if(!e)return null;const{id:t,label:i,icon:n,withCheckbox:r}=e,a=o.includes(t);return bt(hu,{$selected:a&&!r,onClick:()=>y(t),children:[r&&ft(ru,{value:a,onChange:()=>y(t)}),n&&ft(n,{size:14,fill:h.v2.colors.white[500]}),ft(co,{size:so.XS,nowrap:!0,children:i})]},t)})}),a&&ft(Pp,{label:"Done",onClick:()=>$(!1)})]})]})};var gu;!function(e){e.Button="button",e.ButtonDropData="button-drop-data"}(gu||(gu={}));const $u=({onAnyClick:e,actions:t})=>ft(xa,{$gap:8,$alignItems:"center",children:t?.map(t=>{if(!t)return null;switch(t.type){case gu.Button:return ft(Pp,{...t.buttonProps,onClick:i=>{t.buttonProps?.onClick?.(i),e?.()}},t.id);case gu.ButtonDropData:return ft(mu,{...t.dropDataProps,items:t.dropDataProps?.items??[],withMultiSelect:!1,selectedIds:[],setSelectedIds:i=>{t.buttonProps?.onClick?.(i[0]),e?.()},buttonProps:t.buttonProps},t.id);default:return null}})}),xu=Rt.div`
1842
1842
  display: flex;
1843
1843
  align-items: center;
1844
1844
  justify-content: center;
1845
1845
  padding: 8px;
1846
1846
  border-radius: 8px;
1847
1847
  background-color: ${({theme:e})=>e.v2.colors.silver[900]};
1848
- `,mu=({icon:e,title:t,subTitle:i,withCopy:n,badge:o,children:r})=>{const a=Mt(),{CopyButton:s}=jr();return Ft(aa,{$gap:i?8:6,$alignItems:"center",children:[i?zt(hu,{children:zt(e,{size:24})}):zt(e,{size:24}),Ft(sa,{children:[Ft(aa,{$gap:6,$alignItems:"center",children:[zt(co,{nowrap:!0,children:t}),n&&zt(s,{value:t,size:Mr.XS}),o&&zt(uo,{...o})]}),i&&zt(co,{size:so.XXS,color:a.v2.colors.silver[200],nowrap:!0,children:i})]}),r]})};var gu;!function(e){e.S="small",e.M="medium"}(gu||(gu={}));const $u=Rt.div`
1848
+ `,fu=({icon:e,title:t,subTitle:i,withCopy:n,badge:o,children:r})=>{const a=Mt(),{CopyButton:s}=jr();return bt(xa,{$gap:i?8:6,$alignItems:"center",children:[i?ft(xu,{children:ft(e,{size:24})}):ft(e,{size:24}),bt(fa,{children:[bt(xa,{$gap:6,$alignItems:"center",children:[ft(co,{nowrap:!0,children:t}),n&&ft(s,{value:t,size:Mr.XS}),o&&ft(uo,{...o})]}),i&&ft(co,{size:so.XXS,color:a.v2.colors.silver[200],nowrap:!0,children:i})]}),r]})};var bu;!function(e){e.S="small",e.M="medium"}(bu||(bu={}));const yu=Rt.div`
1849
1849
  display: flex;
1850
1850
  flex-direction: column;
1851
1851
  gap: ${({$gap:e})=>e}px;
@@ -1853,7 +1853,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1853
1853
  padding: ${({$padding:e})=>e}px;
1854
1854
  border-radius: 16px;
1855
1855
  background-color: ${({theme:e})=>e.v2.colors.silver[1e3]};
1856
- `,xu=({size:e=gu.M,richTitle:t,search:i,actions:n,children:o})=>{const r=e===gu.S?4:16,a=e===gu.S?12:16;return Ft($u,{$padding:a,$gap:r,children:[Ft(aa,{$gap:r,$justifyContent:"space-between",children:[zt(mu,{...t,children:i&&zt(Xp,{...i})}),zt(uu,{actions:n??[]})]}),o]})},fu=Rt.div`
1856
+ `,wu=({size:e=bu.M,richTitle:t,search:i,actions:n,children:o})=>{const r=e===bu.S?4:16,a=e===bu.S?12:16;return bt(yu,{$padding:a,$gap:r,children:[bt(xa,{$gap:r,$justifyContent:"space-between",children:[ft(fu,{...t,children:i&&ft(tu,{...i})}),ft($u,{actions:n??[]})]}),o]})},vu=Rt.div`
1857
1857
  flex: 1;
1858
1858
  align-self: stretch;
1859
1859
  display: flex;
@@ -1862,7 +1862,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1862
1862
  padding: 16px;
1863
1863
  border-radius: 12px;
1864
1864
  background-color: ${({theme:e,$status:t})=>Nn(e,t,t===Ti.Unknown?"750":"500")};
1865
- `,bu=Rt.div`
1865
+ `,Cu=Rt.div`
1866
1866
  display: flex;
1867
1867
  align-items: center;
1868
1868
  justify-content: center;
@@ -1871,7 +1871,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1871
1871
  padding: 8px;
1872
1872
  border-radius: 12px;
1873
1873
  background-color: ${({theme:e,$status:t})=>t===Ti.Unknown?Nn(e,t,"800"):Nn(e,t,"900")+xr["015"]};
1874
- `,yu=({status:e,icon:t,title:i,description:n})=>{const o=Mt(),r=t??zn(e,o),a=[Ei.Default,Ei.Info,Ti.Disabled,Ti.Unknown].includes(e)?o.v2.colors.white[500]:o.v2.colors.black[500];return Ft(fu,{$status:e,children:[zt(bu,{$status:e,children:zt(r,{size:32,fill:a})}),Ft(sa,{$gap:2,$justifyContent:"center",children:[zt(co,{size:so.M,weight:500,color:a,nowrap:!0,children:i}),zt(co,{size:so.XXS,weight:300,color:a,nowrap:!0,children:n})]})]})},wu=Rt.div`
1874
+ `,ku=({status:e,icon:t,title:i,description:n})=>{const o=Mt(),r=t??zn(e,o),a=[Si.Default,Si.Info,Ti.Disabled,Ti.Unknown].includes(e)?o.v2.colors.white[500]:o.v2.colors.black[500];return bt(vu,{$status:e,children:[ft(Cu,{$status:e,children:ft(r,{size:32,fill:a})}),bt(fa,{$gap:2,$justifyContent:"center",children:[ft(co,{size:so.M,weight:500,color:a,nowrap:!0,children:i}),ft(co,{size:so.XXS,weight:300,color:a,nowrap:!0,children:n})]})]})},Su=Rt.div`
1875
1875
  flex: 1;
1876
1876
  align-self: stretch;
1877
1877
  display: flex;
@@ -1880,7 +1880,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1880
1880
  padding: 12px;
1881
1881
  border-radius: 12px;
1882
1882
  background-color: ${({theme:e})=>e.v2.colors.silver[800]};
1883
- `,vu=["-","N/A"],Cu=({title:e,cells:t})=>{const i=Mt();return Ft(wu,{children:[zt(co,{size:so.XXS,color:i.v2.colors.grey[150],children:e}),zt(aa,{$gap:32,children:t.map(t=>Ft(sa,{$gap:2,children:[!t.isLoading||t.value&&!vu.includes(t.value)?zt(co,{size:t.label?so.M:so.L,children:t.value}):zt(ys,{scale:.9}),t.label&&zt(co,{size:so.XXS,children:t.label})]},`${e}-${t.label}-${t.value}`))})]})},ku=Rt(aa)`
1883
+ `,Eu=["-","N/A"],Au=({title:e,cells:t})=>{const i=Mt();return bt(Su,{children:[ft(co,{size:so.XXS,color:i.v2.colors.grey[150],children:e}),ft(xa,{$gap:32,children:t.map(t=>bt(fa,{$gap:2,children:[!t.isLoading||t.value&&!Eu.includes(t.value)?ft(co,{size:t.label?so.M:so.L,children:t.value}):ft(Ns,{scale:.9}),t.label&&ft(co,{size:so.XXS,children:t.label})]},`${e}-${t.label}-${t.value}`))})]})},Tu=Rt(xa)`
1884
1884
  width: calc(100% - 20px);
1885
1885
  padding: 10px;
1886
1886
  border-radius: 6px;
@@ -1889,34 +1889,34 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1889
1889
  align-items: center;
1890
1890
  justify-content: space-between;
1891
1891
  gap: 12px;
1892
- `,Eu=Rt.div`
1892
+ `,Du=Rt.div`
1893
1893
  position: relative;
1894
1894
  width: ${({$hideCopy:e})=>e?"100%":"calc(100% - 24px - 12px)"};
1895
1895
  display: flex;
1896
1896
  align-items: center;
1897
1897
  gap: 4px;
1898
- `,Su=Rt.pre`
1898
+ `,Iu=Rt.pre`
1899
1899
  flex: 1;
1900
1900
  margin: 0;
1901
1901
  padding: 0;
1902
1902
  font-size: 14px;
1903
1903
  color: #5ffb98; // TODO: add to theme
1904
1904
  overflow-x: auto;
1905
- `,Au=Rt.span`
1905
+ `,Nu=Rt.span`
1906
1906
  flex-shrink: 0;
1907
1907
  font-size: 14px;
1908
1908
  color: #5ffb98; // TODO: add to theme
1909
- `,Tu=({value:e,hideCopy:t=!1,onDone:i})=>{const{CopyButton:n}=jr({onDone:i}),o=vt(null),[r,a]=yt(!1);return wt(()=>{const e=()=>{if(o.current){const{scrollWidth:e,clientWidth:t}=o.current;a(e>t)}};e();const t=new ResizeObserver(e);return o.current&&t.observe(o.current),()=>{t.disconnect()}},[e]),Ft(ku,{children:[Ft(Eu,{$hideCopy:t,children:[zt(Su,{ref:o,children:e}),r&&zt(Au,{children:"..."})]}),!t&&zt(n,{value:e,size:Mr.XS})]})},Du=Rt.div`
1909
+ `,Ou=({value:e,hideCopy:t=!1,onDone:i})=>{const{CopyButton:n}=jr({onDone:i}),o=St(null),[r,a]=Ct(!1);return kt(()=>{const e=()=>{if(o.current){const{scrollWidth:e,clientWidth:t}=o.current;a(e>t)}};e();const t=new ResizeObserver(e);return o.current&&t.observe(o.current),()=>{t.disconnect()}},[e]),bt(Tu,{children:[bt(Du,{$hideCopy:t,children:[ft(Iu,{ref:o,children:e}),r&&ft(Nu,{children:"..."})]}),!t&&ft(n,{value:e,size:Mr.XS})]})},zu=Rt.div`
1910
1910
  display: flex;
1911
1911
  align-items: center;
1912
1912
  justify-content: space-between;
1913
1913
  width: calc(100%);
1914
- `,Iu=Rt.div`
1914
+ `,Fu=Rt.div`
1915
1915
  display: flex;
1916
1916
  align-items: center;
1917
1917
  gap: 16px;
1918
1918
  padding: 6px 0;
1919
- `,Nu=Rt.div`
1919
+ `,_u=Rt.div`
1920
1920
  display: flex;
1921
1921
  align-items: center;
1922
1922
  justify-content: center;
@@ -1924,11 +1924,11 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1924
1924
  height: 36px;
1925
1925
  border-radius: 8px;
1926
1926
  background: ${({theme:e})=>e.v2.colors.silver[800]};
1927
- `,Ou=Rt.div`
1927
+ `,Ru=Rt.div`
1928
1928
  display: flex;
1929
1929
  align-items: center;
1930
1930
  gap: 12px;
1931
- `,zu=({icon:e,title:t,subTitle:i,actions:n,onClose:o,onCloseDisabled:r})=>Ft(Du,{children:[Ft(Iu,{children:[e&&zt(Nu,{children:zt(e,{size:24})}),(t||i)&&Ft(sa,{$gap:6,children:[t&&zt(co,{size:so.S,weight:500,children:t}),i&&zt(co,{size:so.XXS,children:i})]})]}),Ft(Ou,{children:[n?.length?zt(Pr,{icon:ht,size:Mr.M,onClick:()=>alert("todo")}):null,o&&zt(Pr,{icon:Ye,size:Mr.M,onClick:o,disabled:r})]})]}),Fu=Rt.div`
1931
+ `,Bu=({icon:e,title:t,subTitle:i,actions:n,onClose:o,onCloseDisabled:r})=>bt(zu,{children:[bt(Fu,{children:[e&&ft(_u,{children:ft(e,{size:24})}),(t||i)&&bt(fa,{$gap:6,children:[t&&ft(co,{size:so.S,weight:500,children:t}),i&&ft(co,{size:so.XXS,children:i})]})]}),bt(Ru,{children:[n?.length?ft(Pr,{icon:ht,size:Mr.M,onClick:()=>alert("todo")}):null,o&&ft(Pr,{icon:Ye,size:Mr.M,onClick:o,disabled:r})]})]}),Mu=Rt.div`
1932
1932
  position: fixed;
1933
1933
  top: 0;
1934
1934
  bottom: 0;
@@ -1947,24 +1947,24 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1947
1947
  overflow: hidden;
1948
1948
 
1949
1949
  animation-name: ${({$position:e})=>br.in[e]};
1950
- `,_u=Rt.div`
1950
+ `,Lu=Rt.div`
1951
1951
  display: flex;
1952
1952
  flex-direction: column;
1953
1953
  gap: 12px;
1954
1954
 
1955
1955
  height: calc(100% - ${56}px);
1956
1956
  overflow-y: auto;
1957
- `,Ru=({isOpen:e,hideOverlay:t=!1,position:i="right",width:n="600px",header:o,children:r})=>(Fr(e),e?qt(Ft(_t,{children:[!t&&zt(da,{onClick:o?.onCloseDisabled?void 0:o?.onClose}),Ft(Fu,{$position:i,$width:n,children:[o&&zt(zu,{...o}),zt(_u,{children:r})]})]}),document.body):null),Bu=Rt.span`
1957
+ `,Pu=({isOpen:e,hideOverlay:t=!1,position:i="right",width:n="600px",header:o,children:r})=>(Fr(e),e?qt(bt(yt,{children:[!t&&ft(wa,{onClick:o?.onCloseDisabled?void 0:o?.onClose}),bt(Mu,{$position:i,$width:n,children:[o&&ft(Bu,{...o}),ft(Lu,{children:r})]})]}),document.body):null),ju=Rt.span`
1958
1958
  font-family: ${({theme:e})=>e.font_family.primary};
1959
1959
  font-size: ${({$smallAndDark:e})=>e?"12px":"14px"};
1960
1960
  font-weight: 400;
1961
1961
  color: ${({theme:e,$smallAndDark:t})=>t?e.v2.colors.grey[400]:e.v2.colors.silver[200]};
1962
- `,Mu=Rt.span`
1962
+ `,Uu=Rt.span`
1963
1963
  font-family: ${({theme:e})=>e.font_family.primary};
1964
1964
  font-size: 14px;
1965
1965
  font-weight: 400;
1966
1966
  color: ${({theme:e})=>e.v2.colors.red[500]};
1967
- `,Lu=({label:e,tooltip:t,required:i,width:n,smallAndDark:o})=>e||t||i?Ft(aa,{$width:n,$justifyContent:"space-between",children:[e&&zt(Bu,{$smallAndDark:o,children:e}),Ft(aa,{$gap:4,children:[i&&zt(Mu,{children:"*"}),t&&zt(Fa,{text:t,withIcon:!0})]})]}):null,Pu=({errorMessage:e,helpMessage:t})=>{const i=Mt(),n=e?i.v2.colors.red[500]:i.v2.colors.silver[200],o=zt(qe,{size:12,fill:n});return e||t?Ft(aa,{$gap:4,children:[zt("div",{children:o}),zt(co,{size:so.XXS,weight:400,color:n,children:e||t})]}):null},ju=Rt.div`
1967
+ `,Wu=({label:e,tooltip:t,required:i,width:n,smallAndDark:o})=>e||t||i?bt(xa,{$width:n,$justifyContent:"space-between",children:[e&&ft(ju,{$smallAndDark:o,children:e}),bt(xa,{$gap:4,children:[i&&ft(Uu,{children:"*"}),t&&ft(Ga,{text:t,withIcon:!0})]})]}):null,Vu=({errorMessage:e,helpMessage:t})=>{const i=Mt(),n=e?i.v2.colors.red[500]:i.v2.colors.silver[200],o=ft(qe,{size:12,fill:n});return e||t?bt(xa,{$gap:4,children:[ft("div",{children:o}),ft(co,{size:so.XXS,weight:400,color:n,children:e||t})]}):null},Gu=Rt.div`
1968
1968
  padding: ${({$small:e})=>e?"4px":"8px 12px"};
1969
1969
 
1970
1970
  display: flex;
@@ -1982,7 +1982,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
1982
1982
  border: 1px solid ${({theme:e})=>e.v2.colors.silver[300]};
1983
1983
  }
1984
1984
  `}
1985
- `,Uu=Rt.input`
1985
+ `,qu=Rt.input`
1986
1986
  max-width: ${({$maxWidth:e})=>e||"unset"};
1987
1987
  width: ${({$width:e})=>e||"unset"};
1988
1988
 
@@ -2008,12 +2008,12 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
2008
2008
  overflow: hidden;
2009
2009
  text-overflow: ellipsis;
2010
2010
  white-space: nowrap;
2011
- `,Wu=Rt.div`
2011
+ `,Hu=Rt.div`
2012
2012
  display: flex;
2013
2013
  align-items: center;
2014
2014
  justify-content: center;
2015
2015
  cursor: pointer;
2016
- `,Vu=({label:e,required:t,tooltip:i,leftIcon:n,rightIcon:o,hasError:r,errorMessage:a,helpMessage:s,type:l=ki.Text,name:c,value:d,onChange:p,disabled:u,maxWidth:h,width:m,small:g=!1,...$})=>{const x=Mt(),f=l===ki.Password,[b,y]=yt(!1),w=d?x.v2.colors.white[500]:u?x.v2.colors.grey[400]:x.v2.colors.silver[200],v=g?14:18;return Ft(sa,{$width:m,$gap:6,children:[zt(Lu,{label:e,tooltip:i,required:t}),Ft(ju,{$small:g,$disabled:u,$error:r||!!a,children:[n?zt(n,{size:v,fill:w}):null,zt(Uu,{"data-id":c,type:b||l===ki.Number?ki.Text:l,name:c,value:d,onChange:e=>{e.stopPropagation(),l===ki.Number&&(e.target.value=Zn(e.target.value)),p?.(e)},onKeyDown:e=>{["Enter"].includes(e.key)||e.stopPropagation()},disabled:u,$maxWidth:h,$width:m,$small:g,...$}),f?zt(Wu,{onClick:()=>y(e=>!e),children:zt(b?nt:ot,{size:v,fill:w})}):o?zt(o,{size:v,fill:w}):null]}),zt(Pu,{errorMessage:a,helpMessage:s})]})},Gu=({options:e,values:t,setValues:i,withMultiSelect:n,withSearch:o,...r})=>{const a=bt(()=>e.map(e=>({...e,withCheckbox:!0})),[e]),s=bt(()=>t?.length?`Selected: ${e.filter(e=>t.includes(e.id)).map(e=>e.label).join(", ")}`:"",[e,t]);return zt(du,{withMultiSelect:n,withSearch:o,alignX:ou.Left,items:a,selectedIds:t,setSelectedIds:i,children:({ChevronIcon:e,handleClick:t})=>zt(Vu,{placeholder:"Select options...",...r,rightIcon:e,value:s,onChange:()=>{},onClick:t})})},qu=Rt.header`
2016
+ `,Ku=({label:e,required:t,tooltip:i,leftIcon:n,rightIcon:o,hasError:r,errorMessage:a,helpMessage:s,type:l=ki.Text,name:c,value:d,onChange:p,disabled:u,maxWidth:h,width:m,small:g=!1,...$})=>{const x=Mt(),f=l===ki.Password,[b,y]=Ct(!1),w=d?x.v2.colors.white[500]:u?x.v2.colors.grey[400]:x.v2.colors.silver[200],v=g?14:18;return bt(fa,{$width:m,$gap:6,children:[ft(Wu,{label:e,tooltip:i,required:t}),bt(Gu,{$small:g,$disabled:u,$error:r||!!a,children:[n?ft(n,{size:v,fill:w}):null,ft(qu,{"data-id":c,type:b||l===ki.Number?ki.Text:l,name:c,value:d,onChange:e=>{e.stopPropagation(),l===ki.Number&&(e.target.value=Zn(e.target.value)),p?.(e)},onKeyDown:e=>{["Enter"].includes(e.key)||e.stopPropagation()},disabled:u,$maxWidth:h,$width:m,$small:g,...$}),f?ft(Hu,{onClick:()=>y(e=>!e),children:ft(b?nt:ot,{size:v,fill:w})}):o?ft(o,{size:v,fill:w}):null]}),ft(Vu,{errorMessage:a,helpMessage:s})]})},Yu=({options:e,values:t,setValues:i,withMultiSelect:n,withSearch:o,...r})=>{const a=vt(()=>e.map(e=>({...e,withCheckbox:!0})),[e]),s=vt(()=>t?.length?`Selected: ${e.filter(e=>t.includes(e.id)).map(e=>e.label).join(", ")}`:"",[e,t]);return ft(mu,{withMultiSelect:n,withSearch:o,alignX:lu.Left,items:a,selectedIds:t,setSelectedIds:i,children:({ChevronIcon:e,handleClick:t})=>ft(Ku,{placeholder:"Select options...",...r,rightIcon:e,value:s,onChange:()=>{},onClick:t})})},Ju=Rt.header`
2017
2017
  position: relative;
2018
2018
  width: calc(100% - 36px);
2019
2019
  padding: 12px 18px;
@@ -2021,12 +2021,12 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
2021
2021
  display: flex;
2022
2022
  align-items: center;
2023
2023
  justify-content: space-between;
2024
- `,Hu=Rt(aa)`
2024
+ `,Xu=Rt(xa)`
2025
2025
  position: absolute;
2026
2026
  left: 50%;
2027
2027
  transform: translateX(-50%);
2028
2028
  gap: 16px;
2029
- `,Ku=({left:e=[],center:t=[],right:i=[]})=>Ft(qu,{children:[zt(aa,{$gap:16,children:e}),zt(Hu,{children:t}),zt(aa,{$gap:16,children:i})]}),Yu=Rt.div`
2029
+ `,Zu=({left:e=[],center:t=[],right:i=[]})=>bt(Ju,{children:[ft(xa,{$gap:16,children:e}),ft(Xu,{children:t}),ft(xa,{$gap:16,children:i})]}),Qu=Rt.div`
2030
2030
  display: flex;
2031
2031
  align-items: center;
2032
2032
  gap: 2px;
@@ -2040,17 +2040,17 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
2040
2040
  right: ${({$right:e})=>e||"12px"};
2041
2041
  top: 50%;
2042
2042
  transform: translateY(-50%);
2043
- `,Ju=({isOpen:e,actions:t,positionRight:i})=>e?zt(Yu,{$right:i,children:t.map(e=>e?zt(Fa,{text:e.tooltip||"",children:zt(Rp,{...e,variant:zp.Secondary,size:Fp.S,label:e.label})},e.id):null)}):null,Xu=({values:e,setValues:t,label:i,tooltip:n,required:o,errorMessage:r,helpMessage:a,placeholder:s,disabled:l})=>{const c=Mt(),d=e.length<=1,p=l,u=l||d&&p;return Ft(sa,{$gap:6,children:[zt(Lu,{label:i,tooltip:n,required:o}),zt(sa,{$gap:8,children:(e.length?e:[""]).map((i,n)=>{const o=n===e.length-1;return Ft(aa,{$gap:8,$alignItems:"center",children:[zt(Vu,{width:"100%",autoFocus:Pn(i)&&!d&&o,value:i,onChange:i=>((i,n)=>{const o=[...e||[]];o[n]=i,t(o)})(i.target.value,n),disabled:l,placeholder:s,hasError:!!r}),zt(Rp,{leftIcon:et,variant:zp.Secondary,size:Fp.S,disabled:p,onClick:()=>(()=>{const i=[...e||[]];i.push(""),t(i)})()}),zt(Rp,{leftIcon:u?at:()=>zt(at,{fill:c.v2.colors.red[500]}),variant:zp.Secondary,size:Fp.S,disabled:u,onClick:()=>(i=>{const n=[...e||[]].filter((e,t)=>t!==i);n.length||n.push(""),t(n)})(n)})]},`input-list-${n}`)})}),zt(Pu,{errorMessage:r,helpMessage:a})]})},Zu=({col:e,colIdx:t,row:i,rowIdx:n,rowsLength:o,handleChange:r,errorMessage:a,disabled:s})=>{const{keyName:l,placeholder:c,inputType:d,componentType:p,options:u,renderCondition:h}=e,m=i[l];if(h&&!h(i))return null;switch(p){case Ci.Dropdown:case"multi-dropdown":const e=Array.isArray(m)&&u?.filter(e=>m.includes(e.id)).map(e=>e.id)||[],i="multi-dropdown"===p;return zt(Gu,{placeholder:c,options:u||[],withMultiSelect:i,withSearch:i,values:e,setValues:e=>r(l,e,n),disabled:s,hasError:!!a});default:const h=o>1&&0===n&&0===t&&Pn(m);return zt(Vu,{placeholder:c,autoFocus:h,type:d,value:m,onChange:({target:{value:e}})=>r(l,e,n),disabled:s,hasError:!!a})}},Qu=Rt.table`
2043
+ `,eh=({isOpen:e,actions:t,positionRight:i})=>e?ft(Qu,{$right:i,children:t.map(e=>e?ft(Ga,{text:e.tooltip||"",children:ft(Pp,{...e,variant:Bp.Secondary,size:Mp.S,label:e.label})},e.id):null)}):null,th=({values:e,setValues:t,label:i,tooltip:n,required:o,errorMessage:r,helpMessage:a,placeholder:s,disabled:l})=>{const c=Mt(),d=e.length<=1,p=l,u=l||d&&p;return bt(fa,{$gap:6,children:[ft(Wu,{label:i,tooltip:n,required:o}),ft(fa,{$gap:8,children:(e.length?e:[""]).map((i,n)=>{const o=n===e.length-1;return bt(xa,{$gap:8,$alignItems:"center",children:[ft(Ku,{width:"100%",autoFocus:Pn(i)&&!d&&o,value:i,onChange:i=>((i,n)=>{const o=[...e||[]];o[n]=i,t(o)})(i.target.value,n),disabled:l,placeholder:s,hasError:!!r}),ft(Pp,{leftIcon:et,variant:Bp.Secondary,size:Mp.S,disabled:p,onClick:()=>(()=>{const i=[...e||[]];i.push(""),t(i)})()}),ft(Pp,{leftIcon:u?at:()=>ft(at,{fill:c.v2.colors.red[500]}),variant:Bp.Secondary,size:Mp.S,disabled:u,onClick:()=>(i=>{const n=[...e||[]].filter((e,t)=>t!==i);n.length||n.push(""),t(n)})(n)})]},`input-list-${n}`)})}),ft(Vu,{errorMessage:r,helpMessage:a})]})},ih=({col:e,colIdx:t,row:i,rowIdx:n,rowsLength:o,handleChange:r,errorMessage:a,disabled:s})=>{const{keyName:l,placeholder:c,inputType:d,componentType:p,options:u,renderCondition:h}=e,m=i[l];if(h&&!h(i))return null;switch(p){case Ci.Dropdown:case"multi-dropdown":const e=Array.isArray(m)&&u?.filter(e=>m.includes(e.id)).map(e=>e.id)||[],i="multi-dropdown"===p;return ft(Yu,{placeholder:c,options:u||[],withMultiSelect:i,withSearch:i,values:e,setValues:e=>r(l,e,n),disabled:s,hasError:!!a});default:const h=o>1&&0===n&&0===t&&Pn(m);return ft(Ku,{placeholder:c,autoFocus:h,type:d,value:m,onChange:({target:{value:e}})=>r(l,e,n),disabled:s,hasError:!!a})}},nh=Rt.table`
2044
2044
  width: 100%;
2045
2045
  border-collapse: separate;
2046
2046
  border-spacing: 0 8px;
2047
- `,eh=Rt.td`
2047
+ `,oh=Rt.td`
2048
2048
  padding: 0 8px 0 0;
2049
- `,th=Rt.td`
2049
+ `,rh=Rt.td`
2050
2050
  width: 72px;
2051
2051
  padding-bottom: 2px;
2052
2052
  vertical-align: bottom;
2053
- `,ih=({columns:e,values:t,setValues:i,label:n,tooltip:o,required:r,disabled:a,errorMessage:s,helpMessage:l,limitFieldsPerRow:c})=>{const d=Mt(),p=bt(()=>{const t={};return e.forEach(({keyName:e})=>t[e]=""),t},[e]),u=(e,n,o)=>{const r=t.length?ii(t):[ii(p)];r[o][e]=n,i(r)},h=bt(()=>{if(c){const t=[];for(let i=0;;i+=c){const n=e.slice(i,i+c);if(!n.length)break;t.push(n)}return t}return[e]},[c,e]),m=t.length?t:[p];return Ft(sa,{$gap:6,children:[zt(Lu,{label:n,tooltip:o,required:r}),zt(Qu,{children:zt("tbody",{children:m.map((e,n)=>Ft(ft,{children:[c&&n>0?zt("tr",{children:zt(eh,{colSpan:h.length})}):null,h.map((o,r)=>Ft("tr",{children:[o.map((t,i)=>t.renderCondition&&!t.renderCondition(e)?null:Ft(eh,{children:[zt(Lu,{label:t.label,tooltip:t.tooltip,smallAndDark:!0}),zt(ga,{$height:"4px"}),zt(Zu,{col:t,colIdx:i,row:e,rowIdx:n,rowsLength:m.length,handleChange:u,disabled:a,errorMessage:s})]},`input-table-row-${n}-col-${r}-${i}`)),0===r&&zt(th,{children:Ft(aa,{$gap:8,$justifyContent:"center",children:[zt(Rp,{leftIcon:et,variant:zp.Secondary,size:Fp.S,disabled:a,onClick:()=>(()=>{const e=ii(t);e.push(ii(p)),i(e)})()}),zt(Rp,{leftIcon:a?at:()=>zt(at,{fill:d.v2.colors.red[500]}),variant:zp.Secondary,size:Fp.S,disabled:a,onClick:()=>(e=>{const n=t.filter((t,i)=>i!==e);n.length||n.push(ii(p)),i(n)})(n)})]})})]},`input-table-matrix-${n}-${r}`))]},`input-table-row-${n}`))})}),zt(Pu,{errorMessage:s,helpMessage:l})]})},nh=Rt.div`
2053
+ `,ah=({columns:e,values:t,setValues:i,label:n,tooltip:o,required:r,disabled:a,errorMessage:s,helpMessage:l,limitFieldsPerRow:c})=>{const d=Mt(),p=vt(()=>{const t={};return e.forEach(({keyName:e})=>t[e]=""),t},[e]),u=(e,n,o)=>{const r=t.length?ii(t):[ii(p)];r[o][e]=n,i(r)},h=vt(()=>{if(c){const t=[];for(let i=0;;i+=c){const n=e.slice(i,i+c);if(!n.length)break;t.push(n)}return t}return[e]},[c,e]),m=t.length?t:[p];return bt(fa,{$gap:6,children:[ft(Wu,{label:n,tooltip:o,required:r}),ft(nh,{children:ft("tbody",{children:m.map((e,n)=>bt(wt,{children:[c&&n>0?ft("tr",{children:ft(oh,{colSpan:h.length})}):null,h.map((o,r)=>bt("tr",{children:[o.map((t,i)=>t.renderCondition&&!t.renderCondition(e)?null:bt(oh,{children:[ft(Wu,{label:t.label,tooltip:t.tooltip,smallAndDark:!0}),ft(Ea,{$height:"4px"}),ft(ih,{col:t,colIdx:i,row:e,rowIdx:n,rowsLength:m.length,handleChange:u,disabled:a,errorMessage:s})]},`input-table-row-${n}-col-${r}-${i}`)),0===r&&ft(rh,{children:bt(xa,{$gap:8,$justifyContent:"center",children:[ft(Pp,{leftIcon:et,variant:Bp.Secondary,size:Mp.S,disabled:a,onClick:()=>(()=>{const e=ii(t);e.push(ii(p)),i(e)})()}),ft(Pp,{leftIcon:a?at:()=>ft(at,{fill:d.v2.colors.red[500]}),variant:Bp.Secondary,size:Mp.S,disabled:a,onClick:()=>(e=>{const n=t.filter((t,i)=>i!==e);n.length||n.push(ii(p)),i(n)})(n)})]})})]},`input-table-matrix-${n}-${r}`))]},`input-table-row-${n}`))})}),ft(Vu,{errorMessage:s,helpMessage:l})]})},sh=Rt.div`
2054
2054
  display: flex;
2055
2055
  align-items: center;
2056
2056
  justify-content: space-between;
@@ -2065,11 +2065,11 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
2065
2065
  bottom: 0;
2066
2066
  left: 50%;
2067
2067
  animation-name: ${br.in.center};
2068
- `,oh=({isOpen:e,onClose:t,richTitle:i,actions:n})=>e?Ft(nh,{children:[zt(mu,{...i}),zt(uu,{onAnyClick:t,actions:n})]}):null,rh=Rt.div`
2068
+ `,lh=({isOpen:e,onClose:t,richTitle:i,actions:n})=>e?bt(sh,{children:[ft(fu,{...i}),ft($u,{onAnyClick:t,actions:n})]}):null,ch=Rt.div`
2069
2069
  border-radius: 100%;
2070
2070
  background-color: ${({theme:e})=>e.v2.colors.silver[700]};
2071
2071
  position: relative;
2072
- `,ah=Rt.div`
2072
+ `,dh=Rt.div`
2073
2073
  width: 80px;
2074
2074
  height: 80px;
2075
2075
  border-radius: 100%;
@@ -2083,12 +2083,12 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
2083
2083
  transform: rotate(360deg);
2084
2084
  }
2085
2085
  }
2086
- `,sh=Rt(co)`
2086
+ `,ph=Rt(co)`
2087
2087
  position: absolute;
2088
2088
  top: 50%;
2089
2089
  left: 50%;
2090
2090
  transform: translate(-50%, -50%);
2091
- `,lh=({percentage:e})=>Ft(rh,{children:[zt(ah,{}),"number"==typeof e?zt(sh,{size:so.M,weight:500,children:`${e}%`}):null]}),ch={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function dh(e){if("number"==typeof e)return{value:e,unit:"px"};let t;const i=(e.match(/^[0-9.]*/)||"").toString();t=i.includes(".")?parseFloat(i):parseInt(i,10);const n=(e.match(/[^0-9]*$/)||"").toString();return ch[n]?{value:t,unit:n}:{value:t,unit:"px"}}function ph(e){const t=dh(e);return`${t.value}${t.unit}`}const uh=(()=>{const e="react-spinners-SpinnerOld-fade";if("undefined"==typeof window||!window.document)return e;const t=document.createElement("style");document.head.appendChild(t);const i=t.sheet,n=`\n @keyframes ${e} {\n 50% {opacity: 0.3} 100% {opacity: 1}\n }\n `;return i&&i.insertRule(n,0),e})(),hh=({loading:e=!0,color:t,scale:i=1,speedMultiplier:n=1,cssOverride:o={},style:r={},...a})=>{const s=Mt(),l=t||s.text.secondary;if(!e)return null;const{value:c}=dh(2),d=c+4.2,p=d/2+d/5.5,u=4*d*i,h={position:"relative",width:`${u}px`,height:`${u}px`,scale:i,...r,...o},m=(e,t)=>({position:"absolute",width:ph(1.5),height:ph(4),borderRadius:ph(2),backgroundColor:l,transition:"2s",animationFillMode:"both",animation:`${uh} ${1.2/n}s ${.12*e}s infinite ease-in-out`,transform:`translate(-50%, -50%) rotate(${t}deg)`});return Ft("span",{style:h,...a,children:[zt("span",{style:{...m(1,0),top:`calc(50% + ${d}px)`,left:"50%"}}),zt("span",{style:{...m(2,-45),top:`calc(50% + ${p}px)`,left:`calc(50% + ${p}px)`}}),zt("span",{style:{...m(3,90),top:"50%",left:`calc(50% + ${d}px)`}}),zt("span",{style:{...m(4,45),top:`calc(50% + ${-1*p}px)`,left:`calc(50% + ${p}px)`}}),zt("span",{style:{...m(5,0),top:`calc(50% + ${-1*d}px)`,left:"50%"}}),zt("span",{style:{...m(6,-45),top:`calc(50% + ${-1*p}px)`,left:`calc(50% + ${-1*p}px)`}}),zt("span",{style:{...m(7,90),top:"50%",left:`calc(50% + ${-1*d}px)`}}),zt("span",{style:{...m(8,45),top:`calc(50% + ${p}px)`,left:`calc(50% + ${-1*p}px)`}})]})},mh=Rt.div`
2091
+ `,uh=({percentage:e})=>bt(ch,{children:[ft(dh,{}),"number"==typeof e?ft(ph,{size:so.M,weight:500,children:`${e}%`}):null]}),hh={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function mh(e){if("number"==typeof e)return{value:e,unit:"px"};let t;const i=(e.match(/^[0-9.]*/)||"").toString();t=i.includes(".")?parseFloat(i):parseInt(i,10);const n=(e.match(/[^0-9]*$/)||"").toString();return hh[n]?{value:t,unit:n}:{value:t,unit:"px"}}function gh(e){const t=mh(e);return`${t.value}${t.unit}`}const $h=(()=>{const e="react-spinners-SpinnerOld-fade";if("undefined"==typeof window||!window.document)return e;const t=document.createElement("style");document.head.appendChild(t);const i=t.sheet,n=`\n @keyframes ${e} {\n 50% {opacity: 0.3} 100% {opacity: 1}\n }\n `;return i&&i.insertRule(n,0),e})(),xh=({loading:e=!0,color:t,scale:i=1,speedMultiplier:n=1,cssOverride:o={},style:r={},...a})=>{const s=Mt(),l=t||s.text.secondary;if(!e)return null;const{value:c}=mh(2),d=c+4.2,p=d/2+d/5.5,u=4*d*i,h={position:"relative",width:`${u}px`,height:`${u}px`,scale:i,...r,...o},m=(e,t)=>({position:"absolute",width:gh(1.5),height:gh(4),borderRadius:gh(2),backgroundColor:l,transition:"2s",animationFillMode:"both",animation:`${$h} ${1.2/n}s ${.12*e}s infinite ease-in-out`,transform:`translate(-50%, -50%) rotate(${t}deg)`});return bt("span",{style:h,...a,children:[ft("span",{style:{...m(1,0),top:`calc(50% + ${d}px)`,left:"50%"}}),ft("span",{style:{...m(2,-45),top:`calc(50% + ${p}px)`,left:`calc(50% + ${p}px)`}}),ft("span",{style:{...m(3,90),top:"50%",left:`calc(50% + ${d}px)`}}),ft("span",{style:{...m(4,45),top:`calc(50% + ${-1*p}px)`,left:`calc(50% + ${p}px)`}}),ft("span",{style:{...m(5,0),top:`calc(50% + ${-1*d}px)`,left:"50%"}}),ft("span",{style:{...m(6,-45),top:`calc(50% + ${-1*p}px)`,left:`calc(50% + ${-1*p}px)`}}),ft("span",{style:{...m(7,90),top:"50%",left:`calc(50% + ${-1*d}px)`}}),ft("span",{style:{...m(8,45),top:`calc(50% + ${p}px)`,left:`calc(50% + ${-1*p}px)`}})]})},fh=Rt.div`
2092
2092
  width: ${({$size:e})=>e}px;
2093
2093
  height: ${({$size:e})=>e}px;
2094
2094
  border-radius: 100%;
@@ -2096,7 +2096,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
2096
2096
  display: flex;
2097
2097
  align-items: center;
2098
2098
  justify-content: center;
2099
- `,gh=({scale:e,icon:t})=>{const i=Mt();return zt(mh,{$size:45*e,$color:"rgba(80, 246, 232, 0.10)",children:zt(mh,{$size:43*e,$color:"rgba(80, 246, 232, 0.20)",children:zt(mh,{$size:39*e,$color:"rgba(80, 246, 232, 0.40)",children:zt(mh,{$size:33*e,$color:"rgba(80, 246, 232, 0.60)",children:zt(mh,{$size:23*e,$color:"#50F6E8",children:zt(t,{size:16*e,fill:i.v2.colors.black[500]})})})})})})},$h=434,xh=635,fh=Rt.div`
2099
+ `,bh=({scale:e,icon:t})=>{const i=Mt();return ft(fh,{$size:45*e,$color:"rgba(80, 246, 232, 0.10)",children:ft(fh,{$size:43*e,$color:"rgba(80, 246, 232, 0.20)",children:ft(fh,{$size:39*e,$color:"rgba(80, 246, 232, 0.40)",children:ft(fh,{$size:33*e,$color:"rgba(80, 246, 232, 0.60)",children:ft(fh,{$size:23*e,$color:"#50F6E8",children:ft(t,{size:16*e,fill:i.v2.colors.black[500]})})})})})})},yh=434,wh=635,vh=Rt.div`
2100
2100
  width: ${434}px;
2101
2101
  height: ${635}px;
2102
2102
  display: flex;
@@ -2106,25 +2106,25 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
2106
2106
  padding: 16px;
2107
2107
  background: linear-gradient(180deg, #0b0517 2.82%, #190d31 100%);
2108
2108
  position: relative;
2109
- `,bh=Rt.div`
2109
+ `,Ch=Rt.div`
2110
2110
  position: absolute;
2111
2111
  top: 50%;
2112
2112
  left: 50%;
2113
2113
  transform: translate(-50%, -50%);
2114
- `,yh=()=>Ft(fh,{children:[zt(bh,{children:Ft("svg",{xmlns:"http://www.w3.org/2000/svg",width:"464",height:"464",viewBox:"0 0 464 464",fill:"none",children:[zt("path",{opacity:"0.1",d:"M231.567 463.134C359.458 463.134 463.134 359.458 463.134 231.567C463.134 103.676 359.458 0 231.567 0C103.676 0 0 103.676 0 231.567C0 359.458 103.676 463.134 231.567 463.134Z",fill:"url(#paint0_radial_164_65835)"}),zt("defs",{children:Ft("radialGradient",{id:"paint0_radial_164_65835",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(201.232 229.641) scale(231.217)",children:[zt("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),zt("stop",{offset:"0.41",stopColor:"#7C3BFF",stopOpacity:"0.11"}),zt("stop",{offset:"0.56",stopColor:"#7C3BFF",stopOpacity:"0.13"}),zt("stop",{offset:"0.67",stopColor:"#7C3BFF",stopOpacity:"0.18"}),zt("stop",{offset:"0.75",stopColor:"#7C3BFF",stopOpacity:"0.25"}),zt("stop",{offset:"0.83",stopColor:"#7C3BFF",stopOpacity:"0.33"}),zt("stop",{offset:"0.89",stopColor:"#7C3BFF",stopOpacity:"0.44"}),zt("stop",{offset:"0.95",stopColor:"#7C3BFF",stopOpacity:"0.56"}),zt("stop",{offset:"1",stopColor:"#7C3BFF",stopOpacity:"0.7"})]})})]})}),zt(bh,{children:Ft("svg",{xmlns:"http://www.w3.org/2000/svg",width:"432",height:"432",viewBox:"0 0 432 432",fill:"none",children:[zt("path",{opacity:"0.3",d:"M215.921 431.841C335.17 431.841 431.841 335.17 431.841 215.921C431.841 96.6709 335.17 0 215.921 0C96.6709 0 0 96.6709 0 215.921C0 335.17 96.6709 431.841 215.921 431.841Z",fill:"url(#paint0_radial_164_65836)"}),zt("defs",{children:Ft("radialGradient",{id:"paint0_radial_164_65836",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(204.229 214.376) scale(216.276)",children:[zt("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),zt("stop",{offset:"0.38",stopColor:"#7C3BFF",stopOpacity:"0.11"}),zt("stop",{offset:"0.52",stopColor:"#7C3BFF",stopOpacity:"0.13"}),zt("stop",{offset:"0.62",stopColor:"#7C3BFF",stopOpacity:"0.18"}),zt("stop",{offset:"0.69",stopColor:"#7C3BFF",stopOpacity:"0.25"}),zt("stop",{offset:"0.76",stopColor:"#7C3BFF",stopOpacity:"0.33"}),zt("stop",{offset:"0.82",stopColor:"#7C3BFF",stopOpacity:"0.44"}),zt("stop",{offset:"0.88",stopColor:"#7C3BFF",stopOpacity:"0.57"}),zt("stop",{offset:"0.93",stopColor:"#7C3BFF",stopOpacity:"0.72"}),zt("stop",{offset:"0.97",stopColor:"#7C3BFF",stopOpacity:"0.88"}),zt("stop",{offset:"1",stopColor:"#7C3BFF"})]})})]})}),zt(bh,{children:Ft("svg",{xmlns:"http://www.w3.org/2000/svg",width:"374",height:"374",viewBox:"0 0 374 374",fill:"none",children:[zt("path",{opacity:"0.5",d:"M186.963 373.927C290.22 373.927 373.927 290.22 373.927 186.963C373.927 83.7063 290.22 0 186.963 0C83.7063 0 0 83.7063 0 186.963C0 290.22 83.7063 373.927 186.963 373.927Z",fill:"url(#paint0_radial_164_65837)"}),zt("defs",{children:Ft("radialGradient",{id:"paint0_radial_164_65837",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(166.792 184.246) scale(186.963)",children:[zt("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),zt("stop",{offset:"0.31",stopColor:"#7C3BFF",stopOpacity:"0.11"}),zt("stop",{offset:"0.45",stopColor:"#7C3BFF",stopOpacity:"0.14"}),zt("stop",{offset:"0.56",stopColor:"#7C3BFF",stopOpacity:"0.19"}),zt("stop",{offset:"0.65",stopColor:"#7C3BFF",stopOpacity:"0.26"}),zt("stop",{offset:"0.73",stopColor:"#7C3BFF",stopOpacity:"0.35"}),zt("stop",{offset:"0.8",stopColor:"#7C3BFF",stopOpacity:"0.46"}),zt("stop",{offset:"0.86",stopColor:"#7C3BFF",stopOpacity:"0.6"}),zt("stop",{offset:"0.92",stopColor:"#7C3BFF",stopOpacity:"0.76"}),zt("stop",{offset:"0.98",stopColor:"#7C3BFF",stopOpacity:"0.93"}),zt("stop",{offset:"1",stopColor:"#7C3BFF"})]})})]})}),zt(bh,{children:Ft("svg",{xmlns:"http://www.w3.org/2000/svg",width:"257",height:"257",viewBox:"0 0 257 257",fill:"none",children:[zt("path",{opacity:"0.7",d:"M128.193 256.387C198.992 256.387 256.387 198.992 256.387 128.193C256.387 57.3941 198.992 0 128.193 0C57.3941 0 0 57.3941 0 128.193C0 198.992 57.3941 256.387 128.193 256.387Z",fill:"url(#paint0_radial_164_65838)"}),zt("defs",{children:Ft("radialGradient",{id:"paint0_radial_164_65838",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(113.263 126.219) scale(128.08)",children:[zt("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),zt("stop",{offset:"0.31",stopColor:"#7C3BFF",stopOpacity:"0.11"}),zt("stop",{offset:"0.45",stopColor:"#7C3BFF",stopOpacity:"0.14"}),zt("stop",{offset:"0.56",stopColor:"#7C3BFF",stopOpacity:"0.19"}),zt("stop",{offset:"0.65",stopColor:"#7C3BFF",stopOpacity:"0.26"}),zt("stop",{offset:"0.73",stopColor:"#7C3BFF",stopOpacity:"0.35"}),zt("stop",{offset:"0.8",stopColor:"#7C3BFF",stopOpacity:"0.46"}),zt("stop",{offset:"0.86",stopColor:"#7C3BFF",stopOpacity:"0.6"}),zt("stop",{offset:"0.92",stopColor:"#7C3BFF",stopOpacity:"0.76"}),zt("stop",{offset:"0.98",stopColor:"#7C3BFF",stopOpacity:"0.93"}),zt("stop",{offset:"1",stopColor:"#7C3BFF"})]})})]})}),zt(bh,{children:zt(q,{size:112})})]}),wh=Pt`
2114
+ `,kh=()=>bt(vh,{children:[ft(Ch,{children:bt("svg",{xmlns:"http://www.w3.org/2000/svg",width:"464",height:"464",viewBox:"0 0 464 464",fill:"none",children:[ft("path",{opacity:"0.1",d:"M231.567 463.134C359.458 463.134 463.134 359.458 463.134 231.567C463.134 103.676 359.458 0 231.567 0C103.676 0 0 103.676 0 231.567C0 359.458 103.676 463.134 231.567 463.134Z",fill:"url(#paint0_radial_164_65835)"}),ft("defs",{children:bt("radialGradient",{id:"paint0_radial_164_65835",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(201.232 229.641) scale(231.217)",children:[ft("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),ft("stop",{offset:"0.41",stopColor:"#7C3BFF",stopOpacity:"0.11"}),ft("stop",{offset:"0.56",stopColor:"#7C3BFF",stopOpacity:"0.13"}),ft("stop",{offset:"0.67",stopColor:"#7C3BFF",stopOpacity:"0.18"}),ft("stop",{offset:"0.75",stopColor:"#7C3BFF",stopOpacity:"0.25"}),ft("stop",{offset:"0.83",stopColor:"#7C3BFF",stopOpacity:"0.33"}),ft("stop",{offset:"0.89",stopColor:"#7C3BFF",stopOpacity:"0.44"}),ft("stop",{offset:"0.95",stopColor:"#7C3BFF",stopOpacity:"0.56"}),ft("stop",{offset:"1",stopColor:"#7C3BFF",stopOpacity:"0.7"})]})})]})}),ft(Ch,{children:bt("svg",{xmlns:"http://www.w3.org/2000/svg",width:"432",height:"432",viewBox:"0 0 432 432",fill:"none",children:[ft("path",{opacity:"0.3",d:"M215.921 431.841C335.17 431.841 431.841 335.17 431.841 215.921C431.841 96.6709 335.17 0 215.921 0C96.6709 0 0 96.6709 0 215.921C0 335.17 96.6709 431.841 215.921 431.841Z",fill:"url(#paint0_radial_164_65836)"}),ft("defs",{children:bt("radialGradient",{id:"paint0_radial_164_65836",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(204.229 214.376) scale(216.276)",children:[ft("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),ft("stop",{offset:"0.38",stopColor:"#7C3BFF",stopOpacity:"0.11"}),ft("stop",{offset:"0.52",stopColor:"#7C3BFF",stopOpacity:"0.13"}),ft("stop",{offset:"0.62",stopColor:"#7C3BFF",stopOpacity:"0.18"}),ft("stop",{offset:"0.69",stopColor:"#7C3BFF",stopOpacity:"0.25"}),ft("stop",{offset:"0.76",stopColor:"#7C3BFF",stopOpacity:"0.33"}),ft("stop",{offset:"0.82",stopColor:"#7C3BFF",stopOpacity:"0.44"}),ft("stop",{offset:"0.88",stopColor:"#7C3BFF",stopOpacity:"0.57"}),ft("stop",{offset:"0.93",stopColor:"#7C3BFF",stopOpacity:"0.72"}),ft("stop",{offset:"0.97",stopColor:"#7C3BFF",stopOpacity:"0.88"}),ft("stop",{offset:"1",stopColor:"#7C3BFF"})]})})]})}),ft(Ch,{children:bt("svg",{xmlns:"http://www.w3.org/2000/svg",width:"374",height:"374",viewBox:"0 0 374 374",fill:"none",children:[ft("path",{opacity:"0.5",d:"M186.963 373.927C290.22 373.927 373.927 290.22 373.927 186.963C373.927 83.7063 290.22 0 186.963 0C83.7063 0 0 83.7063 0 186.963C0 290.22 83.7063 373.927 186.963 373.927Z",fill:"url(#paint0_radial_164_65837)"}),ft("defs",{children:bt("radialGradient",{id:"paint0_radial_164_65837",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(166.792 184.246) scale(186.963)",children:[ft("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),ft("stop",{offset:"0.31",stopColor:"#7C3BFF",stopOpacity:"0.11"}),ft("stop",{offset:"0.45",stopColor:"#7C3BFF",stopOpacity:"0.14"}),ft("stop",{offset:"0.56",stopColor:"#7C3BFF",stopOpacity:"0.19"}),ft("stop",{offset:"0.65",stopColor:"#7C3BFF",stopOpacity:"0.26"}),ft("stop",{offset:"0.73",stopColor:"#7C3BFF",stopOpacity:"0.35"}),ft("stop",{offset:"0.8",stopColor:"#7C3BFF",stopOpacity:"0.46"}),ft("stop",{offset:"0.86",stopColor:"#7C3BFF",stopOpacity:"0.6"}),ft("stop",{offset:"0.92",stopColor:"#7C3BFF",stopOpacity:"0.76"}),ft("stop",{offset:"0.98",stopColor:"#7C3BFF",stopOpacity:"0.93"}),ft("stop",{offset:"1",stopColor:"#7C3BFF"})]})})]})}),ft(Ch,{children:bt("svg",{xmlns:"http://www.w3.org/2000/svg",width:"257",height:"257",viewBox:"0 0 257 257",fill:"none",children:[ft("path",{opacity:"0.7",d:"M128.193 256.387C198.992 256.387 256.387 198.992 256.387 128.193C256.387 57.3941 198.992 0 128.193 0C57.3941 0 0 57.3941 0 128.193C0 198.992 57.3941 256.387 128.193 256.387Z",fill:"url(#paint0_radial_164_65838)"}),ft("defs",{children:bt("radialGradient",{id:"paint0_radial_164_65838",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(113.263 126.219) scale(128.08)",children:[ft("stop",{stopColor:"#7C3BFF",stopOpacity:"0.1"}),ft("stop",{offset:"0.31",stopColor:"#7C3BFF",stopOpacity:"0.11"}),ft("stop",{offset:"0.45",stopColor:"#7C3BFF",stopOpacity:"0.14"}),ft("stop",{offset:"0.56",stopColor:"#7C3BFF",stopOpacity:"0.19"}),ft("stop",{offset:"0.65",stopColor:"#7C3BFF",stopOpacity:"0.26"}),ft("stop",{offset:"0.73",stopColor:"#7C3BFF",stopOpacity:"0.35"}),ft("stop",{offset:"0.8",stopColor:"#7C3BFF",stopOpacity:"0.46"}),ft("stop",{offset:"0.86",stopColor:"#7C3BFF",stopOpacity:"0.6"}),ft("stop",{offset:"0.92",stopColor:"#7C3BFF",stopOpacity:"0.76"}),ft("stop",{offset:"0.98",stopColor:"#7C3BFF",stopOpacity:"0.93"}),ft("stop",{offset:"1",stopColor:"#7C3BFF"})]})})]})}),ft(Ch,{children:ft(q,{size:112})})]}),Sh=Pt`
2115
2115
  0% {
2116
2116
  background-position: 0% 50%;
2117
2117
  }
2118
2118
  100% {
2119
2119
  background-position: 100% 50%;
2120
2120
  }
2121
- `,vh=Rt(co)`
2121
+ `,Eh=Rt(co)`
2122
2122
  background: ${({$titleColor:e,$gradientColor:t})=>`linear-gradient(45deg, ${e} 0%, ${e} 40%, ${t} 50%, ${e} 60%, ${e} 100%)`};
2123
2123
  background-size: 250% 100%; /* Expand background to allow movement */
2124
2124
  background-clip: text;
2125
2125
  color: transparent;
2126
- animation: ${wh} 1s reverse linear infinite;
2127
- `,Ch=e=>{const t=Math.max(0,Date.now()-e),i=Math.floor(t/1e3),n=Math.floor(i/60),o=i%60;return`${String(n).padStart(2,"0")}:${String(o).padStart(2,"0")}`},kh=({icon:e,title:t,titleColor:i,titleSize:n=so.S,subTitle:o,subTitleColor:r,subTitleSize:a=so.XXXS,startedAt:s,withGradient:l,gradientColor:c,withSpinner:d,withSpinnerOld:p,percentage:u,withVisual:h,visualIcon:m=mt})=>{const g=Mt(),[$,x]=yt(()=>s?Ch(s):"");wt(()=>{if(!s)return;x(Ch(s));const e=setInterval(()=>x(Ch(s)),1e3);return()=>clearInterval(e)},[s]);const f=i||g.v2.colors.white[500],b=r||g.v2.colors.silver[200],y=c||g.v2.colors.black[500];return Ft(sa,{$gap:16,$alignItems:"center",children:[h?zt(gh,{scale:1.7,icon:m}):d?zt(lh,{percentage:u}):p?zt(hh,{scale:1}):null,(t||o||s||e)&&Ft(sa,{$gap:8,$alignItems:"center",children:[Ft(aa,{$gap:4,children:[e&&zt(e,{}),l?zt(vh,{align:"center",size:n,$titleColor:f,$gradientColor:y,children:t}):zt(co,{align:"center",size:n,color:f,children:t})]}),o?zt(co,{align:"center",size:a,color:b,children:o}):null,$?zt(co,{align:"center",size:a,color:f,children:$}):null]})]})},Eh=Rt.div`
2126
+ animation: ${Sh} 1s reverse linear infinite;
2127
+ `,Ah=e=>{const t=Math.max(0,Date.now()-e),i=Math.floor(t/1e3),n=Math.floor(i/60),o=i%60;return`${String(n).padStart(2,"0")}:${String(o).padStart(2,"0")}`},Th=({icon:e,title:t,titleColor:i,titleSize:n=so.S,subTitle:o,subTitleColor:r,subTitleSize:a=so.XXXS,startedAt:s,withGradient:l,gradientColor:c,withSpinner:d,withSpinnerOld:p,percentage:u,withVisual:h,visualIcon:m=mt})=>{const g=Mt(),[$,x]=Ct(()=>s?Ah(s):"");kt(()=>{if(!s)return;x(Ah(s));const e=setInterval(()=>x(Ah(s)),1e3);return()=>clearInterval(e)},[s]);const f=i||g.v2.colors.white[500],b=r||g.v2.colors.silver[200],y=c||g.v2.colors.black[500];return bt(fa,{$gap:16,$alignItems:"center",children:[h?ft(bh,{scale:1.7,icon:m}):d?ft(uh,{percentage:u}):p?ft(xh,{scale:1}):null,(t||o||s||e)&&bt(fa,{$gap:8,$alignItems:"center",children:[bt(xa,{$gap:4,children:[e&&ft(e,{}),l?ft(Eh,{align:"center",size:n,$titleColor:f,$gradientColor:y,children:t}):ft(co,{align:"center",size:n,color:f,children:t})]}),o?ft(co,{align:"center",size:a,color:b,children:o}):null,$?ft(co,{align:"center",size:a,color:f,children:$}):null]})]})},Dh=Rt.div`
2128
2128
  position: ${({$relativeToParent:e})=>e?"absolute":"fixed"};
2129
2129
  top: 50%;
2130
2130
  left: 50%;
@@ -2137,13 +2137,13 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
2137
2137
  overflow: hidden;
2138
2138
 
2139
2139
  animation-name: ${br.in.center};
2140
- `,Sh=Rt.div`
2140
+ `,Ih=Rt.div`
2141
2141
  position: relative;
2142
- `,Ah=Rt.div`
2142
+ `,Nh=Rt.div`
2143
2143
  position: absolute;
2144
2144
  top: 16px;
2145
2145
  left: 16px;
2146
- `,Th=({isOpen:e,hideOverlay:t=!1,relativeToParent:i=!1,onBack:n,onClose:o,children:r})=>{if(Fr(e),!e)return null;const a=Ft(_t,{children:[!t&&zt(da,{$relativeToParent:i,onClick:o}),zt(Eh,{$relativeToParent:i,children:Ft(Sh,{children:[n&&zt(Ah,{children:zt(Pr,{icon:e=>zt(dt,{rotate:-90,...e}),size:Mr.L,onClick:n})}),r]})})]});return i?a:qt(a,document.body)},Dh=Rt.aside`
2146
+ `,Oh=({isOpen:e,hideOverlay:t=!1,relativeToParent:i=!1,onBack:n,onClose:o,children:r})=>{if(Fr(e),!e)return null;const a=bt(yt,{children:[!t&&ft(wa,{$relativeToParent:i,onClick:o}),ft(Dh,{$relativeToParent:i,children:bt(Ih,{children:[n&&ft(Nh,{children:ft(Pr,{icon:e=>ft(dt,{rotate:-90,...e}),size:Mr.L,onClick:n})}),r]})})]});return i?a:qt(a,document.body)},zh=Rt.aside`
2147
2147
  display: flex;
2148
2148
  flex-direction: column;
2149
2149
  gap: 8px;
@@ -2152,7 +2152,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
2152
2152
  padding: 16px 12px;
2153
2153
  background-color: ${({theme:e})=>e.v2.colors.black[500]};
2154
2154
  overflow-y: auto;
2155
- `,Ih=({height:e,icons:t})=>zt(Dh,{$height:e,children:t.map(({id:e,selected:t,icon:i,onClick:n})=>zt(Rp,{label:"",leftIcon:i,iconSize:24,onClick:n,variant:t?zp.Primary:zp.Text},e))}),Nh=Rt.div`
2155
+ `,Fh=({height:e,icons:t})=>ft(zh,{$height:e,children:t.map(({id:e,selected:t,icon:i,onClick:n})=>ft(Pp,{label:"",leftIcon:i,iconSize:24,onClick:n,variant:t?Bp.Primary:Bp.Text},e))}),_h=Rt.div`
2156
2156
  display: flex;
2157
2157
  align-items: center;
2158
2158
  justify-content: center;
@@ -2161,7 +2161,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
2161
2161
  padding: 8px;
2162
2162
  border-radius: 100%;
2163
2163
  background-color: ${({theme:e})=>e.v2.colors.silver[700]};
2164
- `,Oh=({icon:e=Ye,title:t="No data",subTitle:i,button:n})=>{const o=Mt().v2.colors.silver[200];return Ft(sa,{$gap:12,$alignItems:"center",children:[zt(Nh,{children:zt(e,{size:32,fill:o})}),Ft(sa,{$gap:4,$alignItems:"center",children:[zt(co,{size:so.S,align:"center",children:t}),i&&zt(co,{size:so.XXS,align:"center",color:o,children:i})]}),n&&zt(Rp,{variant:zp.Secondary,...n})]})},zh=Rt.div`
2164
+ `,Rh=({icon:e=Ye,title:t="No data",subTitle:i,button:n})=>{const o=Mt().v2.colors.silver[200];return bt(fa,{$gap:12,$alignItems:"center",children:[ft(_h,{children:ft(e,{size:32,fill:o})}),bt(fa,{$gap:4,$alignItems:"center",children:[ft(co,{size:so.S,align:"center",children:t}),i&&ft(co,{size:so.XXS,align:"center",color:o,children:i})]}),n&&ft(Pp,{variant:Bp.Secondary,...n})]})},Bh=Rt.div`
2165
2165
  display: flex;
2166
2166
  align-items: center;
2167
2167
  gap: 10px;
@@ -2170,60 +2170,60 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
2170
2170
  `}
2171
2171
  padding: 4px 12px 4px 4px;
2172
2172
  border-radius: 8px;
2173
- background-color: ${({theme:e,$status:t})=>Nn(e,t,[Ei.Info].includes(t)?"1000":"900")};
2174
- `,Fh=Rt.div`
2173
+ background-color: ${({theme:e,$status:t})=>Nn(e,t,[Si.Info].includes(t)?"1000":"900")};
2174
+ `,Mh=Rt.div`
2175
2175
  width: ${({$smallIcon:e})=>e?"24px":"32px"};
2176
2176
  height: ${({$smallIcon:e})=>e?"24px":"32px"};
2177
2177
  display: flex;
2178
2178
  align-items: center;
2179
2179
  justify-content: center;
2180
2180
  border-radius: 6px;
2181
- background-color: ${({theme:e,$status:t})=>Nn(e,t,[Ei.Info].includes(t)?"900":"800")};
2182
- `,_h=Rt.div`
2181
+ background-color: ${({theme:e,$status:t})=>Nn(e,t,[Si.Info].includes(t)?"900":"800")};
2182
+ `,Lh=Rt.div`
2183
2183
  margin-left: auto;
2184
2184
  margin-right: 8px;
2185
2185
  cursor: pointer;
2186
2186
  &:hover {
2187
2187
  transform: scale(1.2);
2188
2188
  }
2189
- `,Rh=({status:e,message:t,action:i,fullWidth:n,smallIcon:o})=>{const r=Mt(),a=zn(e,r),s=Nn(r,e,e===Ei.Default?"300":e===Ei.Info?"400":"500");return Ft(zh,{$status:e,$fullWidth:n,children:[zt("div",{children:zt(Fh,{$status:e,$smallIcon:o,children:zt(a,{size:o?18:24})})}),zt(co,{color:s,size:so.XXXS,weight:400,children:t}),i&&zt(_h,{onClick:i.onClick,children:zt(co,{color:s,size:so.XXS,weight:500,underline:!0,children:i.label})})]})};var Bh;!function(e){e.S="small",e.L="large"}(Bh||(Bh={}));const Mh=Rt.div`
2189
+ `,Ph=({status:e,message:t,action:i,fullWidth:n,smallIcon:o})=>{const r=Mt(),a=zn(e,r),s=Nn(r,e,e===Si.Default?"300":e===Si.Info?"400":"500");return bt(Bh,{$status:e,$fullWidth:n,children:[ft("div",{children:ft(Mh,{$status:e,$smallIcon:o,children:ft(a,{size:o?18:24})})}),ft(co,{color:s,size:so.XXXS,weight:400,children:t}),i&&ft(Lh,{onClick:i.onClick,children:ft(co,{color:s,size:so.XXS,weight:500,underline:!0,children:i.label})})]})};var jh;!function(e){e.S="small",e.L="large"}(jh||(jh={}));const Uh=Rt.div`
2190
2190
  width: fit-content;
2191
2191
  display: flex;
2192
2192
  align-items: center;
2193
2193
  gap: 8px;
2194
2194
  cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
2195
- `,Lh=Rt.div`
2196
- width: ${({$size:e})=>e===Bh.S?"16px":"20px"};
2197
- height: ${({$size:e})=>e===Bh.S?"16px":"20px"};
2195
+ `,Wh=Rt.div`
2196
+ width: ${({$size:e})=>e===jh.S?"16px":"20px"};
2197
+ height: ${({$size:e})=>e===jh.S?"16px":"20px"};
2198
2198
  display: flex;
2199
2199
  align-items: center;
2200
2200
  justify-content: center;
2201
2201
  border-radius: 100%;
2202
2202
  border: 1px solid ${({$borderColor:e})=>e};
2203
2203
  background-color: ${({$backgroundColor:e})=>e};
2204
- `,Ph=({label:e,value:t,onChange:i,disabled:n,size:o=Bh.L})=>{const r=Mt(),[a,s]=yt(!1),l=t,c=o===Bh.S?6:8,d=n?r.v2.colors.grey[400]:r.v2.colors.white[500],p=l?"transparent":n?r.v2.colors.grey[700]:a?r.v2.colors.silver[400]:r.v2.colors.silver[600],u=n?r.v2.colors.grey[600]:l?r.v2.colors.purple[500]:r.v2.colors.silver[900];return Ft(Mh,{"data-id":"radio"+(e?`-${e}`:""),onClick:e=>{e.stopPropagation(),n||i(!t)},$disabled:n,onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),children:[zt(Lh,{$size:o,$borderColor:p,$backgroundColor:u,children:t?zt(gt,{size:c,fill:d}):null}),e&&zt(co,{size:o===Bh.S?so.XXS:so.XS,children:e})]})},jh=Rt.div`
2204
+ `,Vh=({label:e,value:t,onChange:i,disabled:n,size:o=jh.L})=>{const r=Mt(),[a,s]=Ct(!1),l=t,c=o===jh.S?6:8,d=n?r.v2.colors.grey[400]:r.v2.colors.white[500],p=l?"transparent":n?r.v2.colors.grey[700]:a?r.v2.colors.silver[400]:r.v2.colors.silver[600],u=n?r.v2.colors.grey[600]:l?r.v2.colors.purple[500]:r.v2.colors.silver[900];return bt(Uh,{"data-id":"radio"+(e?`-${e}`:""),onClick:e=>{e.stopPropagation(),n||i(!t)},$disabled:n,onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),children:[ft(Wh,{$size:o,$borderColor:p,$backgroundColor:u,children:t?ft(gt,{size:c,fill:d}):null}),e&&ft(co,{size:o===jh.S?so.XXS:so.XS,children:e})]})},Gh=Rt.div`
2205
2205
  display: flex;
2206
2206
  flex-direction: ${({$flexDirection:e})=>e};
2207
2207
  gap: ${({$gap:e})=>e}px;
2208
- `,Uh=({label:e,direction:t,disabled:i,size:n,options:o,values:r,setValues:a})=>Ft(jh,{$flexDirection:t===mi.Horizontal?"row":"column",$gap:t===mi.Horizontal?16:8,children:[e&&zt(co,{children:e}),o.map(t=>zt(Ph,{...t,value:r[t.id],onChange:e=>{return i=t.id,n=e,void a(e=>{const t={...e};return Object.keys(t).forEach(e=>t[e]=!1),t[i]=n,t});var i,n},disabled:i,size:n},`${e}-radio-${t.id}`))]});var Wh;!function(e){e.Data="data",e.Pretty="pretty"}(Wh||(Wh={}));const Vh=Rt.div`
2208
+ `,qh=({label:e,direction:t,disabled:i,size:n,options:o,values:r,setValues:a})=>bt(Gh,{$flexDirection:t===mi.Horizontal?"row":"column",$gap:t===mi.Horizontal?16:8,children:[e&&ft(co,{children:e}),o.map(t=>ft(Vh,{...t,value:r[t.id],onChange:e=>{return i=t.id,n=e,void a(e=>{const t={...e};return Object.keys(t).forEach(e=>t[e]=!1),t[i]=n,t});var i,n},disabled:i,size:n},`${e}-radio-${t.id}`))]});var Hh;!function(e){e.Data="data",e.Pretty="pretty"}(Hh||(Hh={}));const Kh=Rt.div`
2209
2209
  height: ${({$maxHeight:e})=>e};
2210
2210
  width: 100%;
2211
2211
  display: flex;
2212
2212
  flex-direction: column;
2213
2213
  overflow: hidden;
2214
- `,Gh=Rt.div`
2214
+ `,Yh=Rt.div`
2215
2215
  width: 100%;
2216
2216
  flex: 1;
2217
2217
  display: flex;
2218
2218
  flex-direction: column;
2219
2219
  overflow: hidden;
2220
- `,qh=Rt.div`
2220
+ `,Jh=Rt.div`
2221
2221
  flex-shrink: 0;
2222
2222
  z-index: 1;
2223
- `,Hh=Rt.div`
2223
+ `,Xh=Rt.div`
2224
2224
  display: flex;
2225
2225
  width: 100%;
2226
- `,Kh=Rt.div`
2226
+ `,Zh=Rt.div`
2227
2227
  position: relative;
2228
2228
  min-width: ${({$minWidth:e})=>e?`${e}px`:"auto"};
2229
2229
  flex: 1;
@@ -2234,12 +2234,12 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
2234
2234
 
2235
2235
  ${({$variant:e,$backgroundColor:t})=>{if(t)return Bt`
2236
2236
  background-color: ${t};
2237
- `;switch(e){case Wh.Data:return Bt`
2237
+ `;switch(e){case Hh.Data:return Bt`
2238
2238
  background-color: ${({theme:e})=>e.v2.colors.silver[750]};
2239
- `;case Wh.Pretty:return Bt`
2239
+ `;case Hh.Pretty:return Bt`
2240
2240
  background-color: transparent;
2241
2241
  `;default:return""}}}
2242
- `,Yh=Rt.div`
2242
+ `,Qh=Rt.div`
2243
2243
  position: absolute;
2244
2244
  top: 50%;
2245
2245
  right: 0;
@@ -2247,7 +2247,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
2247
2247
  width: 1px;
2248
2248
  height: 18px;
2249
2249
  background: ${({theme:e})=>e.v2.colors.silver[500]};
2250
- `,Jh=Rt.div`
2250
+ `,em=Rt.div`
2251
2251
  position: relative;
2252
2252
 
2253
2253
  min-width: ${({$minWidth:e})=>e?`${e}px`:"auto"};
@@ -2259,23 +2259,23 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
2259
2259
  cursor: ${({$withClick:e})=>e?"pointer":"default"};
2260
2260
  box-sizing: border-box;
2261
2261
 
2262
- ${({$variant:e,$selected:t,$hovered:i,$isLastRow:n,$isFirstCell:o,$isLastCell:r})=>{switch(e){case Wh.Data:return Bt`
2262
+ ${({$variant:e,$selected:t,$hovered:i,$isLastRow:n,$isFirstCell:o,$isLastCell:r})=>{switch(e){case Hh.Data:return Bt`
2263
2263
  border-bottom: ${({theme:e})=>n?"none":`1px solid ${e.v2.colors.silver[500]}`};
2264
2264
  border-radius: ${n?o?"0 0 0 4px":r?"0 0 4px 0":"0":"0"};
2265
2265
  background-color: ${({theme:e})=>t?e.v2.colors.blue[1e3]:i?e.v2.colors.silver[700]:e.v2.colors.silver[800]};
2266
- `;case Wh.Pretty:return Bt`
2266
+ `;case Hh.Pretty:return Bt`
2267
2267
  border: none;
2268
2268
  border-radius: ${o?"12px 0 0 12px":r?"0 12px 12px 0":"0"};
2269
2269
  background-color: ${({theme:e})=>t?e.v2.colors.blue[1e3]:i?e.v2.colors.silver[700]:e.v2.colors.silver[900]};
2270
2270
  `;default:return""}}}
2271
- `,Xh=Rt.div`
2271
+ `,tm=Rt.div`
2272
2272
  width: 100%;
2273
2273
  display: flex;
2274
2274
  align-items: center;
2275
2275
  justify-content: ${({$textAlign:e})=>"right"===e?"flex-end":"left"===e?"flex-start":"center"===e?"center":"unset"};
2276
2276
  gap: 4px;
2277
2277
  text-align: ${({$textAlign:e})=>e||"left"};
2278
- `,Zh=({variant:e,columns:t,rows:i,getRowActions:n,rowActionsPushRightPosition:o,withCheckboxes:r})=>{const[a,s]=yt(null),l=bt(()=>i.map((l,c)=>{const{cells:d,onClick:p,isSelected:u=!1,onSelect:h,onDeselect:m,hideCheckbox:g}=l,$=a===c,x=n(l),f=(e,t)=>({$isLastRow:c===i.length-1,$isFirstCell:e,$isLastCell:t,$selected:u,$withClick:!!p,onClick:()=>p?.(),$hovered:!!p&&$,onMouseEnter:()=>s(c),onMouseLeave:()=>s(null)});return Ft(Hh,{children:[r&&zt(Jh,{$variant:e,style:{flex:"0 0 68px"},...f(!0,!1),children:!g&&zt(tu,{value:u,onChange:()=>u?m?.():h?.()})},"checkbox-column"),t.map(({key:i,textAlign:n,minWidth:a},s)=>{const l=d.find(e=>e.key===i),p=0===s&&!r,u=s===t.length-1,h="right"===n?"flex-end":"center"===n?"center":"flex-start";return Ft(Jh,{$variant:e,$minWidth:a,...f(p,u),children:[zt(aa,{$width:"100%",$justifyContent:h,children:l?.component?zt(l.component,{}):zt(co,{size:so.XS,children:l?.rawValue||"-"})}),x.length?zt(Ju,{isOpen:$&&u,actions:x,positionRight:o}):null]},`row-${c}-cell-${s}`)})]},`row-${c}`)}),[i,a,n,o,r,t]);return zt(qd,{gap:e===Wh.Pretty?8:0,elements:l})},Qh=({columnKey:e,sortDirection:t,sortByKey:i,onSort:n})=>{const o=Mt(),r=i===e?o.v2.colors.white[500]:o.v2.colors.grey[400],a=t===gi.Ascending?0:180;return zt(Pr,{icon:e=>zt(dt,{fill:r,rotate:a,...e}),onClick:()=>n(e)})},em=({columnKey:e,filters:t,onFilter:i,rowsUnfiltered:n})=>{const o=Mt(),r=t[e]?.length?o.v2.colors.white[500]:o.v2.colors.grey[400],a=bt(()=>Array.from(new Set(n.map(t=>t.cells.find(t=>t.key===e)?.rawValue?.toString()).filter(e=>!!e))).sort((e,t)=>e.localeCompare(t)).map(e=>({id:e,label:e,withCheckbox:!0})),[n,e]);return zt(du,{items:a,withMultiSelect:!0,selectedIds:t[e]?.map(e=>e.toString())??[],setSelectedIds:t=>i(e,t),defaultOpen:!1,iconButtonProps:{icon:e=>zt($t,{fill:r,...e})}})},tm=({variant:e,backgroundColor:t,columns:i,rowsUnfiltered:n,sortDirection:o,sortByKey:r,onSort:a,filters:s,onFilter:l,withCheckboxes:c,partiallySelected:d,allSelected:p,onSelectAll:u})=>Ft(Hh,{children:[c&&zt(Kh,{$variant:e,$backgroundColor:t,$isFirst:!0,$isLast:!1,style:{flex:"0 0 68px"},children:zt(tu,{partiallyChecked:d&&!p,value:p||!1,onChange:u})},"checkbox-column"),i.map(({key:d,label:p,noSort:u,noFilter:h,minWidth:m,textAlign:g},$)=>{const x=0===$&&!c,f=$===i.length-1;return Ft(Kh,{$variant:e,$backgroundColor:t,$minWidth:m,$isFirst:x,$isLast:f,children:[Ft(Xh,{$textAlign:g,children:[zt(co,{size:so.XS,align:g,children:p}),!u&&zt(Qh,{columnKey:d,sortDirection:o,sortByKey:r,onSort:a}),!h&&zt(em,{columnKey:d,filters:s,onFilter:l,rowsUnfiltered:n})]}),!f&&e===Wh.Data&&zt(Yh,{})]},`column-${d}`)})]}),im=({variant:e,maxHeight:t="256px",headerBackgroundColor:i,isLoading:n,columns:o,rows:r,getRowActions:a,rowActionsPushRightPosition:s,withCheckboxes:l})=>{const[c,d]=yt(gi.Ascending),[p,u]=yt(""),[h,m]=yt({}),g=Ct(e=>{u(e),d(e=>e===gi.Ascending?gi.Descending:gi.Ascending)},[]),$=Ct((e,t)=>{m(i=>({...i,[e]:t}))},[]),x=bt(()=>{const e=(e,t)=>{const i=e.cells.find(e=>e.key===t);return i&&(i.rawValue?.toString()||i.component?.({})?.props?.children?.toString())||""};return(p?[...r].sort((t,i)=>{const n=e(t,p),o=e(i,p);return(c===gi.Ascending?1:-1)*((e,t)=>"string"==typeof e&&"string"==typeof t?e.localeCompare(t):"number"==typeof e&&"number"==typeof t?e-t:"boolean"==typeof e&&"boolean"==typeof t?e===t?0:e?1:-1:String(e).localeCompare(String(t)))(n,o)}):r).filter(t=>{for(const[i,n]of Object.entries(h))if(n.length&&!n.includes(e(t,i)))return!1;return!0})},[r,p,c,h]),{partiallySelected:f,allSelected:b}=bt(()=>{const e=x.filter(e=>!e.hideCheckbox);return{partiallySelected:e.length>0&&e.some(e=>e.isSelected),allSelected:e.length>0&&e.every(e=>e.isSelected)}},[x]);return zt(Vh,{$maxHeight:t,children:Ft(Gh,{$variant:e,children:[zt(qh,{children:zt(tm,{variant:e,backgroundColor:i,columns:o,rowsUnfiltered:r,sortDirection:c,sortByKey:p,onSort:g,filters:h,onFilter:$,withCheckboxes:l,partiallySelected:f,allSelected:b,onSelectAll:e=>{e?x.forEach(e=>!e.hideCheckbox&&e.onSelect?.()):x.forEach(e=>!e.hideCheckbox&&e.onDeselect?.())}})}),x.length?zt(Zh,{variant:e,columns:o,rows:x,getRowActions:a||(()=>[]),rowActionsPushRightPosition:s,withCheckboxes:l}):zt(la,{style:{marginTop:"0.5rem"},children:n?zt(kh,{withSpinner:!0}):zt(Oh,{})})]})})},nm=Rt.div`
2278
+ `,im=({variant:e,columns:t,rows:i,getRowActions:n,rowActionsPushRightPosition:o,withCheckboxes:r})=>{const[a,s]=Ct(null),l=vt(()=>i.map((l,c)=>{const{cells:d,onClick:p,isSelected:u=!1,onSelect:h,onDeselect:m,hideCheckbox:g}=l,$=a===c,x=n(l),f=(e,t)=>({$isLastRow:c===i.length-1,$isFirstCell:e,$isLastCell:t,$selected:u,$withClick:!!p,onClick:()=>p?.(),$hovered:!!p&&$,onMouseEnter:()=>s(c),onMouseLeave:()=>s(null)});return bt(Xh,{children:[r&&ft(em,{$variant:e,style:{flex:"0 0 68px"},...f(!0,!1),children:!g&&ft(ru,{value:u,onChange:()=>u?m?.():h?.()})},"checkbox-column"),t.map(({key:i,textAlign:n,minWidth:a},s)=>{const l=d.find(e=>e.key===i),p=0===s&&!r,u=s===t.length-1,h="right"===n?"flex-end":"center"===n?"center":"flex-start";return bt(em,{$variant:e,$minWidth:a,...f(p,u),children:[ft(xa,{$width:"100%",$justifyContent:h,children:l?.component?ft(l.component,{}):ft(co,{size:so.XS,children:l?.rawValue||"-"})}),x.length?ft(eh,{isOpen:$&&u,actions:x,positionRight:o}):null]},`row-${c}-cell-${s}`)})]},`row-${c}`)}),[i,a,n,o,r,t]);return ft(Jd,{gap:e===Hh.Pretty?8:0,elements:l})},nm=({columnKey:e,sortDirection:t,sortByKey:i,onSort:n})=>{const o=Mt(),r=i===e?o.v2.colors.white[500]:o.v2.colors.grey[400],a=t===gi.Ascending?0:180;return ft(Pr,{icon:e=>ft(dt,{fill:r,rotate:a,...e}),onClick:()=>n(e)})},om=({columnKey:e,filters:t,onFilter:i,rowsUnfiltered:n})=>{const o=Mt(),r=t[e]?.length?o.v2.colors.white[500]:o.v2.colors.grey[400],a=vt(()=>Array.from(new Set(n.map(t=>t.cells.find(t=>t.key===e)?.rawValue?.toString()).filter(e=>!!e))).sort((e,t)=>e.localeCompare(t)).map(e=>({id:e,label:e,withCheckbox:!0})),[n,e]);return ft(mu,{items:a,withMultiSelect:!0,selectedIds:t[e]?.map(e=>e.toString())??[],setSelectedIds:t=>i(e,t),defaultOpen:!1,iconButtonProps:{icon:e=>ft($t,{fill:r,...e})}})},rm=({variant:e,backgroundColor:t,columns:i,rowsUnfiltered:n,sortDirection:o,sortByKey:r,onSort:a,filters:s,onFilter:l,withCheckboxes:c,partiallySelected:d,allSelected:p,onSelectAll:u})=>bt(Xh,{children:[c&&ft(Zh,{$variant:e,$backgroundColor:t,$isFirst:!0,$isLast:!1,style:{flex:"0 0 68px"},children:ft(ru,{partiallyChecked:d&&!p,value:p||!1,onChange:u})},"checkbox-column"),i.map(({key:d,label:p,noSort:u,noFilter:h,minWidth:m,textAlign:g},$)=>{const x=0===$&&!c,f=$===i.length-1;return bt(Zh,{$variant:e,$backgroundColor:t,$minWidth:m,$isFirst:x,$isLast:f,children:[bt(tm,{$textAlign:g,children:[ft(co,{size:so.XS,align:g,children:p}),!u&&ft(nm,{columnKey:d,sortDirection:o,sortByKey:r,onSort:a}),!h&&ft(om,{columnKey:d,filters:s,onFilter:l,rowsUnfiltered:n})]}),!f&&e===Hh.Data&&ft(Qh,{})]},`column-${d}`)})]}),am=({variant:e,maxHeight:t="256px",headerBackgroundColor:i,isLoading:n,columns:o,rows:r,getRowActions:a,rowActionsPushRightPosition:s,withCheckboxes:l})=>{const[c,d]=Ct(gi.Ascending),[p,u]=Ct(""),[h,m]=Ct({}),g=Et(e=>{u(e),d(e=>e===gi.Ascending?gi.Descending:gi.Ascending)},[]),$=Et((e,t)=>{m(i=>({...i,[e]:t}))},[]),x=vt(()=>{const e=(e,t)=>{const i=e.cells.find(e=>e.key===t);return i&&(i.rawValue?.toString()||i.component?.({})?.props?.children?.toString())||""};return(p?[...r].sort((t,i)=>{const n=e(t,p),o=e(i,p);return(c===gi.Ascending?1:-1)*((e,t)=>"string"==typeof e&&"string"==typeof t?e.localeCompare(t):"number"==typeof e&&"number"==typeof t?e-t:"boolean"==typeof e&&"boolean"==typeof t?e===t?0:e?1:-1:String(e).localeCompare(String(t)))(n,o)}):r).filter(t=>{for(const[i,n]of Object.entries(h))if(n.length&&!n.includes(e(t,i)))return!1;return!0})},[r,p,c,h]),{partiallySelected:f,allSelected:b}=vt(()=>{const e=x.filter(e=>!e.hideCheckbox);return{partiallySelected:e.length>0&&e.some(e=>e.isSelected),allSelected:e.length>0&&e.every(e=>e.isSelected)}},[x]);return ft(Kh,{$maxHeight:t,children:bt(Yh,{$variant:e,children:[ft(Jh,{children:ft(rm,{variant:e,backgroundColor:i,columns:o,rowsUnfiltered:r,sortDirection:c,sortByKey:p,onSort:g,filters:h,onFilter:$,withCheckboxes:l,partiallySelected:f,allSelected:b,onSelectAll:e=>{e?x.forEach(e=>!e.hideCheckbox&&e.onSelect?.()):x.forEach(e=>!e.hideCheckbox&&e.onDeselect?.())}})}),x.length?ft(im,{variant:e,columns:o,rows:x,getRowActions:a||(()=>[]),rowActionsPushRightPosition:s,withCheckboxes:l}):ft(ba,{style:{marginTop:"0.5rem"},children:n?ft(Th,{withSpinner:!0}):ft(Rh,{})})]})})},sm=Rt.div`
2279
2279
  display: flex;
2280
2280
  align-items: center;
2281
2281
  justify-content: center;
@@ -2298,7 +2298,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
2298
2298
  `:Bt`
2299
2299
  background-color: ${({theme:e})=>e.v2.colors.silver[300]};
2300
2300
  `}
2301
- `,om=({label:e,leftIcon:t,rightIcon:i,onClick:n,disabled:o})=>{const r=Mt(),a=o?r.v2.colors.grey[400]:r.v2.colors.white[500];return Ft(nm,{$disabled:o,$withClick:!!n,onClick:()=>!o&&n?.(),children:[t&&zt(t,{fill:a,size:16}),zt(co,{color:a,size:so.XS,nowrap:!0,children:e}),i&&zt(i,{fill:a,size:16})]})},rm=Rt.div`
2301
+ `,lm=({label:e,leftIcon:t,rightIcon:i,onClick:n,disabled:o})=>{const r=Mt(),a=o?r.v2.colors.grey[400]:r.v2.colors.white[500];return bt(sm,{$disabled:o,$withClick:!!n,onClick:()=>!o&&n?.(),children:[t&&ft(t,{fill:a,size:16}),ft(co,{color:a,size:so.XS,nowrap:!0,children:e}),i&&ft(i,{fill:a,size:16})]})},cm=Rt.div`
2302
2302
  padding: 8px 12px;
2303
2303
 
2304
2304
  display: flex;
@@ -2316,7 +2316,7 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
2316
2316
  border: 1px solid ${({theme:e})=>e.v2.colors.silver[300]};
2317
2317
  }
2318
2318
  `}
2319
- `,am=Rt.textarea`
2319
+ `,dm=Rt.textarea`
2320
2320
  max-width: ${({$maxWidth:e})=>e||"unset"};
2321
2321
  min-height: ${({$minHeight:e})=>e||"50px"};
2322
2322
  flex: 1;
@@ -2341,11 +2341,11 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
2341
2341
  color: ${({theme:e})=>e.v2.colors.grey[400]};
2342
2342
  }
2343
2343
  }
2344
- `,sm=({label:e,required:t,tooltip:i,errorMessage:n,helpMessage:o,name:r,value:a,onChange:s,disabled:l,maxWidth:c,minHeight:d,...p})=>{const u=vt(null),h=()=>{u.current&&(u.current.style.height="auto",u.current.style.height=`${u.current.scrollHeight}px`)};return Ft(sa,{$gap:6,children:[zt(Lu,{label:e,tooltip:i,required:t}),zt(rm,{$disabled:l,$error:!!n,children:zt(am,{ref:u,"data-id":r,name:r,value:a,onChange:e=>{e.stopPropagation(),h(),s?.(e)},onKeyDown:e=>{e.stopPropagation()},onFocus:h,onBlur:h,disabled:l,$maxWidth:c,$minHeight:d,...p})}),zt(Pu,{errorMessage:n,helpMessage:o})]})};var lm,cm,dm;!function(e){e.Default="default",e.SuccessError="successError"}(lm||(lm={})),function(e){e.S="small",e.L="large"}(cm||(cm={})),function(e){e.Left="left",e.Right="right"}(dm||(dm={}));const pm=Rt.div`
2344
+ `,pm=({label:e,required:t,tooltip:i,errorMessage:n,helpMessage:o,name:r,value:a,onChange:s,disabled:l,maxWidth:c,minHeight:d,...p})=>{const u=St(null),h=()=>{u.current&&(u.current.style.height="auto",u.current.style.height=`${u.current.scrollHeight}px`)};return bt(fa,{$gap:6,children:[ft(Wu,{label:e,tooltip:i,required:t}),ft(cm,{$disabled:l,$error:!!n,children:ft(dm,{ref:u,"data-id":r,name:r,value:a,onChange:e=>{e.stopPropagation(),h(),s?.(e)},onKeyDown:e=>{e.stopPropagation()},onFocus:h,onBlur:h,disabled:l,$maxWidth:c,$minHeight:d,...p})}),ft(Vu,{errorMessage:n,helpMessage:o})]})};var um,hm,mm;!function(e){e.Default="default",e.SuccessError="successError"}(um||(um={})),function(e){e.S="small",e.L="large"}(hm||(hm={})),function(e){e.Left="left",e.Right="right"}(mm||(mm={}));const gm=Rt.div`
2345
2345
  display: flex;
2346
2346
  align-items: center;
2347
2347
  gap: ${({$gap:e})=>e}px;
2348
- `,um=Rt.div`
2348
+ `,$m=Rt.div`
2349
2349
  position: relative;
2350
2350
  display: flex;
2351
2351
  align-items: center;
@@ -2355,10 +2355,10 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
2355
2355
  height: ${({$size:e})=>e}px;
2356
2356
  padding: ${4}px;
2357
2357
  border-radius: ${({$size:e})=>2*e}px;
2358
- background-color: ${({$disabled:e,$onBgColor:t,$offBgColor:i,$variant:n,$value:o,theme:r})=>{if(e)return r.v2.colors.grey[800];if(t&&o)return t;if(i&&!o)return i;switch(n){case lm.SuccessError:return o?r.v2.colors.green[500]:r.v2.colors.red[500];case lm.Default:default:return o?r.v2.colors.purple[500]:r.v2.colors.grey[400]}}};
2358
+ background-color: ${({$disabled:e,$onBgColor:t,$offBgColor:i,$variant:n,$value:o,theme:r})=>{if(e)return r.v2.colors.grey[800];if(t&&o)return t;if(i&&!o)return i;switch(n){case um.SuccessError:return o?r.v2.colors.green[500]:r.v2.colors.red[500];case um.Default:default:return o?r.v2.colors.purple[500]:r.v2.colors.grey[400]}}};
2359
2359
 
2360
2360
  cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
2361
- `,hm=Rt.div`
2361
+ `,xm=Rt.div`
2362
2362
  position: absolute;
2363
2363
  top: 50%;
2364
2364
  left: ${({$value:e,$size:t})=>e?`calc(100% - ${t}px - 4px)`:"4px"};
@@ -2368,22 +2368,22 @@ import{SamplerIcon as e,PiiMaskingIcon as t,ActionIcon as i,RenameAttributeIcon
2368
2368
  border-radius: 100%;
2369
2369
  background-color: ${({$color:e})=>e};
2370
2370
  box-shadow: ${({$disabled:e})=>e?"0 0 40px 0 rgba(0, 0, 0, 0.07)":"0 0 10px 0 rgba(0, 0, 0, 0.50)"};
2371
- `,mm=({variant:e=lm.Default,size:t=cm.L,label:i,labelAlign:n=dm.Left,labelColor:o,tooltip:r,value:a,onChange:s,disabled:l,withIcon:c,onIcon:d=He,offIcon:p=Ye,onBgColor:u,offBgColor:h})=>{const m=Mt(),g=l?m.v2.colors.grey[400]:m.v2.colors.white[500],$=t===cm.S?10:16,x=o||m.v2.colors.white[500],f=t===cm.S?so.XXXS:so.XS,b=t===cm.S?8:12;return Ft(pm,{$gap:b,children:[i&&n===dm.Left&&zt(co,{color:x,size:f,nowrap:!0,children:i}),Ft(um,{$onBgColor:u,$offBgColor:h,$variant:e,$size:$,$value:a,$disabled:l,onClick:e=>{e.stopPropagation(),l||s(!a)},children:[zt(hm,{$color:g,$size:$,$value:a,$disabled:l}),c&&Ft(_t,{children:[zt(d,{size:$,fill:g}),zt(p,{size:$,fill:g})]})]}),i&&n===dm.Right&&zt(co,{color:x,size:f,nowrap:!0,children:i}),r&&zt(Fa,{text:r,withIcon:!0})]})},gm=Rt.div`
2371
+ `,fm=({variant:e=um.Default,size:t=hm.L,label:i,labelAlign:n=mm.Left,labelColor:o,tooltip:r,value:a,onChange:s,disabled:l,withIcon:c,onIcon:d=He,offIcon:p=Ye,onBgColor:u,offBgColor:h})=>{const m=Mt(),g=l?m.v2.colors.grey[400]:m.v2.colors.white[500],$=t===hm.S?10:16,x=o||m.v2.colors.white[500],f=t===hm.S?so.XXXS:so.XS,b=t===hm.S?8:12;return bt(gm,{$gap:b,children:[i&&n===mm.Left&&ft(co,{color:x,size:f,nowrap:!0,children:i}),bt($m,{$onBgColor:u,$offBgColor:h,$variant:e,$size:$,$value:a,$disabled:l,onClick:e=>{e.stopPropagation(),l||s(!a)},children:[ft(xm,{$color:g,$size:$,$value:a,$disabled:l}),c&&bt(yt,{children:[ft(d,{size:$,fill:g}),ft(p,{size:$,fill:g})]})]}),i&&n===mm.Right&&ft(co,{color:x,size:f,nowrap:!0,children:i}),r&&ft(Ga,{text:r,withIcon:!0})]})},bm=Rt.div`
2372
2372
  display: flex;
2373
2373
  flex-direction: ${({$direction:e})=>e===mi.Horizontal?"row":"column"};
2374
2374
  gap: ${({$direction:e})=>e===mi.Horizontal?16:8}px;
2375
- `,$m=({direction:e=mi.Vertical,title:t,size:i,disabled:n,options:o,values:r,setValues:a})=>{const s=i===cm.S?so.XS:so.S;return Ft(gm,{$direction:e,children:[t&&zt(co,{size:s,children:t}),o.map(e=>zt(mm,{...e,labelAlign:dm.Right,value:r[e.id],onChange:t=>{return i=e.id,n=t,void a(e=>{const t={...e};return i?t[i]=n:o.forEach(e=>t[e.id]=n),t});var i,n},disabled:n,size:i},`${t}-toggle-${e.id}`))]})},xm=Rt.div`
2375
+ `,ym=({direction:e=mi.Vertical,title:t,size:i,disabled:n,options:o,values:r,setValues:a})=>{const s=i===hm.S?so.XS:so.S;return bt(bm,{$direction:e,children:[t&&ft(co,{size:s,children:t}),o.map(e=>ft(fm,{...e,labelAlign:mm.Right,value:r[e.id],onChange:t=>{return i=e.id,n=t,void a(e=>{const t={...e};return i?t[i]=n:o.forEach(e=>t[e.id]=n),t});var i,n},disabled:n,size:i},`${t}-toggle-${e.id}`))]})},wm=Rt.div`
2376
2376
  min-width: 530px;
2377
- `,fm=Rt.div`
2377
+ `,vm=Rt.div`
2378
2378
  display: flex;
2379
2379
  flex-direction: column;
2380
2380
  align-items: center;
2381
2381
  gap: 16px;
2382
2382
  padding: 24px;
2383
- `,bm=Rt.div`
2383
+ `,Cm=Rt.div`
2384
2384
  display: flex;
2385
2385
  justify-content: center;
2386
2386
  gap: 16px;
2387
2387
  padding: 16px 24px;
2388
2388
  background-color: ${({theme:e})=>e.v2.colors.silver[1e3]};
2389
- `,ym=({visual:e,title:t,description:i,isOpen:n,onClose:o,onDeny:r,denyLabel:a="Deny",onApprove:s,approveLabel:l="Approve",...c})=>{const d=Mt();return zt(Th,{isOpen:n,onClose:o,...c,children:Ft(xm,{children:[Ft(fm,{children:[e&&zt(e,{}),zt(co,{size:so.M,weight:500,color:d.v2.colors.white[500],children:t}),zt(sa,{$alignItems:"center",$gap:4,children:i.split("\n").map(e=>zt(co,{size:so.XS,weight:400,color:d.v2.colors.silver[200],children:e},e))})]}),(r||s)&&Ft(bm,{children:[zt(Rp,{variant:zp.Secondary,label:a,onClick:()=>{r?.(),o()}}),s&&zt(Rp,{variant:zp.Primary,label:l,onClick:()=>{s(),o()}})]})]})})};export{Vo as $,li as A,Rp as B,tu as C,Sa as D,Xn as E,sa as F,qi as G,Jn as H,Vu as I,Mi as J,ci as K,kh as L,Wo as M,Oh as N,Fa as O,Li as P,ji as Q,mu as R,qd as S,mm as T,Yi as U,gh as V,ym as W,Ki as X,Pi as Y,Bi as Z,uo as _,Lu as a,Pc as a$,mn as a0,xr as a1,Bo as a2,Mo as a3,Nr as a4,on as a5,nn as a6,Pr as a7,Mr as a8,Po as a9,rn as aA,oa as aB,im as aC,Wh as aD,oh as aE,On as aF,ys as aG,Tu as aH,Cr as aI,uu as aJ,yu as aK,Cu as aL,Ui as aM,ra as aN,yc as aO,Ol as aP,os as aQ,yo as aR,Ll as aS,Td as aT,Dp as aU,_d as aV,kd as aW,Ba as aX,Fs as aY,ip as aZ,Zd as a_,jo as aa,fn as ab,Gp as ac,Jo as ad,Uo as ae,Ti as af,cm as ag,ao as ah,ar as ai,en as aj,wi as ak,nr as al,jr as am,Hr as an,na as ao,Un as ap,xu as aq,Zo as ar,du as as,ru as at,ou as au,El as av,Vp as aw,dn as ax,kl as ay,pu as az,Pu as b,Ur as b$,jd as b0,Sp as b1,xo as b2,Xo as b3,sd as b4,Mc as b5,ts as b6,zr as b7,yn as b8,Lo as b9,cl as bA,Op as bB,Sr as bC,no as bD,Ir as bE,sr as bF,el as bG,Ri as bH,ln as bI,Cn as bJ,xn as bK,pp as bL,Br as bM,an as bN,ri as bO,Zi as bP,oi as bQ,_r as bR,Yr as bS,Na as bT,ca as bU,rp as bV,Kr as bW,Hn as bX,Vl as bY,tn as bZ,Jr as b_,Ds as ba,Oc as bb,pn as bc,yi as bd,tr as be,ka as bf,pa as bg,qa as bh,Fo as bi,Vd as bj,un as bk,zs as bl,Ai as bm,Kn as bn,zn as bo,er as bp,ni as bq,Ws as br,wn as bs,Ks as bt,ua as bu,ha as bv,$d as bw,bn as bx,ma as by,bc as bz,ki as c,Xi as c$,dr as c0,vs as c1,Ms as c2,vi as c3,Yn as c4,Vr as c5,Mn as c6,Zt as c7,Ji as c8,bp as c9,gn as cA,ia as cB,qs as cC,hn as cD,ic as cE,Ko as cF,cn as cG,ss as cH,Dn as cI,Ps as cJ,ms as cK,ai as cL,Oi as cM,ui as cN,zi as cO,Ni as cP,fi as cQ,Si as cR,hi as cS,mi as cT,pi as cU,_i as cV,xi as cW,Gi as cX,Vi as cY,Wi as cZ,Di as c_,Ec as ca,En as cb,vp as cc,ir as cd,qr as ce,$i as cf,es as cg,br as ch,Rn as ci,Rr as cj,Ii as ck,wl as cl,Bs as cm,bd as cn,Fn as co,Ln as cp,Rs as cq,al as cr,ll as cs,Ju as ct,Wn as cu,Qn as cv,Zr as cw,Fi as cx,bi as cy,ac as cz,ih as d,Bh as d$,Hi as d0,gi as d1,di as d2,Qt as d3,sn as d4,$n as d5,vn as d6,kn as d7,Sn as d8,An as d9,xl as dA,pl as dB,Bc as dC,nd as dD,Xc as dE,cd as dF,md as dG,js as dH,Md as dI,da as dJ,Vc as dK,ga as dL,mo as dM,go as dN,$o as dO,xh as dP,$h as dQ,yh as dR,Pp as dS,jp as dT,nu as dU,Zp as dV,Ku as dW,Th as dX,Ih as dY,Ph as dZ,Uh as d_,Tn as da,In as db,Nn as dc,_n as dd,jn as de,Vn as df,qn as dg,Zn as dh,eo as di,to as dj,io as dk,oo as dl,ro as dm,Go as dn,qo as dp,Ho as dq,Ro as dr,$r as ds,kr as dt,fr as du,gr as dv,Fr as dw,Cl as dx,Al as dy,Tl as dz,dm as e,gu as e0,om as e1,$m as e2,lm as e3,Xu as f,aa as g,Fp as h,Pn as i,zp as j,Ci as k,si as l,ii as m,la as n,Ru as o,so as p,Xp as q,Rh as r,Ei as s,co as t,Qi as u,Kp as v,sm as w,ti as x,Gu as y,Bn as z};
2389
+ `,km=({visual:e,title:t,description:i,isOpen:n,onClose:o,onDeny:r,denyLabel:a="Deny",onApprove:s,approveLabel:l="Approve",...c})=>{const d=Mt();return ft(Oh,{isOpen:n,onClose:o,...c,children:bt(wm,{children:[bt(vm,{children:[e&&ft(e,{}),ft(co,{size:so.M,weight:500,color:d.v2.colors.white[500],children:t}),ft(fa,{$alignItems:"center",$gap:4,children:i.split("\n").map(e=>ft(co,{size:so.XS,weight:400,color:d.v2.colors.silver[200],children:e},e))})]}),(r||s)&&bt(Cm,{children:[ft(Pp,{variant:Bp.Secondary,label:a,onClick:()=>{r?.(),o()}}),s&&ft(Pp,{variant:Bp.Primary,label:l,onClick:()=>{s(),o()}})]})]})})};export{Vo as $,li as A,Pp as B,ru as C,Ba as D,Xn as E,fa as F,qi as G,Jn as H,Ku as I,Mi as J,ci as K,Th as L,Wo as M,Rh as N,Ga as O,Li as P,ji as Q,fu as R,Jd as S,fm as T,Yi as U,bh as V,km as W,Ki as X,Pi as Y,Bi as Z,uo as _,Wu as a,Td as a$,mn as a0,xr as a1,Bo as a2,Mo as a3,Nr as a4,on as a5,nn as a6,Pr as a7,Mr as a8,Po as a9,lu as aA,Kp as aB,dn as aC,ta as aD,gu as aE,rn as aF,ga as aG,am as aH,Hh as aI,lh as aJ,On as aK,Ns as aL,Ou as aM,Cr as aN,$u as aO,ku as aP,Au as aQ,Ui as aR,$a as aS,kc as aT,Rl as aU,gs as aV,yo as aW,Wl as aX,Od as aY,zp as aZ,Ld as a_,jo as aa,fn as ab,Yp as ac,Jo as ad,Uo as ae,ia as af,ca as ag,aa as ah,Ti as ai,$i as aj,hm as ak,ao as al,la as am,sa as an,ar as ao,en as ap,wi as aq,nr as ar,jr as as,Hr as at,ma as au,Un as av,wu as aw,Zo as ax,mu as ay,cu as az,Vu as b,Kr as b$,Ka as b0,Gs as b1,ap as b2,ip as b3,Vc as b4,Gd as b5,Ip as b6,xo as b7,Xo as b8,pd as b9,ka as bA,yd as bB,bn as bC,Sa as bD,Cc as bE,yl as bF,Rp as bG,Er as bH,no as bI,Ir as bJ,sr as bK,pl as bL,Ri as bM,ln as bN,Cn as bO,xn as bP,gp as bQ,Br as bR,an as bS,ri as bT,Zi as bU,oi as bV,_r as bW,Yr as bX,Ua as bY,ya as bZ,cp as b_,Uc as ba,us as bb,zr as bc,yn as bd,Lo as be,Ps as bf,Rc as bg,pn as bh,yi as bi,tr as bj,_a as bk,va as bl,ns as bm,Fo as bn,Kd as bo,un as bp,Vs as bq,Ai as br,Kn as bs,zn as bt,er as bu,ni as bv,el as bw,wn as bx,rl as by,Ca as bz,ki as c,Gi as c$,Hn as c0,Kl as c1,tn as c2,Jr as c3,Ur as c4,dr as c5,zs as c6,Ys as c7,vi as c8,Yn as c9,Zr as cA,Fi as cB,bi as cC,dc as cD,gn as cE,ha as cF,nl as cG,hn as cH,ac as cI,Ko as cJ,cn as cK,fs as cL,Dn as cM,Xs as cN,Ss as cO,ai as cP,Oi as cQ,ui as cR,zi as cS,Ni as cT,fi as cU,Ei as cV,hi as cW,mi as cX,pi as cY,_i as cZ,xi as c_,Vr as ca,Mn as cb,Zt as cc,Ji as cd,Cp as ce,Dc as cf,Sn as cg,Ep as ch,ir as ci,qr as cj,ps as ck,br as cl,Rn as cm,Rr as cn,Ii as co,Ol as cp,Ks as cq,Cd as cr,Fn as cs,Ln as ct,Hs as cu,xl as cv,bl as cw,eh as cx,Wn as cy,Qn as cz,ah as d,Oh as d$,Vi as d0,Wi as d1,Di as d2,Xi as d3,Hi as d4,gi as d5,di as d6,Qt as d7,sn as d8,$n as d9,ea as dA,oa as dB,ra as dC,Fr as dD,Tl as dE,vl as dF,jc as dG,sd as dH,td as dI,hd as dJ,fd as dK,Zs as dL,Ud as dM,wa as dN,Kc as dO,Ea as dP,mo as dQ,go as dR,$o as dS,wh as dT,yh as dU,kh as dV,Vp as dW,Gp as dX,su as dY,iu as dZ,Zu as d_,vn as da,kn as db,En as dc,An as dd,Tn as de,In as df,Nn as dg,_n as dh,jn as di,Vn as dj,qn as dk,Zn as dl,eo as dm,to as dn,io as dp,oo as dq,ro as dr,Go as ds,qo as dt,Ho as du,Ro as dv,$r as dw,kr as dx,fr as dy,gr as dz,mm as e,Fh as e0,Vh as e1,qh as e2,jh as e3,bu as e4,lm as e5,ym as e6,um as e7,th as f,xa as g,Mp as h,Pn as i,Bp as j,Ci as k,si as l,ii as m,ba as n,Pu as o,so as p,tu as q,Ph as r,Si as s,co as t,Qi as u,Zp as v,pm as w,ti as x,Yu as y,Bn as z};