import{N as c}from"./Navbar-CaCGv68H.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-TBTnMpAQ.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-DlgKlyjd.js";import"./LoadingOutlined-BqxBN2hi.js";import"./constants-B87hyFPv.js";import"./PhCaretDown.vue-DUoRp2Uo.js";import"./PhPencilSimple.vue-BpAshw7J.js";import"./router-D3FyrFLh.js";import"./ts.worker-9cx-N_QF.js";import"./organization-c9JpfAmx.js";import"./tables-BnZZliwP.js";import"./string-BWyWHyKB.js";import"./keyboard-t_E0YIMj.js";import"./os-DK2MH-7F.js";import"./projectStore-cTVkdc5q.js";import"./member-DcSvDUMh.js";import"./project-C7rccdjE.js";import"./organizationSwitcher-CHU49qr2.js";import"./cascaderStore-07xe8M_8.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-DePNR7Q8.js";import"./index-BfH1TxJv.js";import"./index-rOmUqnMH.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-B-b-2IEy.js";import"./PhNotePencil.vue-DpeOsIcC.js";import"./avatarColor-DdgT75Xh.js";import"./PhSignOut.vue-CEIxUeiN.js";import"./index-DOGf0BqE.js";import"./index-CycazgOp.js";import"./PhPlus.vue-CY3WTzN-.js";import"./omniChatStore-DJghMDrC.js";import"./contracts.generated-BC6Af2JL.js";import"./files-CouHTBes.js";import"./runnerData-5zbRPzoM.js";import"./url-qvab8xVu.js";import"./colorHelpers-BMn7fztv.js";import"./uuid-Cz_aOlHt.js";import"./PhCopySimple.vue-BdunFsmw.js";import"./PhSparkle.vue-Cm5YG9Dd.js";import"./index-BJxFVQQC.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-C9tg_SBa.js.map
