import{N as c}from"./Navbar-Sa148cxf.js";import{e as d,W as u,b as a,K as l,$ as f,f as _,g as b,v as p,k as y,as as I}from"./jwt-decode.esm-C4US4bkT.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-BCMHtrac.js";import"./LoadingOutlined-BQehVMXs.js";import"./constants-BvivfFzv.js";import"./PhCaretDown.vue-Bg8UYSJk.js";import"./PhPencilSimple.vue-DwFlp-4p.js";import"./router-Di4gVZ9L.js";import"./ts.worker-fqGuuyNQ.js";import"./organization-ByLw7unN.js";import"./tables-DGb3AWRh.js";import"./string-4bDA8qyw.js";import"./keyboard-Bad16bBD.js";import"./os-A-K8Ebir.js";import"./projectStore-CPcJ5bNW.js";import"./member-ByHItftJ.js";import"./project-B0833jnb.js";import"./organizationSwitcher-DTnIzS4b.js";import"./cascaderStore-CLasOBEG.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-k131pOZN.js";import"./index-DQAaOYoV.js";import"./index-BI9joMgN.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-CWhIaZ-7.js";import"./PhNotePencil.vue-DsEqegCj.js";import"./avatarColor-CVxwmh97.js";import"./PhSignOut.vue-lik1Qis8.js";import"./index-0Rcy0i-h.js";import"./index-BnlaeSfH.js";import"./PhPlus.vue-CLpntHBR.js";import"./omniChatStore-Pdtoudne.js";import"./contracts.generated-8uF9FQTL.js";import"./files-D5Ul_-dU.js";import"./runnerData-CiNL8Dpt.js";import"./url-EhGB81j5.js";import"./colorHelpers-JkA5undR.js";import"./uuid-BFfSD8cZ.js";import"./PhCopySimple.vue-B53B8OuV.js";import"./PhSparkle.vue-BJgTj8UR.js";import"./index-Dkjqm5UA.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]="649e57ba-93c8-4b2e-b0a8-ecfad1a059bd",e._sentryDebugIdIdentifier="sentry-dbid-649e57ba-93c8-4b2e-b0a8-ecfad1a059bd")}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)])])}}}),no=I(w,[["__scopeId","data-v-62f8634d"]]);export{no as default};
//# sourceMappingURL=ConsoleLayout-GSiAXWPv.js.map
