import{T as n}from"./p-0db2169b.js";function r(r,t){return"name"===t?new n("name",""):r.find((n=>n.id===t))||function(n,r){if(r.includes(".")){const t=r.split(".")[0];return n.find((n=>n.id===t))}}(r,t)}export{r as f}