"use strict";const t=require("./jsx-runtime-Cek9Ww4S.cjs"),l=require("./aggregator-CoVqjgd_.cjs"),u=require("./Toggle-B8cAGDWx.cjs"),f=({children:o,data:e,emptyContent:c,omit:s})=>{const x=u.useMemoCompare(()=>s!=null?e==null?void 0:e.filter(r=>!s.includes(r.key)):e,([r,g],[n,j])=>{let i=!1;return r!=null&&n!=null?i=l.y.unorderedPrimitiveArrays(r,n)===l.y.EQUAL:i=r==n,g===j&&i},[s,e]);return t.jsxRuntimeExports.jsx(u.InfiniteProvider,{children:t.jsxRuntimeExports.jsx(u.DataProvider,{data:x,emptyContent:c,children:o})})};exports.List=f;
