import{cu as n,dK as u}from"./app-k0jcl5PQ.js";import{u as o,b as d}from"./BAuuQuuB.chunk.js";function a(e){return e?Array.isArray(e)?e.filter(i=>!!i&&(n.isVideo(i)||n.isClip(i))):"data"in e?e.data.filter(i=>!!i&&(n.isVideo(i)||n.isClip(i))):[]:[]}function p(e,i={}){const r=a(e).map(t=>t.id);o(r,t=>u.videoMixinAssocs(t,i.flightNamespace),null)}function m(e={}){function i(s){return u.videoMixinAssocs(s,e.flightNamespace)}function r(s){return t(a(s).map(c=>c.id))}const{fetchItems:t}=d({getRequest:i});return{fetchObjects:r}}export{m as a,p as u};
//# sourceMappingURL=4IZETxJX.chunk.js.map
