"use strict";(self.webpackChunk_dagster_io_dagit_app=self.webpackChunk_dagster_io_dagit_app||[]).push([[713],{66042:function(e,t,r){r.r(t),r.d(t,{FallthroughRoot:function(){return d}});var n=r(51173),o=r(78193),i=r(8192),s=r(92761),a=r(63167),l=r(72691),c=r(35936),p=function(){var e=(0,i.TH)(),t="".concat(e.pathname).concat(e.search);return(0,c.jsx)(i.l_,{to:"/instance".concat(t)})},d=function(){return(0,c.jsxs)(i.rs,{children:[(0,c.jsx)(i.AW,{path:["/runs/(.*)?","/assets/(.*)?","/scheduler"],children:(0,c.jsx)(p,{})}),(0,c.jsx)(i.AW,{path:"*",children:(0,c.jsx)(u,{})})]})},u=function(){var e=o.useContext(s.C5),t=e.allRepos,r=e.loading,p=e.locationEntries;if((0,l.gV)().flagInstanceOverview)return(0,c.jsx)(i.l_,{to:"/instance"});if(r)return(0,c.jsx)(n.xu,{flex:{direction:"row",justifyContent:"center"},style:{paddingTop:"100px"},children:(0,c.jsxs)(n.xu,{flex:{direction:"row",alignItems:"center",gap:16},children:[(0,c.jsx)(n.$j,{purpose:"section"}),(0,c.jsx)("div",{style:{color:n.ow.Gray600},children:"Loading workspace\u2026"})]})});if(!t.length&&p.length)return(0,c.jsx)(i.l_,{to:"/workspace"});var d=t[0]||null;if(null!==d&&void 0!==d&&d.repository.pipelines.length){var u=d.repository.pipelines[0];return(0,c.jsx)(i.l_,{to:(0,a.jT)({repoName:d.repository.name,repoLocation:d.repositoryLocation.name,pipelineName:u.name,isJob:u.isJob})})}return(0,c.jsx)(n.xu,{padding:{vertical:64},children:(0,c.jsx)(n.tR,{icon:"no-results",title:d?"No pipelines or jobs":"No repositories",description:d?"Your repository is loaded but no pipelines or jobs were found.":"Add a repository to get started.",action:(0,c.jsx)(n.fr,{href:"https://docs.dagster.io/getting-started",children:"View documentation"})})})};t.default=d}}]);
//# sourceMappingURL=713.dd8ff98e.chunk.js.map