const e=[`exec.approvals.`,`config.`,`wizard.`,`update.`];function t(t){return e.some(e=>t.startsWith(e))}function n(e){if(t(e))return`operator.admin`}function r(e,t){let r=n(e);return!r||!t||t===r?{scope:t,coercedToReservedAdmin:!1}:{scope:r,coercedToReservedAdmin:!0}}export{n,r as t};