import{o as t,S as g,aV as e,dk as T,j as i,h as I,aR as p}from"./app-BgLa5dit.js";import{C as f}from"./CaNT0eQn.chunk.js";import{E as h}from"./kJGoOu-N.chunk.js";import"./EsGKTtoq.chunk.js";import"./B-fq6xxv.chunk.js";import"./BfMtaC_g.chunk.js";function b(a){const n=t(p.currentUser()),d=t(g.member(a.clipId)),o=t(e.curationTags()),u=t(e.selectedCurationTags(a.clipId)),l=T();function m(s,r,c){l(e.addTag(a.clipId,s,r,c))}function C(s,r,c){l(e.removeTag(a.clipId,s,r,c))}return i.jsxs(i.Fragment,{children:[!!n.data&&i.jsx(h,{clipId:a.clipId,activeAction:I.Clips.EDIT_CLIP_CURATION,currentUser:n.data}),!!d.data&&!!o.data&&!!u.data&&i.jsx(f,{id:a.clipId,heading:d.data.name,curationTags:o.data,selectedCurationTags:u.data,addCurationTag:m,removeCurationTag:C,disableClickViewCurated:!0})]})}export{b as EditClipCurationView};
//# sourceMappingURL=C9HvxLg6.chunk.js.map
