import{N as c}from"./Navbar-xY_iCL-U.js";import{e as d,ak as u,b as a,l,a4 as f,f as _,g as b,v as p,k as y,aO as I}from"./jwt-decode.esm-D5_MAYoy.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-BXJX1Ay0.js";import"./constants-DREQiiIQ.js";import"./PhCaretDown.vue-CBvQW6d8.js";import"./PhPencilSimple.vue-BMsL-s4d.js";import"./router-PcOEZvqo.js";import"./ts.worker-MnaOhcJC.js";import"./organization-D2j4VS1v.js";import"./tables-kaccTZUj.js";import"./string-CPhheuXs.js";import"./keyboard-Db6NPXHh.js";import"./os-C3FHf9mF.js";import"./projectStore-J9ljU4Ck.js";import"./project-BO_KPbLw.js";import"./organizationSwitcher-CYy2HQQP.js";import"./cascaderStore-Bubal5AT.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-C903XuF_.js";import"./member-2hzJwPbk.js";import"./index-CVgyV3W-.js";import"./index-uGuYNV50.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-BlCXn_Ft.js";import"./PhNotePencil.vue-u0-zPKju.js";import"./PhSignOut.vue-LAiQuSs5.js";import"./index-tQZ9wBYN.js";import"./index-hcl7HHYT.js";import"./PhPlus.vue-B4cecE5O.js";import"./omniChatStore-BH3WMUWC.js";import"./files-C00-e9Yu.js";import"./contracts.generated-DoxdmweI.js";import"./runnerData-B6KiGbP2.js";import"./url-B2_WQsks.js";import"./colorHelpers-CEr_dOK_.js";import"./uuid-DwXiBSlT.js";import"./useLintersStore-GDtLRIuN.js";import"./PhCopySimple.vue-DFfcx9qt.js";import"./PhSparkle.vue-yKrFxG5e.js";import"./index-DXxsyraU.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]="23fd9fc5-154e-498a-bbf1-0fc95511e3c1",r._sentryDebugIdIdentifier="sentry-dbid-23fd9fc5-154e-498a-bbf1-0fc95511e3c1")}catch{}})();const v={class:"console-layout"},g={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",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(e)])])}}}),po=I(w,[["__scopeId","data-v-62f8634d"]]);export{po as default};
//# sourceMappingURL=ConsoleLayout-vMtSbeHf.js.map
