1import{t as e}from"./objectSpread2-BmonrgTA.js";function t(e,t,n){let r=[],{childProps:i}=n||{childProps:`children`},a=e=>{let n=t(e);r.push(n);let o=e==null?void 0:e[i];if(o&&o.length>0)for(let e of o)a(e)};for(let t of e)a(t);return r.filter(Boolean)}function n(t,n,r){let{childProps:i}=r||{childProps:`children`},a=t=>{let r=[];for(let o of t){if(!n(o))continue;let t=o[i];if(!t){r.push(o);continue}let s=a(t),c=s.length===t.length&&s.every((e,n)=>e===t[n]);r.push(c?o:e(e({},o),{},{[i]:s}))}return r};return a(t)}function r(e,t,n,i=null){let{childProps:a}=n||{childProps:`children`};return e.map(e=>{let o=t(e,i);return o[a]&&(o[a]=r(o[a],t,n,o)),o})}function i(t,n,r){let{childProps:a}=r||{childProps:`children`};return t.toSorted(n).map(t=>{let o=t[a];return o&&Array.isArray(o)&&o.length>0?e(e({},t),{},{[a]:i(o,n,r)}):t})}export{t as i,r as n,i as r,n as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.