"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.calcChildStagger=function(e,t,o){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;const n=Array.from(e).sort(((e,t)=>e.sortNodePosition(t))).indexOf(t),s=e.size,c=(s-1)*r;return"function"==typeof o?o(n,s):1===i?n*r:c-n*r};
//# sourceMappingURL=calc-child-stagger.mjs.js.map
