"use strict";const a=require("./index.cjs273.js"),l=require("./index.cjs292.js"),x=require("./index.cjs135.js"),L=require("./index.cjs43.js");function q(i,n,c,r){if(r=r||[],!n&&n!==0)n=1/0;else if(n<=0)return r.concat(i);for(var s=r.length,f=0,y=a(i);f<y;f++){var e=i[f];if(l(e)&&(x(e)||L(e)))if(n>1)q(e,n-1,c,r),s=r.length;else for(var g=0,A=e.length;g<A;)r[s++]=e[g++];else c||(r[s++]=e)}return r}module.exports=q;
//# sourceMappingURL=index.cjs289.js.map
