1import"./DrQST0s6.js";import{c as e,s as t}from"./BtyhziNL.js";var n={get data(){return e.data},get error(){return e.error},get form(){return e.form},get params(){return e.params},get route(){return e.route},get state(){return e.state},get status(){return e.status},get url(){return e.url}},r={get from(){return t.current?t.current.from:null},get to(){return t.current?t.current.to:null},get type(){return t.current?t.current.type:null},get willUnload(){return t.current?t.current.willUnload:null},get delta(){return t.current?t.current.delta:null},get complete(){return t.current?t.current.complete:null}},i=n,a=r,o={ORG_VIEW:`org:view`,ORG_INVITE_USER:`org:invite_user`,ORG_REMOVE_USER:`org:remove_user`,ORG_MANAGE_TEAMS:`org:manage_teams`,ORG_MANAGE_ROLES:`org:manage_roles`,ORG_MANAGE_BILLING:`org:manage_billing`,ORG_MANAGE_ORG:`org:manage_org`,ORG_VIEW_ACTIVITY_LOG:`org:view_activity_log`,ORG_CREATE_PROJECT:`org:create_project`,ORG_DELETE_PROJECT:`org:delete_project`,PROJECT_ADMIN:`project:admin`,PROJECT_EDIT:`project:edit`,PROJECT_VIEW:`project:view`},s=class{#e;#t;constructor(e,t){this.#e=e,this.#t=t}has(e,t){return e.startsWith(`project:`)?t?this.#t[t]?.includes(e)??!1:!1:this.#e.includes(e)}forOrg(){return[...this.#e]}forProject(e){return[...this.#t[e]??[]]}hasAny(e,...t){return t.some(t=>this.has(t,e))}hasAll(e,...t){return t.every(t=>this.has(t,e))}canManageOrg(){return this.hasAny(void 0,o.ORG_MANAGE_ORG,o.ORG_MANAGE_TEAMS,o.ORG_MANAGE_BILLING)}canInviteUsers(){return this.has(o.ORG_INVITE_USER)}canRemoveUsers(){return this.has(o.ORG_REMOVE_USER)}canManageTeams(){return this.has(o.ORG_MANAGE_TEAMS)}canViewActivityLog(){return this.has(o.ORG_VIEW_ACTIVITY_LOG)}};export{i,s as n,a as r,o as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.