import{N as c}from"./Navbar-Wt0BkHkM.js";import{e as d,ak as u,b as a,l,a4 as _,f,g as y,v as p,k as I,aN as b}from"./jwt-decode.esm-Deqn1Ux5.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-SdS8hQfG.js";import"./constants-CFVrVo2U.js";import"./PhCaretDown.vue-DAD_ViiN.js";import"./PhPencilSimple.vue-DD_KVRSM.js";import"./router-B6biqbI0.js";import"./ts.worker-BgPvhfYd.js";import"./organization-CmQIuZem.js";import"./tables-MYWz1uv1.js";import"./string-_-d9aetX.js";import"./keyboard-DkU5dp9-.js";import"./os-Bi7EVW7n.js";import"./projectStore-CrYFgyV1.js";import"./project-Dwst1-Sb.js";import"./organizationSwitcher-B9PyNc-O.js";import"./cascaderStore-T1frRrjt.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-Ds1Vg-hw.js";import"./member-Be2nsMRF.js";import"./index-hXs83LqI.js";import"./index-DtGCYegL.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-BryJyLvo.js";import"./PhNotePencil.vue-0N8tlx2f.js";import"./PhSignOut.vue-CRpT_Mbi.js";import"./index-DaJwAD6T.js";import"./index-CN7ciqgj.js";import"./PhPlus.vue-Bkf6a7fQ.js";import"./omniChatStore-CwBtrtll.js";import"./files-DXDSptJn.js";import"./contracts.generated-Bg6bG4dP.js";import"./runnerData-CnbGOZtt.js";import"./url-DyLJf7vL.js";import"./colorHelpers-COoxDMTZ.js";import"./uuid-VLRqNiD5.js";import"./PhCopySimple.vue-DPXBlTnK.js";import"./PhSparkle.vue-CETHFuLj.js";import"./index-Ct0eQt4B.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]="a334685d-3606-4110-93de-ede79b14c2ec",e._sentryDebugIdIdentifier="sentry-dbid-a334685d-3606-4110-93de-ede79b14c2ec")}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=_("RouterView");return y(),f("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(r)])])}}}),io=b(w,[["__scopeId","data-v-62f8634d"]]);export{io as default};
//# sourceMappingURL=ConsoleLayout-arKdSgn4.js.map
