"use strict";(self.webpackChunk_mlflow_mlflow=self.webpackChunk_mlflow_mlflow||[]).push([[3175,6163],{27556:function(e,t,r){r.d(t,{YQ:function(){return i},d7:function(){return o}});var n=r(46709);function i(e,t,r){var i=this,s=(0,n.useRef)(null),o=(0,n.useRef)(0),u=(0,n.useRef)(null),a=(0,n.useRef)([]),c=(0,n.useRef)(),l=(0,n.useRef)(),f=(0,n.useRef)(e),d=(0,n.useRef)(!0);f.current=e;var p="undefined"!=typeof window,h=!t&&0!==t&&p;if("function"!=typeof e)throw new TypeError("Expected a function");t=+t||0;var E=!!(r=r||{}).leading,g=!("trailing"in r)||!!r.trailing,m="maxWait"in r,v="debounceOnServer"in r&&!!r.debounceOnServer,M=m?Math.max(+r.maxWait||0,t):null;(0,n.useEffect)((function(){return d.current=!0,function(){d.current=!1}}),[]);var O=(0,n.useMemo)((function(){var e=function(e){var t=a.current,r=c.current;return a.current=c.current=null,o.current=e,l.current=f.current.apply(r,t)},r=function(e,t){h&&cancelAnimationFrame(u.current),u.current=h?requestAnimationFrame(e):setTimeout(e,t)},n=function(e){if(!d.current)return!1;var r=e-s.current;return!s.current||r>=t||r<0||m&&e-o.current>=M},O=function(t){return u.current=null,g&&a.current?e(t):(a.current=c.current=null,l.current)},R=function e(){var i=Date.now();if(n(i))return O(i);if(d.current){var u=t-(i-s.current),a=m?Math.min(u,M-(i-o.current)):u;r(e,a)}},N=function(){if(p||v){var f=Date.now(),h=n(f);if(a.current=[].slice.call(arguments),c.current=i,s.current=f,h){if(!u.current&&d.current)return o.current=s.current,r(R,t),E?e(s.current):l.current;if(m)return r(R,t),e(s.current)}return u.current||r(R,t),l.current}};return N.cancel=function(){u.current&&(h?cancelAnimationFrame(u.current):clearTimeout(u.current)),o.current=0,a.current=s.current=c.current=u.current=null},N.isPending=function(){return!!u.current},N.flush=function(){return u.current?O(Date.now()):l.current},N}),[E,m,t,M,g,h,p,v]);return O}function s(e,t){return e===t}function o(e,t,r){var o=r&&r.equalityFn||s,u=(0,n.useRef)(e),a=(0,n.useState)({})[1],c=i((0,n.useCallback)((function(e){u.current=e,a({})}),[a]),t,r),l=(0,n.useRef)(e);return o(l.current,e)||(c(e),l.current=e),[u.current,c]}},33656:function(e,t,r){r.d(t,{N9:function(){return d},NW:function(){return l},OT:function(){return a},Yc:function(){return f}});var n=r(46709),i=r(22141),s=r.n(i),o=r(76251);let u=null;const a=()=>u||(u=new o.Converter,u.setFlavor("github"),u),c={allowedTags:["h1","h2","h3","h4","h5","h6","h7","h8","blockquote","p","a","ul","ol","nl","li","ins","b","i","strong","em","strike","code","hr","br","div","table","thead","tbody","tr","th","td","pre","del","sup","sub","dl","dt","dd","kbd","q","samp","samp","var","hr","rt","rp","summary","iframe","img","caption","figure"],allowedAttributes:{a:["href","name","target"],img:["src","longdesc"],div:["itemscope","itemtype"]}},l=e=>s()(e,c),f=e=>e.replace(new RegExp("<a","g"),'<a target="_blank"'),d=()=>(0,n.useCallback)((e=>{const t=a().makeHtml(e);return l(t)}),[])},42762:function(e,t,r){r.d(t,{m:function(){return o}});var n=r(74060),i=r(28126),s=r(73408);const o=({sourceType:e,className:t})=>e===i.Y1.NOTEBOOK?(0,s.Y)(n.NotebookIcon,{className:t}):e===i.Y1.LOCAL?(0,s.Y)(n.FileCodeIcon,{className:t}):e===i.Y1.PROJECT?(0,s.Y)(n.FolderBranchIcon,{className:t}):e===i.Y1.JOB?(0,s.Y)(n.WorkflowsIcon,{className:t}):null},54741:function(e,t,r){r.d(t,{L:function(){return s}});var n=r(34794);const i=n.J1`
  query MlflowGetExperimentQuery($input: MlflowGetExperimentInput!) @component(name: "MLflow.ExperimentRunTracking") {
    mlflowGetExperiment(input: $input) {
      apiError {
        code
        message
      }
      experiment {
        artifactLocation
        creationTime
        experimentId
        lastUpdateTime
        lifecycleStage
        name
        tags {
          key
          value
        }
      }
    }
  }
`,s=({experimentId:e,options:t={}})=>{var r;const{data:s,loading:o,error:u,refetch:a}=(0,n.IT)(i,{variables:{input:{experimentId:e}},skip:!e,...t});return{loading:o,data:null===s||void 0===s||null===(r=s.mlflowGetExperiment)||void 0===r?void 0:r.experiment,refetch:a,apolloError:u,apiError:(()=>{var e;return null===s||void 0===s||null===(e=s.mlflowGetExperiment)||void 0===e?void 0:e.apiError})()}}},58355:function(e,t,r){r.d(t,{A:function(){return n}});class n{static getStoreForComponent(e,t){return new i([e,t].join("-"),"localStorage")}static getSessionScopedStoreForComponent(e,t){return new i([e,t].join("-"),"sessionStorage")}}n.version="1.1";class i{constructor(e,t){this.scope=void 0,this.storageObj=void 0,this.scope=e,this.storageObj="localStorage"===t?window.localStorage:window.sessionStorage}loadComponentState(){const e=this.getItem(i.reactComponentStateKey);return e?JSON.parse(e):{}}saveComponentState(e){const t="function"===typeof e.toJSON?e.toJSON():e;this.setItem(i.reactComponentStateKey,JSON.stringify(t))}withScopePrefix(e){return["MLflowLocalStorage",n.version,this.scope,e].join("-")}setItem(e,t){this.storageObj.setItem(this.withScopePrefix(e),t)}getItem(e){return this.storageObj.getItem(this.withScopePrefix(e))}}i.reactComponentStateKey="ReactComponentState"},59930:function(e){e.exports=function(e,t,r,n,i,s,o,u){if(!e){var a;if(void 0===t)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,i,s,o,u],l=0;(a=new Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw a.framesToPop=1,a}}},60062:function(e,t,r){r.d(t,{E:function(){return E}});var n=r(46709),i=r(48667),s=r(56606),o=r(27949),u=r(23403),a=r(4200);class c extends a.Q{constructor(e,t){super(),this.client=e,this.queries=[],this.result=[],this.observers=[],this.observersMap={},t&&this.setQueries(t)}onSubscribe(){1===this.listeners.size&&this.observers.forEach((e=>{e.subscribe((t=>{this.onUpdate(e,t)}))}))}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.observers.forEach((e=>{e.destroy()}))}setQueries(e,t){this.queries=e,o.j.batch((()=>{const e=this.observers,r=this.findMatchingObservers(this.queries);r.forEach((e=>e.observer.setOptions(e.defaultedQueryOptions,t)));const n=r.map((e=>e.observer)),i=Object.fromEntries(n.map((e=>[e.options.queryHash,e]))),o=n.map((e=>e.getCurrentResult())),u=n.some(((t,r)=>t!==e[r]));(e.length!==n.length||u)&&(this.observers=n,this.observersMap=i,this.result=o,this.hasListeners()&&((0,s.iv)(e,n).forEach((e=>{e.destroy()})),(0,s.iv)(n,e).forEach((e=>{e.subscribe((t=>{this.onUpdate(e,t)}))})),this.notify()))}))}getCurrentResult(){return this.result}getQueries(){return this.observers.map((e=>e.getCurrentQuery()))}getObservers(){return this.observers}getOptimisticResult(e){return this.findMatchingObservers(e).map((e=>e.observer.getOptimisticResult(e.defaultedQueryOptions)))}findMatchingObservers(e){const t=this.observers,r=new Map(t.map((e=>[e.options.queryHash,e]))),n=e.map((e=>this.client.defaultQueryOptions(e))),i=n.flatMap((e=>{const t=r.get(e.queryHash);return null!=t?[{defaultedQueryOptions:e,observer:t}]:[]})),s=new Set(i.map((e=>e.defaultedQueryOptions.queryHash))),o=n.filter((e=>!s.has(e.queryHash))),a=new Set(i.map((e=>e.observer))),c=t.filter((e=>!a.has(e))),l=e=>{const t=this.client.defaultQueryOptions(e),r=this.observersMap[t.queryHash];return null!=r?r:new u.$(this.client,t)},f=o.map(((e,t)=>{if(e.keepPreviousData){const r=c[t];if(void 0!==r)return{defaultedQueryOptions:e,observer:r}}return{defaultedQueryOptions:e,observer:l(e)}}));return i.concat(f).sort(((e,t)=>n.indexOf(e.defaultedQueryOptions)-n.indexOf(t.defaultedQueryOptions)))}onUpdate(e,t){const r=this.observers.indexOf(e);-1!==r&&(this.result=(0,s._D)(this.result,r,t),this.notify())}notify(){o.j.batch((()=>{this.listeners.forEach((({listener:e})=>{e(this.result)}))}))}}var l=r(39595),f=r(56718),d=r(77524),p=r(60164),h=r(2719);function E({queries:e,context:t}){const r=(0,l.jE)({context:t}),s=(0,f.w)(),u=(0,d.h)(),a=n.useMemo((()=>e.map((e=>{const t=r.defaultQueryOptions(e);return t._optimisticResults=s?"isRestoring":"optimistic",t}))),[e,r,s]);a.forEach((e=>{(0,h.tu)(e),(0,p.LJ)(e,u)})),(0,p.wZ)(u);const[E]=n.useState((()=>new c(r,a))),g=E.getOptimisticResult(a);(0,i.r)(n.useCallback((e=>s?()=>{}:E.subscribe(o.j.batchCalls(e))),[E,s]),(()=>E.getCurrentResult()),(()=>E.getCurrentResult())),n.useEffect((()=>{E.setQueries(a,{listeners:!1})}),[a,E]);const m=g.some(((e,t)=>(0,h.EU)(a[t],e,s)))?g.flatMap(((e,t)=>{const r=a[t],n=E.getObservers()[t];if(r&&n){if((0,h.EU)(r,e,s))return(0,h.iL)(r,n,u);(0,h.nE)(e,s)&&(0,h.iL)(r,n,u)}return[]})):[];if(m.length>0)throw Promise.all(m);const v=E.getQueries(),M=g.find(((e,t)=>{var r,n;return(0,p.$1)({result:e,errorResetBoundary:u,useErrorBoundary:null!=(r=null==(n=a[t])?void 0:n.useErrorBoundary)&&r,query:v[t]})}));if(null!=M&&M.error)throw M.error;return g}},71625:function(e,t,r){r.d(t,{t:function(){return l}});var n=r(68248),i=r(46709),s=r(16389),o=r(27757),u=r(42762),a=r(73408);var c={name:"1gz2b5f",styles:"overflow:hidden;text-overflow:ellipsis"};const l=i.memo((({value:e})=>{var t;const{theme:r}=(0,o.u)();if(!e)return(0,a.Y)(a.FK,{children:"-"});const i=(null===(t=e[s.A.sourceTypeTag])||void 0===t?void 0:t.value)||"",l=s.A.renderSource(e||{},void 0,void 0);return l?(0,a.FD)("div",{css:(0,n.AH)({display:"flex",gap:r.spacing.xs,alignItems:"center"},""),children:[(0,a.Y)(u.m,{sourceType:i,css:(0,n.AH)({color:r.colors.textSecondary},"")}),(0,a.Y)("span",{css:c,children:l})]}):(0,a.Y)(a.FK,{children:"-"})}))},72801:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useClipboard=void 0;var i=n(r(90606)),s=r(46709),o=r(81619);function u(e){return e&&("TEXTAREA"===e.nodeName||"INPUT"===e.nodeName)}t.useClipboard=function(e){void 0===e&&(e={});var t=o.useTimedToggle(!1),r=t[0],n=t[1],a=s.useRef(null),c=s.useRef(e);return c.current=e,{copied:r,copy:s.useCallback((function(e){var t=c.current,r=a.current;function s(){t.onSuccess&&t.onSuccess(),t.copiedTimeout&&n(t.copiedTimeout),t.selectOnCopy&&u(r)&&r.select()}function o(){t.onError&&t.onError(),!1!==t.selectOnError&&u(r)&&r.select()}function l(e){i.default(e).then(s).catch(o)}"string"===typeof e?l(e):r&&l(r.value)}),[]),isSupported:function(){return!!navigator.clipboard||"function"===typeof document.execCommand&&"function"===typeof document.queryCommandSupported&&document.queryCommandSupported("copy")},target:a}}},82168:function(e,t,r){r.r(t);var n=r(46709),i=r(59930),s=r.n(i),o=r(91105),u=r(7883),a=r(73408);t.default=()=>{const{experimentId:e}=(0,o.g)();s()(e,"Experiment ID must be defined");const t=(0,n.useMemo)((()=>[e]),[e]);return(0,a.Y)(u.$,{experimentIds:t})}},91701:function(e,t,r){r.d(t,{i:function(){return c}});var n=r(46709),i=r(40724),s=r(74060),o=r(27757),u=r(73408);var a={name:"1739oy8",styles:"z-index:1"};const c=({copyText:e,showLabel:t=!0,componentId:r,...c})=>{const[l,f]=(0,n.useState)(!1);return(0,u.Y)(s.LegacyTooltip,{title:(0,u.Y)(i.A,{id:"X+boXI",defaultMessage:"Copied"}),dangerouslySetAntdProps:{visible:l},children:(0,u.Y)(o.B,{componentId:null!==r&&void 0!==r?r:"mlflow.shared.copy_button",type:"primary",onClick:()=>{navigator.clipboard.writeText(e),f(!0),setTimeout((()=>{f(!1)}),3e3)},onMouseLeave:()=>{f(!1)},css:a,children:t?(0,u.Y)(i.A,{id:"1Iq+NW",defaultMessage:"Copy"}):void 0,...c})})}},91944:function(e,t,r){r.d(t,{$g:function(){return f},BH:function(){return o},UI:function(){return c},bf:function(){return l},kk:function(){return s},q5:function(){return a},uk:function(){return u}});var n=r(44105),i=r(77680);const s="mlflow.experimentKind",o=e=>{var t;return null===e||void 0===e||null===(t=e.find((e=>e.key===s)))||void 0===t?void 0:t.value},u=e=>e===n.Gk.GENAI_DEVELOPMENT_INFERRED||e===n.Gk.CUSTOM_MODEL_DEVELOPMENT_INFERRED||e===n.Gk.NO_INFERRED_TYPE||e===n.Gk.GENAI_DEVELOPMENT||e===n.Gk.CUSTOM_MODEL_DEVELOPMENT||e===n.Gk.EMPTY,a=e=>e===n.Gk.GENAI_DEVELOPMENT_INFERRED?n.Gk.GENAI_DEVELOPMENT:e===n.Gk.CUSTOM_MODEL_DEVELOPMENT_INFERRED?n.Gk.CUSTOM_MODEL_DEVELOPMENT:e,c={[n.Gk.GENAI_DEVELOPMENT]:(0,i.zR)({id:"PewjIJ",defaultMessage:"GenAI apps & agents"}),[n.Gk.CUSTOM_MODEL_DEVELOPMENT]:(0,i.zR)({id:"nF10K1",defaultMessage:"Machine learning"}),[n.Gk.GENAI_DEVELOPMENT_INFERRED]:(0,i.zR)({id:"ACNZd9",defaultMessage:"GenAI apps & agents"}),[n.Gk.CUSTOM_MODEL_DEVELOPMENT_INFERRED]:(0,i.zR)({id:"NUjE6C",defaultMessage:"Machine learning"}),[n.Gk.NO_INFERRED_TYPE]:(0,i.zR)({id:"qr7dhT",defaultMessage:"None"}),[n.Gk.FINETUNING]:(0,i.zR)({id:"G4x6G7",defaultMessage:"Finetuning"}),[n.Gk.REGRESSION]:(0,i.zR)({id:"OWfx/j",defaultMessage:"Regression"}),[n.Gk.CLASSIFICATION]:(0,i.zR)({id:"P/Uvf4",defaultMessage:"Classification"}),[n.Gk.FORECASTING]:(0,i.zR)({id:"qDiJI2",defaultMessage:"Forecasting"}),[n.Gk.AUTOML]:(0,i.zR)({id:"wZtuCR",defaultMessage:"AutoML"}),[n.Gk.EMPTY]:(0,i.zR)({id:"0z0lH2",defaultMessage:"None"})},l={[n.Gk.GENAI_DEVELOPMENT]:(0,i.zR)({id:"Fg/zU/",defaultMessage:"GenAI apps & agents"}),[n.Gk.CUSTOM_MODEL_DEVELOPMENT]:(0,i.zR)({id:"T/46y0",defaultMessage:"Machine learning"}),[n.Gk.GENAI_DEVELOPMENT_INFERRED]:(0,i.zR)({id:"CPO2ro",defaultMessage:"GenAI apps & agents"}),[n.Gk.CUSTOM_MODEL_DEVELOPMENT_INFERRED]:(0,i.zR)({id:"KYJxmN",defaultMessage:"Machine learning"}),[n.Gk.NO_INFERRED_TYPE]:(0,i.zR)({id:"jTqRO+",defaultMessage:"None"}),[n.Gk.FINETUNING]:(0,i.zR)({id:"61P6Da",defaultMessage:"finetuning"}),[n.Gk.REGRESSION]:(0,i.zR)({id:"W60/kq",defaultMessage:"regression"}),[n.Gk.CLASSIFICATION]:(0,i.zR)({id:"KwAeyt",defaultMessage:"classification"}),[n.Gk.FORECASTING]:(0,i.zR)({id:"VwxvII",defaultMessage:"forecasting"}),[n.Gk.AUTOML]:(0,i.zR)({id:"lFnpMi",defaultMessage:"AutoML"}),[n.Gk.EMPTY]:(0,i.zR)({id:"+khKtf",defaultMessage:"None"})},f=()=>[n.Gk.GENAI_DEVELOPMENT,n.Gk.CUSTOM_MODEL_DEVELOPMENT]},96584:function(e,t,r){r.d(t,{q:function(){return a}});var n=r(56606),i=r(23403),s=r(60783);class o extends i.${constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e,t){super.setOptions({...e,behavior:(0,s.PL)()},t)}getOptimisticResult(e){return e.behavior=(0,s.PL)(),super.getOptimisticResult(e)}fetchNextPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"forward",pageParam:e}}})}fetchPreviousPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"backward",pageParam:e}}})}createResult(e,t){var r,n,i,o,u,a;const{state:c}=e,l=super.createResult(e,t),{isFetching:f,isRefetching:d}=l,p=f&&"forward"===(null==(r=c.fetchMeta)||null==(n=r.fetchMore)?void 0:n.direction),h=f&&"backward"===(null==(i=c.fetchMeta)||null==(o=i.fetchMore)?void 0:o.direction);return{...l,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,s.rB)(t,null==(u=c.data)?void 0:u.pages),hasPreviousPage:(0,s.RQ)(t,null==(a=c.data)?void 0:a.pages),isFetchingNextPage:p,isFetchingPreviousPage:h,isRefetching:d&&!p&&!h}}}var u=r(93769);function a(e,t,r){const i=(0,n.vh)(e,t,r);return(0,u.t)(i,o)}}}]);