import{x as c}from"./index-B1H8BCL7.js";function u(){const n=c(s=>{var e;return((e=s.user)==null?void 0:e.branches)||[]}),t=c(s=>{var e;return(e=s.user)==null?void 0:e.selectedBranchId}),r=Array.isArray(n)?n.find(s=>s.id===t):null;return!!(r!=null&&r.isHq)}export{u};
