import{N as c}from"./Navbar-CzbxrG35.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-BRUlSnzg.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-CbxYLzN_.js";import"./constants-Daa_qKYm.js";import"./PhCaretDown.vue-BAOUbh60.js";import"./PhPencilSimple.vue-BNT6vjPJ.js";import"./router-CG0O12sY.js";import"./ts.worker-Fh-NnXPO.js";import"./organization-Ck6s10p9.js";import"./tables-BcoEqi8K.js";import"./string-CHaXYyix.js";import"./keyboard-CGSESdrY.js";import"./os-CvMacsyT.js";import"./projectStore-DaTpSNA3.js";import"./project-BicupVq0.js";import"./organizationSwitcher-LxwT0CkO.js";import"./cascaderStore-N40_l8MY.js";import"./folder-BXQvf2Eu.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-DhkBQXhr.js";import"./member-CSnNslTv.js";import"./index-DNAnO1lc.js";import"./index-Br_GyCtM.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-Cagz3SGf.js";import"./PhNotePencil.vue-DKYvyYMK.js";import"./PhSignOut.vue-mJRyF-c4.js";import"./index-BFBllGYr.js";import"./index-DPk8CxvG.js";import"./PhPlus.vue-BQ96pqV3.js";import"./omniChatStore-DuElDHZR.js";import"./contracts.generated-DsCoRZS_.js";import"./runnerData-CSHExhs1.js";import"./url-CZn5CS3s.js";import"./colorHelpers-BdA9gsBC.js";import"./uuid-Cj5WGlb6.js";import"./PhCopySimple.vue-Bx5YAdy6.js";import"./index-eBG_ciia.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-CCQPSjiB.js.map
