const c="RC_TABLE_KEY";function i(e){return e==null?[]:Array.isArray(e)?e:[e]}function l(e,u){if(!u&&typeof u!="number")return e;const f=i(u);let n=e;for(let r=0;r<f.length;r+=1){if(!n)return null;const o=f[r];n=n[o]}return n}function s(e){const u=[],f={};return e.forEach(n=>{const{key:r,dataIndex:o}=n||{};let t=r||i(o).join("-")||c;for(;f[t];)t=`${t}_next`;f[t]=!0,u.push(t)}),u}function a(...e){const u={};function f(n,r){r&&Object.keys(r).forEach(o=>{const t=r[o];t&&typeof t=="object"?(n[o]=n[o]||{},f(n[o],t)):n[o]=t})}return e.forEach(n=>{f(u,n)}),u}function d(e){return e!=null}export{s as getColumnsKey,l as getPathValue,a as mergeObject,d as validateValue};
