function o(e){return[...new Set(e)]}function f(e,n){return n===void 0&&(n=e,e=0),Array.from({length:n-e},(t,l)=>l+e)}function c(e,n,t){const l=n<0?e.length+n:n;if(l>=0&&l<e.length){const u=t<0?e.length+t:t,[i]=e.splice(n,1);e.splice(u,0,i)}}function s(e,n,t){return e=[...e],c(e,n,t),e}function g(e,n){return e.label<n.label?-1:e.label>n.label?1:0}export{s as a,g as c,f as r,o as u};