"use strict";(self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[7419],{7785:function(e,n,t){t.r(n);var i=t(68248),s=t(46709),a=t(7655),l=t(5690),r=t(11522),o=t(46665),u=t(11573),c=t(82716),d=t(27757),p=t(36802),f=t(55840),g=t(73408);const m={setExperimentTagApi:l.EJ,getExperimentApi:l.yc,setCompareExperiments:l.I_};n.default=()=>{const{formatMessage:e}=(0,a.A)(),{theme:n}=(0,d.u)(),t=(0,f.z)();(0,s.useEffect)(()=>{const n=e({id:"5GCYzy",defaultMessage:"Experiment Runs - Databricks"});r.A.updatePageTitle(n)},[e]);const l=t.length>1,{isLoading:E,isEnabled:k}=(0,p.B)({enabled:!l,experimentId:t[0]});return E?(0,g.Y)(c.LegacySkeleton,{}):k?null:(0,g.Y)(c.PageWrapper,{css:(0,i.AH)({height:"100%",paddingTop:n.spacing.md},""),children:(0,g.Y)(o.Z,{actions:m,children:(0,g.Y)(u.n,{})})})}},36802:function(e,n,t){t.d(n,{B:function(){return p}});var i=t(46709),s=t(91105),a=t(60284),l=t(44105),r=t(54741),o=t(91944),u=t(21678),c=t(31655),d=t(67689);const p=({enabled:e,experimentId:n})=>{const t=(0,s.Zp)(),p=(0,d.x$)(),{data:f,loading:g}=(0,r.L)({experimentId:n,options:{skip:!e}}),m=(0,i.useMemo)(()=>f&&f&&"tags"in f?null===f||void 0===f?void 0:f.tags:[],[f]),E=(0,o.Fi)(m),k=(0,i.useMemo)(()=>g||!f?null:E?(0,u.SK)(l.Gk,E,l.Gk.NO_INFERRED_TYPE):null,[f,g,E]);return(0,i.useEffect)(()=>{if(!e||!k)return;let i=l.fM.Runs;k===l.Gk.GENAI_DEVELOPMENT&&(i=(0,c.uW)()&&!1===p?l.fM.Overview:l.fM.Traces),t(a.Ay.getExperimentPageTabRoute(n,i),{replace:!0})},[t,n,e,k,p]),{isEnabled:e,isLoading:e&&(g||void 0===p)}}}}]);