import{N as c}from"./Navbar-Cv_t7cpj.js";import{e as d,V as u,b as a,J as l,Z as f,f as _,g as b,x as p,k as y,ar as I}from"./jwt-decode.esm-DNXB6x7p.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-C67zye0P.js";import"./LoadingOutlined-uxtPF04n.js";import"./constants-DnxKRyzq.js";import"./PhCaretDown.vue-CIFaqtNc.js";import"./PhPencilSimple.vue-juzGx2Jm.js";import"./router-BqI-Eleq.js";import"./ts.worker-CybqCf7B.js";import"./organization-y8WRoAFa.js";import"./tables-C6HKWc9X.js";import"./string-DxatK-nw.js";import"./keyboard-BH8tHxmH.js";import"./os-BdoN04I7.js";import"./projectStore-DTZADbdS.js";import"./member-B0npE5rT.js";import"./project-DXryGMg6.js";import"./organizationSwitcher-B5f8jx6Z.js";import"./cascaderStore-CGKHiqGE.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-BETzO9k2.js";import"./index-DSCv5g_h.js";import"./index-CVUBJrSi.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-GuPXdQve.js";import"./PhNotePencil.vue-Be2kzGBZ.js";import"./avatarColor-vrTEOhxN.js";import"./PhSignOut.vue-DU31P95J.js";import"./index-CSkE5-ZU.js";import"./index-cQ7-_xwL.js";import"./PhPlus.vue-DmNn3RIp.js";import"./omniChatStore-CqkKQRko.js";import"./contracts.generated-DAXnu02_.js";import"./files-DoSqBk7K.js";import"./runnerData-kaWMmfGY.js";import"./url-B5MkkS46.js";import"./colorHelpers-CaeEVG4s.js";import"./uuid-BO2S7IQU.js";import"./PhCopySimple.vue-C0eIx2cN.js";import"./PhSparkle.vue-CHU4Wwgm.js";import"./index-UIvECQPY.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]="0ce519f6-da2b-49dc-a5cb-1caa82a60db3",r._sentryDebugIdIdentifier="sentry-dbid-0ce519f6-da2b-49dc-a5cb-1caa82a60db3")}catch{}})();const g={class:"console-layout"},v={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",g,[p(c,{"use-cascader":!0,"cascader-props":m.value,"show-ai-sparkles":s.value},null,8,["cascader-props","show-ai-sparkles"]),y("div",v,[p(e)])])}}}),no=I(w,[["__scopeId","data-v-62f8634d"]]);export{no as default};
//# sourceMappingURL=ConsoleLayout-CJmy0kL2.js.map
