import{N as c}from"./Navbar-CgKUOYDN.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-1W9iq5Oc.js";import"./logo-BiWG9_W5.js";import"./AbstraButton.vue_vue_type_script_setup_true_lang-BcaXiTSn.js";import"./LoadingOutlined-D2k5aCqC.js";import"./constants-DCeOk9KD.js";import"./PhCaretDown.vue-DtlC3lVC.js";import"./PhPencilSimple.vue-D4DCpO8z.js";import"./router-BlBl3YCU.js";import"./ts.worker-dw09Qg0Q.js";import"./organization-q3fCIcrv.js";import"./tables-CNXyNFR4.js";import"./string-BXLOTiJ3.js";import"./keyboard-BkhYcRAD.js";import"./os-DyuZ4E23.js";import"./projectStore--qwmdImH.js";import"./project-Dxis22Lv.js";import"./organizationSwitcher-D3T7RAxQ.js";import"./cascaderStore-P7x_FHHC.js";import"./CreateProjectModal.vue_vue_type_script_setup_true_lang-BeKgt7ON.js";import"./member-D3nZEJyp.js";import"./index-Bv7WoN7Y.js";import"./index-CRSDZad3.js";import"./CreateTableModal.vue_vue_type_script_setup_true_lang-BwTsnW9a.js";import"./PhNotePencil.vue-BA6mJDvU.js";import"./PhSignOut.vue-hYuUamNc.js";import"./index-elSyIqw4.js";import"./index-CmBL5IQ0.js";import"./PhPlus.vue-CRVrxS7Z.js";import"./omniChatStore-iyCjop72.js";import"./files-Bdf0yPUD.js";import"./contracts.generated-BnFE1vBN.js";import"./runnerData-DgRTB2fA.js";import"./url-emG1RSF5.js";import"./colorHelpers-DT7BywO0.js";import"./uuid-aTjXpf4v.js";import"./PhCopySimple.vue-3qYiNmtj.js";import"./PhSparkle.vue-Dm1turWT.js";import"./index-CCxJftOk.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-B9-JMgy8.js.map
