import{r as o,j as s}from"./vendor-react-DcxrbCFs.js";import{m as t,n as r,o as c,q as i,r as e}from"./c4b350ac1-BTR_0NaM.js";import{O as p}from"./vendor-router-DD4soP8u.js";import{EpitaxyFramePage as m}from"./c11959232-OPq57r3Y.js";import{u as a}from"./ca82bcec9-QNg-YGxz.js";import{E as j,a as d,b as n,c as f,d as b,e as u,f as l,g as v,h as x}from"./ca82bcec9-QNg-YGxz.js";import{E}from"./c5610fbe3-CrkoaGht.js";import{z as y,A as h,B as R,D as g,F as k,E as P}from"./index-BSvCx8kl.js";import{u as w,C as z}from"./c7ac369c8-n8QvoxVr.js";import"./vendor-ant-cds-BOj-tX6j.js";import"./vendor-base-ui-dYhdtXSh.js";import"./vendor-radix-BZeqcGXH.js";import"./vendor-virtual-sigx4wjL.js";import"./vendor-intl-C0z7gCkr.js";import"./vendor-zod-Zyr3BDtu.js";import"./vendor-zustand-BLLlCrLG.js";import"./vendor-icons-ChFdOXlJ.js";import"./vendor-lodash--OmUGVwS.js";import"./vendor-query-DdY22HAU.js";import"./vendor-luxon-Y8l99kBI.js";import"./vendor-infra-DayZK7Ds.js";import"./vendor-motion-HFQQEH7Z.js";import"./vendor-growthbook-Bq25eETo.js";import"./c43a91f1b-CTmKqaEk.js";import"./cbf215181-C3oidXTA.js";import"./cd78d010c-COlwQ5g4.js";import"./c9a932a07-B-Nx6iSG.js";import"./c6e1d8764-pY2w_OF9.js";import"./c0632795f-CL3ffsDQ.js";import"./cc2e285cb-B9NgZcZ2.js";import"./cc61d0d63-kW48LhDF.js";import"./c1f96d614-DAkctE43.js";import"./cac5c74b6-D2snV6_H.js";import"./c627fcdb6-Cc-7gsFT.js";import"./c93f725a0-DejUT30N.js";import"./c1d96b207-D0fAg0jr.js";import"./c5d464fa3-D86Q2kdf.js";import"./c9f4bb49e-95JsAiB2.js";import"./cc2dfdfd3-C4WlGtCV.js";import"./c85adc124-DNLst9Jo.js";import"./c26148d62-BlLiyl5z.js";import"./c4b43b0ae-760Yu4sg.js";import"./c042dfd41-CLH2Fg4F.js";import"./c0e977562-BYJ_xmcc.js";import"./c9a932b3c-BpzzSlAy.js";import"./cd1c394f8-CKz8EIwT.js";import"./c07cc694b-DRW3eDrb.js";import"./ca44b2238-CSp34WED.js";import"./c5669b8e4-B184INBD.js";import"./c40b9b8f5-Da-ryo1W.js";import"./c1f7a9f2d-BIdePzSw.js";import"./ca9c256b9-DOrRwVCK.js";import"./c9e81e7b9-l4IaiKjm.js";import"./cf57f6351-ChXug4Hw.js";import"./c82022b5f-DK6eLSBd.js";import"./c47ad434c-CnmAFs9a.js";import"./vendor-frame-shell-thumb-Ds98d0Wd.js";import"./c8c7c4e8f-DoGfpMPz.js";import"./cd0c75e95-CEQ0aJ5l.js";import"./ce569194f-CRJSxjaB.js";import"./cf8745532-nOD9iEuM.js";import"./ce1bfd762-DCMRwEAo.js";import"./cfe55e8af-zUaYdKW8.js";import"./c70a3d12b-PuL6Jgdx.js";import"./cadc35a07-lZlbnvMu.js";import"./ca8998c31-6H5Q4Fd2.js";import"./cc2095605-CrpUsyXQ.js";import"./c009a87a0-DXB61_5D.js";import"./c6a992d55-Bg3ygTzd.js";import"./c590fc197--sY4eEEU.js";import"./cbaad2c48-DRCBJU3Q.js";import"./c1d7d8319-yi8QLBnY.js";import"./cdd5b9598-Bh6YyBPI.js";import"./c393cb7f5-JWhvNgWh.js";import"./c4526f334-Ddtc7W1k.js";import"./c9bba154c-DdQs_cXE.js";const A=o.memo(function(){const{eligible:o}=y(),t=h();return o||t?s.jsx(B,{}):null});function B(){const s=R(),t=g(o=>o.setConfig),r=g(o=>o.clear);return o.useEffect(()=>{t(s)},[s,t]),o.useEffect(()=>()=>r(),[r]),null}function D(){const m=t(),j=r(),{pathname:d}=c(),n=i(),f=e(),b=!m||!0===j||"/epitaxy/apps"===d,u=m&&null===j,l=w(z),v=b&&l.enabled&&"blocking"===l.severity;return a({variant:"ccd",settled:b,configBlocking:v}),o.useEffect(()=>{u||b||n.replace(f)},[u,b,f,n]),u||!b?s.jsx(k,{}):s.jsxs(E,{sidePanePersistKey:P,children:[!0===j&&s.jsx(A,{}),s.jsx(p,{})]})}const S=m;export{P as EPITAXY_SIDE_PANE_PERSIST_KEY,j as EpitaxyAppsRoute,d as EpitaxyArtifactRoute,n as EpitaxyDevRoute,D as EpitaxyGroupLayoutRoute,f as EpitaxyProjectRoute,b as EpitaxyProjectsBrowseRoute,S as EpitaxyRoute,u as EpitaxyScheduledDetailRoute,l as EpitaxyScheduledNewRoute,v as EpitaxyScheduledRoute,x as EpitaxyTasksRoute};
