import{N as c}from"./Navbar-I2aEUTzC.js";import{e as d,aj as u,b as a,l,a2 as f,f as _,g as y,q as p,k as I,aM as g}from"./jwt-decode.esm-pcElS94V.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-BYVERsxl.js";import"./LoadingOutlined-BxyNx-W6.js";import"./constants-v0T8jQlK.js";import"./PhCaretDown.vue-MtBC5RFy.js";import"./PhPencilSimple.vue-Bn_QcZq_.js";import"./router-BvzigUbW.js";import"./ts.worker-Bp1zgQ_I.js";import"./organization-JNhgkRZL.js";import"./tables-Ih1L_2gz.js";import"./string-B2QEvFse.js";import"./keyboard-Dx6E6GWG.js";import"./os-mV0VomV6.js";import"./projectStore-BuoV3lFC.js";import"./project-DZfFtoff.js";import"./organizationSwitcher-gqNPjUNv.js";import"./cascaderStore-CzlX_gXQ.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-CnZ9xz5g.js";import"./member-BJHmDj8m.js";import"./index-CxaLsrIj.js";import"./index-CPzLhhWa.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-BWzpdh4R.js";import"./PhNotePencil.vue-DutMdc3N.js";import"./PhSignOut.vue-BDuTiVTY.js";import"./index-BA_3451e.js";import"./index-DC6Iwhe9.js";import"./PhPlus.vue-D0-vRY79.js";import"./omniChatStore-Baj-eTmM.js";import"./files-BCnER5nw.js";import"./contracts.generated-BQ8ZM5oG.js";import"./runnerData-DvWvGyMy.js";import"./url-CM9ndq0C.js";import"./colorHelpers-BWT6AENL.js";import"./uuid-BMrsGnVS.js";import"./PhCopySimple.vue-BSEOOyUl.js";import"./PhSparkle.vue-DyRW4vOF.js";import"./index-9OBptJmN.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]="1c3f9368-1e1f-413a-9e27-0169e6187d23",e._sentryDebugIdIdentifier="sentry-dbid-1c3f9368-1e1f-413a-9e27-0169e6187d23")}catch{}})();const v={class:"console-layout"},b={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 y(),_("div",v,[p(c,{"use-cascader":!0,"cascader-props":m.value,"show-ai-sparkles":s.value},null,8,["cascader-props","show-ai-sparkles"]),I("div",b,[p(r)])])}}}),po=g(w,[["__scopeId","data-v-62f8634d"]]);export{po as default};
//# sourceMappingURL=ConsoleLayout-B1zvOLNA.js.map
