import{N as c}from"./Navbar-BPgsKlsb.js";import{e as d,V as u,b as a,l,Z as f,f as _,g as b,q as p,k as y,ar as I}from"./jwt-decode.esm-01iVuizL.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-quMKZX-G.js";import"./LoadingOutlined-CrTvjdoo.js";import"./constants-CoO3uBL8.js";import"./PhCaretDown.vue-Bw1fVXhU.js";import"./PhPencilSimple.vue-UudhBAmi.js";import"./router-BE4iJyIf.js";import"./ts.worker-DFqcUvYQ.js";import"./organization-rDFeSKDr.js";import"./tables-Y94_Zbj9.js";import"./string-EINNl9A3.js";import"./keyboard-Cj7Oe8Mv.js";import"./os-WFdlPhdN.js";import"./projectStore-BEVqLgX9.js";import"./member-CcyoZzj-.js";import"./project-D9bRsPvi.js";import"./organizationSwitcher-_v8w5tbA.js";import"./cascaderStore-KQSHiNwP.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-CaG5NHFw.js";import"./index-BKNDB4A0.js";import"./index-C2tJegwt.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-DAPFKUzZ.js";import"./PhNotePencil.vue-DZ6BBYJr.js";import"./PhTranslate.vue-DwWOzkKK.js";import"./PhSignOut.vue-DOE1tdrV.js";import"./index-BM0GE76F.js";import"./index-DHgoI0C3.js";import"./PhPlus.vue-C4BnSxFX.js";import"./omniChatStore-DON1fuNX.js";import"./files-DcYcfxeq.js";import"./contracts.generated-tI4XKdAB.js";import"./runnerData-DQQoihab.js";import"./url-BSbu8oDe.js";import"./colorHelpers-CwNCbXrN.js";import"./uuid-BRqrVy4O.js";import"./PhCopySimple.vue-f_4714aJ.js";import"./PhSparkle.vue-Bm55unDK.js";import"./index-xJM1nGad.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[o]="2711fa6b-624c-4dba-91f9-cd0bc1b2eced",r._sentryDebugIdIdentifier="sentry-dbid-2711fa6b-624c-4dba-91f9-cd0bc1b2eced")}catch{}})();const g={class:"console-layout"},v={class:"console-content"},w=d({__name:"ConsoleLayout",setup(r){const o=u(),s=a(()=>!!o.params.projectId),n=a(()=>{const t=o.meta.pageNameKey;if(t)return t.startsWith("i18n_")?l.translateIfFound(t,null):t}),m=a(()=>{const t=o.params.projectId,i=o.params.tableId,e=o.params.organizationId;if(t)return{projectId:t,tableId:i,currentPageName:n.value};if(e)return{organizationId:e}});return(t,i)=>{const e=f("RouterView");return b(),_("div",g,[p(c,{"use-cascader":!0,"cascader-props":m.value,"show-ai-sparkles":s.value},null,8,["cascader-props","show-ai-sparkles"]),y("div",v,[p(e)])])}}}),no=I(w,[["__scopeId","data-v-62f8634d"]]);export{no as default};
//# sourceMappingURL=ConsoleLayout-D6ERCFKn.js.map
