import{N as c}from"./Navbar-Bx5tNbfo.js";import{e as d,an as u,b as a,l,a9 as f,f as _,g as b,v as p,k as y,aP as I}from"./jwt-decode.esm-1nb3cmH_.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-BWxsmCbW.js";import"./constants-kskxLyaF.js";import"./PhCaretDown.vue-DEcU-Eie.js";import"./PhPencilSimple.vue-7zCccX6C.js";import"./router-ytFp6ZlK.js";import"./ts.worker-B8E2BA_E.js";import"./organization-C-8Nfv_4.js";import"./tables-C9JxsT14.js";import"./string-kXBv7-5z.js";import"./keyboard-Cer5A4dU.js";import"./os-DvkBXeP7.js";import"./projectStore-C44pM3zO.js";import"./project-BTJqc0_w.js";import"./organizationSwitcher-BowIkI9t.js";import"./cascaderStore-DW-p5MvG.js";import"./folder-N1Lbvi6R.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-j008ASr7.js";import"./member-CEnU9yqJ.js";import"./index-CRwjs9Xk.js";import"./index-CYkuwrvz.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-Cn21bUaR.js";import"./PhNotePencil.vue-BAcwUn8t.js";import"./PhSignOut.vue-C0DtKNOJ.js";import"./index-Cghg3s0w.js";import"./index-D1IRvbTJ.js";import"./PhPlus.vue-9gu8NsLw.js";import"./omniChatStore-BGsz0k73.js";import"./contracts.generated-DNQIhLVq.js";import"./runnerData-D-4jj_ra.js";import"./url-B0g2OjXq.js";import"./colorHelpers-CVoI3_HA.js";import"./uuid-CL3jxkZg.js";import"./PhCopySimple.vue-NTpJ-Rzw.js";import"./index-DZr1k38o.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="e9a5580b-d372-4e47-a00e-b447db6caf9c",e._sentryDebugIdIdentifier="sentry-dbid-e9a5580b-d372-4e47-a00e-b447db6caf9c")}catch{}})();const v={class:"console-layout"},g={class:"console-content"},w=d({__name:"ConsoleLayout",setup(e){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,r=o.params.organizationId;if(t)return{projectId:t,tableId:i,currentPageName:n.value};if(r)return{organizationId:r}});return(t,i)=>{const r=f("RouterView");return b(),_("div",v,[p(c,{"use-cascader":!0,"cascader-props":m.value,"show-ai-sparkles":s.value},null,8,["cascader-props","show-ai-sparkles"]),y("div",g,[p(r)])])}}}),so=I(w,[["__scopeId","data-v-62f8634d"]]);export{so as default};
//# sourceMappingURL=ConsoleLayout-BD2hQBKQ.js.map
