import * as tsplus_module_1 from "@tsplus/stdlib/collections/Chunk/size";
import * as tsplus_module_2 from "@tsplus/stdlib/collections/Chunk/drop";
import * as tsplus_module_3 from "@tsplus/stdlib/data/Either/definition";
import * as tsplus_module_4 from "@tsplus/stdlib/data/Tuple/make";
import * as tsplus_module_5 from "@tsplus/stdlib/collections/Chunk/take";
export function zipRightChunks(leftChunk, rightChunk) {
  const leftChunkSize = tsplus_module_1.size(leftChunk);
  const rightChunkSize = tsplus_module_1.size(rightChunk);
  return leftChunkSize > rightChunkSize ? tsplus_module_4.make(rightChunk, tsplus_module_3.left(tsplus_module_2.drop_(leftChunk, rightChunkSize))) : tsplus_module_4.make(tsplus_module_5.take_(rightChunk, leftChunkSize), tsplus_module_3.right(tsplus_module_2.drop_(rightChunk, leftChunkSize)));
}
//# sourceMappingURL=zipRightChunks.mjs.map