PageSourceSearch

https://squadbalance.com/build/assets/TeamGenerationCard-BuVuCvG2.js

js squadbalance.com collected 2026-10-02 01:47:23 UTC 2,510 bytes, 1 lines download raw bytes

1import{j as e}from"./vendor-wHC2ntYA.js";import{L as a}from"./inertia-BxUlTYdw.js";import{B as t}from"./button-DgxPEQwo.js";import{G as o}from"./GenerationCounter-B2BKsAKz.js";import{P as m}from"./PermissionGate-D-47rNbl.js";import{P as n}from"./squad-member-Pm6GdtXh.js";import{L as l}from"./lock-CP5a5D4l.js";import{U as c}from"./users-CnnyFaBd.js";import{C as d}from"./clock-d7jOAyUV.js";import"./index-D1Fr3kbQ.js";import"./index-C3nnnCt4.js";import"./app-CJjB2_mY.js";/* empty css            */import"./zap-Cssa_w88.js";import"./createLucideIcon-Dy18DS_c.js";import"./arrow-up-right-BuapLlTj.js";function x({permission:s,className:r=""}){return e.jsxs("div",{className:`flex items-center gap-2 text-sm text-zinc-500 ${r}`,children:[e.jsx(l,{className:"w-4 h-4"}),e.jsxs("span",{children:["You don't have permission for this action",s&&` (requires ${n[s].label.toLowerCase()} access)`]})]})}function B({squadId:s,usageStats:r,userPermissions:i}){return e.jsx("div",{className:"rounded-card bg-white p-6 shadow-sm",children:e.jsxs("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-blue-100",children:e.jsx(c,{className:"h-5 w-5 text-blue-600"})}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-zinc-800",children:"Team Generation"}),e.jsx("p",{className:"text-sm text-zinc-500",children:"Manually select players to create balanced teams"})]})]}),e.jsx(m,{permission:"teams",userPermissions:i,fallback:e.jsx(x,{permission:"teams"}),children:e.jsxs("div",{className:"flex flex-col sm:flex-row gap-2 sm:items-center",children:[e.jsx(o,{generations:r.generations,className:"sm:mr-2"}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(a,{href:`/squads/${s}/poll-history`,children:e.jsxs(t,{variant:"outline",className:"min-h-[44px] rounded-button gap-2",children:[e.jsx(d,{className:"h-4 w-4"}),"History"]})}),e.jsx(a,{href:route("squads.teams.create",s),children:e.jsxs(t,{className:"min-h-[44px] rounded-card bg-blue-500 hover:bg-blue-600 gap-2",children:[e.jsx("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})}),"Generate Teams"]})})]})]})})]})})}export{B as default};

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.