import{N as c}from"./Navbar-FY7ebydZ.js";import{e as d,aj as u,b as a,l,a3 as f,f as _,g as y,v as p,k as I,aM as b}from"./jwt-decode.esm-BqGP18yB.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-CO-hfOge.js";import"./LoadingOutlined-DpobTUIS.js";import"./constants-CtuskQyt.js";import"./PhCaretDown.vue-u_tR2_5x.js";import"./PhPencilSimple.vue-CYaQUybB.js";import"./router-BmEbvmXw.js";import"./ts.worker-hurvzKxX.js";import"./organization-R2DYqYYv.js";import"./tables-CeIPZLHv.js";import"./string-Bo9ayaJq.js";import"./keyboard-CieALOt8.js";import"./os-jrlbdIr9.js";import"./projectStore-DtsSg_nJ.js";import"./project-DAXxr1Zx.js";import"./organizationSwitcher-BQXum1H1.js";import"./cascaderStore-BMWW9gNv.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-DefTj2Yn.js";import"./member-C1S5OUV3.js";import"./index-CD_Ft2yj.js";import"./index-B6oKVJ7y.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-DBPEcIgI.js";import"./PhNotePencil.vue-DTtj20Rv.js";import"./PhSignOut.vue-B5cYvcbV.js";import"./index-CRhDPqL8.js";import"./index-B-x2aGdm.js";import"./PhPlus.vue-DBanpbR1.js";import"./omniChatStore-DfNwSMB4.js";import"./files-vYCq_6zA.js";import"./contracts.generated-Dfht8ecQ.js";import"./runnerData-BpSzztKt.js";import"./url-YfJg_a8Q.js";import"./colorHelpers-5riH0JNn.js";import"./uuid-CA0oWbEP.js";import"./PhCopySimple.vue-DYGBrn-e.js";import"./PhSparkle.vue-Bg0-16Qx.js";import"./index-BaQ8cE3j.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]="f6833699-ae56-40b6-acc9-f82e11534d11",r._sentryDebugIdIdentifier="sentry-dbid-f6833699-ae56-40b6-acc9-f82e11534d11")}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 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",g,[p(e)])])}}}),po=b(w,[["__scopeId","data-v-62f8634d"]]);export{po as default};
//# sourceMappingURL=ConsoleLayout-BR5IdJO0.js.map
