PageSourceSearch

https://maasy.ai/assets/SocialBatchSheet-CFbScNnU.js

js maasy.ai collected 2026-09-24 13:56:07 UTC 19,969 bytes, 2 lines download raw bytes

1import{r as n,s as _,j as e,Q as A,p as F,m as v,H as De,I as Be,J as L,K as q,n as re,B as b,_ as H,F as Pe,Z as ze,ah as Te,ai as $e,X as Ae,aj as Ee,ak as Oe,al as Ie,am as Fe,an as Le,ao as qe,ap as Re,$ as oe,a0 as ie,a1 as ne,a2 as le,O as V,a3 as ce,a4 as de,D as h}from"./index-CuMcGkrh.js";import{P as Ue}from"./PieceDetailSheet-C_CAFBgM.js";import{B as Me}from"./BrandBoardsTab-zRrAUsw7.js";import{S as Ge}from"./SavedGenerations-DJMwqzFs.js";import{S as He}from"./SocialBatchesViewer-NV0374Yo.js";import{B as Ve}from"./BrandDNAPanel-6aOJ_xRv.js";import{g as We,c as Je,a as me}from"./mediaAssets-DkhlN-rV.js";import{C as ue}from"./calendar-DL9Dxjqm.js";import{I as xe}from"./image-off-ByTxYHV9.js";import{D as Ke}from"./download-B1BTuZAS.js";import"./scroll-area-CNj6EK8I.js";import"./popover-Ct6GlC1w.js";import"./index-6Azjw9Lk.js";import"./folder-plus-CXWIQYEy.js";import"./BoardAssetDrawer-rAj47MuE.js";import"./checkbox-DpRQrWcn.js";import"./image-SkV5sC4d.js";import"./images-pOQOCZfC.js";import"./format-2IgJ5YnW.js";import"./en-US-xHSDCZDo.js";import"./es-WaaJgypT.js";import"./calendar-kkyOfeY6.js";import"./startOfMonth-A91Y0RCS.js";import"./endOfMonth-CmwZJ6b_.js";import"./subDays-BmfBkRvv.js";import"./chevron-left-DHt1KnDq.js";import"./arrow-right-left-OEXdRCCS.js";import"./formatDistanceToNow-GsinHOiH.js";import"./shared-generation-cards-BcnYV8lQ.js";import"./sanitizeMarkdown-BKLTdyMt.js";import"./award-Bx8KuJUn.js";import"./TikTokAdPreviewCard-BZ1-x86o.js";import"./GoogleAdPreviewCard-CFeWoOzV.js";import"./UsageLimitModal-C2c90czF.js";import"./bookmark-DC-aggmC.js";import"./music-Dp_lI__u.js";import"./mouse-pointer-click-Co28Cb-j.js";import"./dollar-sign-B2OY8-rg.js";import"./type-B82ed-Vx.js";import"./lightbulb-Cad6Pcoh.js";import"./circle-check-big-Bv244657.js";import"./folder-open-B7PTSx9X.js";import"./collapsible-DkBuFU25.js";import"./index-CAPYjvwb.js";import"./parseICPProfiles-C6nLUTkj.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="62d0d398-4756-4c64-ad27-d80e752ded5c",t._sentryDebugIdIdentifier="sentry-dbid-62d0d398-4756-4c64-ad27-d80e752ded5c")}catch{}})();function Qe(t){const[r,i]=n.useState(null),[l,g]=n.useState([]),[R,S]=n.useState(!1),E=n.useCallback((k,P)=>{g(x=>x.map(d=>d.id===k?{...d,...P}:d))},[]);return n.useEffect(()=>{if(!t){i(null),g([]),S(!1);return}let k=!0;S(!0),(async()=>{const[{data:x},{data:d}]=await Promise.all([_.from("social_content_studio_v4_batches").select("*").eq("id",t).maybeSingle(),_.from("social_content_studio_v4_pieces").select("*").eq("batch_id",t).order("tension_index",{ascending:!0})]);k&&(x&&i(x),d&&g(d),S(!1))})();const P=_.channel(`v4-sheet-batch-${t}`).on("postgres_changes",{event:"*",schema:"public",table:"social_content_studio_v4_pieces",filter:`batch_id=eq.${t}`},x=>{const d=x.new;d!=null&&d.id&&g(u=>{const y=u.findIndex(C=>C.id===d.id);if(y===-1)return[...u,d];const z=u.slice();return z[y]={...z[y],...d},z})}).on("postgres_changes",{event:"UPDATE",schema:"public",table:"social_content_studio_v4_batches",filter:`id=eq.${t}`},x=>{i(d=>({...d,...x.new}))}).subscribe();return()=>{k=!1,_.removeChannel(P)}},[t]),{batch:r,pieces:l,projectId:(r==null?void 0:r.project_id)??null,isLoading:R,updatePiece:E}}const he={completed:"bg-emerald-500/15 text-emerald-300 border-emerald-500/30",generating:"bg-blue-500/15 text-blue-300 border-blue-500/30",composing:"bg-blue-500/15 text-blue-300 border-blue-500/30",queued:"bg-amber-500/15 text-amber-300 border-amber-500/30",pending:"bg-amber-500/15 text-amber-300 border-amber-500/30",failed:"bg-rose-500/15 text-rose-300 border-rose-500/30",partial:"bg-amber-500/15 text-amber-300 border-amber-500/30"};function Xe(t){return{id:t.id,source:"social_v4",imageUrl:t.composed_image_url||t.background_url,
1width:t.width,height:t.height,channel:t.channel,format:t.format,status:t.status,tensionLabel:t.tension_label,pillar:t.pillar,copy:t.copy,errorMessage:t.error_message,raw:t}}function pe(t){const r=t.copy??{};return{caption:r.caption||r.body||"",hashtags:r.hashtags||[],generatedImageUrl:t.composed_image_url||t.background_url||null,hook_line:r.hook||r.headline||"",pillar:t.pillar||null,title:r.headline||t.tension_label||"",cta:r.cta||"",format_type:t.format||null}}async function Ze(t,r){try{const l=await(await fetch(t)).blob(),g=document.createElement("a");g.href=URL.createObjectURL(l),g.download=r,g.click(),URL.revokeObjectURL(g.href)}catch{h.error("toast_error.download_failed","No se pudo descargar la imagen")}}function Gs({canonicalId:t}){const{batch:r,pieces:i,projectId:l,isLoading:g,updatePiece:R}=Qe(t),[S,E]=n.useState(null),[k,P]=n.useState("pieces"),[x,d]=n.useState("all"),[u,y]=n.useState(new Set),[z,C]=n.useState(new Set),[ge,O]=n.useState(!1),[W,J]=n.useState([]),[N,U]=n.useState("new"),[I,K]=n.useState(""),[Q,X]=n.useState(!1),[Z,Y]=n.useState(!1),[T,M]=n.useState(null),[D,G]=n.useState(void 0),fe=n.useCallback(s=>{E(Xe(s))},[]),be=n.useCallback(s=>{y(a=>{const o=new Set(a);return o.has(s)?o.delete(s):o.add(s),o})},[]),je=n.useCallback(()=>{y(new Set(i.map(s=>s.id)))},[i]),_e=n.useCallback(()=>y(new Set),[]),ve=async s=>{C(a=>new Set(a).add(s.id));try{const{error:a}=await _.from("social_content_studio_v4_pieces").delete().eq("id",s.id);if(a)throw a;h.success("toast_success.piece_deleted","Pieza eliminada")}catch(a){h.error("toast_error.delete_failed",a.message||"No se pudo eliminar")}finally{C(a=>{const o=new Set(a);return o.delete(s.id),o})}},ye=async s=>{C(a=>new Set(a).add(s.id)),R(s.id,{status:"queued",error_message:null});try{const{error:a}=await _.functions.invoke("social-content-studio-v4-generate",{body:{piece_id:s.id,force:!0}});if(a)throw a;h.success("toast_success.piece_regen_queued","Pieza re-encolada")}catch(a){h.error("toast_error.regen_failed",a.message||"No se pudo regenerar")}finally{C(a=>{const o=new Set(a);return o.delete(s.id),o})}},ee=async(s,a)=>{if(l)try{const{error:o}=await _.functions.invoke("content-to-social-draft",{body:{piece_data:pe(s),project_id:l,network:s.channel||"instagram",scheduled_at:(a==null?void 0:a.toISOString())||null}});if(o)throw o;h.success("toast_success.scheduled",a?`Post programado para ${a.toLocaleDateString()}`:"Post enviado a borradores"),M(null),G(void 0)}catch(o){h.error("toast_error.schedule_failed",o.message||"No se pudo programar")}},Ne=async()=>{if(!(!l||u.size===0)){Y(!0);try{let s=0;for(const a of u){const o=i.find($=>$.id===a);if(!o)continue;const{error:j}=await _.functions.invoke("content-to-social-draft",{body:{piece_data:pe(o),project_id:l,network:o.channel||"instagram"}});j||s++}h.success("toast_success.batch_drafts",`${s} posts enviados a borradores`)}catch(s){h.error("toast_error.batch_drafts_failed",s.message||"Error")}finally{Y(!1)}}},we=async()=>{if(u.size===0){h.error("toast_error.select_one","Selecciona al menos una pieza");return}if(l){try{const s=await We(l);J(s)}catch{J([])}K((r==null?void 0:r.group_name)||`Batch ${t.slice(0,6)}`),U("new"),O(!0)}},Se=async()=>{var s;if(!(!l||u.size===0)){X(!0),O(!1);try{const{data:{user:a}}=await _.auth.getUser();if(!a){h.error("toast_error.auth","Debes iniciar sesión");return}let o=N,j=I;if(N==="new"){const m=await Je({project_id:l,name:I||`Batch ${t.slice(0,6)}`,color:"#3b82f6",board_type:"content-calendar",order_index:0});o=m.id,j=m.name}else{const m=W.find(c=>c.id===N);j=(m==null?void 0:m.name)||"Board"}if(!!((s=r==null?void 0:r.formats)!=null&&s.includes("carousel"))||i.some(m=>!!m.carousel_group_id)){const m=[...i].filter(c=>c.composed_image_url||c.background_url).sort((c,w)=>(c.carousel_slide_index??0)-(w.carousel_slide_index??0));if(m.length>=2){const c=m.map((p,ae)=>{const te=p.composed_image_url||p.background_url;return{url:te,path:te,name:`slide_${ae+1}.png`,type:"image/png",size:0,order_index:ae}}),w=c[0].url,f=m[0].copy??{};await me({project_id:l,user_id:a.id,board_id:o,title:(r==null?void 0:r.group_name)||f.headline||"Carrusel",copy_text:f.caption||f.body||"",tags:(f.hashtags||[]).map(p=>p.startsWith("#")?p:`#${p}`),platform:[m[0].channel||"instagram"],format_type:"carousel",file_name:`carousel_${t.slice(0,8)}.png`,file_type:"image/png",file_url:w,description:f.hook||void 0,metadata:{is_carousel:!0,carousel_files:c,cover_url:w}}),h.success("toast_success.pieces_to_board",`Carrusel de ${m.length}
1 slides enviado a "${j}"`);return}}let B=0;for(const m of u){const c=i.find(p=>p.id===m);if(!c)continue;const w=c.composed_image_url||c.background_url;if(!w)continue;const f=c.copy??{};await me({project_id:l,user_id:a.id,board_id:o,title:c.tension_label||f.headline||"Pieza",copy_text:f.caption||f.body||"",tags:(f.hashtags||[]).map(p=>p.startsWith("#")?p:`#${p}`),platform:[c.channel||"instagram"],format_type:c.format||"feed_post",file_name:`${c.channel||"post"}_${c.id}.png`,file_type:"image/png",file_url:w,description:f.hook||void 0}),B++}h.success("toast_success.pieces_to_board",`${B} piezas enviadas a "${j}"`)}catch(a){h.error("toast_error.save_board_failed",a.message||"Error al guardar en board")}finally{X(!1)}}},se=n.useMemo(()=>{const s=new Set;return i.forEach(a=>a.channel&&s.add(a.channel)),Array.from(s)},[i]),ke=n.useMemo(()=>x==="all"?i:i.filter(s=>s.channel===x),[i,x]);if(g&&i.length===0)return e.jsx("div",{className:"flex h-[60vh] items-center justify-center text-white/40",children:e.jsx(A,{className:"h-6 w-6 animate-spin"})});if(!r||!l)return e.jsxs("div",{className:"flex h-[60vh] flex-col items-center justify-center gap-2 px-6 text-center text-white/45",children:[e.jsx("p",{className:"text-[13px]",children:"No se encontró el batch de social posts."}),e.jsx("p",{className:"text-[11px] text-white/30",children:t.slice(0,8)})]});const Ce=i.filter(s=>s.composed_image_url||s.background_url).length;return e.jsxs("div",{className:"flex h-full flex-col overflow-hidden",children:[e.jsxs("div",{className:"border-b border-border/40 px-5 py-3",children:[e.jsx("h3",{className:"truncate text-[13px] font-medium text-white/85",children:r.group_name??"Batch de social posts"}),e.jsx("p",{className:"line-clamp-2 text-[11.5px] text-white/45",children:r.brief}),e.jsxs("div",{className:"mt-1.5 flex flex-wrap items-center gap-1.5 text-[10px] text-white/45",children:[e.jsx(F,{variant:"outline",className:v("uppercase",he[r.status??""]??"bg-muted/40"),children:r.status??"—"}),e.jsxs("span",{children:[Ce,"/",i.length," piezas con imagen"]})]})]}),e.jsxs(De,{value:k,onValueChange:s=>P(s),className:"flex flex-1 flex-col overflow-hidden",children:[e.jsx("div",{className:"border-b border-border/40 px-5 pt-2",children:e.jsxs(Be,{children:[e.jsxs(L,{value:"pieces",children:["Piezas (",i.length,")"]}),e.jsx(L,{value:"batches",children:"Mis Batches"}),e.jsx(L,{value:"boards",children:"Boards"}),e.jsx(L,{value:"saved",children:"Guardados"})]})}),e.jsx(q,{value:"pieces",className:"m-0 flex-1 overflow-y-auto",children:e.jsxs("div",{className:"px-5 pb-8 pt-4",children:[se.length>1&&e.jsxs("div",{className:"mb-3 flex flex-wrap gap-1.5",children:[e.jsxs("button",{onClick:()=>d("all"),className:v("rounded-full px-3 py-1 text-[11px] font-medium transition-colors",x==="all"?"bg-primary text-primary-foreground":"bg-muted text-muted-foreground"),children:["Todos (",i.length,")"]}),se.map(s=>{const a=i.filter(o=>o.channel===s).length;return e.jsxs("button",{onClick:()=>d(s),className:v("rounded-full px-3 py-1 text-[11px] font-medium uppercase transition-colors",x===s?"bg-primary text-primary-foreground":"bg-muted text-muted-foreground"),children:[s," (",a,")"]},s)})]}),i.length>0&&e.jsx(re,{className:"mb-4 border-primary/20 bg-primary/5 p-3",children:e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[e.jsxs("div",{children:[e.jsxs("p",{className:"text-xs font-semibold text-foreground",children:[u.size," de ",i.length," seleccionadas"]}),e.jsxs("div",{className:"mt-0.5 flex gap-2 text-[10px]",children:[e.jsx("button",{onClick:je,className:"text-primary hover:underline",children:"Todas"}),e.jsx("span",{className:"text-muted-foreground",children:"·"}),e.jsx("button",{onClick:_e,className:"text-muted-foreground hover:underline",children:"Ninguna"})]})]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(b,{size:"sm",variant:"outline",onClick:Ne,disabled:Z||u.size===0,className:"h-7 text-[11px]",children:Z?e.jsxs(e.Fragment,{children:[e.jsx(A,{className:"mr-1 h-3 w-3 animate-spin"})," Enviando…"]}):e.jsxs(e.Fragment,{children:[e.jsx(ue,{className:"mr-1 h-3 w-3"})," A borradores"]})}),e.jsx(b,{size:"sm",onClick:we,disabled:Q||u.size===0,className:"h-7 text-[11px]",children:Q?e.jsxs(e.Fragment,{children:[e.jsx(A,{className:"mr-1 h-3 w-3 animate-spin"})," …"]}):e.jsxs(e.Fragment,{children:[e.jsx(H,{className:"mr-1 h-3 w-3"})," A board"]})})]})]})}),i.length===0?e.jsxs("div",{className:"flex h-[40vh] flex-col items-center justify-center gap-2 text-white/35",children:[e.jsx(xe,{className:"h-8 w-8"}),e.jsx("span",{className:"text-xs",children:"Este batch aún no tiene piezas registradas."})]}):e.jsx("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2",children:ke.map(s=>{const a=s.composed_image_url||s.background_url,o=s.copy??{},j=o.caption||o.hook||o.headline||o.body||"",$=u.has(s.id),B=z.has(s.id);return e.jsxs(re,{className:v("flex flex-col overflow-hidden border-border/50 bg-card/60 backdrop-blur-sm transition-colors",$?"border-primary":"hover:border-primary/60"),children:[e.jsxs("div",{onClick:()=>fe(s),className:"relative flex cursor-pointer items-center justify-center overflow-hidden bg-muted/20",style:{aspectRatio:s.width&&s.height?`${s.width} / ${s.height}`:"1 / 1",maxHeight:"440px"},children:[a?e.jsx("img",{src:a,alt:s.tension_label||s.format||"piece",className:"h-full w-full object-contain",loading:"lazy"}):e.jsxs("div",{className:"flex h-full flex-col items-center justify-center gap-1 text-muted-foreground
1/60",children:[s.status==="queued"||s.status==="generating"||s.status==="composing"?e.jsx(A,{className:"h-5 w-5 animate-spin"}):e.jsx(xe,{className:"h-6 w-6"}),e.jsx("span",{className:"text-[11px]",children:s.status==="failed"?"Falló":s.status??"Sin imagen"})]}),e.jsxs("div",{className:"absolute left-2 top-2 flex flex-wrap gap-1",children:[s.channel&&e.jsx(F,{variant:"secondary",className:"text-[9px] uppercase",children:s.channel}),s.format&&e.jsx(F,{variant:"outline",className:"bg-black/40 text-[9px] uppercase",children:s.format})]}),e.jsx(F,{variant:"outline",className:v("absolute right-2 top-2 text-[9px] uppercase",he[s.status??""]??"bg-muted/40"),children:s.status??"—"}),e.jsx("button",{type:"button",onClick:m=>{m.stopPropagation(),be(s.id)},className:v("absolute bottom-2 left-2 flex h-5 w-5 items-center justify-center rounded border bg-black/50 text-[11px] font-bold transition-colors",$?"border-primary bg-primary text-primary-foreground":"border-white/40 text-transparent hover:text-white/60"),"aria-label":"Seleccionar",children:"✓"})]}),e.jsxs("div",{className:"flex flex-1 flex-col gap-2 p-3",children:[s.tension_label&&e.jsxs("div",{className:"text-[10px] uppercase tracking-wide text-primary/80",children:[s.tension_label,s.pillar?` · ${s.pillar}`:""]}),j?e.jsx("p",{className:"line-clamp-4 text-xs leading-relaxed text-foreground/85",children:j}):e.jsx("p",{className:"text-xs italic text-muted-foreground",children:"Sin copy"}),s.error_message&&e.jsx("p",{className:"line-clamp-2 text-[10px] text-rose-400",children:s.error_message}),e.jsxs("div",{className:"mt-auto flex items-center gap-1 border-t border-border/40 pt-2",children:[e.jsxs(b,{size:"sm",variant:"ghost",className:"h-7 gap-1 px-2 text-[11px]",disabled:!a,onClick:()=>a&&Ze(a,`${s.tension_label||s.id}-${s.format||"piece"}.png`),children:[e.jsx(Ke,{className:"h-3 w-3"})," PNG"]}),e.jsxs(b,{size:"sm",variant:"ghost",className:"h-7 gap-1 px-2 text-[11px]",disabled:!a||s.status!=="completed",onClick:()=>M(s),children:[e.jsx(Pe,{className:"h-3 w-3"})," Programar"]}),e.jsxs(b,{size:"sm",variant:"ghost",className:"ml-auto h-7 gap-1 px-2 text-[11px]",disabled:B,onClick:()=>ye(s),children:[B?e.jsx(A,{className:"h-3 w-3 animate-spin"}):e.jsx(ze,{className:"h-3 w-3"})," ","Re-gen"]}),e.jsxs(Te,{children:[e.jsx($e,{asChild:!0,children:e.jsx(b,{size:"sm",variant:"ghost",className:"h-7 w-7 p-0 text-rose-400 hover:text-rose-300",disabled:B,children:e.jsx(Ae,{className:"h-3 w-3"})})}),e.jsxs(Ee,{children:[e.jsxs(Oe,{children:[e.jsx(Ie,{children:"¿Eliminar pieza?"}),e.jsx(Fe,{children:"Se eliminará esta pieza del batch. No se puede deshacer."})]}),e.jsxs(Le,{children:[e.jsx(qe,{children:"Cancelar"}),e.jsx(Re,{onClick:()=>ve(s),children:"Eliminar"})]})]})]})]})]})]},s.id)})}),e.jsx("div",{className:"mt-6 border-t border-border/40 pt-4",children:e.jsx(Ve,{projectId:l})})]})}),e.jsx(q,{value:"batches",className:"m-0 flex-1 overflow-y-auto",children:e.jsx(He,{projectId:l})}),e.jsx(q,{value:"boards",className:"m-0 flex-1 overflow-y-auto",children:e.jsx(Me,{projectId:l})}),e.jsx(q,{value:"saved",className:"m-0 flex-1 overflow-y-auto",children:e.jsx(Ge,{toolType:"content",projectId:l})})]}),e.jsx(Ue,{piece:S,open:!!S,onOpenChange:s=>!s&&E(null),projectId:l}),e.jsx(oe,{open:!!T,onOpenChange:s=>{s||(M(null),G(void 0))},children:e.jsxs(ie,{className:"max-w-sm",children:[e.jsx(ne,{children:e.jsxs(le,{className:"flex items-center gap-2",children:[e.jsx(ue,{className:"h-5 w-5 text-primary"})," Programar publicación"]})}),e.jsx("div",{className:"space-y-4 py-2",children:e.jsxs("div",{className:"space-y-2",children:[e.jsx(V,{children:"Fecha y hora"}),e.jsx(ce,{type:"datetime-local",value:D?new Date(D.getTime()-D.getTimezoneOffset()*6e4).toISOString().slice(0,16):"",onChange:s=>G(s.target.value?new Date(s.target.value):void 0),min:new Date().toISOString().slice(0,16)})]})}),e.jsxs(de,{className:"flex gap-2",children:[e.jsx(b,{variant:"outline",onClick:()=>T&&ee(T),children:"Guardar como borrador"}),e.jsx(b,{onClick:()=>T&&D&&ee(T,D),disabled:!D,className:"shadow-colored",children:"Programar"})]})]})}),e.jsx(oe,{open:ge,onOpenChange:O,children:e.jsxs(ie,{className:"max-w-md",children:[e.jsx(ne,{children:e.jsxs(le,{className:"flex items-center gap-2",children:[e.jsx(H,{className:"h-5 w-5 text-primary"}
1)," Enviar a Board"]})}),e.jsxs("div",{className:"space-y-4 py-2",children:[e.jsxs("p",{className:"text-sm text-muted-foreground",children:["Se enviarán ",e.jsxs("strong",{className:"text-foreground",children:[u.size," piezas"]})," al board seleccionado."]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(V,{className:"text-xs font-medium",children:"Destino"}),e.jsxs("div",{className:"max-h-48 space-y-1.5 overflow-y-auto",children:[e.jsx("button",{onClick:()=>U("new"),className:v("w-full rounded-lg border px-3 py-2 text-left text-sm transition-all",N==="new"?"border-primary/30 bg-primary/10 text-foreground":"border-transparent bg-muted/50 text-muted-foreground hover:bg-muted"),children:"✨ Crear nuevo board"}),W.map(s=>e.jsxs("button",{onClick:()=>U(s.id),className:v("w-full rounded-lg border px-3 py-2 text-left text-sm transition-all",N===s.id?"border-primary/30 bg-primary/10 text-foreground":"border-transparent bg-muted/50 text-muted-foreground hover:bg-muted"),children:[e.jsx("span",{className:"mr-2 inline-block h-2 w-2 rounded-full",style:{backgroundColor:s.color||"#3b82f6"}}),s.name]},s.id))]})]}),N==="new"&&e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(V,{className:"text-xs font-medium",children:"Nombre del board"}),e.jsx(ce,{value:I,onChange:s=>K(s.target.value),placeholder:"Mi board…",className:"text-sm"})]})]}),e.jsxs(de,{className:"gap-2",children:[e.jsx(b,{variant:"outline",onClick:()=>O(!1),children:"Cancelar"}),e.jsxs(b,{onClick:Se,disabled:N==="new"&&!I.trim(),className:"shadow-colored",children:[e.jsx(H,{className:"mr-1.5 h-4 w-4"})," Enviar ",u.size]})]})]})})]})}export{Gs as default};
2//# sourceMappingURL=SocialBatchSheet-CFbScNnU.js.map

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.