PageSourceSearch

https://flows.super.ai/assets/backoffice-D2FXVlcm.js

js super.ai collected 2026-10-03 20:58:01 UTC 2,606 bytes, 3 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="d78bba2d-b66b-410c-99d1-41563e0fd37b")}catch(e){}}();import{c as f,j as s,ba as u,cd as p,h as x,ce as h,aN as g,ch as k,aH as j,ci as C}from"./index-38j3-Rv3.js";import{b as _,C as S,a as y,c as B,d as N}from"./card-BYhfTO6b.js";const v=()=>{const e=f.c(1);let a;return e[0]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsxs(_,{className:"flex items-center gap-4 p-4 shrink-0",children:[s.jsx("div",{className:"flex items-center justify-center rounded-md p-2 bg-blue-brand-background",children:s.jsx(u,{className:"size-5 text-blue-brand-icon"})}),s.jsxs("div",{children:[s.jsx(S,{className:"text-blue-brand-icon",children:"Backoffice"}),s.jsx(y,{children:"Manage your organizations and worker groups"})]})]}),e[0]=a):a=e[0],a},O=[{id:"organizations",label:"Organizations",to:"/backoffice/organizations",ownedPaths:["/backoffice/promotion-queue","/backoffice/suspensions"]},{id:"members",label:"Members",to:"/backoffice/members"},{id:"audit-log",label:"Audit log",to:"/backoffice/audit-log"},{id:"cost-catalog",label:"Cost catalog",to:"/backoffice/cost-catalog"},{id:"prompts",label:"Prompts",to:"/backoffice/prompts"}],T=()=>O,z=(e,a)=>[e.to,...e.ownedPaths??[]].some(t=>a===t||a.startsWith(`${t}/`)),$=()=>{const e=f.c(7),a=T();let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={select:w},e[0]=t):t=e[0];const n=p(t),m="tablist",b="Backoffice sections";let c;e[1]===Symbol.for("react.memo_cache_sentinel")?(c=x(h,"mx-4"),e[1]=c):c=e[1];let i;e[2]!==n?(i=o=>{const d=z(o,n);return s.jsx(g,{to:o.to,role:"tab","aria-selected":d,"data-state":d?"active":"inactive","data-e2e-id":`backoffice-tab-${o.id}`,className:k(),children:o.label},o.id)},e[2]=n,e[3]=i):i=e[3];const r=a.map(i);let l;return e[4]!==c||e[5]!==r?(l=s.jsx("nav",{role:m,"aria-label":b,className:c,children:r}),e[4]=c,e[5]=r,e[6]=l):l=e[6],l};function w(e){return e.location.pathname}const A=()=>{const e=f.c(2);let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx(v,{}),e[0]=a):a=e[0];let t;return e[1]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx(j,{disableScroll:!0,children:s.jsxs(B,{className:"rounded-md h-full flex flex-col p-0 overflow-hidden",children:[a,s.jsxs(N,{className:"flex-1 flex flex-col min-h-0 p-0 gap-4",children:[s.jsx($,{}),s.jsx(C,{})]})]})}),e[1]=t):t=e[1],t},E=A;export{E as component};
2
3//# chunkId=d78bba2d-b66b-410c-99d1-41563e0fd37b

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.