import{N as c}from"./Navbar-BmHUz5hv.js";import{e as d,al as u,b as a,l,a5 as f,f as _,g as b,v as p,k as y,aO as I}from"./jwt-decode.esm-CkJiA_gX.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-DrxYCo65.js";import"./constants-C33L1c62.js";import"./PhCaretDown.vue-Cr9p_bRO.js";import"./PhPencilSimple.vue-BSFXfemz.js";import"./router-B6Ze-x5P.js";import"./ts.worker-BKJNydn3.js";import"./organization-BKprXTif.js";import"./tables-sSnhImKu.js";import"./string-BZFbN__X.js";import"./keyboard-DJskPGnP.js";import"./os-DPYmNnMY.js";import"./projectStore-CaU5japp.js";import"./project-BtYWr401.js";import"./organizationSwitcher-BfYB4d0S.js";import"./cascaderStore-EwGjNkFg.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-CCIkkf-8.js";import"./member-DhLEtPLV.js";import"./index-Dz4JGC_w.js";import"./index-D_qCqTTt.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-DLKMcAj8.js";import"./PhNotePencil.vue-CAMEH0ar.js";import"./PhSignOut.vue-BGBlIqhQ.js";import"./index-DMoxlcAU.js";import"./index-BiSIPNs2.js";import"./PhPlus.vue-8lXIfoex.js";import"./omniChatStore-Bfp6q1Vm.js";import"./files-xz0B-x5G.js";import"./contracts.generated-Cl_8JNwN.js";import"./runnerData-lRtEGk33.js";import"./url-Dfkkiex5.js";import"./colorHelpers-9gRHV4k1.js";import"./uuid-CudrxJA2.js";import"./useLintersStore-C2jRzatW.js";import"./webSocketService-DCiooo1U.js";import"./PhCopySimple.vue-xkgq9YNq.js";import"./PhSparkle.vue-pYJxZWEO.js";import"./index-CABR3oGW.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]="04d5a0f9-696e-431a-a4bd-01a11c94b068",r._sentryDebugIdIdentifier="sentry-dbid-04d5a0f9-696e-431a-a4bd-01a11c94b068")}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)])])}}}),no=I(w,[["__scopeId","data-v-62f8634d"]]);export{no as default};
//# sourceMappingURL=ConsoleLayout-BycqIXEz.js.map
