import{lb as s}from"./chunk-GJDGQISV.js";import{a as c,b as l}from"./chunk-SNAKHGZS.js";var f=class n{transform(e,t){console.log(e);function i(p){return p?.map(r=>{let a=i(r.children||[]);return t.includes(r.data?r.data.Action:r.Action)||a.length>0?l(c({},r),{children:a}):null}).filter(Boolean)}let o=i(e);return console.log(o),o}static \u0275fac=function(t){return new(t||n)};static \u0275pipe=s({name:"filterTree",type:n,pure:!0})};export{f as a};
