import{_ as p}from"./useEventListener-DvoEXWke.js";import{t as s}from"./createLucideIcon-D5guW7EU.js";var f=s("chevrons-down-up",[["path",{d:"m7 20 5-5 5 5",key:"13a0gw"}],["path",{d:"m7 4 5 5 5-5",key:"1kwcof"}]]);const l={keyBy(r,a){let e=new Map,t=new Set;for(let o of r){let n=a(o);e.has(n)&&t.add(n),e.set(n,o)}return t.size>0&&p.trace(`Duplicate keys: ${[...t].join(", ")}`),e},collect(r,a,e){return l.mapValues(l.keyBy(r,a),e)},filterMap(r,a){let e=new Map;for(let[t,o]of r)a(o,t)&&e.set(t,o);return e},mapValues(r,a){let e=new Map;for(let[t,o]of r)e.set(t,a(o,t));return e}};export{f as n,l as t};
